/* =========================================================================
   Suretiform — glacial / fjord-jade light theme (design profile: animation-led)
   Tokens, layout, header/footer, hero, forms, cards, tables, motion.
   ========================================================================= */

/* ---- Fonts (self-hosted Manrope display; system body stack) ------------ */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-800.woff2') format('woff2');
}

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --bg: #F7F9F9;
  --surface: #FFFFFF;
  --surface-2: #EDF2F2;
  --border: #D8E2E2;
  --text: #13272B;
  --muted: #4E666B;
  --accent: #0F7A5E;
  --accent-hover: #0B5F4A;
  --accent-tint: #DFF0EA;
  --navy: #1F3A5F;
  --navy-deep: #16304F;
  --on-dark: #F7F9F9;
  --on-dark-muted: #C7D6D9;

  --r-sm: 14px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(19, 39, 43, .06), 0 2px 8px rgba(19, 39, 43, .06);
  --shadow-md: 0 1px 2px rgba(19, 39, 43, .06), 0 8px 24px rgba(19, 39, 43, .10);
  --shadow-lg: 0 2px 4px rgba(19, 39, 43, .08), 0 16px 40px rgba(19, 39, 43, .14);

  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* ---- Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; color: var(--text); }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; transition: color .16s var(--ease); }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: .3em 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
[id] { scroll-margin-top: 92px; }   /* sticky header never covers anchored targets */
.section { padding: clamp(48px, 7vw, 84px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--xs { width: 16px; height: 16px; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 12px 26px; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-tint); color: var(--accent-hover); }
.btn-block { width: 100%; }
.btn-dark { background: var(--navy); color: var(--on-dark); }
.btn-dark:hover { background: var(--navy-deep); color: #fff; }

/* ---- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 249, 249, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: var(--bg); }
.header-inner { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 32px); min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark { width: 34px; height: 31px; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: var(--navy); }
.logo--footer .logo-word { color: var(--on-dark); }

.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-group { position: relative; }
.nav-group__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; font: 600 .92rem var(--font-display);
  color: var(--text); padding: 10px 12px; border-radius: 10px;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.nav-group__btn:hover { background: var(--accent-tint); color: var(--accent-hover); }
.nav-caret { transition: transform .18s var(--ease); }
.nav-group__btn[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 110; min-width: 260px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm);
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; transform: translateY(4px); visibility: hidden; pointer-events: none;
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.nav-menu.is-open { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
.nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: 9px 12px; border-radius: 9px; color: var(--text);
  font-size: .92rem; transition: background .14s var(--ease);
}
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--accent-tint); color: var(--accent-hover); }
.nav-group--right .nav-menu, .nav-list > .nav-group:last-child .nav-menu { left: auto; right: 0; }
.nav-menu::before {
  content: ""; position: absolute; top: -5px; left: 22px; width: 10px; height: 10px;
  background: var(--bg); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-list > .nav-group:last-child .nav-menu::before { left: auto; right: 22px; }

.header-cta { margin-left: auto; padding: 10px 20px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 10px;
  width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer;
  color: var(--text);
}
.nav-toggle .icon { width: 22px; height: 22px; }

.mobile-menu { border-top: 1px solid var(--border); background: var(--bg); padding: 14px 0 20px; }
.mobile-menu .container > .btn { margin-bottom: 14px; }
.mobile-accordion__btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  background: none; border: 0; border-bottom: 1px solid var(--border); cursor: pointer;
  font: 600 1rem var(--font-display); color: var(--text); padding: 13px 2px;
}
.mobile-accordion__btn[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.mobile-accordion__panel ul { list-style: none; margin: 4px 0 10px; padding: 0; }
.mobile-accordion__panel a { display: block; padding: 8px 4px; color: var(--muted); font-size: .95rem; }
.mobile-accordion__panel a:hover { color: var(--accent-hover); }

/* ---- Breadcrumbs ----------------------------------------------------------- */
.breadcrumbs { padding: 14px 0 2px; font-size: .85rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-hover); }
.breadcrumbs .container { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---- Icon badges / cards ---------------------------------------------------- */
.icon-badge {
  width: 52px; height: 52px; border-radius: 13px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent);
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--navy { background: #E3EAF4; color: var(--navy); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 24px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #BFD8D0; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card--tint { background: var(--surface-2); }
.card--flat:hover { transform: none; }

.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }

/* ---- Decorative section backgrounds (motif + tint, never bare) ------------- */
.bg-motif { position: relative; overflow: hidden; }
.bg-motif::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(ellipse 70% 90% at 85% 10%, rgba(31, 58, 95, .06), transparent 60%);
}
.bg-motif > .container { position: relative; z-index: 1; }

.band-tint { background: var(--surface-2); }
.band-navy { background: var(--navy); }
.band-navy h2, .band-navy h3 { color: var(--on-dark); }
.band-navy p { color: var(--on-dark-muted); }

/* fern-node mesh (advantages) */
.bg-fern {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%230F7A5E' stroke-opacity='.13'%3E%3Cpath d='M10 120C30 70 60 60 70 20M70 20c25 5 40 30 60 35M70 20C55 45 30 50 15 80M70 20c10 30 35 45 45 85'/%3E%3C/g%3E%3Cg fill='%230F7A5E' fill-opacity='.18'%3E%3Ccircle cx='10' cy='120' r='4'/%3E%3Ccircle cx='70' cy='20' r='5'/%3E%3Ccircle cx='130' cy='55' r='4'/%3E%3Ccircle cx='115' cy='105' r='4'/%3E%3Ccircle cx='15' cy='80' r='3'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(160deg, #EDF2F2 0%, #F7F9F9 55%, #DFF0EA 100%);
}
/* wave-line texture (calculator) */
.bg-wave {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80'%3E%3Cg fill='none' stroke='%231F3A5F' stroke-opacity='.09' stroke-width='1.5'%3E%3Cpath d='M0 60C20 20 40 20 60 60S100 100 120 60 160 20 180 60'/%3E%3Cpath d='M0 30C20 70 40 70 60 30S100 -10 120 30 160 70 180 30'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #F7F9F9 0%, #EDF2F2 100%);
}
/* dotted grid (reviews) */
.bg-dots {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Ccircle cx='3' cy='3' r='2' fill='%231F3A5F' fill-opacity='.10'/%3E%3C/svg%3E"),
    var(--bg);
}

/* ---- Hero (home) ------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 76px) 0 clamp(44px, 6vw, 72px);
  background: linear-gradient(180deg, #F7F9F9 0%, #EDF2F2 100%); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Ccircle cx='2' cy='2' r='1.6' fill='%2313272B' fill-opacity='.05'/%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy { max-width: 560px; }
.hero-copy .lead { color: var(--muted); font-size: 1.08rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 600 .8rem var(--font-display);
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hover);
  background: var(--accent-tint); border-radius: var(--r-pill); padding: 6px 14px; margin-bottom: 18px;
}
.hero-visual { position: relative; }
.hero-visual svg { display: block; width: 100%; height: auto; }
.hero-parallax { will-change: transform; }

.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(26px, 4vw, 40px); }
.hero-trust__label { font-weight: 600; color: var(--muted); font-size: .92rem; }
.flag-item { display: inline-flex; align-items: center; gap: 9px; }
.flag-item span { font-size: .9rem; color: var(--text); font-weight: 600; }
.flag-item svg { width: 30px; height: 21px; border-radius: 3px; box-shadow: var(--shadow-sm); display: block; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; }
.hero-link {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px;
  border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface);
  font: 600 .88rem var(--font-display); color: var(--text); box-shadow: var(--shadow-sm);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease);
}
.hero-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--accent-hover); border-color: #BFD8D0; }
.hero-link .icon { width: 20px; height: 20px; color: var(--accent); }

/* inner page hero with form */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 5.5vw, 68px) 0;
  background: linear-gradient(180deg, #F7F9F9 0%, #EDF2F2 100%); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Ccircle cx='2' cy='2' r='1.6' fill='%2313272B' fill-opacity='.05'/%3E%3C/svg%3E");
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
.page-hero__copy p { color: var(--muted); font-size: 1.03rem; }
.page-hero .form-block { margin-top: 6px; }

/* ---- Form block (formFactory wrapper) ---------------------------------------- */
.form-block {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: clamp(20px, 3vw, 30px); max-width: 520px;
}
.form-block__heading { font-size: 1.2rem; margin-bottom: .55em; }
.form-block__intro { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.form-block__card .beacon-form { display: block; }
.beacon-form__row { margin-bottom: 13px; }
.beacon-form__label {
  display: block; font: 600 .84rem var(--font-display); color: var(--text); margin-bottom: 5px;
}
.beacon-form__input {
  width: 100%; padding: 11px 14px; font: 1rem var(--font-body); color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.beacon-form__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 122, 94, .18); }
.beacon-form__submit {
  width: 100%; margin-top: 4px; padding: 13px 20px; border: 0; border-radius: 12px; cursor: pointer;
  font: 600 1rem var(--font-display); color: #fff; background: var(--accent);
  box-shadow: var(--shadow-sm); transition: background .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
  white-space: nowrap;
}
.beacon-form__submit:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.form-legal { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.form-legal a { text-decoration: underline; }
.form-manager {
  display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding-top: 12px;
  border-top: 1px dashed var(--border); font-size: .88rem; color: var(--accent-hover); font-weight: 600;
}
.form-manager .icon { color: var(--accent); }

/* ---- Exchange chips ------------------------------------------------------------ */
.exchange-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.exchange-chip {
  display: inline-flex; align-items: center; padding: 10px 22px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font: 600 1rem var(--font-display); color: var(--navy); letter-spacing: .01em;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), color .16s var(--ease);
}
.exchange-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--accent-hover); }
.exchange-chip .ex-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; opacity: .55; }

/* ---- Steps ---------------------------------------------------------------------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card { position: relative; padding-top: 6px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1rem var(--font-display); margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.step-card h3 { font-size: 1.05rem; }
.step-card p { color: var(--muted); font-size: .95rem; }

/* ---- Tables ------------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
thead th {
  text-align: left; background: var(--surface-2); color: var(--text);
  font: 600 .86rem var(--font-display); padding: 13px 16px; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(237, 242, 242, .5); }
tbody td:first-child { color: var(--text); font-weight: 600; }
.tick-yes, .tick-no { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; }
.tick-yes { background: var(--accent-tint); color: var(--accent-hover); }
.tick-no { background: #F6E3E0; color: #A64034; }
.tick-yes .icon, .tick-no .icon { width: 15px; height: 15px; }
.compare-col-brand { background: rgba(223, 240, 234, .55); }
.compare-col-brand th, .compare-col-brand td { color: var(--text); }

/* ---- Reviews ------------------------------------------------------------------------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-head { display: flex; align-items: center; gap: 14px; }
.review-photo { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-tint); box-shadow: var(--shadow-sm); flex: none; }
.review-name { font: 600 1rem var(--font-display); color: var(--text); margin: 0; }
.review-role { color: var(--muted); font-size: .86rem; margin: 0; }
.review-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.review-stat {
  font-size: .8rem; color: var(--accent-hover); background: var(--accent-tint);
  padding: 4px 11px; border-radius: var(--r-pill); font-weight: 600; white-space: nowrap;
}
.review-stat--wide { color: var(--navy); background: #E3EAF4; }
.review-card p { font-size: .95rem; color: var(--text); margin: 0; }
.reviews-note { text-align: center; color: var(--muted); font-size: .88rem; margin: 22px auto 0; max-width: 640px; }

/* ---- Company block ---------------------------------------------------------------------- */
.company-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 52px); align-items: start; }
.fact-list { list-style: none; padding: 0; margin: 18px 0 0; }
.fact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--border); margin: 0; }
.fact-list .icon { color: var(--accent); margin-top: 2px; }
.fact-list strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.company-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.company-link { display: flex; align-items: center; gap: 13px; padding: 18px; }
.company-link span { font: 600 .95rem var(--font-display); color: var(--text); }

/* ---- Advantages ------------------------------------------------------------------------- */
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.adv-card { display: flex; gap: 16px; align-items: flex-start; }
.adv-card--wide { grid-column: 1 / -1; }

/* ---- FAQ accordion ------------------------------------------------------------------------ */
.faq-list { max-width: 800px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); margin-bottom: 10px; overflow: hidden; }
.faq-item__btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 1.02rem var(--font-display); color: var(--text); padding: 16px 20px;
}
.faq-item__btn:hover { color: var(--accent-hover); }
.faq-item__btn .nav-caret { transition: transform .18s var(--ease); color: var(--accent); }
.faq-item__btn[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.faq-item__panel { padding: 0 20px; color: var(--muted); }
.faq-item__panel > div { padding-bottom: 16px; }
.faq-item__panel[hidden] { display: none; }

/* ---- Prose (inner pages) --------------------------------------------------------------------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; font-size: 1.05rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-cards-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.span-2 { grid-column: span 2; }

/* timeline (About) */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding: 0 0 22px 34px; margin: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-tint); border: 3px solid var(--accent);
}
.timeline strong { font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; display: block; margin-bottom: 4px; }
.timeline p { color: var(--muted); margin: 0; }

/* map */
.map-embed { width: 100%; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; max-width: 860px; aspect-ratio: 16 / 9; min-height: 320px; background: var(--surface-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- Calculator block ------------------------------------------------------------------------- */
.calc-section .calc-root { position: relative; z-index: 1; }
.market-canvas-wrap {
  margin-top: 26px; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-sm); padding: 18px 18px 10px; position: relative; z-index: 1;
}
.market-canvas-wrap canvas { width: 100%; height: 170px; display: block; }
.market-canvas-wrap figcaption { font-size: .78rem; color: var(--muted); padding: 8px 2px 6px; }

/* ---- CTA band ------------------------------------------------------------------------------------ */
.split-cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.split-cta__copy { max-width: 560px; }
@media (max-width: 880px) { .split-cta { grid-template-columns: 1fr; } }

.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #16304F 100%); border-radius: var(--r-lg); padding: clamp(30px, 5vw, 52px); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80'%3E%3Cg fill='none' stroke='%23F7F9F9' stroke-opacity='.08' stroke-width='1.5'%3E%3Cpath d='M0 60C20 20 40 20 60 60S100 100 120 60 160 20 180 60'/%3E%3Cpath d='M0 30C20 70 40 70 60 30S100 -10 120 30 160 70 180 30'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: var(--on-dark-muted); max-width: 640px; }
.cta-band .btn-primary { background: var(--on-dark); color: var(--navy); }
.cta-band .btn-primary:hover { background: #fff; color: var(--navy-deep); }

/* ---- Footer ---------------------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: clamp(44px, 6vw, 68px) 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px 24px; padding-bottom: 34px; border-bottom: 1px solid rgba(247, 249, 249, .14); }
.footer-brand__text { font-size: .92rem; margin: 16px 0 10px; }
.footer-brand__mail { display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.footer-brand__mail a { color: var(--on-dark); }
.footer-brand__mail a:hover { color: #fff; }
.footer-col h2 { color: var(--on-dark); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-block; color: var(--on-dark-muted); font-size: .9rem; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-disclaimer { padding: 26px 0; border-bottom: 1px solid rgba(247, 249, 249, .14); }
.footer-disclaimer h2 { color: var(--on-dark); font-size: 1rem; }
.footer-disclaimer p { font-size: .82rem; line-height: 1.6; margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; padding-top: 22px; font-size: .84rem; }
.footer-bottom a { color: var(--on-dark); }
.footer-bottom a:hover { color: #fff; }

/* ---- Special offer page ------------------------------------------------------------------------------ */
.urgency-strip { background: var(--navy); color: var(--on-dark); font-size: .85rem; }
.urgency-strip .container { display: flex; flex-wrap: wrap; gap: 8px 30px; align-items: center; justify-content: center; padding-top: 9px; padding-bottom: 9px; }
.urgency-strip strong { color: #fff; font-family: var(--font-display); }
.urgency-strip .u-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 8px; box-shadow: 0 0 0 3px rgba(15, 122, 94, .35); }

.so-hero { background: linear-gradient(180deg, #DFF0EA 0%, #F7F9F9 100%); }
.so-countdown { display: flex; align-items: center; gap: 6px; margin: 18px 0 6px; }
.so-countdown__pair {
  font: 600 1.6rem var(--font-display); color: var(--navy); background: var(--surface);
  border: 1px solid var(--border); border-radius: 9px; padding: 7px 10px; min-width: 54px; text-align: center;
  box-shadow: var(--shadow-sm); font-variant-numeric: tabular-nums;
}
.so-countdown__sep { font: 600 1.4rem var(--font-display); color: var(--accent); }
.so-countdown-label { font-size: .82rem; color: var(--muted); margin: 2px 0 14px; }

.so-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.so-modal.is-open { display: flex; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(19, 39, 43, .62); }
.so-modal__card {
  position: relative; z-index: 1; width: 100%; max-width: 460px; background: var(--surface);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 30px 28px 28px; text-align: center;
  animation: so-pop .22s var(--ease);
}
@keyframes so-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.so-modal__close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  font-size: 1.15rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.so-modal__close:hover { background: var(--accent-tint); color: var(--accent-hover); }
.so-modal__card h2 { font-size: 1.5rem; }
.so-modal__card p { color: var(--muted); font-size: .96rem; }
.so-modal .so-countdown { justify-content: center; }
.so-modal__illu { margin: 0 auto 8px; width: 130px; height: auto; }

/* ---- 404 ------------------------------------------------------------------------------------------------ */
.error-page { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.error-page .error-code { font: 800 clamp(4rem, 10vw, 6.5rem) var(--font-display); color: var(--accent-tint); -webkit-text-stroke: 2px var(--accent); margin-bottom: 6px; line-height: 1; }

/* ---- Vacancies (careers) ---------------------------------------------------------------------------------- */
.vacancy { padding: 24px; }
.vacancy__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.vacancy__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.vacancy__meta span { font-size: .8rem; background: var(--surface-2); color: var(--muted); border-radius: var(--r-pill); padding: 4px 12px; font-weight: 600; }

/* ---- Pay methods ------------------------------------------------------------------------------------------- */
.pay-type { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--navy); background: #E3EAF4; border-radius: var(--r-pill); padding: 3px 10px; }

/* ---- Scroll reveal ------------------------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Responsive ------------------------------------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-grid, .page-hero__grid { grid-template-columns: 1fr .9fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .hero-grid, .page-hero__grid, .company-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; order: 3; }
  .hero-grid .hero-form-slot { order: 2; }
  .hero-copy { order: 1; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-cards-6 { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-card--wide { grid-column: auto; }
}
@media (max-width: 768px) {
  .hero-visual { display: none; }  /* static hero falls back to background motif */
  .hero::after, .page-hero::after { opacity: .8; }
  .hero-grid, .page-hero__grid, .grid-2 { grid-template-columns: 1fr; }
  .form-block { max-width: 100%; }
  .hero-links { margin-left: 0; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-cards-6, .company-links { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .so-countdown__pair { font-size: 1.25rem; min-width: 46px; padding: 6px 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Reduced motion ---------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-parallax { transform: none !important; }
}
