/* IDA Partner Program landing, styled after idaoffice.org.
   Tokens, buttons, header and footer follow the live site (taken from FastIDP AAA/prototype/styles.css). */

/* Roboto from these files only, never local(): an installed "Roboto" may be a partial build (one common on Windows has
   314 characters: no Greek, 100 Cyrillic ones), and a letter it lacks then falls to Arial — at weight 800, Arial Black
   (the Greek headings and big numbers, 27.11). These files have Latin, Cyrillic, Greek and Vietnamese. */
@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/Roboto-Regular.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("/assets/fonts/Roboto-Medium.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/Roboto-Bold.woff2") format("woff2"); }

:root {
  --red: #e0162b;
  --red-hover: #c8102e; /* darker on hover: white text 5.88:1 (the site's lighter #ef2237 gives only 4.24:1) */
  --red-active: #b00c22; /* 7.19:1 */
  --navy: #1d305e;
  --blue: #0052a5;
  --muted: #56668c; /* 4.98:1 on --page, 5.71:1 on white (WCAG AA for body text) */
  --page: #eaf0f6;
  --card: #f5f7fb;
  --hero: #f5f8fb;
  --white: #fff;
  --line: #d1d6e3;
  --line-strong: #c8d1e6;
  --focus: #006fe0;
  --radius: 8px;
  --radius-btn: 5px;
  --font: "Roboto", Arial, Helvetica, sans-serif; /* a language page may add its script font (assets/fonts/script/) */
  --shadow: 0 2px 4px rgba(0, 82, 165, .05), 0 8px 24px rgba(29, 48, 94, .06);
}

*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding-top = sticky header height + 16 px: anchors and keyboard focus stop below the header, not under it */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--navy); background: var(--page); overflow-x: clip; overflow-wrap: break-word; }
/* translations: long compound words (de, fi, hu…) get hyphenated by the browser; English keeps its look. Only long
   words (hyphenate-limit-chars: Chromium; other engines ignore it), and never in headings (16.11: «между-народными»,
   «ва-шего» in ru, hr, et, ka, mt…): a heading word longer than its line still breaks (overflow-wrap), unhyphenated. */
html:not([lang="en"]) { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
h1, h2, h3 { -webkit-hyphens: manual; hyphens: manual; }
/* Korean breaks lines between words (at spaces), not inside a word («더 많/은 수익을», 16.11) */
:lang(ko) { word-break: keep-all; }
img { max-width: 100%; height: auto; display: block; }
svg { fill: currentColor; }
a { color: var(--blue); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, p { margin-top: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.red { color: var(--red); }
.center { text-align: center; }

/* ---------- Buttons (as on idaoffice.org) ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 10px 24px; border-radius: var(--radius-btn); border: 0; cursor: pointer;
  font: 700 14px/20px var(--font); text-transform: uppercase; text-decoration: none;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
.button--red { background: var(--red); color: var(--white); box-shadow: 0 2px 1px rgba(242, 68, 85, .21); }
.button--red:hover { background: var(--red-hover); color: var(--white); }
.button--red:active { background: var(--red-active); box-shadow: none; }
.button--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.button--ghost:hover { background: var(--blue); color: var(--white); }
.button--lg { min-height: 48px; padding: 14px 32px; font-size: 15px; }
.button--block { width: 100%; }
.button[disabled] { background: #8d9ab9; box-shadow: none; cursor: wait; }
.link-arrow { font-weight: 500; color: var(--blue); text-decoration: none; }
.link-arrow:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 20; }
.header--menu-open { z-index: 60; } /* open language menu above the cookie banner (z-index 50), app.js */
/* the same without app.js (QA round 5: a failed app.js left the open list under the banner) */
.header:has(.langs[open]) { z-index: 60; }
.header__top { background: var(--page); }
.header__top-row { height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header__caption { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .01em; }
.header__caption-sub { color: #cd0a1e; } /* 5.00:1 on --page; brand red is 4.24:1, too low for small text */
.header__contacts { display: flex; gap: 22px; font-size: 13px; }
.header__contacts > a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); text-decoration: none; }
.header__contacts > a:hover { color: var(--red); }
.header__contacts svg { width: 15px; height: 15px; color: var(--blue); }
/* the top bar holds brand names: no automatic hyphenation ("Whats-App", "DRI-VING" in de, fr, nl… — found by the
   round 4 top-bar check), and the links stay on one line */
.header__top-row { -webkit-hyphens: manual; hyphens: manual; }
.header__contacts > a, .langs > summary { white-space: nowrap; flex: none; }
/* ---------- Language switcher (markup from i18n/build.py; a <details>, so it works without JavaScript) ---------- */
.langs { position: relative; }
.langs > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; color: var(--navy); }
.langs > summary::-webkit-details-marker { display: none; }
.langs > summary:hover, .langs[open] > summary { color: var(--red); }
.langs__code { display: none; }
.langs__menu {
  position: absolute; z-index: 30; top: calc(100% + 10px); inset-inline-end: 0; width: min(600px, calc(100vw - 32px));
  max-height: min(70vh, 520px); overflow: auto; margin: 0; padding: 10px; list-style: none; background: var(--white);
  border-radius: var(--radius); box-shadow: 0 10px 36px rgba(29, 48, 94, .24);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2px 6px;
}
.langs__menu a { display: block; padding: 6px 10px; border-radius: 4px; color: var(--navy); text-decoration: none; font-size: 14px; }
.langs__menu a:hover { background: var(--card); color: var(--red); }
.langs__menu a[aria-current] { background: var(--card); font-weight: 700; }
.header__main { background: var(--white); box-shadow: 0 2px 4px rgba(0, 82, 165, .05); }
.header__main-row { height: 80px; display: flex; align-items: center; gap: 32px; }
.header__logo img { width: 40px; height: 40px; }
.header__nav { flex: 1; display: flex; justify-content: center; gap: 48px; }
.header__nav a { color: var(--blue); text-decoration: none; font-weight: 700; font-size: 15px; text-transform: uppercase; transition: color .3s ease-in-out; }
.header__nav a:hover { color: var(--red); }
.header__cta { min-width: 180px; }

/* ---------- Section titles (centred, 4px red underline) ---------- */
.section { padding: 64px 0; }
.section--tight { padding-top: 0; }
.section--white { background: var(--white); }
.section-head { max-width: 800px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; margin-bottom: 0; }
.title { font-size: 30px; line-height: 1.3; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.title::after { content: ""; display: block; width: 100px; height: 4px; background: var(--red); margin: 20px auto 0; }
.title--left { text-align: start; }
.title--left::after { margin-inline-start: 0; }

/* A long word (Tamil in WebKit, Sinhala) wraps inside its column instead of widening the column past the screen:
   grid items may shrink below their longest word, and a word that still does not fit breaks (QA round 3). */
body { overflow-wrap: break-word; }
.hero__grid > *, .product > *, .audience > *, .apply__grid > * { min-width: 0; }

/* ---------- Hero ---------- */
.hero { background: var(--hero); padding: 40px 0 48px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.tp-line { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 32px; color: #191919; text-decoration: none; font-size: 15px; }
.tp-line:hover { color: #191919; }
.tp-line__count { text-decoration: underline; text-underline-offset: 2px; font-size: 14px; }
/* Trustpilot's official brand assets (cdn.trustpilot.net/brand-assets/4.3.0), used unaltered */
.tp-logo { display: block; height: 20px; width: auto; }
.tp-logo--lg { height: 26px; }
.tp-stars { display: block; height: 18px; width: auto; }
.tp-stars--lg { height: 26px; }
.review__meta .tp-stars { height: 17px; }
/* IDA lockup above the reviews title */
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; text-align: start;
  font-size: 15px; font-weight: 700; line-height: 1.25; text-transform: uppercase; color: var(--navy); }
.brand-lockup img { width: 52px; height: 52px; }
.hero__title { margin: 0 0 24px; }
.hero__title span { display: block; }
/* even heading lines: no single word left alone on the last line (Thai, Lao, Khmer, Burmese have no spaces to wrap at) */
.hero__title span, .title { text-wrap: balance; }
.hero__pre { font-size: 24px; line-height: 1.35; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.hero__main { font-size: 40px; line-height: 1.25; font-weight: 700; color: var(--red); }
.hero__post { font-size: 24px; line-height: 1.35; font-weight: 700; color: var(--navy); margin-top: 14px; }
.hero__lead { font-size: 18px; max-width: 600px; margin-bottom: 28px; }
.hero__lead b { color: var(--red); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-bottom: 28px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 500; font-size: 15px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 20px; height: 20px; color: var(--red); flex: 0 0 20px; }
.ticks--col { flex-direction: column; margin-bottom: 28px; }
.hero__visual { margin: 0; text-align: center; }
.hero__visual img { width: 100%; max-width: 560px; margin: 0 auto; }
.hero__visual figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- Facts band ---------- */
.facts { background: var(--white); border-top: 1px solid #e3e9f2; border-bottom: 1px solid #e3e9f2; }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: flex; align-items: center; gap: 14px; padding: 26px 20px; }
.fact + .fact { border-inline-start: 1px solid var(--line); }
.fact b { font-size: 36px; line-height: 1; color: var(--red); white-space: nowrap; }
.fact span { min-width: 0; font-size: 14px; font-weight: 500; line-height: 1.35; }

/* ---------- Benefits (white cards, blue icons, like /agent/register/) ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 32px; }
.benefit__icon { width: 64px; height: 64px; color: var(--blue); margin-bottom: 22px; }
.benefit h3 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.benefit p { font-size: 15px; margin: 0; }

/* ---------- Cards with left titles ---------- */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px 64px; }
.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.product__text p { font-size: 17px; }
.product__img { width: 100%; border-radius: var(--radius); }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.case__img { width: 100%; height: 210px; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); }
.case__body { padding: 8px 32px 30px; display: flex; flex-direction: column; flex: 1; }
.case__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.case__meta span:last-child { color: var(--muted); }
.case__num { font-size: 52px; line-height: 1; font-weight: 700; color: var(--navy); margin: 18px 0 14px; }
.case__num small { font-size: 20px; font-weight: 500; color: var(--red); }
.case__body > p:not(.case__num) { font-size: 15px; }
.case__body b { color: var(--navy); }
.case__body .link-arrow { margin-top: auto; padding-top: 6px; }
.source { font-size: 13px; color: var(--muted); margin: 24px 0 0; text-align: center; }

/* ---------- Steps (big red numbers, like "Requirements" on /agent/register/) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
/* a long word in a step title wraps instead of widening the page (Tamil, WebKit); the number itself never shrinks */
.steps li, .steps li > div { min-width: 0; }
.steps__n { flex: none; white-space: nowrap; }
.steps__n { font-size: 56px; line-height: .9; font-weight: 700; color: var(--red); }
.steps h3 { font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.steps p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.audience__text p { font-size: 17px; margin-bottom: 26px; }
.audience__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.audience__list li { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: var(--radius); padding: 20px; font-weight: 700; font-size: 16px; line-height: 1.35; }
.audience__list svg { width: 40px; height: 40px; flex: 0 0 40px; color: var(--blue); }
/* the text beside the icon is an anonymous flex item: only "anywhere" lets one long word (Tamil) shrink it */
.audience__list li, .ticks li { overflow-wrap: anywhere; }

/* ---------- Reviews ---------- */
.tp-summary { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 22px; font-size: 18px; color: #191919; }
.tp-summary > b { font-size: 22px; color: var(--navy); }
.reviews { columns: 3; column-gap: 20px; margin-bottom: 32px; }
.reviews__note { margin: -16px 0 24px; text-align: center; font-size: 14px; color: var(--muted); }
.review { break-inside: avoid; display: block; background: var(--card); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 20px; }
.review header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review header b { display: block; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.review header small { display: block; color: var(--muted); font-size: 13px; }
.av { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #1b2333; background: #d4f7d4; }
.av--lime { background: #e9f8c9; } .av--lav { background: #e8e6fb; } .av--peach { background: #fde5d4; }
.review__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; font-size: 13px; }
.review__meta time { margin-inline-start: auto; color: var(--muted); }
.verified { color: #2f7d32; }
.review h3 { font-size: 16px; line-height: 1.35; margin-bottom: 6px; }
.review p { font-size: 14px; margin: 0; color: #33405f; }

/* ---------- Apply ---------- */
.apply__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.apply__text { position: sticky; top: 148px; }
.apply__text > p { font-size: 17px; }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; margin-bottom: 20px; }
.contact-card p { font-weight: 700; margin-bottom: 10px; }
.contact-card a { display: flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; padding: 4px 0; }
.contact-card svg { width: 20px; height: 20px; color: var(--red); flex: 0 0 20px; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-inline-start: 4px solid var(--navy); border-radius: 4px; padding: 14px 18px; font-size: 14px; }
.notice svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; color: var(--navy); }
.notice p { margin: 0; }

.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 40px; }
.form-card h2 { font-size: 28px; line-height: 1.3; text-align: center; margin-bottom: 6px; }
.form-card__sub { text-align: center; color: var(--muted); margin-bottom: 26px; }
.form-card label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-card input:not([type=checkbox]), .form-card select, .form-card textarea {
  display: block; width: 100%; min-width: 0; margin-top: 6px; padding: 10px 14px; min-height: 42px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-btn); background: var(--white);
  font: 400 15px/1.4 var(--font); color: var(--navy);
}
.form-card ::placeholder { color: #66728f; } /* 4.81:1 on white */
/* WebKit lets a drop-down's long option text (Tamil) widen the page although the box itself fits: keep it inside */
.form-card select { contain: paint; }
/* e-mail, phone and web address read left to right on right-to-left pages too ("https://" would show as "//:https") */
.form-card input[type=email], .form-card input[type=tel], .form-card input[inputmode=url] { direction: ltr; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 111, 224, .15); }
.form-card .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 1.5; }
.form-card .check input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 16px; accent-color: var(--red); }
/* bot trap: hidden in place (not pushed off-screen: in right-to-left pages the left side scrolls) */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#formStatus { margin-top: 14px; font-size: 14px; }
#formStatus.ok { color: #11764a; }
#formStatus.error { color: var(--red); }
/* step 1's thanks (app.js): on screen it is the collapsed line above step 2; here it is only read out, hidden in place
   like the bot trap */
#formStatus.sr-only { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%);
  white-space: nowrap; }
.form-card__note { display: block; text-align: center; margin-top: 12px; color: var(--muted); font-size: 13px; }
/* two steps: app.js sets data-mode (step1 | step2 | done) and shows one at a time; without JavaScript there is no
   mode and both show. min-width 0: a fieldset is otherwise at least as wide as its longest word, so one long word in
   a translation would widen the page on a phone (as the grid columns did in QA round 3) */
.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-card[data-mode="step1"] .form-step[data-step="2"], .form-card[data-mode="step2"] .form-step[data-step="1"],
.form-card[data-mode="done"] .form-step { display: none; }
.form-step[data-step="2"] { margin-top: 24px; }
/* step 2's heading is its fieldset's legend (the group's name for screen readers); the line above it divides the
   steps. No automatic hyphenation, as in the other headings */
.form-step__title { display: block; width: 100%; margin: 0 0 6px; padding: 22px 0 0; border-top: 1px solid var(--line);
  font-size: 20px; line-height: 1.35; font-weight: 700; text-align: center; text-wrap: balance;
  -webkit-hyphens: manual; hyphens: manual; }
.form-step__sub { text-align: center; color: var(--muted); margin-bottom: 20px; }
/* step 1 once sent: one line. The text beside the icon is an anonymous flex item: "anywhere" lets a long word
   shrink it */
.form-step__done { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 15px; font-weight: 500;
  color: #11764a; overflow-wrap: anywhere; }
.form-step__done[hidden] { display: none; }
.form-step__done svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; }

/* ---------- Footer (as on idaoffice.org) ---------- */
.footer { position: relative; color: var(--white); background: var(--navy); overflow: hidden; }
.footer__bg { position: absolute; inset: 0; pointer-events: none; }
.footer__bg img { width: 100%; height: 100%; object-fit: cover; }
.footer__top, .footer__bottom { position: relative; }
.footer__top { padding: 44px 0 36px; }
.footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 28px; }
.footer__brand { display: flex; align-items: center; align-self: start; gap: 14px; }
.footer__brand img { width: 56px; height: 56px; background: #fff; border-radius: 50%; padding: 3px; }
.footer__brand p { margin: 0; font-size: 14px; line-height: 1.45; text-transform: uppercase; }
.footer__caption { position: relative; margin: 0 0 16px; padding-bottom: 12px; font-size: 16px; font-weight: 700; text-transform: uppercase; }
.footer__caption::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 60px; border-bottom: 2px solid var(--red); }
.footer ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--white); text-decoration: none; transition: color .3s ease-in-out; }
.footer a:hover { color: #8fb8ff; }
.footer__contact li { display: flex; align-items: center; gap: 8px; }
.footer__contact svg { width: 15px; height: 15px; color: var(--red); flex: 0 0 15px; }
.footer__bottom { background: rgba(0, 0, 0, .22); padding: 20px 0; }
.footer__bottom p { margin: 0; font-size: 12.5px; color: #c9d3ea; }
.footer__linkbtn { padding: 0; border: 0; background: none; color: var(--white); font: inherit; cursor: pointer; transition: color .3s ease-in-out; }
.footer__linkbtn:hover { color: #8fb8ff; }

/* ---------- Cookie banner (consent.js) ---------- */
.cookie {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; gap: 28px; padding: 18px 24px;
  background: var(--white); border-top: 4px solid var(--red); border-radius: var(--radius);
  box-shadow: 0 10px 36px rgba(29, 48, 94, .24);
}
.cookie[hidden] { display: none; }
.cookie__text { margin: 0; font-size: 14px; line-height: 1.55; }
.cookie__actions { display: flex; gap: 12px; flex: 0 0 auto; }
.cookie__actions .button { min-width: 124px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header__nav { gap: 28px; }
  .header__nav a { font-size: 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews { columns: 2; }
  .card { padding: 40px; }
}
@media (max-width: 900px) {
  /* short top bar up to 900 px, not only on phones: at 601–820 px the brand and language name ran out of the bar
     in up to 45 languages (QA round 4) */
  .header__caption-sub, .header__contacts > a:first-child { display: none; }
  .langs__name { display: none; }
  .langs__code { display: inline; }
  .header__nav { display: none; }
  .header__main-row { justify-content: space-between; height: 68px; }
  .hero__grid, .product, .audience, .apply__grid { grid-template-columns: 1fr; gap: 32px; }
  .apply__text { position: static; }
  .hero__visual img { max-width: 440px; }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-inline-start: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .benefits { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  html { scroll-padding-top: 128px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  html { scroll-padding-top: 112px; }
  .header__top-row { height: 36px; }
  .header__caption { font-size: 12px; }
  .header__main-row { height: 60px; gap: 12px; }
  .header__cta { min-width: 0; padding: 10px 14px; font-size: 13px; }
  .section { padding: 44px 0; }
  .section--tight { padding-top: 0; }
  .title { font-size: 24px; }
  .hero { padding: 28px 0 36px; }
  .tp-line { margin-bottom: 22px; font-size: 14px; }
  .hero__pre, .hero__post { font-size: 19px; }
  .hero__main { font-size: 30px; }
  .hero__lead { font-size: 16px; }
  .hero__actions .button { width: 100%; }
  .ticks { flex-direction: column; }
  .fact { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 12px; }
  .fact b { font-size: 30px; }
  .fact span { font-size: 13px; }
  .card { padding: 28px 20px; }
  .cases { grid-template-columns: 1fr; }
  .case__img { height: 180px; }
  .case__body { padding: 6px 20px 24px; }
  .case__num { font-size: 44px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps__n { font-size: 44px; min-width: 40px; }
  .audience__list { grid-template-columns: minmax(0, 1fr); }
  .reviews { columns: 1; }
  .tp-summary { font-size: 16px; }
  .form-card { padding: 26px 18px; }
  .form-card h2 { font-size: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .cookie { left: 8px; right: 8px; bottom: 8px; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .cookie__actions .button { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
