/* =====================================================================
   TradeMantra — public design system
   One stylesheet for every public page. Tokens first, then components.
   ===================================================================== */

:root {
  --navy-900: #071B3A;
  --navy-800: #0B2545;
  --navy-700: #183456;
  --green-800: #0B4A2E;
  --green-700: #0F5D3A;
  --green-600: #087A45;
  --green-500: #14935A;
  --green-on-dark: #3CCB84;
  --green-50: #EAF7EF;
  --green-25: #F2F9F4;
  --red-600: #E53935;
  --red-700: #C8302C;
  --red-50: #FDEDEC;
  --amber-600: #E8930C;
  --amber-50: #FFF5E6;
  --blue-600: #2563C9;
  --blue-50: #EAF1FC;
  --off-white: #FBFDF9;
  --white: #FFFFFF;
  --grey-50: #F4F6F5;
  --grey-100: #ECF0EE;
  --border: #E3EAE5;
  --border-strong: #D3DDD6;
  --text: #101828;
  --text-2: #344054;
  --muted: #5D6879;
  --red-btn: #D32F2F;
  --red-btn-hover: #B3261E;

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-xs: 4px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;

  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px -6px rgba(11, 37, 69, .10);
  --shadow-md: 0 2px 4px rgba(16, 24, 40, .04), 0 14px 32px -14px rgba(11, 37, 69, .20);
  --shadow-lg: 0 24px 60px -24px rgba(7, 27, 58, .35);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--off-white); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-800); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--navy-900); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; border-radius: 4px; }
.page-hero-dark :focus-visible, .cta-dark :focus-visible { outline-color: #fff; }
.btn:focus-visible, .plan-cta:focus-visible, .pill:focus-visible { outline-offset: 3px; box-shadow: 0 0 0 6px rgba(8, 122, 69, .18); }
main:focus { outline: none; }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  transform: translateY(-160%); transition: transform .15s;
  background: var(--navy-900); color: #fff; font-weight: 600; font-size: .9375rem;
  padding: 12px 18px; border-radius: var(--r-sm); box-shadow: 0 10px 24px -8px rgba(7, 27, 58, .5);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; color: #fff; outline: 3px solid var(--green-on-dark); outline-offset: 2px; }
.reveal:focus-within { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(900px + var(--gutter) * 2); }

/* ---------- type ---------- */
.serif { font-family: var(--serif); }
.display {
  font-family: var(--serif); font-weight: 700; color: var(--navy-900);
  font-size: clamp(2.6rem, 5.4vw, 4.25rem); line-height: 1.02; letter-spacing: -.022em;
  font-variation-settings: "opsz" 60;
}
.h-section {
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  line-height: 1.12; letter-spacing: -.015em; font-variation-settings: "opsz" 48;
}
.h-card { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: 1.0625rem; line-height: 1.6; color: var(--text-2); }
.muted { color: var(--muted); }
.hl-red { color: var(--red-600); }
.hl-green { color: var(--green-600); }
.tbu { color: var(--muted); font-style: italic; font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--green-700); --fg: #fff; --bd: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: var(--r-sm);
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 600; font-size: .9375rem; letter-spacing: .005em; line-height: 1; white-space: nowrap;
  cursor: pointer; transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, border-color .18s, color .18s;
}
.btn .ico { flex: none; transition: transform .18s var(--ease); }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(7, 27, 58, .45); }
.btn:hover .ico { transform: translateX(2px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-green { --bg: var(--green-700); }
.btn-green:hover { --bg: var(--green-800); }
.btn-red { --bg: var(--red-btn); }
.btn-red:hover { --bg: var(--red-btn-hover); }
.btn-outline { --bg: var(--white); --fg: var(--green-700); --bd: var(--green-700); }
.btn-outline:hover { --bg: var(--green-25); --fg: var(--green-800); }
.btn-light { --bg: #fff; --fg: var(--navy-900); --bd: #fff; }
.btn-ghost-dark { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn-ghost-dark:hover { --bg: rgba(255, 255, 255, .08); }
.btn-sm { height: 38px; padding: 0 16px; font-size: .8125rem; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .875rem; color: var(--green-700); }
.link-arrow .ico { transition: transform .18s var(--ease); }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(8px); -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(7, 27, 58, .35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 60px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; padding: 0; display: flex; gap: 6px; }
.main-nav ul a {
  position: relative; display: block; padding: 8px 14px; font-size: .875rem; font-weight: 500; color: var(--navy-900);
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--green-600); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.main-nav ul a.is-active { color: var(--green-700); font-weight: 600; }
.nav-cta { margin-left: 12px; }

/* Legal dropdown */
.main-nav .has-menu { position: relative; }
.menu-btn {
  display: flex; align-items: center; gap: 5px; height: 100%; padding: 8px 14px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .875rem; font-weight: 500; color: var(--navy-900); border-radius: var(--r-sm);
}
.menu-btn .ico { transition: transform .2s var(--ease); }
.menu-btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.menu-btn.is-active { color: var(--green-700); font-weight: 600; }
.main-nav ul.submenu {
  position: absolute; top: calc(100% + 10px); right: -40px; z-index: 60; width: 340px; display: none; flex-direction: column; gap: 0;
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--green-600); border-radius: var(--r-sm);
  box-shadow: 0 22px 40px -22px rgba(7, 27, 58, .45); padding: 6px;
}
.has-menu.is-open > ul.submenu { display: flex; }
.main-nav ul.submenu a { padding: 9px 12px; font-size: .875rem; border-radius: 4px; display: flex; gap: 8px; }
.main-nav ul.submenu a::after { display: none; }
.main-nav ul.submenu a:hover, .main-nav ul.submenu a:focus-visible { background: var(--grey-50, #F4F6F9); color: var(--green-700); }
.main-nav ul.submenu a[aria-current="page"] { color: var(--green-700); font-weight: 600; background: #EEF8F1; }
.submenu .sm-n { flex: none; width: 1.5em; color: var(--muted); font-variant-numeric: tabular-nums; }
.pricing-info { margin-top: 14px; font-size: .875rem; color: var(--text-2); text-align: center; }
.main-nav .nav-cta-mobile { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border); background: #fff; border-radius: var(--r-sm); cursor: pointer; padding: 0 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); border-radius: 2px; margin: 4px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head p { margin: 10px 0 0; color: var(--muted); }
.section-head.left { text-align: left; margin-left: 0; }
.bg-white { background: var(--white); }
.bg-grey { background: var(--grey-50); }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); margin-bottom: 12px; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(15, 122, 69, .08), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--off-white) 100%);
}
.hero::before { /* faint ledger lines */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(to right, rgba(7, 27, 58, .035) 1px, transparent 1px);
  background-size: 120px 100%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, transparent 100%);
}
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%), linear-gradient(180deg, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 26%), linear-gradient(180deg, #000 78%, transparent 100%); mask-composite: intersect; }
.hero-media img, .hero-media picture { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 24px; align-items: center; padding: 28px 0 28px; min-height: 560px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 12px;
  border: 1px solid #CFE6D8; border-radius: 999px; background: var(--green-25);
  font-size: .6875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--green-700);
}
.badge-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red-600); box-shadow: 0 0 0 3px rgba(229, 57, 53, .15); }
.hero h1 { margin: 22px 0 20px; }
.hero h1 .hl-red { display: inline-block; }
.hero .lead { max-width: 440px; margin-bottom: 30px; white-space: pre-line; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; align-self: stretch; min-height: 420px; }
.ticker-stack { position: absolute; right: 0; bottom: 4%; display: grid; gap: 12px; }
.ticker-card {
  width: 190px; background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 12px 14px 10px; box-shadow: var(--shadow-md);
}
.ticker-card .t-top { display: flex; justify-content: space-between; align-items: center; }
.ticker-card .t-name { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; color: var(--navy-900); }
.ticker-card .t-chg { font-size: .6875rem; font-weight: 700; color: var(--green-600); background: var(--green-50); padding: 2px 7px; border-radius: 999px; }
.ticker-card .t-chg.down { color: var(--red-600); background: var(--red-50); }
.ticker-card .t-bot { display: flex; justify-content: space-between; align-items: end; margin-top: 4px; }
.ticker-card .t-val { font-weight: 700; font-size: .95rem; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.ticker-note { justify-self: end; font-size: .6875rem; font-weight: 600; color: var(--text-2); background: rgba(255,255,255,.92); border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; letter-spacing: .02em; }

/* feature strip */
.feature-strip {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm);
  margin: 8px 0 0; padding: 6px 0;
}
.feature-strip .fs-item { display: flex; align-items: center; gap: 14px; padding: 16px 24px; }
.feature-strip .fs-item + .fs-item { border-left: 1px solid var(--border); }
.icon-box {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--green-50); color: var(--green-700);
}
.fs-item strong { display: block; font-size: .875rem; font-weight: 600; color: var(--navy-900); line-height: 1.35; }
.fs-item span { display: block; font-size: .875rem; color: var(--navy-900); line-height: 1.35; }

/* ---------- plans ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan-card {
  --tint: var(--green-25); --tint-bd: #D6EADD; --accent: var(--green-600); --name: var(--navy-900);
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--tint) 0%, #fff 62%);
  border: 1px solid var(--tint-bd); border-radius: var(--r); padding: 24px 22px 22px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.plan-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); opacity: .85; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card.accent-red { --tint: #FEF4F3; --tint-bd: #F6D9D7; --accent: var(--red-600); --name: var(--red-600); }
.plan-card.accent-amber { --tint: #FFF8EC; --tint-bd: #F3E2C2; --accent: var(--amber-600); --name: var(--navy-900); }
.plan-card.accent-crimson { --tint: #FEF2F2; --tint-bd: #F3D0CF; --accent: var(--red-600); --name: var(--red-600); }
.plan-card.is-featured { border-color: rgba(229, 57, 53, .45); box-shadow: 0 0 0 1px rgba(229, 57, 53, .18), var(--shadow-sm); }
.plan-flag { position: absolute; top: 16px; right: 16px; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red-btn); padding: 4px 8px; border-radius: 999px; }
.plan-card .glyph { color: var(--accent); margin-bottom: 14px; }
.plan-card.accent-green .glyph { color: var(--green-600); }
.plan-name { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--name); letter-spacing: -.01em; }
.plan-tagline { font-size: .8125rem; color: var(--muted); margin: 4px 0 0; min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--tint-bd); }
.plan-price .amt { font-size: 1.75rem; font-weight: 700; color: var(--navy-900); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan-price .sfx { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.check-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1; }
.check-list li { display: flex; gap: 10px; font-size: .875rem; color: var(--text-2); line-height: 1.45; }
.check-list .ck { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; margin-top: 1px; }
.plan-card.accent-green .ck { background: var(--green-600); }
.plan-cta { --c: var(--green-700); display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: var(--r-sm); font-weight: 600; font-size: .875rem; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 22%, #fff); transition: background-color .18s, color .18s, transform .18s; }
.plan-cta:hover { background: var(--c); color: #fff; }
.plan-card.accent-red .plan-cta, .plan-card.accent-crimson .plan-cta { --c: var(--red-700); }
.plan-card.accent-amber .plan-cta { --c: #9A5B00; }
.plan-card.is-featured .plan-cta { background: var(--red-btn); color: #fff; border-color: var(--red-btn); }
.plan-card.is-featured .plan-cta:hover { background: var(--red-btn-hover); }

/* ---------- dark CTA ---------- */
.cta-dark {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: radial-gradient(90% 120% at 85% 50%, #0F3A28 0%, #0A2A1E 40%, #071B2A 100%);
  color: #fff; display: grid; grid-template-columns: 1.05fr .7fr 1fr; align-items: center; gap: 12px;
  min-height: 330px; padding: 44px 48px; isolation: isolate;
}
.cta-dark .cta-candles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cta-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #071B2A 0%, rgba(7, 27, 42, .85) 30%, rgba(7, 27, 42, 0) 70%); }
.cta-dark h2 { color: #fff; font-family: var(--serif); font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.015em; }
.cta-dark h2 .hl { color: var(--green-on-dark); display: block; }
.cta-dark .tagline { margin: 14px 0 26px; color: rgba(255, 255, 255, .78); font-size: .9375rem; letter-spacing: .01em; }
.cta-phone { display: flex; justify-content: center; }
.cta-phone .phone { width: 170px; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55)); transform: rotate(-6deg); }
.cta-points { list-style: none; padding: 0; display: grid; gap: 12px; justify-self: end; }
.cta-points li { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--navy-900); border-radius: var(--r-sm); padding: 10px 16px 10px 12px; font-size: .8125rem; font-weight: 600; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); min-width: 210px; }
.cta-points .ico { color: var(--green-600); }

/* ---------- icon cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.icon-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 28px 20px 24px;
  text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D3E5D9; }
.icon-card .ic { display: inline-grid; place-items: center; color: var(--green-600); margin-bottom: 12px; }
.icon-card strong, .icon-card span { display: block; font-size: .9375rem; color: var(--navy-900); line-height: 1.4; }
.icon-card strong { font-weight: 600; }

/* insights strip on home */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; color: inherit; }
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.mini-card .thumb { aspect-ratio: 16/9; }
.mini-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mini-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.4; }
.mini-card .meta { font-size: .75rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }

/* ---------- page heroes ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, var(--off-white)); border-bottom: 1px solid var(--border); }
.page-hero .ph-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; min-height: 260px; padding: 40px 0 36px; }
.page-hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -.02em; }
.page-hero .lead { margin: 14px 0 0; white-space: pre-line; color: var(--text-2); max-width: 460px; }
.page-hero .page-hero-art { width: 100%; max-width: 520px; justify-self: end; }
.page-hero.simple .ph-grid { grid-template-columns: 1fr; min-height: 0; padding: 48px 0 28px; }

.page-hero-dark {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(120deg, var(--navy-900) 0%, #0A2347 55%, #0B2E3A 100%);
}
.page-hero-dark .hero-dark-art { position: absolute; right: 0; bottom: 0; height: 100%; width: 68%; z-index: -1; }
.page-hero-dark .container { position: relative; padding-top: 72px; padding-bottom: 72px; min-height: 340px; display: flex; flex-direction: column; justify-content: center; }
.page-hero-dark h1 { color: #fff; font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 4.6vw, 3.5rem); line-height: 1.04; letter-spacing: -.02em; max-width: 560px; }
.page-hero-dark p { margin: 18px 0 0; color: rgba(255, 255, 255, .8); max-width: 470px; font-size: 1.0625rem; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .8125rem; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green-700); }
.page-hero-dark .crumbs, .page-hero-dark .crumbs a { color: rgba(255, 255, 255, .6); }

/* ---------- about ---------- */
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.prose-lg p { font-size: 1.0625rem; color: var(--text-2); }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 30px; transition: box-shadow .25s, transform .25s var(--ease); }
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.info-card .ic { color: var(--green-600); margin-bottom: 18px; }
.info-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.info-card p { color: var(--text-2); margin: 0; }
.wide-card { display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 28px 30px; margin-top: 18px; }
.wide-card .icon-box { width: 54px; height: 54px; }
.wide-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
.wide-card p { color: var(--text-2); margin: 0; }
.reg-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; margin-top: 18px; }
.reg-table div { background: var(--grey-50); padding: 12px 16px; }
.reg-table dt { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.reg-table dd { margin: 4px 0 0; font-weight: 600; color: var(--navy-900); font-size: .9375rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 8px 10px; }
.step .ring { position: relative; display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 1px solid var(--border); color: var(--green-600); box-shadow: var(--shadow-xs); margin-bottom: 14px; }
.step .ring::after { counter-increment: step; content: counter(step); position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: .6875rem; font-weight: 700; display: grid; place-items: center; }
.step:not(:last-child)::before { content: ""; position: absolute; top: 42px; left: calc(50% + 46px); right: calc(-50% + 46px); border-top: 1px dashed var(--border-strong); }
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: .875rem; color: var(--muted); margin: 0; }
.apart-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.apart-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s; }
.apart-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.apart-card .ic { color: var(--green-600); flex: none; }
.apart-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.apart-card p { font-size: .875rem; color: var(--muted); margin: 0; }

/* ---------- services ---------- */
.service-list { display: grid; gap: 14px; }
.service-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 24px 26px; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.service-row:hover { color: inherit; transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #D3E5D9; }
.service-row .icon-box { width: 58px; height: 58px; }
.service-row h2, .service-row h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 4px; }
.service-row p { margin: 0; color: var(--muted); font-size: .9375rem; }
.service-row .go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); color: var(--navy-900); transition: background .2s, color .2s, border-color .2s; }
.service-row:hover .go { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.service-detail { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 26px; }
.aside-card h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 8px; }
.aside-card p { color: var(--muted); font-size: .9375rem; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-links { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--border); }
.aside-links a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); color: var(--navy-900); font-size: .9rem; font-weight: 500; }
.aside-links a:hover { color: var(--green-700); }
.aside-links a.is-active { color: var(--green-700); font-weight: 600; }

.band { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--green-25); border: 1px solid #D6EADD; border-radius: var(--r); padding: 30px 34px; }
.band h2 { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -.01em; }
.band p { margin: 6px 0 0; color: var(--text-2); }
.band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- filters & search ---------- */
.toolbar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: #fff; color: var(--navy-900); font-size: .8125rem; font-weight: 500;
  transition: background .18s, color .18s, border-color .18s;
}
.pill:hover { border-color: var(--green-600); color: var(--green-700); }
.pill.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.search-bar { position: relative; max-width: 560px; }
.search-bar input { width: 100%; height: 46px; padding: 0 52px 0 16px; border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; font-size: .9375rem; transition: border-color .18s, box-shadow .18s; }
.search-bar input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(8, 122, 69, .12); }
.search-bar button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border: 0; border-radius: var(--r-xs); background: transparent; color: var(--navy-900); cursor: pointer; display: grid; place-items: center; }
.search-bar button:hover { background: var(--grey-50); }
.result-note { font-size: .875rem; color: var(--muted); }

/* ---------- report / post rows ---------- */
.row-list { display: grid; gap: 16px; }
.media-row {
  display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: stretch;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 14px; transition: box-shadow .25s, transform .25s var(--ease), border-color .25s;
}
.media-row:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #D3E5D9; }
.thumb { position: relative; display: block; overflow: hidden; border-radius: var(--r-sm); background: var(--navy-900); aspect-ratio: 16/10; }
.thumb img, .thumb .thumb-svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.media-row:hover .thumb img, .media-row:hover .thumb .thumb-svg, .mini-card:hover .thumb .thumb-svg, .mini-card:hover .thumb img { transform: scale(1.04); }
.media-row .body { display: flex; flex-direction: column; padding: 6px 8px 6px 0; min-width: 0; }
.media-row .meta-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.media-row .date { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; display: inline-flex; gap: 10px; }
.media-row h2, .media-row h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.media-row h2 a, .media-row h3 a { color: var(--navy-900); }
.media-row h2 a:hover, .media-row h3 a:hover { color: var(--green-700); }
.media-row p { color: var(--muted); font-size: .9375rem; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.media-row .actions { margin-top: auto; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.dl-link { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--navy-900); }
.dl-link:hover { color: var(--green-700); }
.dl-link.disabled { color: var(--muted); font-weight: 500; pointer-events: none; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-xs); font-size: .6875rem; font-weight: 700; letter-spacing: .02em; background: var(--green-50); color: var(--green-700); }
.tag.red { background: var(--red-50); color: var(--red-700); }
.tag.blue { background: var(--blue-50); color: var(--blue-600); }
.tag.amber { background: var(--amber-50); color: #9A5B00; }
.tag.navy { background: #E8EDF5; color: var(--navy-800); }
.tag.teal { background: #E4F5F3; color: #0E6E66; }
.tag.sample { background: var(--grey-100); color: var(--muted); }

.empty-state { text-align: center; padding: 64px 24px; background: #fff; border: 1px dashed var(--border-strong); border-radius: var(--r); }
.empty-state .ic { color: var(--muted); display: inline-grid; margin-bottom: 10px; }
.empty-state h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin: 0; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 12px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--border); background: #fff; font-size: .875rem; color: var(--navy-900); }
.pagination .is-current { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* ---------- article / report detail ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.article-head { max-width: 780px; }
.article-head h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -.02em; margin: 12px 0 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--muted); font-size: .875rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-figure { margin: 28px 0 32px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16/8; background: var(--navy-900); }
.article-figure img, .article-figure .thumb-svg { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--text-2); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; margin: 1.8em 0 .6em; color: var(--navy-900); }
.prose h3 { font-size: 1.125rem; font-weight: 700; margin: 1.5em 0 .5em; color: var(--navy-900); }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--green-600); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(15, 93, 58, .35); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green-600); font-family: var(--serif); font-size: 1.2rem; color: var(--navy-900); }
.prose table { width: 100%; border-collapse: collapse; margin: 0; font-size: .9375rem; background: #fff; }
.prose .table-scroll { overflow-x: auto; margin: 1em 0 1.5em; border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; }
.prose .table-scroll table { min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--navy-900); font-weight: 600; background: var(--grey-50); width: 38%; }
.prose thead th { width: auto; font-size: .8125rem; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose img { border-radius: var(--r-sm); }
.note-box { background: var(--amber-50); border: 1px solid #F3E2C2; border-radius: var(--r-sm); padding: 14px 16px; font-size: .9375rem; color: #6B4A0B; margin-bottom: 1.5em; }
.disclaimer-box { margin-top: 36px; padding: 18px 20px; background: var(--grey-50); border: 1px solid var(--border); border-radius: var(--r-sm); font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.share-row { display: flex; gap: 8px; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); font-size: .875rem; color: var(--muted); flex-wrap: wrap; }
.share-row a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); color: var(--navy-900); background: #fff; }
.share-row a:hover { border-color: var(--green-600); color: var(--green-700); }
.download-card { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--border); border-radius: var(--r); background: var(--green-25); margin: 0 0 18px; }
.download-card .fi { flex: none; width: 46px; height: 54px; border-radius: 6px; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; color: var(--red-600); font-size: .6875rem; font-weight: 800; letter-spacing: .04em; }
.download-card strong { display: block; color: var(--navy-900); font-size: .9375rem; }
.download-card small { color: var(--muted); }

/* ---------- pricing ---------- */
.compare-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: center; font-size: .9rem; }
.compare thead th { vertical-align: bottom; padding-top: 22px; background: #fff; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: var(--green-25); }
.compare th[scope="row"] { text-align: left; font-weight: 500; color: var(--text-2); position: sticky; left: 0; background: #fff; z-index: 1; min-width: 200px; }
.compare .col-head { display: grid; gap: 4px; justify-items: center; }
.compare .col-head .nm { font-family: var(--serif); font-size: 1.0625rem; font-weight: 700; }
.compare .col-head .pr { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.compare .c-green .nm { color: var(--green-700); }
.compare .c-red .nm, .compare .c-crimson .nm { color: var(--red-700); }
.compare .c-amber .nm { color: #9A5B00; }
.compare .col-bar { display: block; height: 3px; width: 44px; border-radius: 3px; margin: 0 auto 10px; background: var(--green-600); }
.compare .c-red .col-bar, .compare .c-crimson .col-bar { background: var(--red-600); }
.compare .c-amber .col-bar { background: var(--amber-600); }
.compare .first-col { text-align: left; font-family: var(--serif); font-size: 1.125rem; color: var(--navy-900); position: sticky; left: 0; z-index: 2; }
.mk { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.mk.yes { background: var(--green-50); color: var(--green-600); }
.mk.no { background: var(--red-50); color: var(--red-600); }
.mk.partial { background: var(--amber-50); color: var(--amber-600); }
.compare tfoot td { border-bottom: 0; padding: 18px 12px 22px; }
.compare tfoot .btn { width: 100%; max-width: 150px; }
.compare .btn-amber { --bg: #F3A833; --bd: #F3A833; --fg: #2B1D00; }
.compare .btn-amber:hover { --bg: #E8930C; }
.pricing-note { margin-top: 18px; font-size: .875rem; color: var(--muted); }
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font-weight: 600; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; flex: none; color: var(--muted); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { color: var(--text-2); margin: 0 0 18px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list .cdot { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green-700); color: #fff; }
.contact-list small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact-list a, .contact-list span.v { color: var(--navy-900); font-weight: 600; font-size: 1rem; }
.contact-list a:hover { color: var(--green-700); }
.hours { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r); background: #fff; display: flex; gap: 12px; align-items: center; font-size: .9375rem; color: var(--text-2); }
.hours .ico { color: var(--green-600); flex: none; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: .9375rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field label { display: block; font-size: .8125rem; font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
.field label .req { color: var(--red-600); }
.field input, .field textarea, .field select {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--off-white); font-size: .9375rem;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 3px rgba(8, 122, 69, .12); }
.field .hint { display: block; font-size: .75rem; color: var(--muted); margin-top: 5px; }
.field .hint.counter { text-align: right; }
.field .err { display: flex; gap: 6px; align-items: flex-start; font-size: .8125rem; font-weight: 500; color: var(--red-700); margin-top: 5px; }
.field .err:empty { display: none; }
.field .err::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--red-700); color: #fff; font-size: .6875rem; font-weight: 700; }
.field.has-error input, .field.has-error textarea, .field.has-error .input-group { border-color: var(--red-700); }
.field.has-error input:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(200, 48, 44, .15); }
.input-group { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--off-white); overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.input-group:focus-within { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(8, 122, 69, .12); background: #fff; }
.input-group .input-addon { display: grid; place-items: center; padding: 0 12px; background: var(--grey-50); border-right: 1px solid var(--border); color: var(--navy-900); font-weight: 600; font-size: .9375rem; }
.field .input-group input { border: 0; border-radius: 0; background: transparent; box-shadow: none !important; outline: none; }
.field.has-error .input-group input { border: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 18px; display: grid; gap: 12px; }
.form-foot small { color: var(--muted); font-size: .75rem; }
.alert { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--r-sm); padding: 14px 16px; font-size: .9375rem; margin-bottom: 16px; }
.alert .ico { flex: none; margin-top: 2px; }
.alert-success { background: var(--green-50); color: var(--green-800); border: 1px solid #CFE6D8; }
.alert-error { background: var(--red-50); color: var(--red-700); border: 1px solid #F6D2D0; }
.alert strong { display: block; }
.success-panel { text-align: center; padding: 34px 10px; }
.success-panel .tick { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-50); color: var(--green-600); margin-bottom: 16px; }
.success-panel h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.success-panel p { color: var(--text-2); }
.ref-chip { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; background: var(--grey-50); border: 1px solid var(--border); border-radius: var(--r-xs); padding: 4px 10px; color: var(--navy-900); }

/* ---------- legal / terms ---------- */
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-layout > * { min-width: 0; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 10px; max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
.toc-title { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 6px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc a { display: block; padding: 8px 12px; border-radius: var(--r-xs); font-size: .8125rem; color: var(--text-2); line-height: 1.35; border-left: 2px solid transparent; }
.toc a:hover { background: var(--grey-50); color: var(--navy-900); }
.toc a.is-active { background: var(--green-50); color: var(--green-700); font-weight: 600; border-left-color: var(--green-600); }
.legal-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 36px 40px; }
.legal-card .prose { font-size: 1rem; }
.legal-card .prose h2 { font-size: 1.3rem; margin-top: 1.6em; padding-top: .2em; }
.version-line { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .8125rem; color: var(--muted); padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.version-line strong { color: var(--navy-900); }
.legal-other { margin-top: 18px; }
.legal-other h3 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 12px 6px; }

.accept-box { margin-top: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 22px 24px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .9375rem; color: var(--navy-900); font-weight: 500; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { flex: none; width: 22px; height: 22px; border-radius: 5px; border: 1.5px solid var(--border-strong); background: #fff; display: grid; place-items: center; color: transparent; transition: background .15s, border-color .15s; margin-top: 1px; }
.check input:checked + .box { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.check input:focus-visible + .box { outline: 2px solid var(--green-600); outline-offset: 2px; }
.accept-box .btn { margin-top: 18px; }
.plan-chosen { display: flex; gap: 10px; align-items: center; font-size: .875rem; color: var(--text-2); margin-bottom: 14px; padding: 10px 14px; background: var(--green-25); border: 1px solid #D6EADD; border-radius: var(--r-sm); }
.plan-chosen strong { color: var(--navy-900); }

.sign-panel { margin-top: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); }
.sign-panel[hidden] { display: none; }
.sign-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.sign-head .icon-box { width: 48px; height: 48px; }
.sign-head h2 { font-family: var(--serif); font-size: 1.5rem; }
.sign-head p { margin: 2px 0 0; color: var(--muted); font-size: .875rem; }
.sig-wrap { position: relative; margin-top: 6px; border: 1.5px dashed var(--border-strong); border-radius: var(--r-sm); background: var(--off-white); touch-action: none; }
.sig-wrap canvas { display: block; width: 100%; height: 200px; cursor: crosshair; border-radius: var(--r-sm); }
.sig-hint { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .875rem; pointer-events: none; transition: opacity .2s; }
.sig-wrap.has-ink .sig-hint { opacity: 0; }
.sig-line { position: absolute; left: 24px; right: 24px; bottom: 44px; border-top: 1px solid var(--border-strong); pointer-events: none; }
.sig-tools { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: .75rem; color: var(--muted); gap: 12px; flex-wrap: wrap; }
.sig-tools button { background: none; border: 0; color: var(--red-700); font-weight: 600; cursor: pointer; padding: 6px 0; font-size: .8125rem; }
.sig-saved { color: var(--green-600); font-weight: 600; }
.record-note { font-size: .75rem; color: var(--muted); margin-top: 12px; line-height: 1.55; }

/* ---------- footer ---------- */
.site-footer { margin-top: 0; background: #EFF4F0; border-top: 1px solid var(--border); padding: 64px 0 0; color: var(--text-2); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .6fr 1.55fr 1.1fr; gap: 36px; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 66px; width: auto; }
.footer-brand p { font-size: .875rem; margin: 18px 0; max-width: 330px; color: var(--text-2); }
.footer-reg { display: grid; gap: 4px; margin: 0; font-size: .8125rem; }
.footer-reg div { display: flex; gap: 8px; }
.footer-reg dt { color: var(--muted); }
.footer-reg dd { margin: 0; color: var(--navy-900); font-weight: 600; }
.footer-h { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-900); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer-links.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.footer-links a { color: var(--text-2); font-size: .875rem; }
.footer-links.cols-2 a { white-space: nowrap; }
.footer-links a:hover { color: var(--green-700); }
.footer-contact { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; }
.footer-contact .ico { color: var(--green-600); flex: none; margin-top: 2px; }
.footer-contact a { color: var(--navy-900); font-weight: 500; word-break: break-word; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--border); color: var(--navy-900); }
.socials a:hover { color: var(--green-700); border-color: var(--green-600); }
.footer-disclaimer { display: flex; gap: 12px; margin-top: 44px; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--red-600); border-radius: var(--r-sm); }
.footer-disclaimer .ico { flex: none; color: var(--red-600); margin-top: 1px; }
.footer-disclaimer p { margin: 0; font-size: .8125rem; color: var(--text-2); line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; font-size: .8125rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--green-700); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 100px 0; }
.notfound .code { font-family: var(--serif); font-size: 6rem; font-weight: 700; color: var(--green-700); line-height: 1; }

/* ---------- reveal (restrained) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .main-nav ul a { padding: 8px 10px; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-dark { grid-template-columns: 1.2fr .8fr; }
  .cta-points { grid-column: 1 / -1; justify-self: start; grid-template-columns: repeat(3, auto); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .brand img { height: 50px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); margin: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 18px 30px -18px rgba(7, 27, 58, .3);
    padding: 10px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .22s var(--ease), opacity .22s, visibility .22s;
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--grey-100); }
  .main-nav ul a::after { display: none; }
  .main-nav .nav-cta-mobile { display: flex; width: 100%; height: 48px; margin-top: 16px; font-size: .9375rem; }
  .menu-btn { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--grey-100); border-radius: 0; }
  .main-nav ul.submenu { position: static; width: auto; box-shadow: none; border: 0; border-left: 2px solid var(--green-600); border-radius: 0; margin: 4px 0 8px 6px; padding: 0 0 0 6px; }
  .main-nav ul.submenu a { padding: 11px 8px; font-size: .9375rem; border-bottom: 0; }

  .hero { display: flex; flex-direction: column; }
  .hero-media { position: relative; order: 2; width: 100%; height: auto; aspect-ratio: 3 / 2; margin-top: -36px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 86%, transparent 100%); }
  .hero > .container { display: contents; }
  .hero-grid { order: 1; grid-template-columns: 1fr; padding: 40px var(--gutter) 0; min-height: 0; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; width: 100%; }
  .hero-visual { min-height: 0; }
  .hero .feature-strip { order: 3; margin: 0 var(--gutter); }
  .ticker-stack { position: static; grid-template-columns: 1fr 1fr; order: 2; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-strip .fs-item:nth-child(3) { border-left: 0; }
  .feature-strip .fs-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .page-hero .ph-grid { grid-template-columns: 1fr; gap: 10px; }
  .page-hero .page-hero-art { justify-self: start; max-width: 460px; }
  .page-hero-dark .hero-dark-art { width: 100%; opacity: .55; }
  .intro-grid, .contact-grid, .service-detail, .article-wrap { grid-template-columns: 1fr; gap: 32px; }
  .aside-card { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .step:nth-child(2)::before { display: none; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .toc { position: static; max-height: none; }
  .toc ol { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .toc a { white-space: nowrap; border-left: 0; border: 1px solid var(--border); }
  .legal-other { display: none; }
  .reg-table { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .hero-actions .btn { flex: 1; }
  .ticker-stack { position: static; grid-template-columns: 1fr 1fr; margin-top: -10px; }
  .ticker-card { width: auto; }
  .feature-strip .fs-item { padding: 14px 14px; gap: 10px; }
  .icon-box { width: 40px; height: 40px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-tagline { min-height: 0; }
  .cta-dark { grid-template-columns: 1fr; padding: 36px 24px; text-align: left; }
  .cta-phone { display: none; }
  .cta-points { grid-template-columns: 1fr; width: 100%; }
  .cta-points li { min-width: 0; }
  .mini-grid { grid-template-columns: 1fr; }
  .duo-grid, .apart-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::before { display: none; }
  .wide-card { flex-direction: column; padding: 22px; }
  .reg-table { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: auto 1fr; padding: 18px; gap: 16px; }
  .service-row .go { display: none; }
  .service-row .icon-box { width: 48px; height: 48px; }
  .band { flex-direction: column; align-items: flex-start; padding: 24px; }
  .media-row { grid-template-columns: 1fr; gap: 14px; padding: 12px; }
  .media-row .body { padding: 0 4px 6px; }
  .pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .legal-card, .sign-panel { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero-dark .container { min-height: 280px; padding-top: 56px; padding-bottom: 56px; }
  .why-grid { gap: 12px; }
  .icon-card { padding: 22px 12px 18px; }
}
.plan-period { font-size: .8125rem; color: var(--muted); margin: -8px 0 14px; }

::placeholder { color: #626C7A; opacity: 1; }

/* ---------- signing: draw / type ---------- */
.sig-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.sig-fieldset legend { font-size: .8125rem; font-weight: 600; color: var(--navy-900); margin-bottom: 8px; padding: 0; }
.seg-tabs { display: inline-flex; border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.seg-tabs label { position: relative; cursor: pointer; }
.seg-tabs input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-tabs span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; font-size: .875rem; font-weight: 600; color: var(--text-2); }
.seg-tabs label + label span { border-left: 1px solid var(--border); }
.seg-tabs input:checked + span { background: var(--green-700); color: #fff; }
.seg-tabs input:focus-visible + span { outline: 3px solid var(--green-600); outline-offset: -3px; }
.sig-fieldset .hint { margin: 8px 0 10px; }
.typed-preview { margin-top: 10px; min-height: 120px; display: grid; place-items: center; border: 1.5px dashed var(--border-strong); border-radius: var(--r-sm); background: var(--off-white); padding: 10px 16px; overflow: hidden; }
.typed-preview span { font-family: "TM Signature", "Segoe Script", cursive; font-weight: 600; font-size: clamp(2rem, 6vw, 3.25rem); color: var(--navy-900); line-height: 1.2; white-space: nowrap; }
.typed-preview span.empty { color: #A3ACB7; }
.sig-fieldset.has-error .sig-wrap, .sig-fieldset.has-error .typed-preview, .sig-fieldset.has-error #sg-typed { border-color: var(--red-700); }
#sig-type input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--off-white); font-size: .9375rem; }
#sig-type input:focus { border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 3px rgba(8, 122, 69, .12); }
.success-panel h3:focus { outline: none; }
.sign-head h2:focus { outline: none; }

/* ---------- regulatory bar (SEBI) ---------- */
.reg-bar { background: var(--navy-900); color: #D5DCE6; font-size: .75rem; line-height: 1.45; }
.reg-bar p { margin: 0; }
.reg-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; padding-top: 7px; padding-bottom: 3px; flex-wrap: wrap; }
.reg-ids { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.reg-ids strong { color: #fff; font-weight: 600; }
.reg-bar .tbu { color: #BFC8D6; }
.reg-links { display: flex; gap: 16px; }
.reg-links a { color: #fff; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 255, 255, .45); font-weight: 500; }
.reg-links a:hover { color: var(--green-on-dark); }
.reg-bar :focus-visible { outline-color: var(--green-on-dark); }
.reg-warn { padding-bottom: 7px; color: #C6CFDB; }

/* ---------- footer regulatory block ---------- */
.footer-regulatory { margin-top: 40px; padding: 22px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.reg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; margin: 0; }
.reg-grid dt { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.reg-grid dd { margin: 3px 0 0; font-size: .875rem; color: var(--navy-900); font-weight: 500; word-break: break-word; }
.reg-escalate { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--border); font-size: .8125rem; color: var(--text-2); }
.footer-disclaimer { margin-top: 18px; }
.footer-disclaimer p + p { margin-top: 6px; }
@media (max-width: 960px) { .reg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .reg-grid { grid-template-columns: 1fr; }
  .reg-bar-inner { padding-top: 6px; }
  .reg-ids { gap: 2px 12px; }
  .reg-links { gap: 12px; }
}

/* ---------- data tables (complaints) ---------- */
.table-scroll { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--border); border-radius: var(--r-sm); }
.prose .table-scroll tr:last-child > * { border-bottom: 0; }
.table-scroll:focus-visible { outline-offset: 2px; }
.prose .table-scroll table.data-table { min-width: 680px; }
.data-table th, .data-table td { width: auto !important; text-align: center; font-size: .875rem; }
.data-table thead th { background: var(--grey-50); font-size: .75rem; line-height: 1.35; vertical-align: bottom; }
.data-table tbody th { text-align: left; background: #fff; font-weight: 500; }
.data-table tr.total td, .data-table tr.total th { font-weight: 700; background: var(--green-25); color: var(--navy-900); }
.prose .small { font-size: .8125rem; color: var(--muted); }

.plan-elig { display: flex; gap: 6px; align-items: flex-start; margin: -6px 0 14px; font-size: .75rem; line-height: 1.4; color: var(--text-2); background: rgba(255,255,255,.7); border: 1px solid var(--border); border-radius: var(--r-xs); padding: 6px 8px; }
.plan-elig .ico { flex: none; margin-top: 1px; color: var(--muted); }
.fee-cap-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--green-600); border-radius: var(--r-sm); font-size: .875rem; color: var(--text-2); }
.fee-cap-note .ico { flex: none; color: var(--green-600); margin-top: 2px; }

/* links inside sentences are underlined, not identified by colour alone (WCAG 1.4.1) */
main p a:not([class]), main small a:not([class]), main label a:not([class]), main li a:not([class]),
.reg-escalate a, .footer-disclaimer a, .muted a:not([class]) {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
main .toc a, main .aside-links a, main .crumbs a { text-decoration: none; }
.data-table tbody th { min-width: 180px; }

.signed-at { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--green-25); }
.signed-at .sa-label { font-size: .8125rem; font-weight: 600; color: var(--navy-900); }
.signed-at output { font-weight: 700; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.signed-at .hint { margin: 0; }
