/* cardsdone.com — direction B "After the Fair" (approved 2026-12-04).
   Layout: night-navy band (header + hero) with a pile of cards that sorts itself; card-paper sections below,
   each with its own skeleton; navy footer. One animation only (the pile). */

@font-face { font-family: "Archivo"; src: url(fonts/archivo.woff2) format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(fonts/inter-tight.woff2) format("woff2-variations"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --night: #0F1A2C; --night-2: #172741; --night-line: rgba(255,255,255,.14);
  --on-night: #F6F3EC; --on-night-2: #B9C4D6;
  --paper: #F6F3EC; --paper-2: #ECE5D6; --white: #FFFFFF;
  --ink: #172033; --ink-2: #4A5468; --line: #DCD3C1;
  --sun: #F5C542; --sun-deep: #7A5900; --flag: #9A5700; --ok: #1E6B48;
  --cjk-hant: "PingFang HK", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", "Noto Sans TC";
  --cjk-hans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC";
  --display: "Archivo", "Arial Narrow", system-ui, var(--cjk-hant), sans-serif;
  --text: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, var(--cjk-hant), sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, var(--cjk-hant), monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --r: 6px;
}
:lang(zh-Hans) { --cjk-hant: var(--cjk-hans); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p, li { text-wrap: pretty; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--sun); color: var(--night); padding: 10px 14px; font-weight: 600; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-2); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ---------- Type ---------- */
.display { font-family: var(--display); font-stretch: 68%; font-weight: 860; text-transform: uppercase; letter-spacing: -.004em; line-height: .9; }
h1.display { font-size: clamp(46px, 7.6vw, 104px); }
h2.display { font-size: clamp(36px, 5.2vw, 68px); }
.kicker { font: 500 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sun-deep); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
:lang(zh) .display { font-family: var(--text); font-stretch: normal; font-weight: 800; text-transform: none; letter-spacing: .02em; line-height: 1.15; }
:lang(zh) .kicker { letter-spacing: .04em; }
/* Chinese headings break at punctuation and spaces only, never inside a word (展覽過後，手 / 上多了); square glyphs
   take more room than condensed capitals, so the display sizes are smaller. Latin words inside Chinese labels keep
   their case (Excel, not EXCEL). */
:lang(zh) :is(h1, h2, h3) { word-break: keep-all; overflow-wrap: anywhere; }
:lang(zh) h1.display { font-size: clamp(38px, 5.8vw, 80px); }
:lang(zh) h2.display { font-size: clamp(30px, 4vw, 54px); }
:lang(zh) :is(.kicker, .tile-label, .rows th, .contact dt, .seg-day) { text-transform: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 10px; border: 0;
  font: 700 17px/1 var(--text); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.btn:active { transform: translateY(1px); }
.btn-sun { background: var(--sun); color: var(--night); }
.btn-sun:hover { background: #FFD55E; }
.btn-ink { background: var(--night); color: var(--on-night); }
.btn-ink:hover { background: var(--night-2); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--white); }
.btn svg { width: 20px; height: 20px; flex: none; }
.arrow-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.arrow-link::after { content: " →"; }

/* ---------- Navy band: header + hero ---------- */
.band { background: radial-gradient(110% 80% at 85% 0%, #1E3254 0%, var(--night) 62%); color: var(--on-night); position: relative; overflow: hidden; }
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(15,26,44,.94); color: var(--on-night); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--night-line); }
.lede-lines { display: grid; gap: 2px; }
.lede-lines .lede { max-width: none; }
.calc-note-full { max-width: none; }
.top { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-block: 18px; position: relative; z-index: 2; }
.logo { font: 900 24px/1 var(--display); font-stretch: 112%; letter-spacing: -.01em; text-decoration: none; color: inherit; }
.logo b { color: var(--sun); font-weight: inherit; }
.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; font-size: 15.5px; }
.nav a { text-decoration: none; color: var(--on-night-2); padding: 8px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--on-night); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--sun); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 2px; font-size: 14px; }
.langs a, .langs span { padding: 6px 8px; border-radius: 6px; text-decoration: none; color: var(--on-night-2); min-height: 32px; display: inline-flex; align-items: center; }
.langs .on { background: var(--sun); color: var(--night); font-weight: 600; }
.langs .off { opacity: .45; cursor: default; }
.signin { font-size: 15.5px; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--night-line); }
.signin:hover { background: rgba(255,255,255,.07); }

/* Inner page heading inside the band */
.page-head { padding-block: clamp(28px, 5vw, 64px) clamp(36px, 6vw, 76px); position: relative; z-index: 1; display: grid; gap: 16px; }
.page-head .lede { color: var(--on-night-2); }
.page-head .kicker { color: var(--sun); }

/* ---------- Home hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding-block: clamp(24px, 5vw, 64px) clamp(36px, 5vw, 64px); position: relative; z-index: 1; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero .kicker { color: var(--sun); }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lede { color: #D3DAE6; }
.drop { width: 100%; max-width: 560px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px;
  border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--night-line); }
.drop.is-over { background: rgba(245,197,66,.12); box-shadow: inset 0 0 0 2px var(--sun); }
.drop-note { display: grid; gap: 2px; font-size: 14.5px; color: var(--on-night-2); line-height: 1.4; }
.drop-note strong { color: var(--on-night); font-weight: 600; }

/* The pile: five cards that sort into rows, then fall back. Positions per card set in CSS (no inline style). */
.pile { position: relative; height: clamp(300px, 34vw, 430px); }
.pc { position: absolute; left: 50%; top: 50%; width: min(58%, 270px); aspect-ratio: 90 / 54; border-radius: 5px; padding: 4.5% 5.5%;
  display: flex; flex-direction: column; justify-content: space-between; background: var(--paper); color: #1D2433;
  font: 400 clamp(9px, .85vw, 11.5px)/1.35 var(--text); box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 20px 34px -18px rgba(0,0,0,.75);
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); animation: sort 9s var(--ease) infinite; }
.pc .co { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .88em; }
.pc .nm { font: 700 1.45em/1.1 var(--text); display: block; }
.pc .ct { font: 400 .86em/1.45 var(--mono); }
.pc:lang(zh) .co { letter-spacing: .12em; }
.pc-1 { --x: -24%; --y: -34%; --r: -11deg; --tx: -53%; --ty: -112%; background: #FFFFFF; }
.pc-2 { --x: 26%;  --y: -20%; --r: 8deg;   --tx: 53%;  --ty: -112%; background: #F1ECE1; }
.pc-2 .co { color: #A3262A; }
.pc-3 { --x: -30%; --y: 22%;  --r: 7deg;   --tx: -53%; --ty: 0%;    background: #E6EEF3; }
.pc-4 { --x: 20%;  --y: 30%;  --r: -6deg;  --tx: 53%;  --ty: 0%;    background: #FFFFFF; }
.pc-4 .co { color: #1E5A8C; }
.pc-5 { --x: 2%;   --y: -2%;  --r: -2deg;  --tx: 0%;   --ty: 112%;  background: #FFFFFF; }
.pc-5 .co { color: #7A5900; }
@keyframes sort {
  0%, 26% { transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); }
  42%, 82% { transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) rotate(0deg) scale(.84); }
  100% { transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); }
}
.pile-count { position: absolute; right: 0; bottom: 4px; font: 500 13px/1 var(--mono); color: var(--sun); background: rgba(15,26,44,.88);
  padding: 9px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--night-line); }
.pile-count::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); margin-right: 8px; vertical-align: 1px; animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(245,197,66,.6); } 100% { box-shadow: 0 0 0 9px rgba(245,197,66,0); } }

.facts { position: relative; z-index: 1; border-top: 1px solid var(--night-line); }
.facts ul { list-style: none; margin-block: 0; padding-block: 18px 22px; display: flex; flex-wrap: wrap; gap: 8px 34px; font-size: 15.5px; color: var(--on-night-2); }
.facts b { color: var(--on-night); font-weight: 600; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-alt { background: var(--paper-2); }
.sec-white { background: var(--white); }

/* Steps: three columns, a big number each (a real sequence). */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.step { padding: 26px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { font: 860 clamp(56px, 6vw, 84px)/.85 var(--display); font-stretch: 62%; color: var(--ink); }
.step h3 { font-size: 22px; line-height: 1.2; }
.step p { color: var(--ink-2); }

/* One card, three forms. */
.trio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.trio-copy { display: grid; gap: 18px; align-content: start; }
.trio-copy ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.trio-copy li { padding-left: 26px; position: relative; }
.trio-copy li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.trio-vis { display: grid; gap: 16px; min-width: 0; }
.faces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.face { aspect-ratio: 90 / 54; background: var(--white); border-radius: 5px; padding: 6% 7%; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 16px 30px -20px rgba(23,32,51,.55); font-size: clamp(9px, 1vw, 12px); line-height: 1.35; position: relative; }
.face .co { font-weight: 700; font-size: .9em; letter-spacing: .1em; text-transform: uppercase; color: #1E5A8C; }
.face .nm, .face .tt { display: block; }
.face .nm { font-weight: 700; font-size: 1.6em; line-height: 1.1; }
.face .tt { color: var(--ink-2); }
.face .ct { font-family: var(--mono); font-size: .85em; }
.face-tag { position: absolute; top: -10px; right: 10px; font: 500 10.5px/1 var(--mono); background: var(--night); color: var(--on-night); padding: 5px 7px; border-radius: 4px; letter-spacing: .04em; }
.outs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; align-items: stretch; }
.contact { background: var(--white); border-radius: 14px; padding: 16px; display: grid; gap: 10px; align-content: start; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.contact-top { display: flex; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--night); color: var(--sun); display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; }
.contact dl { margin: 0; display: grid; gap: 6px; }
.contact dt { font: 500 11px/1 var(--mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.contact dd { margin: 0 0 4px; font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.file-tag { font: 500 11px/1 var(--mono); color: var(--ink-2); letter-spacing: .05em; }
.sheet { background: var(--white); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.sheet-bar { display: flex; flex-wrap: wrap; white-space: nowrap; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.sheet-bar .file-tag + .file-tag { white-space: normal; min-width: 0; }
.sheet-scroll { overflow-x: auto; }
.sheet table { border-collapse: collapse; font: 400 12.5px/1.3 var(--mono); min-width: 640px; width: 100%; }
.sheet th, .sheet td { text-align: left; padding: 8px 10px; border-right: 1px solid #ECE6DA; border-bottom: 1px solid #ECE6DA; white-space: nowrap; }
.sheet th { background: #F7F4EE; color: var(--ink-2); font-weight: 500; font-size: 11.5px; }
.sheet tr:last-child td { border-bottom: 0; }
.sheet td.hl { background: #FFF6D6; }

/* Deletion timeline: a ruler. */
.ruler-sec { background: var(--night); color: var(--on-night); }
.ruler-sec .kicker { color: var(--sun); }
.ruler-sec .lede { color: var(--on-night-2); }
.ruler { position: relative; display: grid; grid-template-columns: minmax(190px, 7fr) minmax(0, 28fr) minmax(190px, 10fr); margin-top: 8px; }
.ruler::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px;
  background: repeating-linear-gradient(90deg, var(--night-line) 0 1px, transparent 1px calc(100% / 45)); border-bottom: 2px solid var(--on-night-2); }
.seg { padding: 34px 18px 0 0; display: grid; gap: 8px; align-content: start; position: relative; min-width: 0; }
.seg::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 30px; background: var(--sun); }
.seg-day { font: 860 clamp(30px, 3.4vw, 46px)/.9 var(--display); font-stretch: 66%; text-transform: uppercase; color: var(--sun); }
.seg h3 { font-size: 18px; line-height: 1.25; }
.seg p { color: var(--on-night-2); font-size: 15.5px; }
.seg-end::after { content: ""; position: absolute; right: 0; top: 0; width: 2px; height: 30px; background: var(--sun); }
.ruler-notes { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 32px; padding-top: 24px; border-top: 1px solid var(--night-line); color: var(--on-night-2); font-size: 15.5px; }
.ruler-notes b { color: var(--on-night); display: block; margin-bottom: 4px; }

/* Price teaser: tiles. */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--white); border-radius: 12px; padding: 26px 24px; display: grid; gap: 10px; align-content: start; box-shadow: inset 0 0 0 1px var(--line); }
.tile-label { font: 500 13px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.tile-price { font: 860 clamp(40px, 4.6vw, 60px)/.9 var(--display); font-stretch: 66%; }
.tile-alt { font: 400 14px/1.3 var(--mono); color: var(--ink-2); }
.tile p { color: var(--ink-2); font-size: 15.5px; }
.tile-hi { background: var(--night); color: var(--on-night); box-shadow: none; }
.tile-hi .tile-label, .tile-hi .tile-alt, .tile-hi p { color: var(--on-night-2); }
.tile-hi .tile-price { color: var(--sun); }
.after-tiles { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.after-tiles p { color: var(--ink-2); max-width: 62ch; }

/* FAQ: heading column + list. */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-head { display: grid; gap: 14px; position: sticky; top: 24px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18.5px; line-height: 1.35; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease); }
.qa[open] summary::after { transform: rotate(-135deg); top: 30px; }
.qa-body { padding: 0 40px 22px 0; color: var(--ink-2); display: grid; gap: 10px; max-width: 70ch; }

/* Closing call. */
.closer { background: var(--sun); color: var(--night); }
.closer .wrap { padding-block: clamp(48px, 7vw, 88px); display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: end; justify-content: space-between; }
.closer p { margin-top: 12px; font-size: 18px; }
@media (min-width: 900px) { .closer h2, .closer p { white-space: nowrap; } }

/* ---------- Pricing page ---------- */
.calc { background: var(--white); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: clamp(22px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.calc-in { display: grid; gap: 18px; }
.calc label { font-weight: 600; font-size: 18px; }
.calc-n { display: flex; align-items: baseline; gap: 12px; }
.calc-n output { font: 860 clamp(56px, 7vw, 92px)/.85 var(--display); font-stretch: 62%; }
.calc-n span { color: var(--ink-2); }
.calc input[type=range] { width: 100%; accent-color: var(--night); height: 32px; }
.calc input[type=number] { width: 120px; font: 500 18px var(--mono); padding: 10px 12px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.cur { display: inline-flex; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--ink); padding: 3px; gap: 3px; }
.cur button { border: 0; background: transparent; font: 600 15px var(--text); padding: 9px 14px; border-radius: 7px; cursor: pointer; color: var(--ink); min-height: 40px; }
.cur button[aria-pressed=true] { background: var(--night); color: var(--on-night); }
.calc-out { background: var(--night); color: var(--on-night); border-radius: 12px; padding: 24px; display: grid; gap: 10px; }
.calc-total { font: 860 clamp(48px, 6vw, 76px)/.9 var(--display); font-stretch: 64%; color: var(--sun); }
.calc-how { font: 400 14px/1.5 var(--mono); color: var(--on-night-2); }
.calc-per { font-size: 15px; color: var(--on-night-2); }
.rows { width: 100%; border-collapse: collapse; font-size: 16px; }
.rows th, .rows td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rows th { font: 500 12.5px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.rows td.num { white-space: nowrap; }
.table-scroll { overflow-x: auto; background: var(--white); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; }
.rules div { display: grid; gap: 6px; padding-top: 16px; border-top: 2px solid var(--ink); }
.rules h3 { font-size: 18px; }
.rules p { color: var(--ink-2); }
.calc-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.calc .calc-type { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15.5px; color: var(--ink-2); }
.calc-note { margin-top: 16px; font-size: 15px; max-width: 70ch; }
.rows th[scope=row] { font: 400 16px/1.5 var(--text); color: var(--ink); text-transform: none; letter-spacing: 0; }
.rows th[scope=row] .num { font-weight: 500; }
.ex-how { font-size: 14.5px; color: var(--ink-2); }
.rows td .muted { font-size: 13.5px; }
.rules a { color: var(--ink); }

/* ---------- Add to your phone ---------- */
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.route { background: var(--white); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 26px; display: grid; gap: 14px; align-content: start; }
.route.is-yours { box-shadow: inset 0 0 0 2px var(--night); }
.route-tag { justify-self: start; font: 500 12px/1 var(--mono); background: var(--sun); color: var(--night); padding: 6px 8px; border-radius: 5px; }
.route h2 { font-size: 24px; line-height: 1.2; }
.route ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--ink-2); }
.route li::marker { font-family: var(--mono); color: var(--ink); }
.route .hint { font-size: 15px; color: var(--ink-2); border-left: 3px solid var(--sun); padding-left: 12px; }
.route .alt { font-size: 15.5px; color: var(--ink-2); }

/* ---------- Partners ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { background: var(--white); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15.5px; }
.form input, .form textarea, .form select { font: 400 16px var(--text); padding: 12px 14px; border-radius: 9px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; min-height: 48px; }
.form textarea { min-height: 110px; resize: vertical; }
.form .note { font-size: 14px; color: var(--ink-2); }
.form-h { font-size: 24px; line-height: 1.2; }
.form .req { color: var(--ink-2); font-weight: 400; }
.offer { display: grid; gap: 22px; align-content: start; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.offer-list li { padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); }
.offer-list b { color: var(--ink); }
.offer h3 { font-size: 20px; margin-top: 8px; }
.offer .suits { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); }

/* ---------- Legal ---------- */
.legal { padding-block: clamp(40px, 6vw, 80px); }
.legal-body { max-width: 760px; display: grid; gap: 14px; }
.legal-body h1 { display: none; }
.legal-body .updated { font: 500 13px var(--mono); color: var(--ink-2); }
.legal-body section { display: grid; gap: 10px; padding-top: 18px; }
.legal-body h2 { font-size: 21px; line-height: 1.3; }
.legal-body h3 { font-size: 17px; }
.legal-body ul, .legal-body ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.legal-body p, .legal-body li { color: #2C3547; }
.legal-body table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal-body th, .legal-body td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-body .table-scroll { margin-block: 6px; }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: var(--on-night-2); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 56px 32px; }
.foot-grid > div { display: grid; gap: 14px; align-content: start; }
.foot .logo { color: var(--on-night); }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot nav a { text-decoration: none; color: var(--on-night); }
.foot nav a:hover { text-decoration: underline; }
.foot .op { font-size: 14px; line-height: 1.6; }
.foot .op a { color: var(--on-night); }
.foot .muted { color: var(--on-night-2); font-size: 13.5px; }
.copy { padding-block: 18px 28px; border-top: 1px solid var(--night-line); font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero, .trio, .faq, .calc, .split { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .pile { height: 300px; max-width: 520px; width: 100%; justify-self: center; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .top { padding-block: 14px 10px; }
  .nav { order: 3; width: 100%; gap: 2px 18px; font-size: 15px; }
  .top-end { gap: 8px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 22px 0 18px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .tiles, .routes, .rules, .ruler-notes { grid-template-columns: minmax(0, 1fr); }
  .rows th, .rows td { padding: 12px 8px; }
  .rows td .muted { font-size: 12.5px; }
  .outs { grid-template-columns: minmax(0, 1fr); }
  .ruler { grid-template-columns: minmax(0, 1fr); }
  .ruler::before { display: none; }
  .seg { padding: 0 0 22px 22px; border-left: 2px solid var(--on-night-2); }
  .seg::before { left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; }
  .seg-end::after { display: none; }
  .pile { height: 330px; margin-top: 8px; }
  .pc { width: 45%; font-size: 8.5px; }
  .pile-count { bottom: -6px; }
}
@media (hover: none) { .drop-note strong { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pc { animation: none; transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(.84); }
  .pile-count::before { animation: none; }
}
