/* ==========================================================================
   Kivo Apps — global stylesheet (solid colors, photo-led)
   ========================================================================== */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f1ec;
  --ink: #111114;
  --ink-2: #2a2a31;
  --muted: #5d5d68;
  --dim: #8b8b96;
  --border: #e7e4dd;
  --border-strong: #d6d2c9;
  --accent: #2f4bff;
  --accent-ink: #1f36d6;
  --accent-soft: #eef0ff;
  --sun: #ffd23f;
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --shadow-sm: 0 1px 2px rgba(17, 17, 20, 0.06), 0 2px 8px rgba(17, 17, 20, 0.04);
  --shadow: 0 24px 60px -24px rgba(17, 17, 20, 0.28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.025em; color: var(--ink); }
::selection { background: var(--sun); color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.accent { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, 0.88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand span em { font-style: normal; font-weight: 500; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-block; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-links a.btn { color: #fff; background: var(--ink); margin-left: 8px; }
.nav-links a.btn:hover { background: var(--ink-2); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; font-family: var(--font);
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sun); }
.btn-outline-light { border-color: rgba(255,255,255,0.35); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; font-weight: 500; color: var(--muted); }
.eyebrow .dot { padding: 3px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.hero h1 { font-size: clamp(44px, 6vw, 80px); font-weight: 800; letter-spacing: -0.045em; margin: 26px 0 24px; line-height: 1.02; }
.hero h1 .serif { font-size: 1.08em; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero-meta div { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--accent); }

.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--sun); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute; background: var(--surface); border-radius: 20px; padding: 14px 16px;
  box-shadow: 0 18px 40px -16px rgba(17,17,20,0.35); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px; min-width: 250px;
}
.float-card .thumb { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--surface-2); }
.float-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.float-card b { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-card .play { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; margin-left: auto; flex-shrink: 0; }
.float-card .play svg { width: 14px; height: 14px; }
.float-card .ic-solid { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-card .ic-solid svg { width: 22px; height: 22px; }
.float-card .meter { margin-top: 8px; height: 5px; border-radius: 5px; background: var(--surface-2); overflow: hidden; width: 170px; }
.float-card .meter span { display: block; height: 100%; background: var(--accent); border-radius: 5px; animation: extract 3.4s ease-in-out infinite; }
@keyframes extract { 0% { width: 6%; } 80%, 100% { width: 100%; } }
.float-card.one { left: -44px; bottom: 64px; animation: bob 6s ease-in-out infinite; }
.float-card.two { right: -28px; top: 48px; animation: bob 7s ease-in-out infinite reverse; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.sticker {
  position: absolute; right: 28px; bottom: -26px; width: 104px; height: 104px; border-radius: 50%;
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 13px; line-height: 1.15; letter-spacing: .02em;
  border: 5px solid var(--bg); transform: rotate(-10deg);
}

/* ---------- Format strip ---------- */
.strip { border-block: 1px solid var(--border); background: var(--surface); padding: 20px 0; overflow: hidden; }
.strip-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.strip-track span { padding: 8px 18px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-family: var(--font-display); font-weight: 700; font-size: 15px; white-space: nowrap; }
.strip-track span:nth-child(4n+1) { background: var(--ink); color: #fff; }
.strip-track span:nth-child(4n+3) { background: var(--sun); color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 112px 0; }
.section.tight { padding-top: 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 18px; }
.section-head h2 .serif { font-size: 1.08em; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Photo cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; }
.photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.photo-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); position: relative; }
.photo-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.photo-card:hover .media img { transform: scale(1.05); }
.photo-card .tag { position: absolute; left: 16px; top: 16px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.photo-card .body { padding: 26px 26px 28px; }
.photo-card h3 { font-size: 22px; margin-bottom: 10px; }
.photo-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.photo-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.photo-card li { font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 5px 11px; border-radius: 999px; background: var(--surface-2); }

/* Feature split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 5 / 5.4; background: var(--surface-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .badge-float { position: absolute; left: 22px; bottom: 22px; background: var(--surface); border-radius: 16px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-sm); }
.split-media .badge-float svg { width: 26px; height: 26px; color: var(--accent); }
.split-media .badge-float b { display: block; font-size: 14.5px; }
.split-media .badge-float small { color: var(--muted); font-size: 12.5px; }
.split h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 18px; }
.split h2 .serif { font-size: 1.08em; }
.split p.lead { color: var(--muted); font-size: 18px; margin-bottom: 30px; }
.check-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.check-list li b { display: block; color: var(--ink); }
.check-list li span { color: var(--muted); font-size: 15px; }
.check-list .tick { width: 28px; height: 28px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.check-list .tick svg { width: 16px; height: 16px; }

/* Apps */
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.app-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ink); }
.app-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.app-tile:hover > img { transform: scale(1.04); }
.app-tile .panel { position: relative; margin: 18px; padding: 24px; border-radius: 22px; background: rgba(17,17,20,0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex; gap: 18px; align-items: flex-start; }
.app-icon { width: 68px; height: 68px; border-radius: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.app-icon svg { width: 32px; height: 32px; }
.app-icon.blue { background: var(--accent); color: #fff; }
.app-icon.sun { background: var(--sun); color: var(--ink); }
.app-tile h3 { color: #fff; font-size: 21px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge { font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink); }
.app-tile p { color: rgba(255,255,255,0.78); font-size: 15px; margin: 0 0 14px; }
.store-row { display: flex; gap: 8px; flex-wrap: wrap; }
.store-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.85); padding: 6px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.25); }
.store-pill svg { width: 14px; height: 14px; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.principle { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; }
.principle .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.principle:nth-child(2) .ic { background: #fff6d6; color: #8a6a00; }
.principle:nth-child(3) .ic { background: var(--surface-2); color: var(--ink); }
.principle:nth-child(4) .ic { background: #e9f8ef; color: #127a44; }
.principle .ic svg { width: 24px; height: 24px; }
.principle h3 { font-size: 19px; margin-bottom: 10px; }
.principle p { color: var(--muted); font-size: 15px; margin: 0; }

/* Photo band */
.band { position: relative; border-radius: 36px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; color: #fff; background: var(--ink); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(10,10,14,0.42); }
.band-content { position: relative; z-index: 1; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; width: 100%; }
.band h2 { color: #fff; font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.04em; }
.band h2 .serif { font-size: 1.08em; }
.band-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.band-stats div { background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.2); border-radius: 18px; padding: 18px; }
.band-stats b { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.band-stats span { font-size: 13px; color: rgba(255,255,255,0.82); line-height: 1.35; display: block; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 72px; align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 2px; font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--surface-2); position: relative; transition: background .25s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq details[open] .plus { background: var(--sun); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq .answer { padding: 0 2px 26px; color: var(--muted); font-size: 16px; max-width: 640px; }
.faq .answer a, .faq .answer strong { color: var(--ink); }
.faq .answer a { text-decoration: underline; text-underline-offset: 3px; }

/* CTA */
.cta { display: grid; grid-template-columns: 1.1fr 0.9fr; border-radius: 36px; overflow: hidden; background: var(--ink); color: #fff; }
.cta-copy { padding: 72px 56px; }
.cta-copy h2 { color: #fff; font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 18px; }
.cta-copy h2 .serif { color: var(--sun); font-size: 1.08em; }
.cta-copy p { color: rgba(255,255,255,0.72); font-size: 18px; margin-bottom: 34px; max-width: 460px; }
.cta-media { position: relative; min-height: 380px; }
.cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.email-chip { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 40px; margin-top: 40px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid p { color: var(--muted); font-size: 14.5px; max-width: 320px; margin-top: 18px; }
.footer-grid h4 { font-family: var(--font); font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 18px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-grid a { color: var(--ink-2); font-size: 15px; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--dim); font-size: 13.5px; }

/* ---------- Legal pages ---------- */
.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 800; letter-spacing: -0.045em; margin: 4px 0 16px; }
.page-hero h1 .serif { font-size: 1.08em; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 680px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.meta-pill { font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }

.page-banner { border-radius: 32px; overflow: hidden; aspect-ratio: 21 / 8; margin-bottom: 48px; background: var(--surface-2); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 64px; padding: 24px 0 80px; align-items: start; }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 8px; }
.toc h4 { font-family: var(--font); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 14px; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 14px; line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }

.prose { max-width: 760px; min-width: 0; }
.prose section { scroll-margin-top: 96px; padding-bottom: 12px; }
.prose h2 { font-size: 27px; margin: 48px 0 18px; padding-top: 8px; letter-spacing: -0.03em; }
.prose section:first-child h2 { margin-top: 0; }
.prose h3 { font-size: 18.5px; margin: 30px 0 12px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--dim); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(47,75,255,0.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose .caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: 0.01em; }

.callout { padding: 22px 24px; border-radius: 18px; background: var(--accent-soft); border: 1px solid #dde2ff; margin: 0 0 28px; }
.callout p { margin: 0; }
.callout p + p { margin-top: 10px; }
.callout strong { display: block; margin-bottom: 6px; }

.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.prose th, .prose td { text-align: left; padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--border); color: var(--ink-2); line-height: 1.55; }
.prose td[rowspan] { border-left: 1px solid var(--border); }
.prose th { color: var(--ink); font-weight: 700; background: var(--surface-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.prose tr:last-child td { border-bottom: 0; }
.prose td a { word-break: break-word; }

.summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 36px; }
.summary-item { padding: 20px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.summary-item svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 12px; }
.summary-item b { display: block; font-size: 15px; margin-bottom: 4px; }
.summary-item span { color: var(--muted); font-size: 14px; line-height: 1.55; display: block; }

/* ---------- Support page ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 80px; }
.support-card { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; background: var(--accent-soft); color: var(--accent); }
.card-icon svg { width: 26px; height: 26px; }
.support-card:nth-child(2) .card-icon { background: #fff6d6; color: #8a6a00; }
.support-card:nth-child(3) .card-icon { background: #e9f8ef; color: #127a44; }
.support-card h3 { font-size: 20px; margin-bottom: 10px; }
.support-card p { color: var(--muted); font-size: 15px; flex: 1; }
.support-card .btn { align-self: flex-start; margin-top: 8px; }

.mail-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 36px 40px; border-radius: var(--radius-lg); margin-bottom: 24px; background: var(--ink); color: #fff; }
.mail-hero h2 { color: #fff; font-size: 28px; margin-bottom: 6px; }
.mail-hero p { color: rgba(255,255,255,0.7); margin: 0; }
.mail-hero .btn-primary { background: #fff; color: var(--ink); }
.mail-hero .btn-primary:hover { background: var(--sun); }
.mail-hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.mail-hero .btn-ghost:hover { border-color: #fff; }
.copy-btn.copied { border-color: #3ee09a !important; color: #3ee09a !important; }

.steps { counter-reset: step; list-style: none; padding: 0 !important; margin: 0 0 1.2em; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 18px 22px 18px 68px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 15.5px; margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.steps li strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .photo-card:last-child { grid-column: 1 / -1; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 16 / 11; }
  .principles { grid-template-columns: 1fr 1fr; }
  .band-content { grid-template-columns: 1fr; padding: 40px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .section-head { position: static; }
  .cta { grid-template-columns: 1fr; }
  .cta-media { min-height: 300px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
  .toc ol { columns: 2; column-gap: 24px; border-left: 0; }
  .toc a { padding-left: 0; border-left: 0; break-inside: avoid; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--border); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 16px; border-radius: 12px; }
  .nav-links a.btn { width: 100%; margin: 8px 0 0; height: 48px; }
  .hero { padding: 40px 0 64px; }
  .float-card { min-width: 0; padding: 10px 12px; gap: 10px; }
  .float-card .thumb { width: 40px; height: 40px; }
  .float-card.one { left: 12px; bottom: 20px; }
  .float-card.two { right: 12px; top: 16px; }
  .float-card .meter { width: 120px; }
  .sticker { display: none; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .cards, .apps-grid, .principles, .summary-grid { grid-template-columns: 1fr; }
  .cards .photo-card:last-child { grid-column: auto; }
  .app-tile { min-height: 420px; }
  .app-tile .panel { flex-direction: column; margin: 12px; padding: 20px; }
  .band { min-height: 560px; border-radius: 28px; }
  .band-content { padding: 26px; }
  .band-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .band-stats div { padding: 12px; }
  .band-stats b { font-size: 24px; }
  .cta { border-radius: 28px; }
  .cta-copy { padding: 44px 24px; }
  .footer-grid { gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .toc ol { columns: 1; }
  .mail-hero { padding: 28px 22px; }
  .page-banner { aspect-ratio: 16 / 10; border-radius: 24px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .toc { display: none !important; }
  body { background: #fff; }
  .legal-layout { grid-template-columns: 1fr; }
}
