/* PraktoraWeb skin on the "Ledger" generator.
   Brand green from the product logo (#7cb020) with a deeper green for type and buttons, navy ink from the wordmark,
   a cool off-white ground. Manrope for headlines, Inter for everything else. */

:root {
  --paper: #f7f9f5;
  --paper-2: #eef2e9;
  --paper-3: #e1e7d9;
  --white: #ffffff;
  --ink: #142d56;
  --ink-2: #2b3f66;
  --muted: #5d6a82;
  --muted-2: #7f8aa0;
  --line: #dfe5d8;
  --line-2: #c8d1bd;
  --brand: #5f8f12;
  --brand-deep: #4a7210;
  --brand-soft: #edf5df;
  --navy: #0f2140;
  --navy-2: #173058;
  --navy-3: #21407a;
  --navy-line: rgba(255, 255, 255, 0.12);
  --navy-text: rgba(255, 255, 255, 0.78);
  --verify: #5f8f12;
  --verify-soft: #edf5df;
  --gold: #d9a21b;

  --serif: "Manrope", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 45, 86, 0.06), 0 1px 1px rgba(20, 45, 86, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(20, 45, 86, 0.18), 0 2px 6px rgba(20, 45, 86, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(20, 45, 86, 0.35), 0 10px 24px -12px rgba(20, 45, 86, 0.18);

  --wrap: 1180px;
  --gutter: 24px;
  --section: 104px;
  --header-h: 88px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-soft); color: var(--brand-deep); }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2, .display {
  font-family: var(--serif); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06;
}
h1 { font-size: clamp(38px, 5.4vw, 66px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1.4; }
h1 em, h2 em { font-style: normal; color: var(--brand); }
strong { font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 12px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.on-dark .eyebrow { color: #b9dc7a; }
.on-dark .eyebrow::before { background: #9ccc4a; }
.lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.on-dark .lead, .on-dark p { color: var(--navy-text); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; line-height: 1.5; }
.tagline { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink-2); }
.num {
  font-family: var(--serif); font-weight: 800; font-size: 14px;
  color: var(--brand); letter-spacing: 0.06em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15.5px; line-height: 1; white-space: nowrap;
  border: 1.5px solid transparent; transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--navy-3); box-shadow: var(--shadow-md); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-deep); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--white); }
.btn-link { padding: 0; min-height: 0; border-radius: 4px; color: var(--brand-deep); gap: 6px; }
.btn-link:hover { color: var(--brand); transform: none; text-decoration: underline; text-underline-offset: 4px; }
.on-dark .btn-primary { background: #fff; color: var(--ink); }
.on-dark .btn-primary:hover { background: var(--paper); }
.on-dark .btn-outline { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.on-dark .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.on-dark .btn-link { color: #b9dc7a; }
.btns { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 30px; }
.btns-end { justify-content: flex-end; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: var(--white); border: 1px solid var(--line);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--verify); }
.on-dark .chip { background: rgba(255, 255, 255, 0.07); border-color: var(--navy-line); color: #fff; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 245, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(19, 28, 46, 0.3); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 46px; width: auto; }
.header nav { margin-left: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 13px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background 0.15s, color 0.15s;
}
.nav > li > a:hover, .nav > li > button:hover, .nav > li > a[aria-current="page"], .nav > li.current > button { color: var(--ink); background: var(--paper-2); }
.nav > li > a[aria-current="page"] { font-weight: 600; }
.nav svg.caret { width: 12px; height: 12px; transition: transform 0.2s; }
.nav li.open > button svg.caret { transform: rotate(180deg); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { min-height: 42px; padding: 0 20px; }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--r-pill);
  align-items: center; justify-content: center; border: 1px solid var(--line);
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .x, .menu-open .menu-toggle .bars { display: none; }
.menu-open .menu-toggle .x { display: block; }

/* mega menu */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 560px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.mega.cols-3 { min-width: 760px; }
.nav li.open > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.cols-3 .mega-grid { grid-template-columns: 1fr 1fr 1fr; }
.mega a.item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 12px; border-radius: var(--r-md); transition: background 0.15s; align-items: start; }
.mega a.item:hover { background: var(--paper); }
.mega a.item img, .mega a.item .ico { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }
.mega a.item .ico { display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.mega a.item .ico svg { width: 22px; height: 22px; }
.mega a.item b { display: block; font-weight: 600; font-size: 15px; color: var(--ink); }
.mega a.item span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega-foot { margin: 10px 4px 0; padding: 12px 8px 2px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.mega-foot a { color: var(--brand-deep); font-weight: 600; }
.mega-foot a svg, .related a svg { width: 14px; height: 14px; }
.mega-foot a { display: inline-flex; align-items: center; gap: 6px; }
.mega-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- hero (light, home) ---------- */
.hero { position: relative; padding: 80px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(124, 176, 32, 0.16), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(20, 45, 86, 0.10), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: radial-gradient(rgba(19, 28, 46, 0.12) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 6px; }
.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy);
  border: 1px solid rgba(19, 28, 46, 0.1); transform: rotate(-1.2deg);
}
.hero-visual .frame img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.hero-visual { max-width: 520px; margin-left: auto; }
.hero-visual .float {
  position: absolute; left: -18px; bottom: 34px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 12px 16px; font-size: 13.5px; line-height: 1.4; max-width: 240px;
}
.hero-visual .float b { display: block; font-size: 14.5px; }
.hero-visual .float::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--verify); }
.marks { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: nowrap; max-width: 560px; }
.marks a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; min-width: 0; }
.marks a:hover { color: var(--brand-deep); }
.marks img { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; flex: none; }

/* ---------- hero (dark, inner pages) ---------- */
.hero-dark { position: relative; background: var(--navy); color: #fff; padding: 56px 0 72px; overflow: hidden; }
.hero-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 480px at 100% 0%, rgba(124, 176, 32, 0.28), transparent 60%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}
.hero-dark .wrap { position: relative; }
.hero-dark .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; margin-top: 28px; }
.hero-dark .grid.no-image { grid-template-columns: 1fr; }
.hero-dark .grid.no-image .lead { max-width: 60ch; }
.hero-dark h1 { margin-bottom: 20px; }
.hero-dark .mark { width: 72px; height: 48px; border-radius: 12px; object-fit: contain; background: #fff; padding: 6px 8px; margin-bottom: 22px; box-shadow: var(--shadow-md); }
.hero-dark .frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.12); background: var(--navy-2); }
.hero-dark .frame img { width: 100%; height: auto; }
.hero-dark .frame.portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.hero-dark .frame.photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.hero-dark .frame.portrait { max-width: 440px; margin-left: auto; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: rgba(255,255,255,0.6); }
.crumbs a { color: rgba(255,255,255,0.75); }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.crumbs svg { width: 12px; height: 12px; opacity: 0.5; }
.crumbs [aria-current] { color: #fff; }

/* ---------- section scaffolding ---------- */
.section { padding: var(--section) 0; }
.section.tight { padding: 72px 0; }
.section.paper-2 { background: var(--paper-2); }
.section.white { background: var(--white); }
.section.dark { background: var(--navy); color: #fff; }
.section + .section.dark, .section.dark + .section { border-top: 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 { margin-bottom: 18px; }
.section-head .lead { margin-bottom: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.row { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.section-head.row .lead { margin: 0; }
.hr { border: 0; height: 1px; background: var(--line); margin: 0; }

/* stats strip */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 26px 24px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats .label { display: block; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-deep); font-weight: 600; margin-bottom: 6px; }
.stats .value { font-family: var(--serif); font-weight: 800; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 20px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card.link:hover, a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.card .top img { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; }
.card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card .tagline { margin-bottom: 14px; }
.card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.card p:last-of-type { margin-bottom: 0; }
.card .btn-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.card ul.bullets { margin: 12px 0 0; }
.card figure { margin: -30px -28px 24px; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: var(--navy); border-bottom: 1px solid var(--line); }
.card figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card.dark { background: var(--navy); color: #fff; border-color: var(--navy-2); }
.card.dark p { color: var(--navy-text); }
.card.dark h3 { color: #fff; }
.card.accent { border-top: 4px solid var(--brand); }
.card.verify { border-top: 4px solid var(--verify); }
.card.gold { border-top: 4px solid var(--gold); }
.on-dark .card { background: rgba(255, 255, 255, 0.05); border-color: var(--navy-line); color: #fff; box-shadow: none; }
.on-dark .card p { color: var(--navy-text); }
.on-dark .card .ico { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* bullets */
.bullets li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-2); line-height: 1.55; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--verify-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23178a63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/11px no-repeat;
}
.bullets li b { color: var(--ink); font-weight: 600; }
.on-dark .bullets li { color: var(--navy-text); }
.on-dark .bullets li b { color: #fff; }
.on-dark .bullets li::before { background-color: rgba(23, 138, 99, 0.25); }
.bullets.cross li::before { background: var(--brand-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 4.5l7 7M11.5 4.5l-7 7' fill='none' stroke='%23b5220f' stroke-width='2' stroke-linecap='round'/></svg>") center/10px no-repeat; }
.bullets.plain li::before { background: var(--paper-3); }

/* ---------- split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-visual { order: -1; }
.split h2 { margin-bottom: 18px; }
.split .lead { margin-bottom: 8px; }
.split .bullets { margin-top: 22px; }
.split-visual .frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--navy); }
.split-visual .frame img { width: 100%; height: auto; }
.split-visual .frame.plain { box-shadow: var(--shadow-md); background: var(--white); }
.on-dark .split-visual .frame { border-color: var(--navy-line); }
.split-visual figcaption { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.on-dark .split-visual figcaption { color: var(--navy-text); }

/* text split: title left, text right */
.textsplit { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.textsplit h2 { margin-bottom: 0; }
.textsplit .body p { color: var(--ink-2); }
.textsplit .body p:last-child { margin-bottom: 0; }
.textsplit .btns { margin-top: 22px; }

/* ---------- features (label + text grid) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.features.c2 { grid-template-columns: repeat(2, 1fr); }
.features.c4 { grid-template-columns: repeat(4, 1fr); }
.features.c5 { grid-template-columns: repeat(5, 1fr); gap: 28px 24px; }
.feature h3, .feature h4 { margin-bottom: 8px; font-size: 17.5px; }
.feature p { color: var(--ink-2); font-size: 15.5px; margin: 0; line-height: 1.6; }
.feature .num { display: block; margin-bottom: 12px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); margin-bottom: 16px; }
.feature .ico svg { width: 22px; height: 22px; }
.features.lined .feature { padding-top: 20px; border-top: 1px solid var(--line); }
.on-dark .features.lined .feature { border-top-color: var(--navy-line); }
.on-dark .feature p { color: var(--navy-text); }
.on-dark .feature .ico { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.step .n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 18px;
  font-family: var(--serif); font-weight: 800; font-size: 15px; color: var(--brand-deep); background: var(--brand-soft); border: 1px solid #cfe1a0;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15.5px; margin: 0; line-height: 1.6; }
.step figure { margin: -28px -24px 22px; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.step figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.steps.timeline { grid-template-columns: 1fr; gap: 0; }
.steps.timeline .step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 26px 0; }
.steps.timeline .step .n { margin: 0; }
.steps.timeline .step:last-child { border-bottom: 1px solid var(--line); }
.on-dark .step { background: rgba(255, 255, 255, 0.05); border-color: var(--navy-line); }
.on-dark .step p { color: var(--navy-text); }

/* story tiles (SnapBill problem) */
.tiles { display: grid; grid-template-columns: 2fr 2fr 2fr 3fr; gap: 16px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; }
.tile .num { display: block; margin-bottom: 14px; }
.tile h3 { font-size: 18px; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15px; }
.tile.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.tile.dark h3 { color: #fff; }
.tile.dark p { color: var(--navy-text); }
.tile.dark img { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px; }
.tile.dark .num { color: #b9dc7a; }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quotes.c1 { grid-template-columns: minmax(0, 760px); }
.quotes.c2 { grid-template-columns: repeat(2, 1fr); }
.quote { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px 28px; box-shadow: var(--shadow-sm); }
.quote .mark { font-family: Georgia, serif; font-size: 56px; line-height: 0.6; color: var(--brand); margin-bottom: 18px; }
.quote blockquote { margin: 0 0 22px; font-family: var(--sans); font-size: 18px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.quote figcaption { margin-top: auto; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.on-dark .quote { background: rgba(255,255,255,0.05); border-color: var(--navy-line); }
.on-dark .quote blockquote { color: #fff; }
.on-dark .quote figcaption b { color: #fff; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 18px 22px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--paper); }
td:last-child a { font-weight: 600; color: var(--brand-deep); }
td:last-child a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; transition: border-color 0.15s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 3.5v9M3.5 8h9' stroke='%23131c2e' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 12px; transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- subnav (on this page) ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(247, 249, 245, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .wrap { position: relative; }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; scroll-padding-left: 16px; }
/* fade on the right edge hints that the bar scrolls sideways */
.subnav .wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 56px; pointer-events: none; background: linear-gradient(to right, rgba(247, 249, 245, 0), rgba(247, 249, 245, 0.95) 70%); }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.subnav a:hover, .subnav a.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.subnav a .num { font-size: 12px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 100%, rgba(124, 176, 32, 0.30), transparent 65%); pointer-events: none; }
.cta .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--navy-text); margin: 0; font-size: 18px; }
.cta .btns { margin: 0; justify-content: flex-end; }
.cta.light { background: var(--paper-2); color: var(--ink); }
.cta.light::before { display: none; }
.cta.light p { color: var(--ink-2); }

/* ---------- tracks / definition rows ---------- */
.tracks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.track .num { padding-top: 3px; }
.track b { display: block; font-weight: 600; margin-bottom: 4px; }
.track p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.on-dark .tracks, .on-dark .track { border-color: var(--navy-line); }
.on-dark .track p { color: var(--navy-text); }
.on-dark .track b { color: #fff; }

/* ---------- prose (privacy / terms) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--sans); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 44px 0 12px; display: flex; gap: 14px; align-items: baseline; }
.prose h2 .num { font-size: 15px; }
.prose p { color: var(--ink-2); }
.prose .updated { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc ol { counter-reset: toc; display: grid; gap: 4px; }
.toc a { display: flex; gap: 12px; padding: 8px 12px; border-radius: var(--r-sm); font-size: 14.5px; color: var(--ink-2); }
.toc a:hover { background: var(--white); color: var(--ink); }
.toc a .num { font-size: 12.5px; }
.prose-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--muted); }
.input {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 12px;
  background: var(--paper); font-size: 16px; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.input:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(19, 28, 46, 0.08); }
textarea.input { min-height: 150px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' fill='none' stroke='%23131c2e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-foot .small { margin: 0; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 14px 0 0; font-size: 15px; color: var(--verify); font-weight: 600; min-height: 1em; }
.form-status.is-error { color: #b5220f; }
.form-status:empty { display: none; }
.form-error { margin: 0 0 20px; padding: 12px 16px; border-radius: var(--r-sm); background: #fdecea; color: #b5220f; font-size: 15px; border: 1px solid #f6cfc6; }
.contact-aside .block { padding: 26px 0; border-top: 1px solid var(--line); }
.contact-aside .block:first-child { border-top: 0; padding-top: 0; }
.contact-aside h3 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 14px; }
.contact-aside .row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 8px 0; font-size: 15.5px; }
.contact-aside .row b { font-weight: 600; }
.contact-aside .row a { color: var(--brand-deep); font-weight: 500; }
.contact-aside .row a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-aside address { font-style: normal; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.contact-aside address b { display: block; color: var(--ink); }
.map-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.map-row .frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); min-height: 380px; }
.map-row iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-row img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

/* ---------- download block (SnapBill) ---------- */
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.store { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.store .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); }
.store .ico svg { width: 26px; height: 26px; }
.store h3 { font-size: 19px; margin-bottom: 4px; }
.store .status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 10px; }
.store .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.store p { margin: 0; color: var(--ink-2); font-size: 15px; }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color 0.15s, box-shadow 0.15s; }
.doc:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.doc .ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); flex: none; }
.doc .ico svg { width: 20px; height: 20px; }
.doc b { display: block; font-weight: 600; }
.doc span { font-size: 13.5px; color: var(--muted); }
.doc .dl { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--brand-deep); white-space: nowrap; }

/* ---------- logos row (inside a card) ---------- */
.logos { display: flex; gap: 18px; align-items: center; margin-top: 18px; }
.logos img { height: 44px; width: auto; }

/* ---------- video facade ---------- */
.video { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0.85; }
.video .play { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform 0.15s, background 0.15s; }
.video .play svg { width: 40px; height: 40px; margin-left: 4px; }
.video .play:hover { transform: scale(1.06); background: var(--brand-deep); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- family marks ---------- */
.family { display: flex; gap: 20px; flex-wrap: wrap; }
.family a { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); min-width: 220px; transition: transform 0.15s, box-shadow 0.15s; }
.family a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.family img { width: 44px; height: 44px; border-radius: 11px; object-fit: contain; }
.family b { display: block; font-weight: 600; }
.family span { display: block; font-size: 13.5px; color: var(--muted); }

/* ---------- related links ---------- */
.related { border-top: 1px solid var(--line); background: var(--paper-2); }
.related .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.related .label { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.related a { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-2); padding: 8px 14px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-size: 14.5px; }
.related a:hover { color: var(--ink); border-color: var(--line-2); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--navy-text); padding: 72px 0 32px; }
.footer .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--navy-line); }
.footer .brand img { height: 56px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 20px; }
.footer .brand p { font-size: 15px; max-width: 34ch; }
.footer .brand .strap { font-family: var(--serif); font-weight: 700; color: #fff; font-size: 16px; margin-top: 4px; }
.footer h3 { color: #fff; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--navy-text); font-size: 15px; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer address { font-style: normal; font-size: 14.5px; line-height: 1.6; }
.footer address b { color: #fff; display: block; margin-bottom: 4px; }
.footer .bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 28px; font-size: 14px; }
.footer .bottom .badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border: 1px solid var(--navy-line); border-radius: var(--r-pill); color: #fff; font-size: 13px; }
.footer .bottom .badge svg { width: 14px; height: 14px; }
.footer .bottom .right { margin-left: auto; display: flex; gap: 22px; }
.footer .social { display: inline-flex; align-items: center; gap: 8px; }
.footer .social svg { width: 16px; height: 16px; }

/* ---------- utilities ---------- */
/* reveal only when JS runs (html.js); crawlers and no-JS visitors see everything immediately */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .btn, .card, .hero-visual .frame { transition: none; } }
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop svg { width: 18px; height: 18px; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-24 { margin-bottom: 24px; }
.pane { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; }
.on-dark .pane { background: rgba(255,255,255,0.05); border-color: var(--navy-line); }
.plain-page { min-height: clamp(360px, 60vh, 720px); display: grid; place-items: center; text-align: center; padding: 96px 0; }
.plain-page h1 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 16px; }
.plain-page .btns { justify-content: center; }
.anchor-offset { scroll-margin-top: calc(var(--header-h) + 64px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .footer .top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer .top .col-contact { grid-column: 1 / -1; }
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .features.c4, .features.c5 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --section: 72px; --header-h: 74px; }
  /* The header's backdrop-filter makes it the containing block for fixed children, so the drawer is absolute under the header instead. */
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 49; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px; overflow-y: auto; display: none; margin: 0; border-top: 1px solid var(--line); }
  .menu-open .nav { display: flex; }
  .nav > li { border-bottom: 1px solid var(--line); }
  .nav > li > a, .nav > li > button { width: 100%; justify-content: space-between; min-height: 54px; padding: 0 4px; font-size: 17px; border-radius: 0; }
  .nav > li > a:hover, .nav > li > button:hover, .nav > li > a[aria-current="page"] { background: transparent; }
  .mega { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 12px; opacity: 1; visibility: visible; pointer-events: auto; display: none; background: transparent; }
  .nav li.open > .mega { display: block; transform: none; }
  .mega-grid, .cols-3 .mega-grid { grid-template-columns: 1fr; }
  .mega a.item { padding: 10px 4px; }
  .mega-foot { margin: 8px 4px 0; }
  .nav-cta { margin: 20px 0 0; border: 0 !important; }
  .nav-cta .btn { width: 100%; min-height: 50px; border-radius: var(--r-pill); justify-content: center; }
  .menu-toggle { display: inline-flex; }
  .logo img { height: 38px; }
  .hero { padding: 52px 0 48px; }
  .hero .wrap, .hero-dark .grid, .split, .textsplit, .contact-layout, .prose-layout, .map-row, .cta .wrap { grid-template-columns: 1fr; }
  .hero .wrap { gap: 40px; }
  .hero-visual .frame { transform: none; }
  .hero-visual .float { left: 12px; bottom: -14px; }
  .hero-dark { padding: 36px 0 56px; }
  .hero-dark .grid { gap: 36px; margin-top: 22px; }
  .hero-dark .frame.portrait { margin-left: 0; max-width: 360px; }
  .split.reverse .split-visual { order: 0; }
  .section-head.row { grid-template-columns: 1fr; gap: 16px; }
  .section-head { margin-bottom: 36px; }
  .cards.c3, .cards.c2 { grid-template-columns: 1fr; }
  .cards.c4 { grid-template-columns: 1fr; }
  .features, .features.c2, .features.c4, .features.c5 { grid-template-columns: 1fr; gap: 26px; }
  .quotes, .quotes.c2 { grid-template-columns: 1fr; }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding: 18px 16px; }
  .stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats .value { font-size: 22px; }
  .steps { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .stores, .docs { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .cta .wrap { padding-top: 64px; padding-bottom: 64px; gap: 28px; }
  .cta .btns { justify-content: flex-start; }
  .btns-end { justify-content: flex-start; }
  .prose-layout .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .footer { padding-top: 56px; }
  .footer .top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer .brand { grid-column: 1 / -1; }
  .footer .top .col-contact { grid-column: 1 / -1; }
  .footer .bottom .right { margin-left: 0; }
  .track { grid-template-columns: 44px 1fr; }
  .related .wrap { padding-top: 28px; padding-bottom: 28px; }
  h1 { overflow-wrap: anywhere; }
}
@media (max-width: 520px) {
  .btns .btn { width: 100%; }
  .btn-link { width: auto !important; }
  .marks { gap: 10px; justify-content: flex-start; }
  .marks a { font-size: 13px; }
  .marks a span { display: none; }
  .hero-visual .float { display: none; }
  .steps .step figure img { aspect-ratio: 4 / 3; }
  .table-wrap { font-size: 15px; }
  th, td { padding: 14px 16px; }
}
@media print {
  .header, .footer, .totop, .subnav, .cta, .related { display: none !important; }
  body { background: #fff; color: #000; }
  .hero-dark, .section.dark { background: #fff; color: #000; }
}
