/* Goose web: the light theme for every page (home, compare, activity,
   family, account, rates, legal). Loaded after app.css, whose shared pieces
   (live badge, tokens, skeleton) it restyles, on <body class="marketing light">. */

body.light {
  --ink: #0B0B0C; --ink-2: #2E2E33; --mute: #6B6B72; --line: #E8E8EC; --line-2: #F0F0F3;
  --paper: #FFFFFF; --paper-2: #F6F6F3; --green: #3BE27E; --green-ink: #067A3A; --green-soft: #E7FBEF;
  --font: "Inter", -apple-system, "SF Pro Text", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --display-2: "Inter Tight", "Inter", -apple-system, system-ui, sans-serif;
  /* app.css tokens that shared components read */
  --bg: var(--paper); --text: var(--ink); --muted: var(--mute); --rule: var(--line); --panel: var(--paper-2); --elevated: #EEEEF1;
  background: var(--paper); color: var(--ink); font: 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.light .num { font-variant-numeric: tabular-nums; }
body.light a { color: inherit; }

/* ── Nav ── */
body.light header.site { background: transparent; }
body.light header.site.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 0 0 100vmax rgba(255,255,255,.82), 0 1px 0 100vmax var(--line); }
body.light .site-nav { height: 76px; }
body.light .site-nav .logo { font-family: var(--display-2); font-weight: 800; font-size: 22px; letter-spacing: -.4px; color: var(--ink); }
body.light .site-nav .links a { color: var(--ink-2); font-weight: 500; font-size: 15px; padding: 10px 14px; }
body.light .site-nav .links a:hover { background: var(--paper-2); color: var(--ink); }
body.light .site-nav .links a[aria-current="page"]:not(.cta) { color: var(--ink); font-weight: 600; }
body.light .site-nav .links a.cta { background: var(--ink); color: #fff; font-family: var(--font); font-weight: 600; padding: 11px 20px; margin-left: 6px; }
body.light .site-nav .links a.cta:hover { background: #26262B; }

/* ── Type ── */
body.light .h2, body.light .section h2 { font-family: var(--display-2); font-weight: 800; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.02; letter-spacing: -1.4px; margin: 0 0 12px; color: var(--ink); }
body.light .sub, body.light .section .sub { color: var(--mute); font-size: 18px; line-height: 1.55; max-width: 640px; margin: 0 0 36px; }
body.light .sub a { color: var(--green-ink); font-weight: 600; text-decoration: none; }
body.light .sub a:hover { text-decoration: underline; }
.sym { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 14px/1 var(--font); flex-shrink: 0; }
.sym.sm { width: 22px; height: 22px; font-size: 12px; margin-right: 8px; vertical-align: -4px; }

/* ── Hero ── */
.hero2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding: 56px 20px 72px; }
.hero-copy .kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-size: 14px; font-weight: 600; }
.hero-copy .kdot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(59,226,126,.25); }
.hero-copy h1 { font-family: var(--display-2); font-weight: 800; font-size: clamp(44px, 6.2vw, 84px); line-height: .98; letter-spacing: -2.6px; margin: 0 0 22px; color: var(--ink); }
.hero-copy h1 em { font-style: normal; color: var(--green-ink); }
.hero-copy .lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 540px; margin: 0 0 10px; }
.hero-copy .ko { font-size: 15px; color: var(--mute); margin: 0 0 26px; }
/* Korean pages: break lines between words, not inside them. */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
/* The Korean page already says it in the lede. */
html[lang="ko"] .hero-copy .ko { display: none; }
html[lang="ko"] .hero-copy .lede { margin-bottom: 26px; }
/* Hangul sets wider and taller than Inter Tight at display sizes. */
html[lang="ko"] .hero-copy h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.12; letter-spacing: -1.6px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ticks li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.ticks svg { width: 20px; height: 20px; flex-shrink: 0; }
.ticks svg circle { fill: var(--green); }
.ticks svg path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Calculator card ── */
.calc { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 24px 64px -12px rgba(16,24,40,.16); display: flex; flex-direction: column; gap: 14px; }
.calc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; background: var(--paper-2); border-radius: 999px; }
.seg button { height: 36px; padding: 0 14px; border-radius: 999px; font: 600 14px var(--font); color: var(--mute); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.fld { display: flex; flex-direction: column; gap: 4px; border: 1.5px solid var(--line); border-radius: 18px; padding: 12px 14px 12px 16px; cursor: text; transition: border-color .2s, box-shadow .2s; }
.fld:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11,11,12,.06); }
.fld .lab { font-size: 13px; font-weight: 500; color: var(--mute); }
.fld-row { display: flex; align-items: center; gap: 10px; }
.fld input, .fld .out-v { flex: 1; min-width: 0; border: 0; outline: none; background: none; padding: 0; color: var(--ink); font: 700 clamp(28px, 3vw, 36px)/1.15 var(--display-2); letter-spacing: -.8px; }
.fld.out { background: var(--paper-2); border-color: transparent; cursor: default; }
.fld .cur { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.fld.out .cur { background: #fff; }
.calc .chips { gap: 6px; flex-wrap: wrap; overflow: visible; }
.calc .chip { height: 34px; padding: 0 13px; font: 600 13.5px var(--font); background: var(--paper-2); color: var(--ink-2); border: 1px solid transparent; }
.calc .chip:hover { background: #EDEDEA; }
.calc .chip.on { background: var(--ink); color: #fff; }
.bd { list-style: none; margin: 0; padding: 2px 4px 2px 16px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.bd li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bd .k { color: var(--mute); }
.bd .v { font-weight: 600; color: var(--ink); text-align: right; }
.arrive { margin: -2px 2px 0; font-size: 14px; color: var(--mute); }
.arrive b { color: var(--ink); font-weight: 600; }
.arrive #live-via { display: block; font-size: 12.5px; margin-top: 2px; }
.calc .rows { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-2); }
.calc .rw { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.calc .rw .n { font-weight: 600; }
.calc .rw .m { color: var(--mute); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.calc .rw .v { margin-left: auto; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc .rw.dim .n, .calc .rw.dim .v { color: var(--mute); }
.btn-black, .btn-green { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 28px; border-radius: 999px; font: 600 17px var(--font); text-decoration: none; white-space: nowrap; transition: transform .2s cubic-bezier(.2,.8,.2,1), background-color .2s, box-shadow .2s; }
.btn-black { background: var(--ink); color: #fff !important; }
.btn-black:hover { background: #26262B; transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.btn-green { background: var(--green); color: var(--ink) !important; }
.btn-green:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(59,226,126,.6); }
.calc .btn-black { width: 100%; }
.calc .btn-black.off { opacity: .35; pointer-events: none; }
.calc .foot { margin: 0; font-size: 12.5px; color: var(--mute); text-align: center; }
body.light .live-badge { background: var(--green-soft); border-color: transparent; color: var(--green-ink); }
body.light .live-badge .lv-ago { color: var(--mute); }
body.light .live-badge.down { background: #FFF6DB; color: #8A6100; }

/* ── Provider strip ── */
.proof { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 26px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-lab { font-size: 14px; color: var(--mute); font-weight: 500; }
.wordmarks { display: flex; flex-wrap: wrap; gap: 14px 38px; flex: 1; justify-content: space-between; }
.wordmarks b { font-family: var(--display-2); font-weight: 800; font-size: 22px; letter-spacing: -.5px; color: #A9A9B0; transition: color .2s; }
.wordmarks b:hover { color: var(--ink); }

/* ── Showcase: black panel with phones ── */
.showcase { padding-top: 88px; padding-bottom: 20px; }
.panel-black { position: relative; overflow: hidden; background: #0B0B0C; color: #fff; border-radius: 36px; padding: 64px 56px 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: end; min-height: 560px; }
.panel-black::before { content: ""; position: absolute; width: 620px; height: 620px; right: -120px; top: -160px; background: radial-gradient(closest-side, rgba(59,226,126,.28), transparent 70%); pointer-events: none; }
.sc-copy { align-self: center; padding-bottom: 64px; position: relative; }
.sc-copy h2 { font-family: var(--display-2); font-weight: 800; font-size: clamp(36px, 4.4vw, 58px); line-height: 1; letter-spacing: -1.6px; margin: 0 0 18px; }
.sc-copy p { color: #B4B4BC; font-size: 18px; line-height: 1.55; margin: 0 0 30px; max-width: 420px; }
.phones { position: relative; display: flex; justify-content: center; gap: 22px; height: 520px; }
.phone { position: relative; width: 250px; height: 540px; border-radius: 44px; border: 9px solid #1C1C1F; box-shadow: 0 0 0 1px #34343A, 0 40px 80px -20px rgba(0,0,0,.8); overflow: hidden; font-family: var(--font); flex-shrink: 0; }
.ph-routes { transform: translateY(56px); }
.ph-island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 78px; height: 22px; border-radius: 12px; background: #000; }
.ph-pad { background: var(--green); color: #0A0A0A; padding: 58px 14px 0; display: flex; flex-direction: column; }
.ph-amt { font-family: "Rubik", var(--display-2); font-weight: 800; font-size: 50px; text-align: center; letter-spacing: -1px; }
.ph-amt span { font-size: 30px; vertical-align: 14px; margin-right: 2px; }
.ph-xc { margin-top: 12px; background: rgba(0,0,0,.13); border-radius: 14px; padding: 9px 11px; display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 600; }
.ph-xc div { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; white-space: nowrap; }
.ph-xc span { opacity: .65; }
.ph-xc b { font-family: "Rubik", var(--display-2); font-weight: 800; font-size: 13px; }
.ph-keys { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.ph-keys i { font-style: normal; font-family: "Rubik", var(--display-2); font-weight: 800; font-size: 21px; text-align: center; padding: 8px 0; }
.ph-btn { margin-top: 8px; height: 40px; border-radius: 999px; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.ph-routes { background: #0C0C0C; color: #fff; padding: 52px 12px 0; display: flex; flex-direction: column; gap: 8px; }
.ph-title { font-weight: 700; font-size: 15px; text-align: center; margin-bottom: 4px; }
#ph-routes { display: flex; flex-direction: column; gap: 7px; }
.ph-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; border-radius: 13px; background: #222; font-size: 12.5px; font-weight: 700; }
.ph-row b { font-family: "Rubik", var(--display-2); font-weight: 800; font-size: 15px; }
.ph-row.best { background: var(--green); color: #0A0A0A; padding: 15px 12px; }
.ph-row.best b { font-size: 18px; }
.ph-row.dim { color: #8F8F8F; }
.ph-btn.go { background: var(--green); color: #0A0A0A; margin-top: 6px; }

/* ── How it works ── */
.how { padding-top: 88px; padding-bottom: 24px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.st { padding: 28px; border-radius: 24px; background: var(--paper-2); }
.st .n { display: inline-block; font-family: var(--display-2); font-weight: 800; font-size: 15px; color: var(--green-ink); background: var(--green-soft); padding: 5px 10px; border-radius: 999px; }
.st h3 { font-family: var(--display-2); font-weight: 700; font-size: 22px; letter-spacing: -.4px; margin: 18px 0 8px; }
.st p { margin: 0; color: var(--mute); font-size: 15.5px; line-height: 1.55; }

/* ── Rates tables (home + /rates) ── */
body.light #rates, body.light .section { padding-top: 88px; padding-bottom: 24px; border-top: 0; }
body.light .tblwrap { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px 10px 8px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
body.light .tblwrap .cap .t { font-family: var(--display-2); font-weight: 700; font-size: 18px; letter-spacing: -.3px; display: inline-flex; align-items: center; }
body.light .tblwrap .cap .a { color: var(--mute); }
body.light .table th { color: var(--mute); font-weight: 600; letter-spacing: .6px; }
body.light .table td { border-top: 1px solid var(--line-2); color: var(--ink); font-size: 14.5px; }
body.light .table td.n { font-family: var(--font); font-weight: 600; font-size: 15px; }
body.light .table td.v { font-family: var(--display-2); font-weight: 700; font-size: 16.5px; }
body.light .table td .sm { color: var(--mute); font-family: var(--font); font-weight: 500; }
body.light .table tr.dim td { color: var(--mute); }
body.light .table tr.link:hover td { background: var(--paper-2); }
body.light .table td[style*="var(--go)"] { color: var(--green-ink) !important; }
body.light .note { color: var(--mute); font-size: 13.5px; }
body.light .err { color: #C0362C; }

/* ── Safety ── */
.safe { padding-top: 88px; padding-bottom: 24px; }
.safe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.safe .card { border: 1px solid var(--line); border-radius: 24px; padding: 26px 24px; background: #fff; }
.safe .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.safe .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--green-ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.safe h3 { font-family: var(--display-2); font-weight: 700; font-size: 19px; letter-spacing: -.3px; margin: 0 0 8px; }
.safe p { margin: 0; color: var(--mute); font-size: 15px; line-height: 1.55; }
.safe p b { color: var(--ink); }

/* ── FAQ ── */
body.light .faq { padding-top: 88px; padding-bottom: 24px; }
body.light .faq details { max-width: 880px; }
body.light .faq details { border-top: 1px solid var(--line); }
body.light .faq details:last-child { border-bottom: 1px solid var(--line); }
body.light .faq summary { font-family: var(--font); font-weight: 600; font-size: 18px; padding: 22px 0; }
body.light .faq summary::after { color: var(--mute); font-family: var(--font); font-weight: 400; }
body.light .faq p { color: var(--ink-2); font-size: 16px; }
body.light .faq a { color: var(--green-ink); }

/* ── Closing CTA ── */
.cta2 { padding-top: 88px; padding-bottom: 88px; }
.panel-green { background: var(--green); border-radius: 36px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.panel-green h2 { font-family: var(--display-2); font-weight: 800; font-size: clamp(30px, 3.8vw, 48px); letter-spacing: -1.2px; line-height: 1.02; margin: 0; max-width: 620px; color: var(--ink); }

/* ── Footer ── */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 48px 0 56px; }
.site-footer .ft-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.site-footer .logo { display: flex; align-items: center; gap: 10px; font-family: var(--display-2); font-weight: 800; font-size: 20px; text-decoration: none; }
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer .links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-footer .links a:hover { color: var(--ink); }
.site-footer .fine { color: var(--mute); font-size: 13px; line-height: 1.6; max-width: 860px; margin: 0 0 10px; }
/* Legacy footer markup on the other light pages */
body.light footer.site.footer { color: var(--mute); border-top: 1px solid var(--line); }
body.light footer.site.footer .fine b { color: var(--ink); }
body.light footer.site.footer a { color: var(--mute); }
body.light footer.site.footer a:hover { color: var(--ink); }

/* ── Legal pages and 404 ── */
body.light .prose h1 { font-family: var(--display-2); letter-spacing: -1.2px; color: var(--ink); }
body.light .prose h2 { font-family: var(--display-2); color: var(--ink); }
body.light .prose p, body.light .prose li { color: var(--ink-2); font-size: 16px; }
body.light .prose a { color: var(--green-ink); }
body.light .empty h1 { font-family: var(--display-2); color: var(--ink); }
body.light .btn.go { background: var(--ink); color: #fff; font-family: var(--font); font-weight: 600; }
body.light .btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); font-family: var(--font); font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero2 { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 28px; }
  .safe-grid { grid-template-columns: 1fr 1fr; }
  .panel-black { grid-template-columns: minmax(0, 1fr); padding: 44px 28px 0; }
  .sc-copy { padding-bottom: 8px; }
  .phones { height: 430px; }
  .phone { width: 220px; height: 470px; }
}
@media (max-width: 700px) {
  body.light .site-nav .links a:not(.cta) { display: none; }
  .steps3, .safe-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { letter-spacing: -1.6px; }
  .calc { padding: 16px; border-radius: 24px; }
  .panel-black { border-radius: 28px; padding: 36px 20px 0; min-height: 0; }
  .phones { zoom: .62; height: 520px; }
  .phone { width: 250px; height: 540px; border-width: 9px; border-radius: 44px; }
  .panel-green { padding: 36px 26px; border-radius: 28px; }
  .proof { gap: 14px; flex-direction: column; align-items: flex-start; }
  .wordmarks { gap: 10px 22px; justify-content: flex-start; }
  .wordmarks b { font-size: 18px; }
  .showcase, .how, .safe, body.light #rates, body.light .section, body.light .faq, .cta2 { padding-top: 64px; }
  #rates .table th:nth-child(2), #rates .table td:nth-child(2) { display: none; }
  body.light .table td, body.light .table th { padding-left: 8px; padding-right: 8px; }
}

/* ── Family schedules ── */
.family { padding-top: 88px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.family .kicker { display: inline-flex; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-size: 14px; font-weight: 600; }
.fam-points { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 12px; }
.fam-points li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.fam-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14.2 7' fill='none' stroke='%23067A3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.fam-points b { color: var(--ink); font-weight: 600; }
.fam-demo { position: relative; background: var(--paper-2); border-radius: 32px; padding: 48px 40px; display: flex; flex-direction: column; gap: 14px; }
.fd-card { background: #fff; border-radius: 22px; padding: 20px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(11,11,12,.35); display: flex; flex-direction: column; gap: 14px; }
.fd-small { margin-left: 28px; opacity: .8; }
.fd-top { display: flex; align-items: center; gap: 12px; }
.fd-top > div { display: flex; flex-direction: column; min-width: 0; }
.fd-top b { font-family: var(--display-2); font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.fd-top span:not(.fd-av) { color: var(--mute); font-size: 14px; }
.fd-top em { margin-left: auto; align-self: flex-start; font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--green); color: var(--ink); white-space: nowrap; }
.fd-top em.soft { background: var(--line-2); color: var(--ink-2); }
.fd-av { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 18px; flex-shrink: 0; }
.fd-saved { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--green-soft); color: var(--green-ink); font-size: 14px; font-weight: 600; }
.fd-saved b { font-size: 18px; font-variant-numeric: tabular-nums; }
.fd-btn { height: 50px; border-radius: 999px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.fd-note { align-self: flex-end; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px -18px rgba(11,11,12,.4); }
.fd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
@media (max-width: 980px) { .family { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 700px) {
  .family { padding-top: 64px; }
  .fam-demo { padding: 28px 16px; border-radius: 24px; }
  .fd-small { margin-left: 12px; }
  .fd-top b { font-size: 18px; }
  .fd-top span:not(.fd-av) { font-size: 13px; }
  .family .btn-black { width: 100%; }
}

/* ━━ Compare rates (/send) ━━ */
body.compare main.cmp { padding-top: 8px; padding-bottom: 72px; }
.cmp-head { max-width: 760px; margin: 18px 0 26px; }
.cmp-title { font-family: var(--display-2); font-weight: 800; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.04; letter-spacing: -1.4px; margin: 0 0 8px; }
.cmp-sub { margin: 0; color: var(--mute); font-size: 17px; }
.cmp-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 28px; align-items: start; }
.cmp-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 12px; }
.cmp-calc { gap: 12px; position: relative; }
.cmp-calc .fld input { font-size: clamp(30px, 3.2vw, 38px); }
.cmp-calc .fld.out .out-v { font-size: clamp(26px, 2.8vw, 32px); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-calc .cur .flag { font-size: 18px; line-height: 1; }
.cmp-calc .cur { padding: 6px 12px 6px 8px; }
#gets-via { color: var(--green-ink); font-weight: 600; }
.swap2 { align-self: center; width: 42px; height: 42px; margin: -24px 0; z-index: 2; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px -6px rgba(16,24,40,.3); display: flex; align-items: center; justify-content: center; transition: transform .2s, box-shadow .2s; }
.swap2 svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.swap2:hover { box-shadow: 0 6px 18px -6px rgba(16,24,40,.4); transform: scale(1.05); }
.swap2.spin svg { animation: swap-spin .45s cubic-bezier(.2,.8,.2,1); }
@keyframes swap-spin { from { transform: rotate(-180deg); } to { transform: none; } }
.pay { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pay .lab { font-size: 13px; font-weight: 500; color: var(--mute); }
.pay .seg button { height: 32px; padding: 0 12px; font-size: 13.5px; }
.midline2 { margin: 0; font-size: 12.5px; color: var(--mute); }
.midline2:empty { display: none; }
.save-card { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; background: var(--green-soft); color: var(--green-ink); font-size: 14.5px; line-height: 1.45; animation: rise .45s cubic-bezier(.2,.8,.2,1); }
.save-card b { font-weight: 700; }
.save-card .ic { width: 30px; height: 30px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.save-card .ic svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.res-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 4px 2px 14px; flex-wrap: wrap; }
.res-head h2 { font-family: var(--display-2); font-weight: 800; font-size: 24px; letter-spacing: -.5px; margin: 0 0 2px; }
.res-head p { margin: 0; font-size: 14px; color: var(--mute); }
.routes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; transition: opacity .25s; }
.routes.updating { opacity: .62; }
.route { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.route:hover { border-color: #D6D6DC; }
.route.best { border-color: var(--ink); box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 18px 40px -22px rgba(16,24,40,.35); }
.route.open:not(.best) { box-shadow: 0 12px 30px -20px rgba(16,24,40,.3); }
.rt-main { position: relative; width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 20px; align-items: center; gap: 14px; padding: 16px 18px 20px; text-align: left; background: none; cursor: pointer; }
.rt-logo { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font: 800 19px var(--display-2); background: var(--line-2); }
.rt-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rt-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rt-n { font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
.rt-badges { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.bdg { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.bdg.best { background: var(--green); color: var(--ink); }
.bdg.fast { background: #E8F0FF; color: #1D4ED8; }
.bdg.est { background: var(--line-2); color: var(--mute); }
.bdg.pay { background: #FFF4E5; color: #9A5B00; }
.rt-meta { font-size: 13.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-amt { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.rt-v { font: 700 21px/1.15 var(--display-2); letter-spacing: -.4px; white-space: nowrap; }
.route.best .rt-v { font-size: 24px; }
.rt-d { font-size: 12.5px; color: var(--mute); white-space: nowrap; }
.rt-d.up { color: var(--green-ink); }
.rt-chev svg { width: 20px; height: 20px; fill: none; stroke: var(--mute); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.route.open .rt-chev svg { transform: rotate(180deg); }
.rt-bar { position: absolute; left: 18px; right: 18px; bottom: 9px; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.rt-bar i { display: block; height: 100%; border-radius: 4px; background: #C9C9D1; transition: width .7s cubic-bezier(.2,.8,.2,1); }
.route.best .rt-bar i { background: var(--green); }
.route.ref .rt-n, .route.ref .rt-v { color: var(--ink-2); }
.route.ref .rt-bar i { background: repeating-linear-gradient(90deg, #C9C9D1 0 6px, transparent 6px 9px); }
.rt-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.2,.8,.2,1); }
.route.open .rt-detail { grid-template-rows: 1fr; }
.rt-inner { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 0 18px; }
.route.open .rt-inner { padding-bottom: 18px; }
.rt-inner .bd { margin: 4px 0 2px; }
.rt-go { width: 100%; gap: 10px; }
.rt-go .arr { transition: transform .2s; }
.rt-go:hover .arr { transform: translateX(3px); }
.rt-note { margin: 0; font-size: 13px; color: var(--mute); line-height: 1.5; }
.rt-note.err { color: #B42318; }
.route-sep { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 4px 2px; font-size: 13px; color: var(--mute); }
.route-sep b { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-2); }
.route.skel .rt-main { cursor: default; grid-template-columns: 44px minmax(0, 1fr) 120px; }
.route.skel .rt-who, .route.skel .rt-amt { gap: 8px; }
.sk { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--line-2) 25%, #E4E4E9 50%, var(--line-2) 75%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.route.skel .rt-logo { background: var(--line-2); }
.sk.w40 { width: 40%; height: 14px; } .sk.w70 { width: 70%; } .sk.w90 { width: 100%; height: 18px; } .sk.w50 { width: 60%; align-self: flex-end; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.cmp-empty { border: 1px dashed var(--line); border-radius: 22px; padding: 28px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cmp-empty p { margin: 0 0 8px; color: var(--mute); }
.limits { margin-top: 14px; border-radius: 20px; background: #FFF8E6; padding: 16px 18px; font-size: 14px; }
.limits ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.limits li { display: flex; justify-content: space-between; gap: 10px; }
.limits p { margin: 10px 0 0; color: #8A6100; }

.cmp-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.cmp-why .card { border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.cmp-why .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.cmp-why .ic svg { width: 20px; height: 20px; fill: none; stroke: var(--green-ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cmp-why h3 { font-family: var(--display-2); font-size: 18px; margin: 0 0 6px; letter-spacing: -.3px; }
.cmp-why p { margin: 0; color: var(--mute); font-size: 14.5px; }

body.compare .sched-banner { background: var(--green-soft); color: var(--green-ink); margin: 0 0 14px; display: inline-flex; padding: 6px 8px 6px 6px; border-radius: 999px; }
body.compare .sched-banner.hidden { display: none; }
body.compare .sched-banner .ic { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
body.compare .sched-banner button { margin-left: 4px; background: rgba(6,122,58,.1); color: var(--green-ink); }

/* Handoff dialog */
dialog.modal { border: 0; padding: 0; background: transparent; max-width: min(460px, calc(100vw - 24px)); width: 100%; color: var(--ink); overflow: visible; }
dialog.modal::backdrop { background: rgba(11,11,12,.42); backdrop-filter: blur(3px); }
dialog.modal[open] { animation: pop .32s cubic-bezier(.2,.8,.2,1); }
dialog.modal[open]::backdrop { animation: fade .25s ease; }
dialog.modal.closing { animation: pop-out .2s ease forwards; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pop-out { to { opacity: 0; transform: translateY(8px) scale(.985); } }
@keyframes fade { from { opacity: 0; } }
.ho-card { background: #fff; border-radius: 28px; padding: 22px; box-shadow: 0 30px 80px -20px rgba(11,11,12,.45); max-height: calc(100dvh - 32px); overflow-y: auto; }
.ho-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ho-top h2 { font-family: var(--display-2); font-size: 22px; letter-spacing: -.4px; margin: 0; }
.ho-x { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; }
.ho-x svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.ho-body { display: flex; flex-direction: column; gap: 12px; }
.ho-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 18px; border-radius: 20px; background: var(--green-soft); color: var(--green-ink); font-size: 13.5px; font-weight: 600; }
.ho-hero b { font: 800 32px/1.1 var(--display-2); letter-spacing: -.8px; color: var(--ink); }
.ho-lead { margin: 0; color: var(--ink-2); font-size: 15px; }
.ho-steps { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ho-steps li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; position: relative; }
.ho-steps li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 24px; bottom: -12px; width: 2px; background: var(--line); }
.ho-steps .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: #fff; z-index: 1; }
.ho-steps .done .dot { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.2 3 3 6-6.4' fill='none' stroke='%230B0B0C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; border-color: var(--green); }
.ho-steps .cur .dot { border-color: var(--green); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 11px var(--green); }
.ho-steps b { display: block; font-size: 15px; }
.ho-steps span:not(.dot) { font-size: 13.5px; color: var(--mute); }
.ho-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: 14.5px; }
.ho-note { margin: 0; font-size: 13.5px; color: var(--mute); }
.ho-note.ok { color: var(--green-ink); font-weight: 600; }
.ho-note.err { color: #B42318; }
.ho-body .btn-black { width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; height: 52px; border-radius: 999px; background: var(--paper-2); color: var(--ink); font: 600 16px var(--font); text-decoration: none; width: 100%; transition: background-color .2s; }
.btn-ghost:hover { background: #EDEDEA; }

@media (max-width: 980px) {
  .cmp-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cmp-side { position: static; }
  .cmp-why { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
}
@media (max-width: 700px) {
  body.compare .site-nav .links a.m { display: inline-flex; }
  .cmp-head { margin: 8px 0 16px; }
  .cmp-sub { font-size: 15px; }
  .cmp-calc { padding: 16px; border-radius: 24px; }
  .rt-main { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 11px; padding: 14px 14px 18px; }
  .rt-chev { display: none; }
  .rt-logo { width: 38px; height: 38px; border-radius: 12px; font-size: 16px; }
  .rt-n { font-size: 16px; }
  .rt-v { font-size: 18px; } .route.best .rt-v { font-size: 20px; }
  .rt-meta { white-space: normal; font-size: 12.5px; }
  .rt-bar { left: 14px; right: 14px; bottom: 8px; }
  .rt-inner { padding: 0 14px; } .route.open .rt-inner { padding-bottom: 14px; }
  .res-head h2 { font-size: 21px; }
  dialog.modal { margin: auto auto 0; max-width: 100vw; }
  .ho-card { border-radius: 26px 26px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); }
  dialog.modal[open] { animation: sheet-up .36s cubic-bezier(.2,.8,.2,1); }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .rt-detail, .rt-bar i, .routes, .swap2 { transition: none; }
  .sk { animation: none; }
  dialog.modal[open], dialog.modal[open]::backdrop, .save-card { animation: none; }
}
.cmp-calc .chips { flex-wrap: nowrap; gap: 6px; }
.cmp-calc .chip { flex: 1 1 0; min-width: 0; padding: 0 6px; justify-content: center; }
@media (max-width: 700px) {
  .save-card { padding: 12px 14px; font-size: 13.5px; border-radius: 18px; }
  .pay .seg button { padding: 0 10px; font-size: 13px; }
}
@media (max-width: 700px) {
  .route:not(.skel) .rt-main { grid-template-columns: 38px minmax(0, 1fr) auto; grid-template-areas: "logo name val" "logo meta delta" "logo badges badges"; row-gap: 2px; align-items: start; }
  .route:not(.skel) .rt-who, .route:not(.skel) .rt-line, .route:not(.skel) .rt-amt { display: contents; }
  .route:not(.skel) .rt-logo { grid-area: logo; align-self: center; }
  .route:not(.skel) .rt-n { grid-area: name; align-self: center; }
  .route:not(.skel) .rt-badges { grid-area: badges; margin-top: 6px; }
  .route:not(.skel) .rt-badges:empty { display: none; }
  .route:not(.skel) .rt-meta { grid-area: meta; }
  .route:not(.skel) .rt-v { grid-area: val; justify-self: end; align-self: center; }
  .route:not(.skel) .rt-d { grid-area: delta; justify-self: end; }
  .bdg { font-size: 11px; padding: 2px 8px; }
}
#gets { transition: opacity .2s; } #gets.pending { opacity: .45; }
.ho-x:focus:not(:focus-visible) { outline: none; }

/* ━━ Activity ━━ */
body.activity main.act { padding-top: 8px; padding-bottom: 72px; max-width: 960px; }
.act-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 18px 0 24px; }
.act-head .cmp-title { margin-bottom: 6px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat { border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 4px; background: #fff; min-width: 0; animation: rise .45s cubic-bezier(.2,.8,.2,1) backwards; }
.stat:nth-child(2) { animation-delay: .05s; } .stat:nth-child(3) { animation-delay: .1s; } .stat:nth-child(4) { animation-delay: .15s; }
.stat .lab { font-size: 13px; font-weight: 500; color: var(--mute); }
.stat b { font: 800 26px/1.15 var(--display-2); letter-spacing: -.6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .note2 { font-size: 12.5px; color: var(--mute); }
.stat.green { background: var(--green-soft); border-color: transparent; }
.stat.green b, .stat.green .lab { color: var(--green-ink); }
.stat.amber { background: #FFF8E6; border-color: transparent; }
.stat.amber b { color: #8A6100; }
.stat.skel { gap: 10px; min-height: 104px; justify-content: center; animation: none; }
.fam-strip { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: var(--paper-2); text-decoration: none; margin-bottom: 28px; animation: rise .45s .2s cubic-bezier(.2,.8,.2,1) backwards; }
.fam-strip .tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.fam-strip .tx b { font-size: 16px; }
.fam-strip .tx > span { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--mute); flex-wrap: wrap; }
.fam-strip .tx a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.fam-strip .tx a:hover { text-decoration: underline; }
.fam-strip .due { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--ink-2); }
.fam-strip .due.go { background: var(--green); color: var(--ink); } .fam-strip .due.warn { background: #FFE9A8; color: #7A5200; }
.fam-strip .ic { width: 42px; height: 42px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fam-strip .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fam-strip.empty { transition: background-color .2s; } .fam-strip.empty:hover { background: #EFEFEB; }
.fam-strip .go { font-size: 20px; color: var(--mute); transition: transform .2s; } .fam-strip.empty:hover .go { transform: translateX(3px); }
.btn-black.sm { height: 44px; padding: 0 20px; font-size: 15px; flex-shrink: 0; }
.act-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.act-bar h2 { font-family: var(--display-2); font-weight: 800; font-size: 24px; letter-spacing: -.5px; margin: 0; }
.act-bar .seg button { height: 34px; font-size: 14px; }
.act-month { margin: 22px 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--mute); }
.act-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; }
.act-list li + li { border-top: 1px solid var(--line-2); }
.act-row { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "logo who amt" "logo trk trk"; align-items: center; column-gap: 14px; padding: 14px 18px; text-align: left; background: none; cursor: pointer; transition: background-color .2s; }
.act-row:hover { background: #FAFAF8; }
.act-row .rt-logo { grid-area: logo; }
.act-row .rt-who { grid-area: who; }
.act-row .rt-amt { grid-area: amt; gap: 5px; }
.act-row .rt-v { font-size: 18px; }
.act-row .rt-meta { white-space: normal; }
.act-row.bump-up { animation: row-flash 1.4s ease; }
@keyframes row-flash { 0%, 30% { background: var(--green-soft); } 100% { background: transparent; } }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: var(--green-soft); color: var(--green-ink); }
.pill.fair { background: #FFF4D6; color: #8A6100; }
.pill.bad { background: #FEE4E2; color: #B42318; }
.pill.moving { background: #E8F0FF; color: #1D4ED8; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.trk { grid-area: trk; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.trk span { height: 4px; border-radius: 4px; background: var(--line-2); position: relative; overflow: hidden; }
.trk span.done { background: var(--green); }
.trk span.cur { background: #DCE7FF; }
.trk span.cur::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: 4px; background: #3B82F6; animation: trk-move 1.8s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes trk-move { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.act-none { color: var(--mute); margin: 18px 4px; }
.act-empty { border: 1px dashed var(--line); border-radius: 26px; padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: rise .45s cubic-bezier(.2,.8,.2,1); }
.act-empty h2 { font-family: var(--display-2); font-size: 24px; letter-spacing: -.5px; margin: 6px 0 0; }
.act-empty p { max-width: 480px; margin: 0 0 12px; color: var(--mute); }
.act-empty .row2 { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.act-empty .row2 > * { width: auto; padding: 0 26px; }
.act-empty .big-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; }
.act-empty .big-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--green-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#dt-title { display: flex; align-items: center; gap: 12px; }
#dt-title .rt-logo { width: 36px; height: 36px; border-radius: 11px; font-size: 16px; }
.ho-hero.wait { background: #EEF4FF; color: #1D4ED8; }
.bd .v.pos { color: var(--green-ink); } .bd .v.neg { color: #B42318; }
.confirm-box { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: var(--paper-2); }
.confirm-box > b { font-size: 16px; }
.confirm-box > p { margin: 0; color: var(--mute); font-size: 14px; }
.confirm-box .fld { background: #fff; }
.confirm-box .fld input { font-size: 24px; }
.confirm-box .btn-ghost { background: #fff; border: 1px solid var(--line); }
.hidden { display: none !important; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  body.activity .site-nav .links a.m { display: inline-flex; }
  .act-head { margin: 8px 0 16px; }
  .stat { padding: 14px; border-radius: 18px; }
  .stat b { font-size: 21px; }
  .act-row { grid-template-columns: 38px minmax(0, 1fr) auto; column-gap: 11px; padding: 13px 14px; }
  .act-row .rt-logo { width: 38px; height: 38px; border-radius: 12px; font-size: 16px; }
  .act-row .rt-v { font-size: 16px; }
  .act-row .rt-n { font-size: 15.5px; }
  .fam-strip { flex-wrap: wrap; }
  .fam-strip .btn-black.sm { width: 100%; }
  .fam-strip.empty { flex-wrap: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .stat, .fam-strip, .act-empty { animation: none; }
  .pulse, .trk span.cur::after { animation: none; }
}
dialog.modal:focus, dialog.modal:focus-visible { outline: none; }
@media (max-width: 700px) {
  body.compare .site-nav .links a.m, body.activity .site-nav .links a.m { padding: 10px 10px; }
  body.compare .site-nav .links a.cta, body.activity .site-nav .links a.cta { padding: 11px 16px; margin-left: 2px; }
}

/* ━━ Family ━━ */
body.family-pg main.act { max-width: 960px; }
.fam-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fam-card2 { border: 1px solid var(--line); border-radius: 26px; padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .25s, border-color .25s; }
.fam-card2:hover { border-color: #D6D6DC; box-shadow: 0 16px 36px -24px rgba(16,24,40,.35); }
.fam-card2.paused { opacity: .62; }
.fam-card2.skel { min-height: 220px; justify-content: center; gap: 12px; }
.fc-top { display: flex; align-items: center; gap: 12px; }
.fc-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.fc-who b { font: 800 21px/1.2 var(--display-2); letter-spacing: -.4px; overflow-wrap: anywhere; }
.fc-who span { color: var(--mute); font-size: 14px; }
.fc-top .due { align-self: flex-start; font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.fc-top .due.go { background: var(--green); color: var(--ink); }
.fc-top .due.warn { background: #FFE9A8; color: #7A5200; }
.fc-top .due.off { background: var(--line-2); color: var(--mute); }
.fc-facts { margin: 0; color: var(--mute); font-size: 13.5px; }
.fc-saved { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--green-soft); color: var(--green-ink); font-size: 14px; font-weight: 600; }
.fc-saved b { font: 800 18px var(--display-2); }
.fc-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; }
.fc-actions .btn-black { grid-column: 1 / -1; height: 50px; font-size: 16px; }
.fc-actions .btn-ghost { height: 44px; font-size: 14.5px; gap: 8px; padding: 0 18px; }
.btn-ghost .ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; display: block; }
.btn-ghost.danger { color: #B42318; }
.fam-empty2 .demo { width: min(380px, 100%); text-align: left; margin-bottom: 10px; }
.fam-empty2 .fd-top b { font-size: 18px; }
.fam-how { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fam-how li { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 22px; background: var(--paper-2); }
.fam-how .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.fam-how b { font-size: 16px; }
.fam-how span:not(.n) { color: var(--mute); font-size: 14px; }
.fam-form2 { gap: 14px; }
.fam-form2 .fld input { font-size: 22px; }
.fam-form2 .frow { display: flex; flex-direction: column; gap: 6px; }
.fam-form2 .lab { font-size: 13px; font-weight: 500; color: var(--mute); }
.fam-form2 .seg { align-self: flex-start; flex-wrap: wrap; }
.fam-form2 .seg button { height: 36px; font-size: 14px; }
.fam-form2 .cur .flag { font-size: 17px; }
.fam-form2 .fam-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sel { display: flex; flex-direction: column; gap: 6px; }
.sel select { height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%236B6B72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/18px no-repeat; padding: 0 38px 0 14px; font: 600 15px var(--font); color: var(--ink); appearance: none; color-scheme: light; transition: border-color .2s; }
.sel select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11,11,12,.06); }
.switch { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; align-self: flex-start; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 46px; height: 28px; border-radius: 999px; background: #D6D6DC; position: relative; transition: background-color .2s; }
.switch .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ━━ Account ━━ */
body.account main.acct { padding-top: 8px; padding-bottom: 72px; max-width: 720px; min-height: 60vh; }
.acct-loading { display: flex; flex-direction: column; gap: 12px; padding: 60px 0; }
.acct-loading.hidden { display: none; }
.acct-signin { display: flex; justify-content: center; padding: 28px 0 8px; }
.si-card { width: min(440px, 100%); border: 1px solid var(--line); border-radius: 28px; padding: 32px 28px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 24px 64px -18px rgba(16,24,40,.16); display: flex; flex-direction: column; gap: 14px; animation: rise .45s cubic-bezier(.2,.8,.2,1); }
.si-card .big-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; }
.si-card .big-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--green-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.si-card h1 { font: 800 30px/1.1 var(--display-2); letter-spacing: -.8px; margin: 4px 0 0; }
.si-sub { margin: -6px 0 4px; color: var(--mute); }
.si-card form { display: flex; flex-direction: column; gap: 12px; }
.si-card form.hidden { display: none; }
.si-card .fld input { font-size: 18px; font-weight: 600; letter-spacing: 0; font-family: var(--font); }
.si-card .btn-black { width: 100%; }
.si-sent { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border-radius: 20px; background: var(--green-soft); animation: rise .4s cubic-bezier(.2,.8,.2,1); }
.si-sent b { font-size: 17px; color: var(--green-ink); }
.si-sent p { margin: 0 0 8px; color: var(--ink-2); font-size: 14.5px; }
.si-sent .btn-ghost { background: #fff; height: 44px; font-size: 15px; }
.ok-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.ok-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s .15s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.si-why { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.si-why li { padding-left: 26px; position: relative; }
.si-why li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14.2 7' fill='none' stroke='%23067A3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.acct-in { animation: rise .45s cubic-bezier(.2,.8,.2,1); }
.acct-head { display: flex; align-items: center; gap: 18px; margin: 22px 0 22px; }
.acct-head .cmp-title { margin: 0; }
.acct-head .cmp-sub { margin: 2px 0 0; overflow-wrap: anywhere; }
.acct-av { width: 72px; height: 72px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; font: 800 30px var(--display-2); flex-shrink: 0; }
.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.acct-stats:empty { display: none; }
.acct-stats .tile { border: 1px solid var(--line); border-radius: 20px; padding: 16px; text-decoration: none; display: flex; flex-direction: column; gap: 2px; transition: border-color .2s, transform .2s; }
.acct-stats .tile:hover { border-color: #D6D6DC; transform: translateY(-1px); }
.acct-stats .tile b { font: 800 26px/1.1 var(--display-2); letter-spacing: -.5px; }
.acct-stats .tile span { color: var(--mute); font-size: 13.5px; }
.acct-links { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-bottom: 22px; }
.acct-links > * { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; transition: background-color .2s; }
.acct-links > * + * { border-top: 1px solid var(--line-2); }
.acct-links a:hover { background: #FAFAF8; }
.acct-links .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acct-links .ic svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acct-links .tx { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.acct-links .tx b { font-size: 16px; }
.acct-links .tx span { color: var(--mute); font-size: 13.5px; }
.acct-links .chev { font-size: 24px; color: var(--mute); transition: transform .2s; }
.acct-links a:hover .chev { transform: translateX(3px); }
.acct-info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.acct-info details { border-radius: 20px; background: var(--paper-2); padding: 0 18px; }
.acct-info summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.acct-info summary::-webkit-details-marker { display: none; }
.acct-info summary::after { content: "+"; font-size: 20px; color: var(--mute); transition: transform .25s; }
.acct-info details[open] summary::after { transform: rotate(45deg); }
.acct-info p { margin: 0 0 16px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.acct-info a { color: var(--green-ink); font-weight: 600; }
.signout { max-width: 220px; }
@media (max-width: 860px) { .fam-grid { grid-template-columns: minmax(0, 1fr); } .fam-how { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  body.family-pg .site-nav .links a.m, body.account .site-nav .links a.m { display: inline-flex; padding: 10px 10px; }
  body.family-pg .site-nav .links a.cta, body.account .site-nav .links a.cta { padding: 11px 16px; margin-left: 2px; }
  .fam-card2 { padding: 16px; border-radius: 22px; }
  .si-card { padding: 24px 20px; border-radius: 24px; }
  .acct-head { gap: 14px; margin: 10px 0 18px; } .acct-av { width: 56px; height: 56px; font-size: 24px; }
  .acct-stats { gap: 8px; } .acct-stats .tile { padding: 12px; border-radius: 16px; } .acct-stats .tile b { font-size: 22px; }
  .signout { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .si-card, .si-sent, .acct-in { animation: none; } .ok-ic svg { animation: none; stroke-dashoffset: 0; } }
.act-head > div:first-child { max-width: 640px; }

/* Account: delete */
.acct-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.link-danger { background: none; border: 0; padding: 10px 4px; color: #B42318; font: 600 15px var(--font); cursor: pointer; }
.link-danger:hover { text-decoration: underline; }
.btn-danger { display: inline-flex; align-items: center; justify-content: center; height: 52px; border-radius: 999px; background: #B42318; color: #fff; font: 600 16px var(--font); width: 100%; transition: opacity .2s, background-color .2s; }
.btn-danger:hover:not([disabled]) { background: #912018; }
.btn-danger[disabled] { opacity: .35; cursor: not-allowed; }
.acct-deleted { display: flex; justify-content: center; padding: 28px 0 8px; }
.acct-deleted.hidden { display: none; }
.acct-deleted h1 { font: 800 28px/1.1 var(--display-2); letter-spacing: -.6px; margin: 4px 0 0; }
.acct-deleted .btn-black { width: 100%; }
