/* FinVault website — one stylesheet for every page.
   Colours mirror the app's Cobalt Blue brand family (core/theme/Color.kt); type is Plus Jakarta Sans,
   the app's own font. Light is the default; dark follows the OS unless the visitor picks a theme. */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --brand: #0055A5;
  --brand-2: #1877D2;
  --brand-ink: #0A3570;
  --brand-soft: #E6F0FA;
  --gold: #D9B865;
  --bg: #F5F8FC;
  --surface: #FFFFFF;
  --surface-2: #EEF4FB;
  --text: #0F1E33;
  --muted: #56708A;
  --line: #D3E2F1;
  --accent: #0055A5;
  --accent-text: #FFFFFF;
  --link: #0B5FB5;
  --success: #138C79;
  --shadow-sm: 0 1px 2px rgba(10, 53, 112, .06), 0 2px 8px rgba(10, 53, 112, .06);
  --shadow-md: 0 10px 30px -12px rgba(10, 53, 112, .28);
  --shadow-lg: 0 30px 60px -24px rgba(0, 32, 63, .45);
  --hero-grad: linear-gradient(135deg, #3E8FE0 0%, #1A6FC4 35%, #0055A5 65%, #0A3570 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #071426; --surface: #0D1F38; --surface-2: #11284A; --text: #E7F0FA; --muted: #9DB4CE;
    --line: #1E3A5F; --accent: #5AA9F5; --accent-text: #04172E; --link: #8CC4FF; --brand-soft: #12305A;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow-md: 0 12px 30px -14px rgba(0, 0, 0, .7); --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .8);
    --hero-grad: linear-gradient(135deg, #1A5FA8 0%, #0B4A8E 40%, #08356B 70%, #061F42 100%);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071426; --surface: #0D1F38; --surface-2: #11284A; --text: #E7F0FA; --muted: #9DB4CE;
  --line: #1E3A5F; --accent: #5AA9F5; --accent-text: #04172E; --link: #8CC4FF; --brand-soft: #12305A;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow-md: 0 12px 30px -14px rgba(0, 0, 0, .7); --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .8);
  --hero-grad: linear-gradient(135deg, #1A5FA8 0%, #0B4A8E 40%, #08356B 70%, #061F42 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow-md); font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 700 1rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-text); box-shadow: var(--shadow-md); }
.btn-light { background: #fff; color: #0A3570; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .2); }
.btn .icon { width: 1.3em; height: 1.3em; }
.play-btn { padding: 10px 22px 10px 16px; gap: 12px; text-align: left; }
.play-btn .icon { width: 28px; height: 28px; }
.play-btn small { display: block; font-size: .7rem; font-weight: 600; opacity: .8; letter-spacing: .04em; text-transform: uppercase; }
.play-btn strong { display: block; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-bar { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span b { color: var(--accent); font-weight: 800; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--brand-soft); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn .icon { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
.nav-toggle { display: none; }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: .95rem; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: 72px 0 auto 0; margin: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 12px 20px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .nav .nav-cta { margin-top: 10px; }
  .nav .nav-cta a { background: var(--accent); color: var(--accent-text); text-align: center; border-radius: 999px; }
  .nav-bar .header-actions { margin-left: auto; }
}
@media (min-width: 901px) { .nav .nav-cta { display: none; } }
.nav-toggle .close { display: none; }
.nav-toggle[aria-expanded="true"] .close { display: block; }
.nav-toggle[aria-expanded="true"] .menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--hero-grad); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(circle at 75% 40%, transparent 0 220px, rgba(255, 255, 255, .12) 221px 222px, transparent 223px),
  radial-gradient(circle at 75% 40%, transparent 0 360px, rgba(255, 255, 255, .1) 361px 362px, transparent 363px),
  radial-gradient(circle at 75% 40%, transparent 0 520px, rgba(255, 255, 255, .08) 521px 522px, transparent 523px); }
.hero-inner { display: grid; gap: 48px; align-items: center; padding-block: 64px 72px; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.05fr .95fr; padding-block: 88px 96px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hero .eyebrow { color: #FFE6A6; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: 6px 14px; border-radius: 999px; }
.hero .eyebrow .icon { width: 14px; height: 14px; color: var(--gold); }
.hero h1 { margin: 18px 0 18px; }
.hero h1 .hl { color: #FFE6A6; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .86); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: rgba(255, 255, 255, .9); font-weight: 600; font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { width: 18px; height: 18px; color: #7CE0C3; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; }
.hero-visual .phone:nth-child(1) { transform: translateX(32px) rotate(-6deg); z-index: 1; width: min(36%, 230px); }
.hero-visual .phone:nth-child(2) { z-index: 2; width: min(42%, 280px); margin-bottom: 28px; }
.hero-visual .phone:nth-child(3) { transform: translateX(-32px) rotate(6deg); z-index: 1; width: min(36%, 230px); }
@media (max-width: 959px) {
  .hero-visual .phone:nth-child(1), .hero-visual .phone:nth-child(3) { width: min(40%, 230px); }
  .hero-visual .phone:nth-child(2) { width: min(47%, 280px); }
}
.float-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .95); color: #0F1E33; padding: 10px 14px; border-radius: 14px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); font-size: .85rem; font-weight: 700; line-height: 1.25; }
.float-chip span { display: block; font-weight: 600; color: #56708A; font-size: .75rem; }
.float-chip .chip-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-chip .chip-ic .icon { width: 18px; height: 18px; }
.chip-a { left: 0; top: 18%; }
.chip-b { right: 0; bottom: 14%; }
@media (max-width: 560px) { .float-chip { display: none; } .hero-visual { min-height: 0; } }

/* Phone frame around real app screenshots */
.phone { position: relative; border-radius: 34px; padding: 8px; background: #0E1A2E; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.phone img { border-radius: 27px; width: 100%; aspect-ratio: 1344 / 2992; object-fit: cover; background: #DCE7F4; }

/* ---------- Sections ---------- */
.section { padding-block: 80px; }
.section-tight { padding-block: 56px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-head h2 { margin-top: 10px; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: -44px auto 0; position: relative; z-index: 2; box-shadow: var(--shadow-md); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: 22px 20px; text-align: center; }
.stat strong { display: block; font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--accent); letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* Cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--muted); margin: 0; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; text-decoration: none; }
.card .more .icon { width: 16px; height: 16px; transition: transform .2s; }
.card .more:hover .icon { transform: translateX(3px); }
.ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #3E8FE0, #0055A5); box-shadow: 0 10px 20px -10px rgba(0, 85, 165, .8); }
.ic .icon { width: 26px; height: 26px; }
.ic-gold { background: linear-gradient(160deg, #F5C966, #D99A1E); box-shadow: 0 10px 20px -10px rgba(217, 154, 30, .8); }
.ic-teal { background: linear-gradient(160deg, #2DBFA3, #0C7C6A); box-shadow: 0 10px 20px -10px rgba(12, 124, 106, .8); }
.ic-violet { background: linear-gradient(160deg, #8C7CF0, #5848CE); box-shadow: 0 10px 20px -10px rgba(88, 72, 206, .8); }
.ic-orange { background: linear-gradient(160deg, #FFA66B, #D9652A); box-shadow: 0 10px 20px -10px rgba(217, 101, 42, .8); }
.ic-rose { background: linear-gradient(160deg, #F58AA0, #D9405F); box-shadow: 0 10px 20px -10px rgba(217, 64, 95, .8); }

/* Feature rows: copy beside a screenshot */
.feature-row { display: grid; gap: 40px; align-items: center; padding-block: 56px; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: 1.15fr .85fr; gap: 72px; }
  .feature-row.reverse .feature-copy { order: 2; }
}
.feature-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 10px; }
.feature-copy > p { color: var(--muted); font-size: 1.08rem; }
.feature-shots { display: flex; justify-content: center; gap: 18px; }
.feature-shots .phone { width: min(48%, 250px); }
.feature-shots .phone:nth-child(2) { margin-top: 48px; }
.feature-shots.single .phone { width: min(70%, 290px); }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checklist strong { color: var(--text); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.pill-list li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--text); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

/* Screenshot gallery (horizontal scroller) */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 22px; overflow-x: auto; padding: 8px 4px 28px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery figcaption { margin-top: 12px; text-align: center; font-weight: 700; font-size: .95rem; }
.gallery figcaption span { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }

/* Tools catalog (features page) */
.tool-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 .92rem var(--font); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.search input { width: 100%; min-height: 44px; padding: 10px 14px 10px 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 500 1rem var(--font); }
.tool-group { margin-top: 36px; }
.tool-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.tool-group h3 .count { font-size: .8rem; font-weight: 700; color: var(--accent); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; }
.tool-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); list-style: none; padding: 0; margin: 14px 0 0; }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.tool .ic { width: 42px; height: 42px; border-radius: 12px; flex: none; }
.tool .ic .icon { width: 21px; height: 21px; }
.tool h4 { margin: 0 0 4px; font-size: 1.02rem; letter-spacing: -.01em; }
.tool p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.tool .tag { display: inline-block; margin-top: 8px; font-size: .74rem; font-weight: 700; color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent); padding: 2px 8px; border-radius: 999px; }
.empty-state { display: none; text-align: center; color: var(--muted); padding: 40px 0; }
.empty-state.is-visible { display: block; }
[hidden] { display: none !important; }

/* Page hero for inner pages */
.page-hero { background: var(--hero-grad); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 90px rgba(255, 255, 255, .03), 0 0 0 91px rgba(255, 255, 255, .1); pointer-events: none; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 14px 0 12px; }
.page-hero p { color: rgba(255, 255, 255, .86); font-size: 1.15rem; max-width: 46em; margin: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: .9rem; font-weight: 600; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #FFE6A6; }

/* FAQ */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 980px) { .faq-layout { grid-template-columns: 260px 1fr; align-items: start; } .faq-nav { position: sticky; top: 96px; } }
.faq-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 980px) { .faq-nav ul { flex-direction: column; } }
.faq-nav a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 600; background: var(--surface); border: 1px solid var(--line); }
.faq-nav a:hover { border-color: var(--accent); }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 16px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq-answer { padding: 0 20px 20px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* Prose (privacy policy) */
.prose-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .prose-layout { grid-template-columns: 250px 1fr; align-items: start; } .toc { position: sticky; top: 96px; } }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; font-size: .93rem; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--link); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--text); }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 700; }
.note { background: var(--brand-soft); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.4em 0; }
.note p:last-child { margin: 0; }
.meta-line { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card h2 { font-size: 1.05rem; margin: 0 0 4px; letter-spacing: 0; }
.contact-card p, .contact-card address { margin: 0; color: var(--muted); font-style: normal; }
.contact-card a { font-weight: 700; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.5rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 700; font-size: .95rem; }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 500 1rem var(--font); }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field-error { color: #D9405F; font-size: .88rem; font-weight: 600; min-height: 1.2em; }
.form-hint { color: var(--muted); font-size: .9rem; margin-top: 12px; }
.form-status { margin-top: 14px; font-weight: 600; color: var(--success); }

/* CTA band */
.cta { background: var(--hero-grad); color: #fff; border-radius: 28px; padding: 56px 32px; text-align: center; position: relative; overflow: hidden; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, .86); max-width: 40em; margin: 0 auto 28px; font-size: 1.12rem; }
.cta .hero-actions { justify-content: center; margin: 0; }

/* Disclaimer */
.disclaimer { font-size: .9rem; color: var(--muted); text-align: center; max-width: 820px; margin: 28px auto 0; }

/* ---------- Footer ---------- */
.site-footer { background: #061A33; color: #C3D6EA; padding: 64px 0 28px; margin-top: 80px; }
.site-footer a { color: #E6F0FA; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand span b { color: #9CCBFF; }
.footer-about { margin-top: 14px; font-size: .95rem; max-width: 30em; }
.site-footer h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.site-footer address { font-style: normal; font-size: .95rem; display: grid; gap: 10px; }
.site-footer address span { display: flex; gap: 10px; align-items: flex-start; }
.site-footer address .icon { width: 18px; height: 18px; margin-top: 3px; color: #9CCBFF; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 22px; font-size: .88rem; }

/* 404 */
.not-found { text-align: center; padding-block: 96px; }
.not-found .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: var(--hero-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta, .toc, .hero-actions { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero { background: none; color: #000; padding: 0 0 16px; }
  .page-hero p, .breadcrumb a { color: #000; }
}
