/* TenderApp — corporate style. Tokens are documented in brand/index.html */

/* Golos Text, self-hosted (variable font, OFL: assets/fonts/OFL.txt). One file per subset covers weights 400–700. */
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/golos-text-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: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/golos-text-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/golos-text-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/golos-text-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; }
:root {
  /* brand */
  --navy: #2f496e;          /* primary = logo blue: dark buttons, accents */
  --navy-700: #263c5b;      /* hover */
  --navy-900: #1c2d45;      /* mobile/tablet CTA bar: shown below 1080px, where the header button is hidden */
.mbar { display: none; }
@media (max-width: 1080px) {
  .mbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(27, 36, 48, .08);
    transform: translateY(100%); visibility: hidden; transition: transform .25s ease-out, visibility .25s;
  }
  .mbar.is-on { transform: none; visibility: visible; }
  .mbar .btn { width: 100%; max-width: 480px; margin: 0 auto; display: flex; }
  .footer { padding-bottom: 112px; }
}
@media (prefers-reduced-motion: reduce) { .mbar { transition: none; } }

/* footer */
  --navy-50: #eef2f7;       /* soft fills */
  --navy-100: #dbe3ed;
  --gold: #f2a65a;          /* accent = amber: key numbers, highlights */
  --gold-600: #e8924a;      /* hover */
  --gold-50: #fdf0e3;       /* highlights, "awaiting payment" rows */
  --sky: #2988bc;           /* logo light blue: links in the sheet */
  --green: #2e7d6b;         /* positive: solutions, checks, status row */
  --green-50: #e9f4f0;
  --green-700: #276b5c;     /* green text on --green-50 */
  /* neutrals */
  --ink: #1b2430;           /* main text */
  --ink-2: #4a5564;         /* secondary text */
  --ink-3: #636e7c;         /* captions: 4.5:1+ on white, cream and grid-head */
  --line: #e6e2d9;
  --grid: #e2e5ea;          /* spreadsheet cell borders */
  --grid-head: #f5f6f8;     /* spreadsheet row/column headers */
  --bg: #ffffff;
  --bg-alt: #fbf7ef;        /* warm cream for alternating sections */
  --on-navy: rgba(255, 255, 255, .78);
  --on-navy-line: rgba(255, 255, 255, .14);
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Roboto Mono", monospace;
  --wrap: 1180px;
  --header-h: 68px;
  --r: 10px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(27, 36, 48, .04), 0 4px 16px rgba(27, 36, 48, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 400 18px/1.65 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
h3 { font-weight: 600; font-size: 19px; line-height: 1.35; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
.contact :focus-visible, .step--main :focus-visible, .compare__col--main :focus-visible, .example :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 700px) { .wrap { padding: 0 16px; } body { font-size: 17px; } }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--navy); }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 11px 20px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 15px; }
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 17px; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--primary { background: var(--gold); color: var(--navy-900); }
.btn--primary:hover { background: var(--gold-600); }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--navy-100); }
.btn--secondary:hover { border-color: var(--navy); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__row { height: 100%; display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 30px; height: 30px; }
.logo__img { height: 40px; width: auto; }
@media (max-width: 400px) { .header .logo__img { height: 34px; } }
.logo--footer .logo__img { height: 52px; }
.logo__text { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a { text-decoration: none; font-size: 16px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: var(--r-sm); background: var(--grid-head); }
.lang a { display: inline-flex; align-items: center; justify-content: center; padding: 5px 9px; border-radius: 6px; font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--ink-3); text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(27, 36, 48, .12); }
.burger { display: none; width: 42px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .2s, top .2s; }
.burger span:first-child { top: 14px; }
.burger span:last-child { top: 22px; }
.burger[aria-expanded="true"] span:first-child { top: 18px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 18px; transform: rotate(-45deg); }
@media (max-width: 1080px) { .header__cta { display: none; } .nav { gap: 22px; } }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 4px 16px 12px;
    box-shadow: 0 12px 24px rgba(27, 36, 48, .1); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
}

@media (pointer: coarse) {
  .lang a { min-width: 40px; min-height: 40px; }
  .sheet__btn { min-height: 44px; }
  .sheet__tabs button { min-height: 44px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 104px 0 80px; overflow: hidden;
  /* faint spreadsheet grid behind the headline */
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, #fff 520px),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 120px 100%,
    #fff;
}
.hero__copy { max-width: 1116px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow); }
.badge__dot { width: 18px; height: 18px; border-radius: 4px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='white' stroke-width='1.4'%3E%3Crect x='4' y='4' width='10' height='10' rx='1'/%3E%3Cpath d='M4 8h10M4 11h10M8 4v10'/%3E%3C/svg%3E") center/18px no-repeat; }
.hero__title { margin-top: 32px; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.1; }
@media (min-width: 701px) { .hero__title span { display: block; } }
.hero__lead { margin-top: 28px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__copy .actions { justify-content: center; margin-top: 44px; }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.hero__hint { margin-top: 14px; text-align: center; font-size: 14px; color: var(--ink-3); }
@media (max-width: 700px) { .hero { padding: 44px 0 40px; } }
@media (max-width: 480px) { .actions .btn { width: 100%; } }

/* ---------- product window (Google Sheet look) ---------- */
.sheet {
  margin: 72px auto 0; max-width: 1100px; background: #fff; border: 1px solid var(--grid); border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(27, 36, 48, .05), 0 30px 70px -30px rgba(28, 45, 69, .35);
  font-size: 13px; line-height: 1.4; text-align: left;
}
.sheet__top { display: flex; align-items: center; gap: 12px; padding: 12px 16px 8px; }
.sheet__icon { width: 30px; height: 30px; flex: none; }
.sheet__doc { min-width: 0; }
.sheet__title { font-size: 17px; font-weight: 500; letter-spacing: 0; line-height: 1.25; }
.sheet__menu { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.sheet__menu b { font-weight: 600; color: var(--navy); }
.sheet__actions { margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px; }
.sheet__tag { flex: none; font-size: 12px; color: var(--ink-3); padding: 3px 10px; border: 1px solid var(--grid); border-radius: 20px; }

/* add-on buttons, like the TenderApp sidebar in Google Sheets */
.sheet__btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 6px; padding: 8px 14px; background: var(--green); color: #fff; font: 500 13px/1.2 var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s, box-shadow .15s; }
.sheet__btn:hover { background: #256858; }
.sheet__btn:disabled { cursor: default; background: #8fb8ad; }
.sheet__btn.is-loading:disabled { background: var(--green); }
.sheet__btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 10px -4px rgba(46, 125, 107, .6); }
.sheet__btnico { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sheet__btn.is-loading .sheet__btnico { display: none; }
/* until the first click: the buttons pulse and a hint points at them */
.sheet__btn.is-hint { animation: btnPulse 2s ease-out 3; }
.sheet__btn.is-hint + .sheet__btn.is-hint { animation-delay: 1s; }
@keyframes btnPulse { 0% { box-shadow: 0 0 0 0 rgba(46, 125, 107, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(46, 125, 107, 0); } }
.sheet__try { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--green); white-space: nowrap; }
.sheet__try::after { content: "\2192"; font-size: 15px; animation: tryNudge 1.2s ease-in-out 5; }
@keyframes tryNudge { 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .sheet__btn.is-hint, .sheet__try::after { animation: none; } }
.sheet__btn.is-loading::before { content: ""; width: 12px; height: 12px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.grid__row.is-new td { animation: rowIn .3s ease-out; }
@keyframes rowIn { from { opacity: 0; background: var(--green-50); } }
@media (prefers-reduced-motion: reduce) { .grid__row.is-new td { animation: none; } }

.chip { font-size: 13px; padding: 4px 12px; border-radius: 20px; background: var(--gold-50); color: #8a4b14; }

.sheet__fx { display: flex; align-items: center; gap: 10px; min-height: 32px; padding: 4px 12px; border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); color: var(--ink); }
.sheet__ref { flex: none; width: 56px; padding-right: 10px; border-right: 1px solid var(--grid); color: var(--ink-3); font-family: var(--mono); font-size: 12px; }
.sheet__fx i { flex: none; font-style: italic; font-family: Georgia, serif; color: var(--ink-3); }
.sheet__fxtext { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sheet__grid { overflow-x: auto; overscroll-behavior-x: contain; }
.sheet__grid:focus-visible { outline-offset: -3px; }
/* fixed layout: columns share the window width, long text is cut with an ellipsis (full text shows in the fx bar) */
.grid { width: 100%; min-width: 1000px; border-collapse: collapse; table-layout: fixed; white-space: nowrap; }
.grid__ncol { width: 38px; }
.grid th, .grid td { overflow: hidden; text-overflow: ellipsis; border-right: 1px solid var(--grid); border-bottom: 1px solid var(--grid); padding: 6px 10px; text-align: left; vertical-align: middle; }
.grid .num { text-align: right; }
.grid__letters th { background: var(--grid-head); color: var(--ink-3); font-weight: 400; font-size: 12px; text-align: center; padding: 3px 10px; }
.grid__n { width: 38px; background: var(--grid-head); color: var(--ink-3); text-align: center !important; font-size: 12px; font-weight: 400; padding: 6px 4px !important; }
/* header cells wrap onto two lines, like the real TenderApp sheet */
.grid__head th:not(.grid__n) { font-weight: 600; color: var(--ink); background: #fff; position: relative; padding: 6px 20px; text-align: center; white-space: normal; vertical-align: middle; line-height: 1.25; }
.grid__head th.num { text-align: center; }
.grid__filter { position: absolute; right: 7px; top: 50%; margin-top: -4px; width: 11px; height: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 9'%3E%3Cpath d='M0 0h11L7 4.5V9L4 7.5v-3z' fill='%236b7684'/%3E%3C/svg%3E") center/contain no-repeat; opacity: .7; }
.grid__row { cursor: default; }
.grid__row:hover td:not(.grid__n) { background: #f8fafc; }
.grid--lots .grid__row { cursor: pointer; }
.grid__row.is-selected td:not(.grid__n) { background: var(--navy-50); }
.grid__row.is-selected .grid__n { background: var(--navy-100); color: var(--navy); font-weight: 600; }
.grid__row.is-selected .grid__an { box-shadow: inset 0 0 0 2px var(--navy); }
.grid__row:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.grid__row.is-flag td:not(.grid__n) { background: var(--gold-50); }
.grid__date { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.grid__an { color: var(--ink-2); }
.grid__link { color: var(--sky); text-decoration: underline; text-decoration-color: rgba(41, 136, 188, .4); }
.pill { display: inline-block; padding: 1px 6px; border-radius: 10px; font-size: 12px; font-weight: 500; }
.pill--ok, .pill--done { background: var(--green-50); color: var(--green-700); }
.pill--delivery { background: var(--navy-50); color: var(--navy); }
.pill--rejected { background: #f6f1f1; color: #8a4b4b; }
.pill--payment { background: #fff; color: #8a4b14; border: 1px solid var(--gold); }

.sheet__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px 0 0; background: var(--grid-head); border-top: 1px solid var(--grid); }
.sheet__tabs { display: flex; overflow-x: auto; }
.sheet__tabs button { border: 0; border-right: 1px solid var(--grid); background: none; cursor: pointer; padding: 9px 18px; font: 500 13px/1.2 var(--font); color: var(--ink-2); white-space: nowrap; }
.sheet__tabs button:hover { background: #eceef2; color: var(--ink); }
.sheet__tabs button[aria-pressed="true"] { background: #fff; color: var(--green); box-shadow: inset 0 -3px 0 var(--green); }
.sheet__count { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 820px) {
  .sheet { margin-top: 36px; border-radius: 10px; }
  .sheet__tag, .sheet__try, .sheet__menu span { display: none !important; }
  .sheet__top { flex-wrap: wrap; }
  .sheet__actions { margin-left: 0; width: 100%; }
  .sheet__btn { flex: 1; justify-content: center; padding: 8px 10px; }
  .sheet__count { display: none; }
  .sheet__tabs button { padding: 9px 14px; }
}

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px 32px; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat strong { font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--navy); letter-spacing: -.02em; }
.stat span { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 16px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { margin-bottom: 48px; display: grid; gap: 12px; }
.head__title { font-size: clamp(26px, 2.5vw, 36px); }
.head__lead { font-size: 18px; color: var(--ink-2); }
.subhead { font-size: clamp(22px, 2.4vw, 28px); margin: 80px 0 28px; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section--tight { padding: 48px 0; } .head { margin-bottom: 32px; } .subhead { margin-top: 56px; } }

/* value ladder: three steps joined by arrows */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.step + .step::before {
  content: ""; position: absolute; left: -33px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f496e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-5-5 5 5-5 5'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid var(--line);
}
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.step__ico { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--navy-50); fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step__n { font-size: 44px; font-weight: 700; line-height: 1; color: var(--navy-100); }
.step > p { font-size: 16px; color: var(--ink-2); }
.step__list { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.step__list li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink); }
.step__list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.step--main { background: var(--navy); border-color: var(--navy); color: #fff; }
.step--main h3 { color: #fff; }
.step--main > p { color: var(--on-navy); }
.step--main .step__ico { background: rgba(255, 255, 255, .1); stroke: var(--gold); }
.step--main .step__n { color: rgba(255, 255, 255, .18); }
.step--main .step__list { border-color: var(--on-navy-line); }
.step--main .step__list li { color: #fff; }
@media (max-width: 900px) {
  .ladder { grid-template-columns: 1fr; gap: 36px; }
  .step + .step::before { left: 50%; top: -31px; margin: 0 0 0 -13px; transform: rotate(90deg); }
}

/* cards */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.card p { font-size: 16px; color: var(--ink-2); }
.card__ico { width: 44px; height: 44px; padding: 10px; margin-bottom: 8px; border-radius: var(--r-sm); background: var(--gold-50); fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__num { font-size: 28px !important; font-weight: 700; line-height: 1; color: var(--sky) !important; }
.card .card__res { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--green); font-weight: 500; font-size: 15px; }
@media (max-width: 960px) { .cards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards--3 { grid-template-columns: 1fr; } .card { padding: 22px; } }

/* scenarios */
.scenario h3 { font-size: 18px; }
.scenario .card__ico { margin-bottom: 4px; }
.scenario:hover { border-color: var(--navy-100); box-shadow: var(--shadow); }

/* one table instead of many tools */
.one { display: grid; gap: 32px; }
.one .head__title { margin: 12px 0; }
.one__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.one__list li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 22px; font-size: 16px; border-top: 1px solid var(--line); }
.one__list li:nth-child(-n+2) { border-top: 0; }
.one__list li:nth-child(even) { border-left: 1px solid var(--line); }
@media (max-width: 860px) { .one__list { grid-template-columns: 1fr; } .one__list li:nth-child(2) { border-top: 1px solid var(--line); } .one__list li:nth-child(even) { border-left: 0; } }
.one__list s { color: var(--ink-3); text-decoration-color: rgba(107, 118, 132, .6); }
.one__list span { padding: 3px 10px; border-radius: 6px; background: var(--green-50); color: var(--green-700); font-weight: 500; font-size: 14px; white-space: nowrap; }
@media (max-width: 480px) { .one__list li { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; } .one__list span { justify-self: start; } }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.compare__col--main { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 20px 40px -20px rgba(28, 45, 69, .45); }
.compare__title { font-size: 20px; margin-bottom: 20px; color: var(--ink-2); }
.compare__col--main .compare__title { color: var(--gold); }
.chain { list-style: none; margin: 0 0 22px; padding: 0; counter-reset: s; }
.chain li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; }
.chain li::before {
  content: counter(s); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 600; background: var(--bg-alt); color: var(--ink-3);
}
.chain li + li::after { content: ""; position: absolute; left: 14.5px; top: -9px; height: 18px; border-left: 1px dashed var(--line); }
.compare__col:not(.compare__col--main) .chain li { color: var(--ink-2); }
.compare__col--main .chain li::before { background: var(--gold); color: var(--navy-900); }
.compare__col--main .chain li + li::after { border-color: var(--on-navy-line); }
.compare__col--main .compare__note { border-color: var(--on-navy-line); color: var(--on-navy); }
.compare__note { padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } .compare__col { padding: 24px 20px; } }

/* how it works */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow__step { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.flow__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-50); color: var(--navy); font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.flow__step:last-child { border-color: var(--gold); box-shadow: inset 0 3px 0 var(--gold); }
.flow__step:last-child .flow__n { background: var(--gold); color: var(--navy-900); }
.flow__step h3 { font-size: 18px; margin-bottom: 6px; }
.flow__step p { font-size: 16px; color: var(--ink-2); }
.example { margin-top: 20px; display: grid; grid-template-columns: 1fr; gap: 6px; align-items: center; padding: 28px 32px; border-radius: 14px; background: var(--navy); color: #fff; }
.example__label { grid-column: 1 / -1; font-size: 15px; color: rgba(255, 255, 255, .75); }
.example__num { font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.1; color: var(--gold); }
.example__txt { color: rgba(255, 255, 255, .9); }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } .example { grid-template-columns: 1fr; padding: 24px 20px; } }

/* audience tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); margin-bottom: 28px; }
.tab { border: 0; background: none; cursor: pointer; padding: 10px 18px; border-radius: var(--r-sm); font-size: 16px; font-weight: 500; color: var(--ink-2); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.seg { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.seg__main { padding: 36px; }
.seg__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.seg__lead { margin-top: 14px; color: var(--ink-2); }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-size: 17px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.seg__result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 22px 36px; background: var(--navy); color: var(--on-navy); }
.seg__result strong { color: var(--gold); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.015em; }
@media (max-width: 860px) { .seg__main, .seg__result { padding: 24px 20px; } }
@media (max-width: 560px) { .tabs { display: flex; flex-direction: column; } .tab { text-align: left; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.plan h3 { font-size: 18px; color: var(--ink-2); }
.plan__price { margin-top: 6px; color: var(--ink-3); }
.plan__price strong { font-size: 34px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.plan__note { font-size: 15px; color: var(--ink-2); }
.plan__save { align-self: flex-start; padding: 2px 10px; border-radius: 6px; background: var(--green-50); color: var(--green-700); font-size: 14px; font-weight: 600; }
.plans__incl { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.plans__incl p { font-weight: 600; color: var(--ink); }
.plans__incl ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.plans__incl li { position: relative; padding-left: 20px; }
.plans__incl li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%273.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 12.5l4 4 8-9%27/%3E%3C/svg%3E") center/9px no-repeat; }
.plan__fit { margin: 10px 0 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-3); }
.plan__fit b { display: block; font-weight: 500; color: var(--ink); }
.plan .btn { margin-top: auto; }
.plan--best { border: 2px solid var(--navy); box-shadow: 0 24px 48px -28px rgba(28, 45, 69, .5); }
.plan__badge { position: absolute; top: -14px; left: 26px; padding: 3px 12px; border-radius: 20px; background: var(--gold); color: var(--navy-900); font-size: 13px; font-weight: 500; }
.plans__foot { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; gap: 28px; } }

/* team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.person__avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--gold-50); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.person h3 { font-size: 18px; }
.person__role { font-size: 15px; color: var(--navy); margin: 2px 0 8px; }
.person p:last-child { font-size: 15px; color: var(--ink-2); }
@media (max-width: 960px) { .team { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.faq .head { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; position: relative; padding: 20px 44px 20px 0; font-size: 18px; font-weight: 600; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list summary:hover { color: var(--navy); }
.faq__list details p { padding: 0 44px 22px 0; color: var(--ink-2); font-size: 17px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } .faq .head { position: static; } }

/* contacts */
.contact { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; padding: 48px; border-radius: 18px; color: #fff; background: radial-gradient(520px 300px at 100% 0%, rgba(242, 166, 90, .18), transparent 70%), var(--navy); }
.contact .head__title { color: #fff; }
.contact .head__lead { color: var(--on-navy); }
.contact__main { display: grid; gap: 14px; }
.contact__main .actions { margin-top: 18px; }
.contact__list { margin: 0; display: grid; grid-template-columns: repeat(4, auto); background: #fff; color: var(--ink); border-radius: var(--r); }
/* columns size to their content, so the address stays on one line */
.contact__list a[data-i18n="final.address"] { white-space: nowrap; }
.contact__list div { padding: 16px 22px; min-width: 0; }
.contact__list div + div { border-left: 1px solid var(--line); }
@media (max-width: 1200px) { .contact__list { grid-template-columns: 1fr 1fr; } .contact__list div:nth-child(3) { border-left: 0; } .contact__list div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .contact__list { grid-template-columns: 1fr; } .contact__list div + div { border-left: 0; border-top: 1px solid var(--line); } .contact__list a { overflow-wrap: anywhere; } .contact__list a[data-i18n="final.address"] { white-space: normal; } }
.contact__list dt { font-size: 14px; color: var(--ink-3); }
.contact__list dd { margin: 2px 0 0; font-size: 18px; font-weight: 500; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; padding: 28px 20px; } }

/* footer */
.footer { background: #fff; border-top: 1px solid var(--line); color: var(--ink-3); padding: 44px 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 32px; align-items: start; }
.logo--footer { margin-bottom: 14px; }
.footer__small { font-size: 14px; line-height: 1.7; }
.footer__links { display: grid; gap: 8px; }
.footer__links a { color: var(--ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- legal pages ---------- */
.legal-header { background: #fff; border-bottom: 1px solid var(--line); }
.legal-header .container { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-header a.back { color: var(--navy); text-decoration: none; font-size: 16px; }
.legal-header a.back:hover { text-decoration: underline; }
.legal { padding: 48px 0 96px; background: var(--bg-alt); }
.legal .container { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 700px) { .legal-header .container, .legal .container { padding: 0 16px; } }
.legal__note { max-width: 800px; margin: 0 auto 16px; font-size: 14px; color: var(--ink-3); }
.legal__doc { max-width: 800px; margin: 0 auto; padding: clamp(24px, 5vw, 56px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); font-size: 17px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.legal__doc h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 28px; }
.legal__doc h2 { font-size: 19px; color: var(--ink); margin: 36px 0 12px; }
.legal__doc p { margin: 0 0 14px; }
.legal__doc ul { margin: 0 0 14px; padding-left: 22px; }
.legal__doc strong { color: var(--ink); font-weight: 600; }
.legal__nav { max-width: 800px; margin: 24px auto 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }

/* ---------- blog ---------- */
.article { max-width: 800px; margin: 0 auto; padding: clamp(24px, 5vw, 56px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); font-size: 18px; line-height: 1.7; color: var(--ink-2); overflow-wrap: anywhere; }
.article h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.article__meta { margin: 14px 0 28px; font-size: 14px; color: var(--ink-3); }
.article__lead { font-size: 20px; line-height: 1.6; color: var(--ink); }
.article h2 { font-size: clamp(22px, 2.2vw, 26px); color: var(--ink); margin: 44px 0 14px; }
.article h3 { font-size: 19px; color: var(--ink); margin: 28px 0 10px; }
.article p, .article ul, .article ol { margin: 0 0 16px; }
.article ul, .article ol { padding-left: 24px; }
.article li + li { margin-top: 6px; }
.article strong { color: var(--ink); font-weight: 600; }
.article__table { overflow-x: auto; margin: 8px 0 24px; }
.article table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.article th, .article td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { background: var(--grid-head); color: var(--ink); font-weight: 600; }
.article table { overflow-wrap: normal; }
.article td:first-child { width: 24%; }
.article .faq__list { margin-top: 8px; }
.article .faq__list details p { font-size: 17px; }
.article__cta { margin-top: 44px; padding: 32px; border-radius: var(--r); background: var(--navy); color: var(--on-navy); }
.article__cta h2 { margin: 0 0 10px; color: #fff; }
.article__cta .btn { margin-top: 10px; }
.article__cta :focus-visible { outline-color: var(--gold); }
.posts { max-width: 800px; margin: 0 auto; display: grid; gap: 16px; }
.post { display: block; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink-2); }
.post:hover { border-color: var(--navy-100); box-shadow: var(--shadow); }
.post h2 { font-size: 21px; line-height: 1.3; color: var(--ink); margin: 6px 0 8px; }
.post__meta { font-size: 14px; color: var(--ink-3); }
@media (max-width: 700px) { .article__cta { padding: 24px 20px; } .post { padding: 22px; } }
