/* Blog Writer landing page ("Organic" design, ported from marketing/landing/design-export.html).
   Standalone stylesheet for templates/landing.html and contact.html -- see marketing/landing/README.md for the
   port notes. No external requests: fonts are self-hosted under /fonts; the landing's two tiny inline scripts only
   fold the menu and open the contact dialog. */

/* ==========================================================================
   Fonts
   ========================================================================== */

/* Merriweather 900 -- headings. Weight 900 only (the export's cover weight); the vietnamese subset of the
   export was dropped as unused. */
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/merriweather-900-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/merriweather-900-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/merriweather-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/merriweather-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Onest, weight range 400-700 -- body text. The export's body font (Figtree) has no Cyrillic glyphs, so
   Onest replaces it; see fonts/LICENSES.md. */
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/onest-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Tokens -- ported from design-export.html's design.css ("Organic")
   ========================================================================== */

:root {
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;
  --color-divider: color-mix(in srgb, #201e1d 16%, transparent);

  --color-neutral-100: #f9f4ed;
  --color-neutral-200: #eee7db;
  --color-neutral-800: #474238;
  --color-neutral-900: #2e2b25;

  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-300: #ffc6a5;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;
  --color-accent-900: #402310;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-200: #e1eecc;
  --color-accent-2-300: #ccdbb2;
  --color-accent-2-700: #56633f;
  --color-accent-2-800: #3d472b;
  --color-accent-2-900: #272e1b;

  /* The export's headings run Caprasimo 400; the owner's override replaces it with Merriweather at its
     black (900) weight, the only weight in the export's font files -- see marketing/landing/README.md. */
  --font-heading: "Merriweather", Georgia, serif;
  --font-heading-weight: 900;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --space-1: 4px;
  --space-2: 9px;
  --space-3: 13px;
  --space-4: 18px;
  --space-6: 26px;
  --space-8: 35px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2e2b25 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2e2b25 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2e2b25 22%, transparent);

  --header-height: 72px;
  --container-max: 1120px;
  --container-gutter: 16px;
}

@media (min-width: 640px) {
  :root { --container-gutter: 24px; }
}

/* ==========================================================================
   Reset and base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
  }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}

p { margin: 0 0 var(--space-3); }

a {
  color: var(--color-accent-700);
  text-underline-offset: 3px;
}
a:hover { color: var(--color-accent-800); }

ul, ol { margin: 0; padding: 0; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Skip link
   ========================================================================== */

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14px;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Layout
   ========================================================================== */

/* The decorations that peek out from behind a card (.seo__mock::before, .cta::before) may not widen the
   page on a narrow screen; clipping the main box horizontally keeps them inside without touching the
   vertical overflow (a card's shadow, the sticky header outside main). */
main.landing { overflow-x: clip; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-gutter);
  box-sizing: border-box;
}

/* Type-only selector on purpose: it must have LOWER specificity than the single-class per-section rules
   below (.hero, .journey, .demand, ...) that override this default, or the cascade picks this one instead
   regardless of source order (a class selector always outranks a class+type combination in specificity). */
main section {
  padding-block: clamp(40px, 7cqi, 96px);
}

/* ==========================================================================
   Buttons and tags (component classes from the export's design system)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  color: var(--color-text);
  white-space: nowrap;
  background: transparent;
  border: 1px solid transparent;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-700); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-800); }
.btn-secondary { border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 5px 13px;
  border-radius: 999px;
  line-height: 1.3;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent-700); color: var(--color-accent-700); }
.tag-outline-2 { border: 1px solid var(--color-accent-2-700); color: var(--color-accent-2-800); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--header-height);
  padding-block: 14px;
}

.site-header__brand {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 19px;
  color: var(--color-text);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}

/* The section links sit next to the brand on a wide screen; the narrow-screen drop-down is below. */
.primary-nav {
  display: flex;
  gap: var(--space-4);
  font-size: 15px;
}
.primary-nav a {
  color: var(--color-text);
  text-decoration: none;
}
.primary-nav a:hover { color: var(--color-accent-700); }

.nav-toggle summary {
  list-style: none;
  cursor: pointer;
}
.nav-toggle summary::-webkit-details-marker { display: none; }

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle__icon {
  position: relative;
}
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }

.nav-toggle summary {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--color-text);
}
.nav-toggle summary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}
.lang-switch a {
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 999px;
}
.lang-switch a:hover { color: var(--color-text); }
.lang-switch a.active {
  color: var(--color-text);
  background: var(--color-surface);
}

/* The header keeps the section links in a row only where all of it fits: brand, four links (the Russian
   ones are long), the languages, Sign in and the button; below 960px they fold into the drop-down. */
@media (min-width: 961px) {
  .nav-toggle { display: none; }
}

@media (max-width: 960px) {
  /* The bar wraps into two rows (brand and languages, then the buttons); the drop-down hangs from the bar's
     right edge, under the button that opens it, while the <details> is open. */
  .site-header__bar { flex-wrap: wrap; position: relative; }
  .nav-toggle { order: 5; }
  .nav-toggle summary { display: inline-flex; }
  .primary-nav {
    display: none;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    right: var(--container-gutter);
    top: calc(100% - 6px);
    min-width: 220px;
    background: var(--color-bg);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: var(--shadow-lg);
  }
  .site-header__bar:has(.nav-toggle[open]) .primary-nav { display: flex; }
  .primary-nav a { padding: 8px 10px; border-radius: var(--radius-sm); }
  .primary-nav a:hover { background: color-mix(in srgb, var(--color-text) 6%, transparent); }
  .site-header__signin { order: 4; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding-block: clamp(40px, 9cqi, 104px) clamp(32px, 5cqi, 56px);
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  right: clamp(-200px, -8cqi, -40px);
  top: -220px;
  width: clamp(260px, 34cqi, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-accent-2-200);
  pointer-events: none;
  z-index: -1;
}
.hero__inner { position: relative; }
.hero__title {
  font-size: clamp(34px, 6.2cqi, 68px);
  line-height: 1.08;
  max-width: 16ch;
}
.hero__subtitle {
  font-size: clamp(17px, 1.7cqi, 20px);
  line-height: 1.6;
  max-width: 46ch;
  margin: 24px 0 0;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__actions .btn { min-height: 52px; padding-inline: 26px; font-size: 16px; }

/* ==========================================================================
   #how -- one post's journey (six cards)
   ========================================================================== */

.journey { padding-block: 0 clamp(48px, 8cqi, 88px); container-type: inline-size; }
.journey__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.journey__card {
  background: var(--color-surface);
  border-radius: 28px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.journey__card--you { background: var(--color-accent-100); }
.journey__card--site { background: var(--color-accent-2-200); }

.journey__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.journey__num {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.journey__card--you .journey__num { background: var(--color-accent-700); }
.journey__card--site .journey__num { background: var(--color-accent-2-700); }
.journey__title { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 15px; }

.journey__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: color-mix(in srgb, var(--color-text) 10%, var(--color-surface));
  display: grid;
  place-items: center;
  font-size: 12px;
  text-align: center;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: 8px;
}

.journey__body {
  font-size: 13px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--color-text) 75%, transparent);
}

.journey__fields { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.35; }
.journey__field-label { color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.journey__field-value { font-weight: 600; }

.journey__headline { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 15px; line-height: 1.3; }

.journey__chips, .journey__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.journey__checks { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.35; }
.journey__check { display: flex; gap: 8px; align-items: flex-start; }
.journey__check svg { flex: none; margin-top: 1px; color: var(--color-accent-2-700); }

.journey__caption {
  font-size: 13px;
  margin: 14px 0 0;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}

@media (max-width: 1024px) {
  .journey__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .journey__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   #who
   ========================================================================== */

/* A block, not a flex column: a flex item with `margin: 0 auto` (the container) shrinks to its text and drifts
   to the middle; the gap between the kicker and the text is the kicker's margin instead. */
.who__kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent-700);
  margin: 0 0 16px;
}
.who__body {
  font-size: clamp(20px, 2.8cqi, 30px);
  line-height: 1.35;
  max-width: 34ch;
  margin: 0;
}

/* ==========================================================================
   #sources
   ========================================================================== */

.sources__heading { font-size: clamp(24px, 3.2cqi, 36px); line-height: 1.15; max-width: 26ch; margin-bottom: 24px; }
.sources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 14px;
}
.sources__card {
  background: var(--color-surface);
  border-radius: 32px;
  padding: clamp(22px, 3cqi, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sources__card--out { background: var(--color-accent-2-100); }
.sources__card h3 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 21px; margin: 0; }
.sources__card p { margin: 0; font-size: 15px; line-height: 1.5; color: color-mix(in srgb, var(--color-text) 80%, transparent); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sources__card--out .tag-accent-2 { background: var(--color-bg); }

/* ==========================================================================
   #steps
   ========================================================================== */

.steps__kicker {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent-700);
  display: block;
  margin-bottom: 12px;
}
.steps__heading { font-size: clamp(28px, 4cqi, 42px); line-height: 1.1; margin-bottom: 32px; }
.steps__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 760px;
}
.steps__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
}
.steps__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-100);
  color: var(--color-accent-700);
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 18px;
  display: grid;
  place-items: center;
  align-self: start;
}
.steps__item:nth-child(n + 5) .steps__num { background: var(--color-accent-2-200); color: var(--color-accent-2-800); }
.steps__item p { margin: 6px 0 0; font-size: 17px; line-height: 1.55; }

/* ==========================================================================
   #seo
   ========================================================================== */

.seo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 36px clamp(32px, 6cqi, 96px);
  align-items: center;
}
.seo__kicker {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent-700);
  display: block;
  margin-bottom: 18px;
}
.seo__heading { font-size: clamp(26px, 3.6cqi, 40px); line-height: 1.12; max-width: 18ch; margin-bottom: 20px; }
.seo__list { list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.5; }
.seo__list li { display: flex; gap: 14px; }
.seo__dot { flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--color-accent); margin-top: 6px; }

.seo__mock {
  position: relative;
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
  border-radius: 32px;
  padding: clamp(22px, 3cqi, 30px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.seo__mock::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-accent-200);
  pointer-events: none;
  z-index: -1;
}
.seo__mock-headline { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: clamp(17px, 2cqi, 21px); line-height: 1.3; }
.seo__mock-body { margin: 0; font-size: 15px; line-height: 1.65; }
.mock-link {
  color: var(--color-accent-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-accent-300);
}
.seo__mock-related {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
.seo__mock-related-title { font-weight: 700; }
.seo__mock-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ==========================================================================
   #demand
   ========================================================================== */

.demand { padding-block: clamp(24px, 4cqi, 48px); }
.demand__panel {
  background: var(--color-accent-2-100);
  border-radius: 40px;
  padding: clamp(26px, 5cqi, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 32px clamp(32px, 5cqi, 72px);
  align-items: center;
}
.demand__kicker {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent-2-800);
  display: block;
  margin-bottom: 16px;
}
.demand__heading { font-size: clamp(24px, 3.4cqi, 36px); line-height: 1.15; max-width: 20ch; margin-bottom: 16px; }
.demand__panel p { font-size: 16px; line-height: 1.6; max-width: 46ch; }
.demand__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.demand__chips .tag { background: var(--color-bg); }

.demand__mock {
  background: var(--color-bg);
  border-radius: 32px;
  padding: clamp(20px, 3cqi, 26px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-md);
}
.demand__mock-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.demand__mock-label { font-weight: 700; font-size: 14px; }
.demand__mock-headline { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: clamp(16px, 1.9cqi, 19px); line-height: 1.3; }
.demand__mock-fields { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: 14px; line-height: 1.4; }
.demand__mock-fields dt { color: color-mix(in srgb, var(--color-text) 65%, transparent); margin: 0; }
.demand__mock-fields dd { font-weight: 600; margin: 0; }
.demand__mock-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.demand__mock-actions .btn { min-height: 44px; }

/* ==========================================================================
   #client
   ========================================================================== */

.client { display: flex; flex-direction: column; gap: 28px; }
.client__kicker {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent-700);
  display: block;
  margin-bottom: 12px;
}
.client__heading { font-size: clamp(26px, 3.6cqi, 40px); line-height: 1.12; max-width: 22ch; margin: 0; }
.client__figures { display: flex; flex-wrap: wrap; gap: clamp(12px, 2cqi, 24px); align-items: center; }
.client__figure {
  width: clamp(140px, 20cqi, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-accent-100);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 18px;
  gap: 6px;
}
.client__figure--2 { background: var(--color-accent-2-300); margin-top: clamp(16px, 5cqi, 56px); }
.client__figure--3 { background: var(--color-accent-200); }
.client__figure-number { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: clamp(30px, 4cqi, 46px); line-height: 1; color: var(--color-accent-700); }
.client__figure--2 .client__figure-number { color: var(--color-accent-2-800); }
.client__figure-label { font-size: 13px; font-weight: 600; line-height: 1.3; }

/* ==========================================================================
   #offer
   ========================================================================== */

.offer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px clamp(32px, 6cqi, 96px);
  align-items: start;
}
.offer__get { display: flex; flex-direction: column; gap: 20px; }
.offer__get h3, .offer__need h3 { font-size: clamp(24px, 3.4cqi, 34px); line-height: 1.12; margin: 0; }
.offer__list { list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.55; }
.offer__list li { display: flex; gap: 14px; }
.offer__dot { flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--color-accent); margin-top: 7px; }

.offer__need {
  background: var(--color-surface);
  border-radius: 36px;
  padding: clamp(22px, 4cqi, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.offer__need-list { list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.5; }
.offer__need-list li { display: flex; gap: 14px; }
.offer__need-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-accent-700);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}

/* ==========================================================================
   #security
   ========================================================================== */

.security__heading { margin-bottom: 24px; }
.security__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
}
.security__card {
  background: var(--color-accent-2-100);
  border-radius: 28px;
  padding: 22px;
  font-size: 15px;
  line-height: 1.5;
}

/* ==========================================================================
   #faq
   ========================================================================== */

/* Full container width, like every other section: the design export kept the FAQ to 820px and the owner found
   it stood out (2026-09-28). */
.faq__heading { margin-bottom: 8px; }
.faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq details {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 18px 22px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}

/* ==========================================================================
   #start -- final call to action
   ========================================================================== */

.cta {
  position: relative;
  overflow: clip;
  background: var(--color-accent-100);
  border-radius: 40px;
  padding: clamp(30px, 6cqi, 68px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cta::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-accent-200);
  pointer-events: none;
  z-index: -1;
}
.cta__heading { font-size: clamp(28px, 4.4cqi, 48px); line-height: 1.08; max-width: 18ch; margin: 0; }
.cta__body { font-size: 17px; line-height: 1.55; max-width: 40ch; margin: 0; }
.cta .btn { min-height: 52px; padding-inline: 28px; font-size: 16px; align-self: flex-start; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-block: 28px 40px;
  font-size: 14px;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
}
.site-footer__inner p { margin: 0; }
.site-footer__contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__brand { font-family: var(--font-heading); font-weight: var(--font-heading-weight); color: var(--color-text); }

/* ==========================================================================
   Small screens: shared adjustments
   ========================================================================== */

@media (max-width: 720px) {
  .sources__grid,
  .seo,
  .offer,
  .demand__panel { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contact form: the landing's dialog and the page /contact (docs/web-ui.md section 5)
   ========================================================================== */

/* The notice that stands in for the closing section's button after a sent form (/?sent=1#start). */
.cta__sent {
  align-self: flex-start;
  margin: 0;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--color-accent-2-100);
  color: var(--color-accent-2-900);
  font-size: 16px;
  font-weight: 600;
}

/* The page behind an open dialog does not scroll. */
html:has(.contact-dialog[open]) { overflow: hidden; }

.contact-dialog {
  width: min(560px, calc(100vw - 2 * var(--container-gutter)));
  max-width: calc(100vw - 2 * var(--container-gutter));
  max-height: calc(100vh - 2 * var(--container-gutter));
  max-height: calc(100dvh - 2 * var(--container-gutter));
  overflow: auto;
  margin: auto;
  padding: clamp(20px, 4vw, 32px);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}
/* Literal colour: older browsers do not let ::backdrop inherit the :root tokens. */
.contact-dialog::backdrop {
  background: rgb(32 30 29 / 0.5);
  backdrop-filter: blur(2px);
}
.contact-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.contact-dialog__heading { font-size: clamp(24px, 4vw, 30px); margin: 0; }
.contact-dialog__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -6px -8px 0 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.contact-dialog__close:hover { background: color-mix(in srgb, var(--color-text) 8%, transparent); }

.contact-card {
  max-width: 640px;
  padding: clamp(22px, 5vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.contact-card__heading { font-size: clamp(28px, 4.4vw, 44px); margin: 0; }

.contact-dialog__intro,
.contact-card__intro {
  margin: 10px 0 20px;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form__field { display: flex; flex-direction: column; gap: 6px; }
.contact-form__field label { font-size: 14px; font-weight: 600; }
.contact-form input[type="text"],
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  background: var(--color-neutral-100);
  color: var(--color-text);
  font: inherit;
  font-size: 16px; /* 16px keeps a phone from zooming into the field */
}
.contact-form textarea { min-height: 110px; line-height: 1.5; resize: vertical; }
.contact-form input[type="text"]:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: transparent;
}
/* As specific as the field rule above, and after it, so it wins. */
.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: var(--color-accent-700);
  box-shadow: inset 0 0 0 1px var(--color-accent-700);
  background: var(--color-accent-100);
}
.contact-form__hint {
  margin: 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
}
.contact-form__errors {
  padding: 12px 16px;
  border: 1px solid var(--color-accent-300);
  border-radius: var(--radius-md);
  background: var(--color-accent-100);
  color: var(--color-accent-900);
}
.contact-form__errors p { margin: 0 0 4px; font-weight: 600; }
.contact-form__errors ul { padding-left: 20px; }

/* The honeypot: off-screen for people, still a field to a script that fills every input. */
.contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 4px;
}
.contact-form__direct {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
}

@media (max-width: 520px) {
  .contact-form__actions .btn { width: 100%; }
}
