/* ==========================================================================
   Wallet Clara — design system (HUMAN_CENTERED_FINTECH_MINIMAL)
   Tokens per DESIGN.md. Reference: Wise (GetDesign) — surface-contrast
   elevation, single coral CTA accent, sage secondary tint.
   ========================================================================== */

:root {
  /* palette */
  --bg: #F7F4EF;
  --surface: #FFFFFF;
  --surface-2: #F0EDE5;
  --border: #E4DFD5;
  --border-strong: #D3CCBD;
  --text: #211D17;
  --text-muted: #5D564A;
  --accent: #C2503F;
  --accent-hover: #A63D2E;
  --accent-text: #B2412F;
  --accent-tint: #F6E3DE;
  --sage: #7C8B6A;
  --sage-deep: #4A5A36;
  --sage-tint: #EAEFE3;
  --ink-card: #23201B;
  --ink-card-2: #3A352C;
  --ink-card-text: #FBF9F4;
  --ink-card-muted: #C9C2B4;

  /* type */
  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* radius */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* shadows — tinted toward the porcelain background hue */
  --shadow-sm: 0 1px 2px rgba(33, 29, 23, .05), 0 2px 8px rgba(33, 29, 23, .05);
  --shadow-md: 0 1px 2px rgba(33, 29, 23, .05), 0 10px 28px rgba(33, 29, 23, .09);
  --shadow-lg: 0 2px 6px rgba(33, 29, 23, .07), 0 24px 60px rgba(33, 29, 23, .14);

  /* rhythm */
  --section-pad: clamp(64px, 9vw, 104px);
  --ease: cubic-bezier(.2, .6, .2, 1);
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-quick: 150ms;
  --duration-fast: 200ms;
}

/* ---- 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: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .55em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: .4em; }

p { margin: 0 0 1em; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img, svg, iframe, video, canvas { max-width: 100%; }

.icon { width: 22px; height: 22px; flex: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--surface); color: var(--text);
  padding: 10px 16px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); font-weight: 600;
}
.skip-link:focus { left: 12px; }

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

/* ---- layout primitives ---------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-pad); }
.section--white { background: var(--surface); }
.section--tint {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(124, 139, 106, .10), transparent 60%),
    var(--surface-2);
}
.section--white + .section--tint { border-block: 1px solid var(--border); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-lead { font-size: 1.06rem; color: var(--text-muted); margin: 0; }
.section-cta { margin: clamp(24px, 3vw, 40px) 0 0; }

/* decorative texture bands behind sections (drawn, not gradient-only) */
.section--tint::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%237C8B6A' stroke-opacity='.14'%3E%3Cpath d='M10 110 L40 70 L70 90 L110 30'/%3E%3Ccircle cx='110' cy='30' r='3' fill='%237C8B6A' fill-opacity='.14' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  pointer-events: none;
}
.section--tint { position: relative; }
.section--tint > .container { position: relative; }

/* ---- buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 48px; padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  line-height: 1.2; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              transform .18s var(--ease), box-shadow .18s var(--ease),
              border-color .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent); color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--text); background: var(--surface); }

.btn-block { width: 100%; }
.text-link {
  color: var(--accent-text); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---- header ---------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: rgba(247, 244, 239, .97); }

.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand svg { height: 34px; width: auto; display: block; }
.brand-fallback {
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text);
}

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }

.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: .925rem; font-weight: 600; color: var(--text);
  padding: 10px 14px; border-radius: var(--radius-sm);
  transition: background-color .16s var(--ease);
}
.nav-trigger:hover { background: var(--surface-2); }
.nav-trigger .icon { width: 16px; height: 16px; transition: transform .16s var(--ease); }
.nav-item.is-open .nav-trigger .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 260px; max-width: min(320px, calc(100vw - 32px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .16s var(--ease-smooth-out), transform .16s var(--ease-smooth-out), visibility .16s;
  z-index: 110;
}
.nav-item { position: relative; }
.nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown::before {
  content: "";
  position: absolute; top: -5px; left: 24px;
  width: 10px; height: 10px; background: var(--surface);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.dropdown.align-right { left: auto; right: 0; }
.dropdown.align-right::before { left: auto; right: 24px; }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text); font-size: .925rem; font-weight: 500;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.dropdown a:hover, .dropdown a:focus-visible {
  background: var(--accent-tint); color: var(--text); text-decoration: none;
}

.nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  color: var(--text); border-radius: var(--radius-sm);
  transition: background-color .16s var(--ease);
}
.nav-burger:hover { background: var(--surface-2); }
.nav-burger .icon-close { display: none; }
.nav-burger[aria-expanded="true"] .icon-menu { display: none; }
.nav-burger[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding-block: 12px 20px;
}
.mobile-group summary {
  display: flex; align-items: center; justify-content: space-between;
  list-style: none; cursor: pointer;
  padding: 12px 4px; font-weight: 600; font-size: .95rem;
  border-bottom: 1px solid var(--border);
}
.mobile-group summary::-webkit-details-marker { display: none; }
.mobile-group summary .icon { width: 18px; height: 18px; transition: transform .16s var(--ease); }
.mobile-group[open] summary .icon { transform: rotate(180deg); }
.mobile-group ul { list-style: none; margin: 0; padding: 6px 4px 10px; }
.mobile-group a { display: block; padding: 8px 10px; color: var(--text-muted); border-radius: 8px; transition: background-color .16s var(--ease), color .16s var(--ease); }
.mobile-group a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.mobile-nav .btn { margin-top: 16px; }

/* ---- so urgency strip (special-offer only) --------------------------------- */

.so-strip {
  background: var(--ink-card);
  color: var(--ink-card-muted);
  font-size: .85rem;
  padding-block: 8px;
}
.so-strip strong { color: var(--ink-card-text); font-weight: 600; }
.so-strip__inner {
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center;
}

/* ---- breadcrumbs ------------------------------------------------------------ */

.breadcrumbs { padding-block: 18px 0; }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none;
  margin: 0; padding: 0; font-size: .85rem; color: var(--text-muted);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-muted); transition: color .16s var(--ease); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 500; }

/* ---- hero (home) ------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 110px);
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(194, 80, 63, .07), transparent 55%),
    radial-gradient(1000px 480px at 95% 0%, rgba(124, 139, 106, .10), transparent 60%),
    var(--bg);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-mesh { width: 100%; height: 100%; display: block; opacity: .85; will-change: transform; }

.hero-grid { position: relative; display: grid; gap: clamp(28px, 4vw, 56px); }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 18px;
}
@media (max-width: 480px) {
  .hero-eyebrow { font-size: .68rem; letter-spacing: .05em; }
}

.hero-lead { font-size: 1.08rem; color: var(--text-muted); max-width: 34em; }

.hero-side { display: grid; gap: 22px; align-content: start; }
.hero-extra { display: grid; gap: 22px; }

.form-heading {
  font-family: var(--font-body);
  font-size: 1.1rem; font-weight: 600; letter-spacing: 0;
  margin-bottom: 10px; color: var(--text);
}

.form-note {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; color: var(--text-muted); margin: 12px 0 0;
}
.icon-note { width: 17px; height: 17px; color: var(--sage-deep); }

/* wallet interface (the product, in HTML/CSS) */
.wallet-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px 24px;
  max-width: 420px;
}
.wallet-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 16px;
}
.wallet-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
}
.wallet-brand .icon { color: var(--accent-text); width: 20px; height: 20px; }
.chip-ai {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 600; color: var(--sage-deep);
  background: var(--sage-tint); border-radius: var(--radius-pill);
  padding: 5px 12px;
}
.chip-ai .icon { width: 14px; height: 14px; }
.wallet-label {
  font-size: .8rem; color: var(--text-muted); margin: 0 0 2px;
}
.wallet-amount {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.1rem); letter-spacing: -0.02em;
  margin: 0 0 12px; font-variant-numeric: tabular-nums;
}
.wallet-currency { font-size: .9rem; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.wallet-spark { width: 100%; height: 56px; display: block; margin-bottom: 14px; }
.wallet-positions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pos {
  display: grid; grid-template-columns: 44px 1fr 72px 58px;
  align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  font-size: .875rem;
}
.pos__sym {
  font-weight: 700; font-size: .78rem; letter-spacing: .04em;
  color: var(--accent-text); background: var(--surface);
  border-radius: 8px; padding: 5px 0; text-align: center;
}
.pos__name { color: var(--text-muted); }
.pos__spark { width: 72px; height: 24px; }
.pos__val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.pos__val--up { color: var(--sage-deep); }
.pos__val--down { color: var(--accent-text); }

/* flags */
.flags-caption { font-size: .875rem; color: var(--text-muted); margin: 0 0 8px; }
.flags { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.flag {
  display: inline-block; width: 27px; height: 18px;
  border-radius: 4px; overflow: hidden; position: relative;
  box-shadow: inset 0 0 0 1px rgba(33, 29, 23, .12);
  text-indent: -9999px; vertical-align: middle;
}
.flag-ar { background: linear-gradient(#74ACDF 30%, #F7F4EF 30% 70%, #74ACDF 70%); }
.flag-ar::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 6px; height: 6px; border-radius: 50%; background: #C77B3B;
}
.flag-br { background: #4F9245; }
.flag-br::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 14px; height: 14px; background: #E9C46A; transform: rotate(45deg) scale(.82);
}
.flag-br::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 6px; height: 6px; border-radius: 50%; background: #2C5282;
}
.flag-jp { background: #FBF9F4; }
.flag-jp::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 10px; height: 10px; border-radius: 50%; background: #C2503F;
}

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-link {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 600; font-size: .9rem; color: var(--text);
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.trust-link .icon { width: 19px; height: 19px; color: var(--accent-text); }
.trust-link:hover {
  text-decoration: none; border-color: var(--accent);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}

/* ---- ticker row (injected) --------------------------------------------------- */

.bct-ticker, .beacon-ticker { width: 100%; }
/* The TradingView tape renders a fixed-width inner container that can exceed a
   narrow viewport (observed 430px at 390px). Clip it inside its own row so the
   page itself never scrolls sideways. */
.tv-ticker-wrapper {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

/* ---- exchanges ---------------------------------------------------------------- */

.exchange-row {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.exchange {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  font-weight: 600; font-size: .95rem; color: var(--text-muted);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.exchange:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--text); }
.exchange__mark { width: 26px; height: 26px; color: var(--accent-text); }

/* ---- steps -------------------------------------------------------------------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px 20px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  margin-bottom: 14px;
}
.step p { font-size: .925rem; color: var(--text-muted); margin: 0; }

/* ---- tables -------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
  contain: paint; /* wide tables must not leak into the page scroll area */
}
.table {
  width: 100%; border-collapse: collapse;
  font-size: .925rem; min-width: 560px;
}
.table :where(th, td) {
  padding: 14px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.table thead th {
  background: var(--surface-2);
  font-family: var(--font-body); font-size: .8rem;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); font-weight: 600;
}
.table tbody tr:last-child :where(th, td) { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: rgba(240, 237, 229, .45); }
.table--facts { min-width: 480px; }
.table--facts th[scope="row"] { font-weight: 600; width: 34%; }
.table--methods { min-width: 860px; }
.cell-desc { color: var(--text-muted); font-size: .875rem; max-width: 420px; }
.table-note { font-size: .875rem; color: var(--text-muted); margin-top: 14px; }

.cell-yes { color: var(--sage-deep); }
.cell-no { color: var(--accent-text); }
.cell-yes .icon, .cell-no .icon { width: 20px; height: 20px; }

.compare-table td:first-child { font-weight: 500; }

/* ---- cards ---------------------------------------------------------------------- */

.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.icon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.icon-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.icon-card p { color: var(--text-muted); font-size: .925rem; margin: 0; }
.icon-card--link { display: block; color: inherit; }
.icon-card--link:hover { text-decoration: none; }
.icon-card h3, .product-line h3, .vacancy h3, .article-card h3, .icon-card--link h3 { transition: color .18s var(--ease); }
.icon-card--link:hover h3 { color: var(--accent-text); }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 13px;
  margin-bottom: 16px;
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--coral { background: var(--accent-tint); color: var(--accent-text); }
.icon-badge--sage { background: var(--sage-tint); color: var(--sage-deep); }

/* ---- reviews ---------------------------------------------------------------------- */

.reviews {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.review:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.review__head { display: flex; align-items: center; gap: 14px; }
.review__head h3 { margin: 0; font-size: 1.02rem; }
.review__role { margin: 2px 0 0; font-size: .82rem; color: var(--text-muted); }
.review p { margin: 0; font-size: .925rem; color: var(--text-muted); }
.review__avatar {
  flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.review__avatar .icon { width: 24px; height: 24px; }
.avatar-1 { background: var(--accent-tint); color: var(--accent-text); }
.avatar-2 { background: var(--sage-tint); color: var(--sage-deep); }
.avatar-3 { background: #F0E7D8; color: #8A6D3B; }
.avatar-4 { background: var(--sage-tint); color: var(--sage-deep); }
.avatar-5 { background: var(--accent-tint); color: var(--accent-text); }
.avatar-6 { background: #E9EFE8; color: #55663F; }
.review__stats {
  display: grid; grid-template-columns: repeat(3, auto); gap: 10px;
  margin: 0; padding-top: 14px; border-top: 1px dashed var(--border-strong);
}
.review__stats div { display: contents; }
.review__stats dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.review__stats dd {
  margin: 2px 0 0; font-family: var(--font-display); font-weight: 700;
  font-size: 1.02rem; font-variant-numeric: tabular-nums;
}
.reviews-note { font-size: .82rem; color: var(--text-muted); margin-top: 20px; }

/* ---- company block -------------------------------------------------------------------- */

.company-grid {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.company-copy > p { color: var(--text-muted); }
.company-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.company-facts li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .95rem;
}
.company-facts .icon { width: 19px; height: 19px; color: var(--accent-text); margin-top: 4px; flex: none; }
.company-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }

/* ---- split form / form block ------------------------------------------------------------- */

.split-form {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.split-form__copy > p { color: var(--text-muted); }
.split-form__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.form-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 32px);
}
.form-block__intro { font-size: .925rem; color: var(--text-muted); margin: 0 0 14px; }
.form-legal { font-size: .8rem; color: var(--text-muted); margin: 14px 0 0; }

/* ---- FAQ --------------------------------------------------------------------------------- */

.faq-group-title { margin-top: clamp(28px, 4vw, 44px); font-size: 1.3rem; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .18s var(--ease);
}
.faq-item.is-open { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0;
  padding: 17px 20px;
  font-family: var(--font-body); font-size: .975rem; font-weight: 600; color: var(--text);
}
.faq-q .icon { width: 18px; height: 18px; color: var(--accent-text); flex: none; transition: transform .2s var(--ease); }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .24s var(--ease-smooth-out);
}
.faq-a > p {
  overflow: hidden; margin: 0;
  padding-inline: 20px;
  font-size: .925rem; color: var(--text-muted);
  transition: padding-bottom .24s var(--ease-smooth-out);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > p { padding-bottom: 18px; }

/* ---- inner page hero ----------------------------------------------------------------------- */

.page-hero {
  padding-block: clamp(48px, 6vw, 84px);
  background:
    radial-gradient(900px 420px at 88% -12%, rgba(124, 139, 106, .12), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(194, 80, 63, .06), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero--plain { border-bottom: 0; }
.page-hero__grid {
  display: grid; gap: clamp(28px, 4vw, 60px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start;
}
.page-hero__lead { font-size: 1.04rem; color: var(--text-muted); max-width: 62ch; }
.page-hero__note { font-size: .875rem; color: var(--text-muted); }

.tick-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.tick-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.tick-list .icon { width: 19px; height: 19px; color: var(--sage-deep); margin-top: 3px; flex: none; }

/* ---- docs prose --------------------------------------------------------------------------- */

.docs h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-top: 2.2em; }
.docs h2:first-child { margin-top: 0; }
.docs h3 { margin-top: 1.6em; }
.docs > p, .docs > ol, .docs > ul, .docs > .table-wrap { max-width: 70ch; }
.docs p { color: var(--text-muted); }
.docs p strong { color: var(--text); }
.docs-list { margin: 1em 0; padding-left: 0; list-style: none; display: grid; gap: 10px; max-width: 68ch; }
.docs-list li { padding-left: 26px; position: relative; color: var(--text-muted); }
.docs-list li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--sage);
}
.docs-list--checks li::before {
  width: 15px; height: 15px; top: .28em; border-radius: 0; background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5A36' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.docs-list--checks strong { color: var(--text); }

.callout {
  margin-top: 2.6em; padding: 24px 26px;
  background: var(--sage-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.prose-lead { font-size: 1.08rem; color: var(--text-muted); }

/* ---- timeline ------------------------------------------------------------------------------ */

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline__item {
  display: grid; grid-template-columns: 92px 1fr; gap: 24px;
  padding: 26px 0; border-bottom: 1px dashed var(--border-strong);
}
.timeline__item:last-child { border-bottom: 0; }
.timeline__year {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  color: var(--accent-text);
}
.timeline__body h3 { margin-bottom: .3em; }
.timeline__body p { margin: 0; color: var(--text-muted); }

/* ---- office / contact ------------------------------------------------------------------------ */

.office-split {
  display: grid; gap: clamp(28px, 4vw, 48px);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
}
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.fact-list li { display: flex; gap: 14px; align-items: flex-start; }
.fact-list .icon { width: 21px; height: 21px; color: var(--accent-text); margin-top: 3px; flex: none; }
.fact-list h3 { font-size: .98rem; margin: 0 0 3px; }
.fact-list p { margin: 0; color: var(--text-muted); font-size: .925rem; }
.office-note { font-size: .875rem; color: var(--text-muted); margin-top: 22px; }

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

/* ---- vacancies -------------------------------------------------------------------------------- */

.vacancies { display: grid; gap: 18px; }
.vacancy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 28px;
  display: grid; gap: 12px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.vacancy:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.vacancy h3 { margin: 0; font-size: 1.18rem; }
.vacancy > p { margin: 0; color: var(--text-muted); font-size: .95rem; max-width: 72ch; }
.vacancy__meta {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: .82rem; color: var(--text-muted);
}
.vacancy__meta .icon { width: 15px; height: 15px; color: var(--sage-deep); }
.vacancy .btn { justify-self: start; }

/* ---- photos ------------------------------------------------------------------------------------ */

.photo-frame {
  margin: clamp(22px, 3vw, 36px) 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.photo-frame img { display: block; width: 100%; height: auto; }
.photo-frame--wide img { aspect-ratio: 1200 / 620; object-fit: cover; }

/* ---- articles ----------------------------------------------------------------------------------- */

.articles-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article-card h2 { font-size: 1.35rem; }
.article-card h3 { font-size: 1.02rem; margin-top: 1.5em; }
.article-card p { font-size: .93rem; color: var(--text-muted); }
.article-card .table-wrap { box-shadow: none; }
.article-badge { margin-bottom: 6px; }

/* ---- product lines -------------------------------------------------------------------------------- */

.product-lines { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.product-line {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
  color: inherit;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.product-line:hover {
  text-decoration: none; transform: translateY(-3px);
  box-shadow: var(--shadow-md); border-color: var(--accent);
}
.product-line:hover h3 { color: var(--accent-text); }
.product-line p { font-size: .92rem; color: var(--text-muted); margin: 0 0 14px; }

/* ---- CTA bands -------------------------------------------------------------------------------------- */

.cta-band { padding-block: clamp(40px, 6vw, 72px); }
.cta-band--soft { background: var(--surface-2); }
.cta-band--ink { background: var(--ink-card); }
.cta-band--ink h2, .cta-band--ink p { color: var(--ink-card-text); }
.cta-band--ink p { color: var(--ink-card-muted); }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta-band__inner h2 { margin-bottom: .25em; }
.cta-band__inner p { margin: 0; max-width: 46ch; }
.cta-band--ink .btn-primary { box-shadow: none; }

/* ---- calculator section ------------------------------------------------------------------------------- */

.calc-widget { max-width: 880px; margin-inline: auto; }
.calc-candles {
  display: block;
  width: min(640px, 100%);
  height: 110px;
  margin: 0 auto clamp(18px, 3vw, 30px);
  opacity: .9;
}

/* ---- special offer -------------------------------------------------------------------------------------- */

.so-hero {
  padding-block: clamp(48px, 6vw, 80px);
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(194, 80, 63, .12), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.so-hero__grid {
  display: grid; gap: clamp(28px, 4vw, 52px);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: start;
}
.so-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-tint); color: var(--accent-text);
  font-weight: 600; font-size: .82rem;
  padding: 8px 15px; border-radius: var(--radius-pill); margin-bottom: 16px;
}
.so-eyebrow .icon { width: 16px; height: 16px; }
.so-hero__lead { font-size: 1.06rem; color: var(--text-muted); }
.so-reinforce {
  margin-top: 18px; font-size: .9rem; color: var(--text-muted);
}
.so-hero__card {
  background: var(--ink-card);
  color: var(--ink-card-text);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px 26px;
}
.so-hero__card-label {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-card-muted);
  border: 1px solid rgba(251, 249, 244, .25); border-radius: var(--radius-pill);
  padding: 5px 12px; margin-bottom: 16px;
}
.so-hero__card-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.6rem; letter-spacing: -0.02em;
  color: #FFFFFF; margin: 0 0 8px;
}
.so-hero__card-text { font-size: .9rem; color: var(--ink-card-muted); }
.so-hero__card-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.so-hero__card-list li { display: flex; gap: 10px; align-items: center; font-size: .88rem; }
.so-hero__card-list .icon { width: 17px; height: 17px; color: var(--sage); flex: none; }

/* exit-intent modal */
.so-modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  visibility: hidden; opacity: 0;
  transition: opacity var(--duration-quick) var(--ease-smooth-out), visibility var(--duration-quick);
}
.so-modal.is-open { visibility: visible; opacity: 1; transition: opacity .25s var(--ease-smooth-out), visibility .25s; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(33, 29, 23, .55); }
.so-modal__content {
  position: relative; z-index: 1;
  width: min(460px, 100%);
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 34px 32px 30px;
  text-align: center;
  transform: translateY(10px) scale(.98);
  transition: transform var(--duration-quick) var(--ease-smooth-out);
}
.so-modal.is-open .so-modal__content { transform: none; transition: transform .25s var(--ease-smooth-out); }
.so-modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 1.35rem; line-height: 1; color: var(--text-muted); cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.so-modal__close:hover { background: var(--surface-2); color: var(--text); }
.so-modal__art { width: 200px; height: auto; margin: 0 auto 6px; display: block; }
.so-modal__title { margin-bottom: .35em; }
.so-modal__text { font-size: .92rem; color: var(--text-muted); }
.so-countdown {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 20px 0 22px;
}
.so-countdown__pair {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--ink-card);
  border-radius: var(--radius-sm);
  padding: 10px 12px 8px; min-width: 64px;
}
.so-countdown__pair strong {
  font-family: var(--font-display); font-weight: 700; font-size: 1.55rem;
  color: #FFFFFF; font-variant-numeric: tabular-nums; line-height: 1;
}
.so-countdown__pair small { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-card-muted); }
.so-countdown__sep { color: var(--text-muted); font-weight: 700; font-size: 1.2rem; padding-bottom: 14px; }
body.so-no-scroll { overflow: hidden; }

/* ---- 404 --------------------------------------------------------------------------------------------------- */

.notfound { text-align: center; }
.notfound__code {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.4rem, 8vw, 5.4rem); line-height: 1;
  color: var(--accent); margin: 0 0 6px; letter-spacing: -0.04em;
}
.notfound .card-grid { text-align: left; }
.notfound .table-note { margin-top: 26px; }

/* ---- footer --------------------------------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink-card);
  color: var(--ink-card-muted);
  padding-block: clamp(48px, 6vw, 72px) 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-col h3 {
  font-family: var(--font-body); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--ink-card-muted); margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--ink-card-text); font-size: .875rem; }
.footer-col a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.footer-disclaimer {
  margin-top: 40px; padding-top: 26px;
  border-top: 1px solid rgba(251, 249, 244, .14);
  font-size: .8rem; line-height: 1.7;
}
.footer-disclaimer p { margin: 0 0 8px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-meta a { color: var(--ink-card-text); }
.footer-credits { font-size: .72rem; color: rgba(201, 194, 180, .75); }

/* ---- scroll reveal (JS adds .js to <html>; content visible without JS) ---------------------------------------- */

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

/* ---- responsive ------------------------------------------------------------------------------------------------- */

@media (max-width: 1023px) {
  .page-hero__grid, .split-form, .office-split, .company-grid, .so-hero__grid { grid-template-columns: 1fr; }
  .map-embed { max-width: none; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .btn-header { display: none; }
  .nav-burger { display: inline-flex; margin-left: auto; }
  .header-inner { justify-content: space-between; }
}

@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    grid-template-areas: "copy side" "wallet extra";
    row-gap: 24px;
  }
  .hero-copy { grid-area: copy; }
  .hero-side { grid-area: side; }
  .wallet-card { grid-area: wallet; }
  .hero-extra { grid-area: extra; align-content: start; }
}

@media (max-width: 640px) {
  .pos { grid-template-columns: 40px 1fr 52px; }
  .pos__spark { display: none; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .review__stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .table :where(th, td) { padding: 12px 14px; }
}

/* ---- reduced motion ----------------------------------------------------------------------------------------------- */

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

/* print */
@media print {
  .site-header, .site-footer, .breadcrumbs, .so-strip, .so-modal, .hero-bg { display: none !important; }
  body { background: #fff; }
}

/* Ticker and international phone field */
.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
}
.iti__selected-country, .iti__selected-dial-code {
  color: rgb(24, 33, 47) !important;
}

/* Header registration and navigation */
.site-header .registration-cta {
  min-height: 44px;
  gap: .65em;
  font-weight: 700;
}
.registration-cta .cta-arrow { width: 1.05em; height: 1.05em; flex: none; }
.registration-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-header .dropdown { top: 100%; }
.site-header .dropdown ul { max-height: min(62vh, 32rem); overflow-y: auto; }
.site-header .mobile-nav { max-height: calc(100dvh - 5rem); overflow-y: auto; overscroll-behavior: contain; }
.site-header .mobile-nav[hidden] { display: none; }
.site-header .mobile-nav summary, .site-header .mobile-nav li a { min-height: 44px; align-content: center; }
.site-header .nav-burger { min-width: 44px; min-height: 44px; }

/* Home page media */
#content > .hero h1 { text-wrap: balance; }
#content > .hero .form-block { scroll-margin-top: 6rem; }
.review-photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.review-photo-note { margin-block: .65rem 1rem; font-size: .875rem; }

#content > .hero { padding-block: clamp(36px, 6vw, 84px); }
#content > .hero .hero-side { gap: 14px; }
#content > .hero .hero-side .form-heading { margin: 0; }
#content > .hero .wallet-card { width: 100%; }
#content > .hero .hero-mesh { color: var(--accent); }

/* Home reading and spacing */
.home-page .form-block :is(input[type="text"], input[type="email"], input[type="tel"]),
.home-page .calc-modal :is(input[type="text"], input[type="email"], input[type="tel"]) {
  min-height: 44px;
  font-size: 1rem;
}
.home-page :is(.form-block, .calc-modal) :is(input[type="text"], input[type="email"], input[type="tel"])::placeholder {
  font-size: .875rem;
  opacity: 1;
}
.home-page .form-legal { font-size: .875rem; line-height: 1.5; }
.home-page .review-photo-note { max-width: 65ch; line-height: 1.5; }
@media (max-width: 640px) {
  .home-page > .section .section-head { margin-bottom: 20px; }
}

#content.home-page > .section { padding-block: clamp(42px, 5.8vw, 84px); }
#content.home-page > .hero { padding-block: clamp(32px, 4.6vw, 66px); }
.home-page > .hero .hero-lead { color: var(--text); margin-bottom: 0; line-height: 1.6; }
.home-page > .hero .hero-mesh { opacity: .52; }
.home-page > .hero .hero-extra { gap: 14px; }
.home-page > .hero .form-note { align-items: flex-start; }
.home-page > .hero .form-note .icon { flex: none; margin-top: .15em; }
@media (max-width: 640px) {
  .home-page > .hero .hero-grid { gap: 22px; }
  .home-page > .hero .wallet-card { padding: 16px; }
  .home-page > .hero .wallet-top { flex-wrap: wrap; gap: 8px; }
  .home-page > .hero .hero-eyebrow { margin-bottom: 12px; }
}

/* The registration form reserves a grid row for an optional password. */
#content.home-page :is(.form-block, .calc-modal) form > div:has(> div > input[name="first_name"]):not(:has(input[type="password"])) {
  row-gap: 0;
}
#content.home-page :is(.form-block, .calc-modal) form > div:has(> div > input[name="first_name"]):not(:has(input[type="password"])) > div:has(> :is(input[name="first_name"], input[name="last_name"], input[type="email"], input[type="tel"], .iti)) {
  margin-block-end: 12px;
}
.home-page :is(.form-block, .calc-modal) :is(input, button)[type="submit"] {
  min-height: 44px;
}
