/* Ours for couples - site styles
   Radius system: interactive controls = full pill, cards/panels = 28px, small tiles = 16px.
   Theme: light only. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #FFFFFF;
  --surface: #F4F6FB;
  --surface-2: #EAEEF8;
  --card: #FFFFFF;
  --blue: #2457F5;
  --blue-ink: #2457F5;
  --blue-deep: #1A45D1;
  --blue-soft: #EAF0FF;
  --blue-light: #A9C1FF;
  --mark-a: #2457F5;
  --mark-b: #A9C1FF;
  --orange: #F2994A;
  --orange-ink: #B8621A;
  --orange-soft: rgba(242, 153, 74, .16);
  --ink: #0F1730;
  --muted: #55607A;
  --line: rgba(15, 23, 48, .08);
  --line-strong: rgba(15, 23, 48, .14);
  --shadow: 0 1px 2px rgba(30, 50, 110, .06), 0 12px 40px -12px rgba(40, 70, 160, .18);
  --shadow-lg: 0 2px 4px rgba(30, 50, 110, .05), 0 40px 80px -30px rgba(40, 70, 160, .35);
  --phone-frame: #0F1730;
  --radius: 28px;
  --radius-sm: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
p { margin: 0; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }
.brand svg { width: 32px; height: 32px; }
.mk-a { fill: var(--mark-a); } .mk-as { stroke: var(--mark-a); }
.mk-b { fill: var(--mark-b); } .mk-bs { stroke: var(--mark-b); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue-ink); color: #fff; box-shadow: 0 10px 30px -10px rgba(36, 87, 245, .55); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* App Store button (custom until the app is live; swap for Apple's official badge then) */
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 24px 0 20px;
  border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.store .ic { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11.5px; font-weight: 600; opacity: .75; letter-spacing: .01em; }
.store strong { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.soon { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; cursor: default; }
.soon .ic { width: 20px; height: 20px; color: var(--blue-light); }
.final-panel .soon { background: #fff; color: var(--ink); }
.final-panel .soon .ic { color: var(--blue); }
.nav .soon-sm { cursor: default; }
.nav .soon-sm:hover { background: var(--blue-ink); transform: none; }
.hero .phone { width: min(262px, 66vw, calc((100dvh - 250px) * 1290 / 2796)); min-width: 220px; border-radius: 46px; }
.hero .phone img { border-radius: 37px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: inherit; }
.final-panel .stores { justify-content: center; }
a.store:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store[aria-disabled="true"] { cursor: default; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-links a { display: block; padding: 14px 4px; font-size: 18px; color: var(--ink); }
  .nav-cta { display: none; }
}

/* ---------- Reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 96px; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1; background: radial-gradient(closest-side, var(--blue-soft), transparent 70%); pointer-events: none; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; min-height: min(660px, calc(100dvh - 72px - 96px)); }
.hero h1 { font-size: clamp(44px, 5.8vw, 78px); line-height: 1.0; letter-spacing: -0.05em; }
.hero h1 em { font-style: normal; color: var(--blue-ink); }
.hero-sub { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 34ch; line-height: 1.5; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; align-items: center; }
.hero-visual { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.float { position: absolute; z-index: 2; background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.3; border: 1px solid var(--line); }
.float b { display: block; font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.float span { color: var(--muted); }
.float .tile { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-a { left: -4%; top: 22%; }
.float-b { right: -6%; bottom: 18%; }
.tile-blue { background: var(--blue-soft); color: var(--blue-ink); }
.tile-orange { background: var(--orange-soft); color: var(--orange-ink); }
@media (prefers-reduced-motion: no-preference) {
  .float-a { animation: drift 7s ease-in-out infinite; }
  .float-b { animation: drift 8s ease-in-out -3s infinite; }
}
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero { padding: 32px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero-sub { max-width: 36ch; }
  .float-a { left: 0; top: 14%; }
  .float-b { right: 0; bottom: 10%; }
}
@media (max-width: 480px) {
  .float { padding: 10px 12px; font-size: 12.5px; }
  .float b { font-size: 13.5px; }
  .float .tile { width: 34px; height: 34px; }
  .store { min-height: 52px; padding: 0 14px 0 12px; gap: 8px; }
  .store .ic { width: 22px; height: 22px; }
  .store strong { font-size: 15.5px; }
  .store small { font-size: 10.5px; }
  .stores { gap: 8px; }
}

/* ---------- Phone ---------- */
.phone { position: relative; width: min(300px, 70vw); aspect-ratio: 1290 / 2796; border-radius: 52px; padding: 10px; background: var(--phone-frame); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.08); }
.phone picture { display: block; width: 100%; height: 100%; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 42px; background: var(--surface); }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 30%; height: 26px; border-radius: 999px; background: var(--phone-frame); }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section { padding: 128px 0; }
@media (max-width: 768px) { .section { padding: 88px 0; } }
.h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.045em; max-width: 18ch; }
.lede { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 52ch; }
.eyebrow { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }

/* ---------- Venn manifesto ---------- */
.venn-section { text-align: center; padding: 120px 0 112px; background: var(--surface); }
.venn { width: min(560px, 100%); margin: 0 auto 48px; }
.venn circle { fill-opacity: .14; stroke-width: 3; }
.venn .c-mine { fill: var(--blue); stroke: var(--blue); }
.venn .c-yours { fill: var(--orange); stroke: var(--orange); }
.venn text { font-family: inherit; font-weight: 800; letter-spacing: -0.03em; }
.venn .t-side { font-size: 22px; fill: var(--muted); }
.venn .t-ours { font-size: 30px; fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .js .venn .g-mine { transform: translateX(-70px); transition: transform 1.4s var(--ease); }
  .js .venn .g-yours { transform: translateX(70px); transition: transform 1.4s var(--ease); }
  .js .venn .t-ours { opacity: 0; transition: opacity .8s .7s var(--ease); }
  .js .venn.in .g-mine, .js .venn.in .g-yours { transform: none; }
  .js .venn.in .t-ours { opacity: 1; }
}
.venn-section .h2 { margin: 0 auto; max-width: none; }
@media (max-width: 760px) { .venn-section .h2 br { display: none; } }
.venn-section .lede { margin: 20px auto 0; max-width: 46ch; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 72px; counter-reset: step; }
.step { position: relative; padding-top: 32px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); border-radius: 2px; }
.step::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--blue); border-radius: 2px; transition: width 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 250ms + 200ms); }
.step.in::after, html:not(.js) .step::after { width: 56px; }
.step .ico { width: 56px; height: 56px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-ink); margin-bottom: 24px; }
.step .ico .ic { width: 28px; height: 28px; }
.step h3 { font-size: 26px; margin-bottom: 12px; }
.step p { color: var(--muted); max-width: 32ch; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 48px; margin-top: 48px; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(260px, auto); gap: 20px; margin-top: 64px; }
.cell { position: relative; border-radius: var(--radius); background: var(--surface); padding: 32px; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.cell h3 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.15; }
.cell p { color: var(--muted); margin-top: 10px; font-size: 16px; max-width: 40ch; }
.cell-split { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #3D6BFF 0%, #2457F5 55%, #1A45D1 100%); color: #fff; }
.cell-split p { color: rgba(255,255,255,.82); }
.cell-settle { background: var(--surface-2); }
.cell-goal { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.cell-budget { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.cell-allow { background: var(--orange-soft); }
.cell-extras { grid-column: span 2; }
.cell-notify { grid-column: span 2; background: var(--surface-2); }
.cell .push { margin-top: auto; padding-top: 24px; }

/* Split widget */
.split-ui { margin-top: auto; padding-top: 28px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { border: 0; cursor: pointer; padding: 10px 16px; min-height: 40px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-weight: 700; font-size: 14px; transition: background .25s, color .25s; }
.seg button:hover { background: rgba(255,255,255,.24); }
.seg button[aria-pressed="true"] { background: #fff; color: #1A45D1; }
.split-card { margin-top: 20px; background: #fff; color: #0F1730; border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(10, 20, 60, .6); }
.split-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.split-row .label { font-weight: 700; }
.split-row .amt { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.split-meta { color: #55607A; font-size: 14px; margin-top: 2px; }
.split-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin: 18px 0 14px; gap: 3px; }
.split-bar i { display: block; height: 100%; border-radius: 999px; transition: flex-grow .6s var(--ease); }
.split-bar .you { background: #2457F5; }
.split-bar .them { background: #F2994A; }
.split-legend { display: flex; justify-content: space-between; font-size: 15px; font-variant-numeric: tabular-nums; }
.split-legend b { font-weight: 800; }
.legend-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: 1px; }
.range { width: 100%; margin-top: 16px; accent-color: #2457F5; }
.split-pot { display: none; text-align: center; padding: 10px 0 4px; }
.split-pot b { display: block; font-size: 20px; letter-spacing: -0.02em; }
.split-pot span { color: #55607A; font-size: 15px; }
.split-card.is-pot .split-pot { display: block; }
.split-card.is-pot .split-calc { display: none; }

/* Settle widget */
.owe { margin-top: auto; padding-top: 24px; }
.owe-amt { font-size: 44px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.owe-who { color: var(--muted); font-weight: 600; margin-top: 6px; font-size: 15px; }

/* Goal ring */
.ring-wrap { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 14px; }
.ring { width: 76px; height: 76px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring .bg { stroke: var(--surface-2); }
.ring .a { stroke: var(--blue); }
.ring .b { stroke: var(--orange); }
@media (prefers-reduced-motion: no-preference) {
  .js .ring .a, .js .ring .b { transition: stroke-dasharray 1.6s var(--ease); }
}
.ring-legend { white-space: nowrap; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.ring-legend b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* Budget meter */
.meter { margin-top: auto; padding-top: 20px; }
.meter-head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.meter-bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: 82%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--orange)); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .js .meter-bar i { transform: scaleX(0); transition: transform 1.4s .3s var(--ease); }
  .js .in .meter-bar i { transform: none; }
}
.alert-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 12px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-ink); font-size: 13.5px; font-weight: 700; }

/* Allowance */
.allow-amt { margin-top: auto; padding-top: 20px; font-size: 40px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.allow-amt small { font-size: 17px; font-weight: 700; color: var(--muted); letter-spacing: -0.01em; }

/* Extras list */
.extras { margin-top: auto; padding-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.extra { background: var(--card); border-radius: var(--radius-sm); padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.extra .ic { width: 26px; height: 26px; color: var(--blue-ink); margin-bottom: 12px; }
.extra b { display: block; font-size: 15.5px; letter-spacing: -0.01em; }
.extra span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }

/* Notification stack */
.notes { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.note { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); font-size: 14.5px; line-height: 1.35; }
.note .tile { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.note b { font-weight: 800; }
.note span { color: var(--muted); }
.note time { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .js .note { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .note:nth-child(2) { transition-delay: .35s; }
  .js .in .note { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell-split { grid-column: span 2; grid-row: auto; }
  .cell-extras, .cell-notify { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; margin-top: 44px; }
  .cell .push, .owe, .ring-wrap, .meter, .allow-amt, .extras, .notes, .split-ui { padding-top: 20px; }
  .cell, .cell-split, .cell-extras, .cell-notify { grid-column: auto; padding: 24px; }
  .extras { grid-template-columns: 1fr; }
  .owe-amt { font-size: 38px; }
}

/* ---------- Privacy ---------- */
.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ic { width: 24px; height: 24px; color: var(--blue-ink); margin-top: 2px; }
.checks b { display: block; letter-spacing: -0.01em; }
.checks span { color: var(--muted); font-size: 16px; }

.viewer { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.viewer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.viewer-top > span { font-weight: 700; color: var(--muted); font-size: 15px; }
.toggle { display: inline-flex; background: var(--card); border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.toggle button { border: 0; background: transparent; cursor: pointer; padding: 8px 16px; min-height: 38px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: background .25s, color .25s; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.spaces { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.space { position: relative; background: var(--card); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); min-height: 250px; overflow: hidden; }
.space-head { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.space-head .tile { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.space-head small { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.tx { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; transition: filter .6s var(--ease), opacity .6s var(--ease); }
.tx li { display: flex; justify-content: space-between; gap: 8px; font-size: 14.5px; padding: 9px 0; border-top: 1px solid var(--line); }
.tx li:first-child { border-top: 0; }
.tx li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.lock { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.lock div { display: grid; justify-items: center; gap: 8px; font-weight: 800; letter-spacing: -0.02em; }
.lock .ic { width: 34px; height: 34px; color: var(--blue-ink); }
.lock span { font-size: 13.5px; font-weight: 600; color: var(--muted); max-width: 22ch; }
.viewer.as-partner .space-personal .tx { filter: blur(7px); opacity: .45; }
.viewer.as-partner .space-personal .lock { opacity: 1; }
.viewer-note { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; min-height: 1.6em; }
@media (max-width: 960px) {
  .privacy-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 520px) {
  .spaces { grid-template-columns: 1fr; }
  .viewer { padding: 18px; }
  .space { min-height: 0; }
}

/* ---------- Screens showcase ---------- */
.showcase { background: var(--surface); overflow: clip; }
.showcase-head { text-align: center; }
.showcase-head .h2 { margin: 0 auto; }
.showcase-head .lede { margin: 20px auto 0; }
.fan { display: flex; justify-content: center; align-items: flex-end; gap: 0; margin-top: 72px; }
.fan figure { margin: 0; display: grid; justify-items: center; gap: 22px; }
.fan figcaption { font-weight: 700; font-size: 15px; color: var(--muted); }
.fan .phone { width: min(270px, 26vw); }
.fan figure:nth-child(1) { transform: translateY(40px) rotate(-6deg); margin-right: -28px; }
.fan figure:nth-child(3) { transform: translateY(40px) rotate(6deg); margin-left: -28px; }
.fan figure:nth-child(2) { position: relative; z-index: 2; }
.fan figure:nth-child(1) figcaption, .fan figure:nth-child(3) figcaption { opacity: 0; }
@media (max-width: 760px) {
  .fan { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding: 0 16px 16px; margin: 48px -16px 0; scrollbar-width: none; }
  .fan::-webkit-scrollbar { display: none; }
  .fan figure, .fan figure:nth-child(1), .fan figure:nth-child(3) { transform: none; margin: 0; scroll-snap-align: center; }
  .fan figure figcaption { opacity: 1 !important; }
  .fan .phone { width: 68vw; max-width: 280px; }
}

/* ---------- Pricing ---------- */
.pricing { text-align: center; }
.pricing .h2 { margin: 0 auto; }
.pricing .lede { margin: 20px auto 0; }
.billing { margin: 40px auto 0; }
.plan { position: relative; max-width: 520px; margin: 28px auto 0; text-align: left; border-radius: 32px; padding: 40px; background: var(--card); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-top h3 { font-size: 22px; letter-spacing: -0.02em; }
.badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-ink); font-weight: 800; font-size: 13px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.price strong { font-size: 64px; font-weight: 800; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-weight: 700; }
.price-note { color: var(--muted); font-size: 15px; margin-top: 8px; min-height: 1.6em; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.plan li .ic { color: var(--blue-ink); margin-top: 3px; }
.plan .store { width: 100%; justify-content: center; }
.plan-fine { margin-top: 16px; font-size: 13.5px; color: var(--muted); text-align: center; }
@media (max-width: 520px) { .plan { padding: 28px 22px; } .price strong { font-size: 52px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-side { position: sticky; top: 112px; }
.faq-side p { color: var(--muted); margin-top: 20px; }
.faq-side a { color: var(--blue-ink); font-weight: 700; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border-radius: 22px; transition: background .25s; }
.faq-list details[open] { background: var(--surface-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { transition: transform .35s var(--ease); color: var(--muted); }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-list .answer { padding: 0 24px 22px; color: var(--muted); font-size: 16px; max-width: 62ch; }
.faq-list .answer p + p { margin-top: 10px; }
.faq-list .answer a { color: var(--blue-ink); font-weight: 700; }
.faq-list .answer strong { color: var(--ink); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 36px; } .faq-side { position: static; } }

/* ---------- Final CTA ---------- */
.final { padding: 0 0 128px; }
.final-panel { position: relative; overflow: hidden; border-radius: 40px; padding: 96px 48px; text-align: center; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #4A78FF 0%, #2457F5 40%, #1E4BE0 72%, #1A3FB8 100%); isolation: isolate; }
.final-panel .mark-deco { position: absolute; z-index: -1; width: 520px; right: -140px; bottom: -180px; opacity: .16; }
@media (max-width: 640px) { .final-panel .mark-deco { width: 300px; right: -100px; bottom: -110px; } }
.final-panel h2 { font-size: clamp(36px, 5.2vw, 68px); letter-spacing: -0.05em; line-height: 1.02; max-width: 15ch; margin: 0 auto; }
.final-panel p { margin: 22px auto 36px; max-width: 42ch; color: rgba(255,255,255,.85); font-size: 19px; }
.final-panel .store { background: #fff; color: #0F1730; }
@media (max-width: 640px) { .final { padding-bottom: 88px; } .final-panel { padding: 64px 22px; border-radius: 28px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 15px; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.footer nav a { text-decoration: none; font-weight: 600; }
.footer nav a:hover { color: var(--ink); }
.footer .brand { color: var(--ink); font-size: 20px; }
.footer .brand svg { width: 28px; height: 28px; }
.footer-legal { margin-top: 28px; font-size: 13.5px; line-height: 1.7; }

/* ---------- Document pages (privacy / terms / support) ---------- */
.doc { padding: 72px 0 112px; }
.doc-wrap { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -0.05em; }
.doc .meta { margin-top: 16px; color: var(--muted); font-weight: 600; }
.notice { margin-top: 32px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--orange-soft); color: var(--ink); font-size: 15.5px; display: flex; gap: 12px; }
.notice .ic { color: var(--orange-ink); margin-top: 3px; }
.toc { margin-top: 36px; padding: 24px 28px; border-radius: var(--radius-sm); background: var(--surface); }
.toc b { display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.prose { margin-top: 48px; }
.prose h2 { font-size: 28px; letter-spacing: -0.03em; margin: 56px 0 16px; line-height: 1.15; }
.prose h3 { font-size: 20px; letter-spacing: -0.02em; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 14px 0; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue-ink); font-weight: 600; }
.table-scroll { overflow-x: auto; margin: 18px 0; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; vertical-align: top; }
.prose th { background: var(--surface); font-weight: 800; color: var(--ink); }
.prose tr + tr td { border-top: 1px solid var(--line); }
.prose td { color: var(--muted); }

.support-cards { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-top: 40px; }
.support-card { border-radius: var(--radius); padding: 28px; background: var(--surface); }
.support-card.mail { background: linear-gradient(160deg, #2457F5, #1A3FB8); color: #fff; }
.support-card.mail p { color: rgba(255,255,255,.85); }
.support-card h2 { font-size: 24px; letter-spacing: -0.03em; }
.support-card p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.support-card.mail .btn { margin-top: 22px; background: #fff; color: #1A45D1; white-space: normal; text-align: center; }
@media (max-width: 700px) { .support-cards { grid-template-columns: 1fr; } }
.faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 26px; letter-spacing: -0.03em; margin-bottom: 18px; }

.notfound { min-height: calc(100dvh - 200px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound h1 { font-size: clamp(44px, 7vw, 80px); letter-spacing: -0.05em; }
.notfound p { color: var(--muted); margin: 16px auto 32px; max-width: 36ch; }
