/* TherapyDesk home page. Written from blank, 2026-11-17.
   One family (Atkinson Hyperlegible Next) for the site and the product; Literata only for the
   therapist's own writing inside the product. Colour: cool paper, blue-black ink, claret. */

:root {
  --paper: #F5F6F8;
  --surface: #FFFFFF;
  --sunk: #EEF0F4;
  --line: #E1E4EA;
  --line-2: #CDD2DB;
  --ink: #151B2B;
  --ink-2: #3B4356;
  --slate: #586176;
  --faint: #79819A;
  --seal: #4148B5;
  --seal-solid: #4148B5;
  --seal-2: #343A98;
  --seal-soft: #EAEBFB;
  --seal-line: #CDD0F4;
  --amber: #9A6A06;
  --amber-soft: #FBF2DF;
  --green: #1E6B4E;
  --green-soft: #E3F2EB;
  --band: #121826;          /* the dark band, both themes */
  --band-2: #1B2234;
  --band-line: #2A3349;
  --band-ink: #E8EBF2;
  --band-slate: #9AA3B8;
  --cipher: #8F9AB3;
  --focus: #2F62D8;
  --shadow-lg: 0 1px 0 rgba(21,27,43,.04), 0 2px 6px rgba(21,27,43,.05), 0 24px 60px -18px rgba(21,27,43,.28);
  --shadow-md: 0 1px 0 rgba(21,27,43,.04), 0 10px 30px -14px rgba(21,27,43,.25);
  --f: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-write: "Literata", Georgia, serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --g: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1118; --surface: #161A23; --sunk: #1C212C; --line: #262C38; --line-2: #343B4A;
    --ink: #E9ECF2; --ink-2: #C9CEDA; --slate: #A3AABB; --faint: #8189A0;
    --seal: #A3AAF6; --seal-2: #BCC1F9; --seal-soft: #1D2040; --seal-line: #33386A; --on-seal: #12142B;
    --amber: #E3B657; --amber-soft: #2B2414; --green: #7FCBA6; --green-soft: #15291F;
    --band: #171C29; --band-2: #1F2536; --band-line: #2D3549;
    --focus: #8DB0FF;
    --shadow-lg: 0 1px 0 rgba(0,0,0,.3), 0 24px 60px -18px rgba(0,0,0,.7);
    --shadow-md: 0 10px 30px -14px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E1118; --surface: #161A23; --sunk: #1C212C; --line: #262C38; --line-2: #343B4A;
  --ink: #E9ECF2; --ink-2: #C9CEDA; --slate: #A3AABB; --faint: #8189A0;
  --seal: #A3AAF6; --seal-2: #BCC1F9; --seal-soft: #1D2040; --seal-line: #33386A; --on-seal: #12142B;
  --amber: #E3B657; --amber-soft: #2B2414; --green: #7FCBA6; --green-soft: #15291F;
  --band: #171C29; --band-2: #1F2536; --band-line: #2D3549;
  --focus: #8DB0FF;
  --shadow-lg: 0 1px 0 rgba(0,0,0,.3), 0 24px 60px -18px rgba(0,0,0,.7);
  --shadow-md: 0 10px 30px -14px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@media (min-width: 900px) { :root { --g: 40px; } body { font-size: 1.125rem; } }
img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--g); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 99; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 10px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo svg { width: 28px; height: 28px; flex: none; }
.logo b { font-size: 1.22rem; font-weight: 700; letter-spacing: -.035em; }
.td-sq { fill: var(--seal); }
.td-fg { fill: #fff; }
:root[data-theme="dark"] .td-fg { fill: #1A0E14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .td-fg { fill: #1A0E14; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: 700 1rem/1 var(--f); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-seal { background: var(--seal); color: var(--on-seal, #fff); }
.btn-seal:hover { background: var(--seal-2); }
:root[data-theme="dark"] .btn-seal { color: #1A0E14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-seal { color: #1A0E14; } }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--surface); }
.btn-sm { min-height: 38px; padding: 0 14px; border-radius: 10px; font-size: .92rem; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.hdr.stuck { border-bottom-color: var(--line); }
.hdr-row { display: flex; align-items: center; gap: 10px; height: 60px; }
.hdr-row .logo { margin-right: auto; }
.nav { display: none; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 9px; font-size: .95rem; font-weight: 600; color: var(--slate); text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--sunk); }
.ibtn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.ibtn svg { width: 19px; height: 19px; }
.ibtn .moon { display: none; }
:root[data-theme="dark"] .ibtn .sun { display: none; }
:root[data-theme="dark"] .ibtn .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ibtn .sun { display: none; }
  :root:not([data-theme="light"]) .ibtn .moon { display: block; }
}
.hdr .btn-sm { display: none; }
.menu { display: none; border-top: 1px solid var(--line); padding: 6px 0 18px; }
.menu.open { display: block; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a:not(.btn) { display: block; padding: 13px 0; font-size: 1.1rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu .btn { width: 100%; margin-top: 16px; }
@media (min-width: 900px) {
  .hdr-row { height: 68px; }
  .hdr-row .logo { margin-right: 28px; }
  .nav { display: block; margin-right: auto; }
  .hdr .btn-sm { display: inline-flex; }
  .menu-btn, .menu, .menu.open { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 36px 0 0; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 72px 0 0; } }
.hero h1 { font-size: clamp(2.7rem, 1.6rem + 5.2vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--seal); }
.hero-lede { margin-top: 18px; max-width: 34ch; font-size: 1.12rem; color: var(--ink-2); }
@media (min-width: 900px) { .hero-lede { font-size: 1.3rem; margin-top: 24px; } }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; }
.hero-cta small { font-size: .95rem; color: var(--slate); }
.hero-cta small b { color: var(--ink); }
@media (min-width: 1000px) {
  .hero-top { display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 48px; }
  .hero-lede { margin-top: 0; }
  .hero-side { padding-bottom: 8px; }
}

/* the product scene: a browser window with the phone in front of it */
.scene { position: relative; height: 470px; margin-top: 36px; }
@media (min-width: 900px) { .scene { height: 640px; margin-top: 64px; } }
.scene .win { position: absolute; left: 0; top: 0; width: 700px; }
@media (min-width: 900px) { .scene .win { width: 1120px; } }
.scene .phone { position: absolute; right: 2px; top: 34px; }
@media (min-width: 560px) { .scene .phone { right: auto; left: 300px; } }
@media (min-width: 900px) { .scene .phone { left: auto; right: -10px; top: 120px; } }
@media (min-width: 1240px) { .scene .phone { right: 20px; } }
.scene::after { /* fade the window into the next section */
  content: ""; position: absolute; left: -40px; right: -40px; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .scene .phone { animation: rise .9s cubic-bezier(.2,.7,.2,1) .25s both; }
  .scene .win { animation: fadein .7s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Product mock-ups (shared) ---------- */
.mock { font-family: var(--f); color: var(--ink); font-size: 13px; line-height: 1.35; letter-spacing: 0; text-align: left; }
.mock b { font-weight: 700; }
.mock svg { flex: none; }
.win { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.win-bar { height: 38px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: var(--sunk); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.url { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 7px; background: var(--surface); color: var(--slate); font-size: 12px; border: 1px solid var(--line); }
.url svg { width: 12px; height: 12px; color: var(--green); }

.app { display: grid; grid-template-columns: 188px 1fr; min-height: 560px; }
.side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; background: var(--surface); }
.side .logo { padding: 2px 8px 14px; }
.side .logo svg { width: 22px; height: 22px; }
.side .logo b { font-size: 15px; }
.side a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.side a svg { width: 17px; height: 17px; color: var(--faint); }
.side a.on { background: var(--seal-soft); color: var(--seal); }
.side a.on svg { color: var(--seal); }
.side .badge { margin-left: auto; min-width: 19px; height: 19px; border-radius: 10px; background: var(--seal); color: var(--on-seal, #fff); font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
:root[data-theme="dark"] .side .badge { color: #1A0E14; }
.side .state { margin-top: auto; display: flex; align-items: center; gap: 7px; padding: 10px 8px 2px; color: var(--green); font-size: 12px; font-weight: 600; }
.side .state svg { width: 14px; height: 14px; }

.main { padding: 16px 18px; min-width: 0; }
.main-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.main-head h4 { margin: 0 auto 0 0; font-size: 17px; letter-spacing: -.02em; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg i { font-style: normal; padding: 5px 10px; font-size: 12px; color: var(--slate); }
.seg i.on { background: var(--sunk); color: var(--ink); font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); background: var(--surface); color: var(--ink); white-space: nowrap; }
.chip.solid { background: var(--seal); border-color: var(--seal); color: var(--on-seal, #fff); }
:root[data-theme="dark"] .chip.solid { color: #1A0E14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip.solid, :root:not([data-theme="light"]) .side .badge { color: #1A0E14; } }

/* week grid */
.week { --hh: 54px; display: grid; grid-template-columns: 40px repeat(5, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.week .dh { padding: 8px 8px 7px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); font-size: 12px; color: var(--slate); }
.week .dh b { display: block; font-size: 16px; color: var(--ink); letter-spacing: -.02em; }
.week .dh.today { background: var(--seal-soft); }
.week .dh.today b { color: var(--seal); }
.week .corner { border-bottom: 1px solid var(--line); }
.hours { position: relative; }
.hours span { display: block; height: var(--hh); font-size: 11px; color: var(--faint); padding: 2px 6px 0 0; text-align: right; }
.col { position: relative; border-left: 1px solid var(--line); background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--hh) - 1px), var(--line) calc(var(--hh) - 1px) var(--hh)); }
.ev { position: absolute; left: 4px; right: 4px; border-radius: 7px; padding: 5px 7px; overflow: hidden; font-size: 11.5px; line-height: 1.3; border-left: 3px solid; }
.ev b { display: block; font-size: 12px; }
.ev span { color: var(--slate); }
.ev.s { background: var(--seal-soft); border-color: var(--seal); }
.ev.g { background: var(--sunk); border-color: var(--line-2); }
.ev.f { background: transparent; border: 1px dashed var(--line-2); border-left: 3px dashed var(--line-2); color: var(--faint); }
.ev.r { background: var(--amber-soft); border-color: var(--amber); }
.ev.x b { text-decoration: line-through; color: var(--faint); }
.now { position: absolute; left: 0; right: 0; height: 2px; background: var(--seal); }
.now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--seal); }

/* phone */
.phone { width: 252px; height: 516px; border-radius: 42px; padding: 9px; background: #10141E; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2C3446; }
@media (min-width: 900px) { .phone { width: 284px; height: 580px; } }
:root[data-theme="dark"] .phone { background: #05070B; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #3A4357; }
.screen { position: relative; height: 100%; border-radius: 34px; background: var(--surface); overflow: hidden; padding: 0 16px; display: flex; flex-direction: column; }
.sbar { display: flex; justify-content: space-between; align-items: center; height: 38px; font-size: 12px; font-weight: 700; padding: 4px 8px 0; }
.sbar svg { height: 11px; width: auto; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 78px; height: 22px; border-radius: 12px; background: #10141E; }
.p-back { display: flex; align-items: center; gap: 4px; color: var(--seal); font-weight: 700; font-size: 13px; margin-top: 4px; }
.p-back svg { width: 14px; height: 14px; }
.p-name { display: flex; align-items: center; gap: 10px; margin: 12px 0 2px; }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--seal-soft); color: var(--seal); font-weight: 700; font-size: 14px; flex: none; }
.p-name b { font-size: 20px; letter-spacing: -.02em; }
.p-name small { display: block; color: var(--slate); font-size: 12px; }
.p-tabs { display: flex; gap: 16px; border-bottom: 1px solid var(--line); margin: 12px 0 12px; font-size: 13px; font-weight: 700; color: var(--faint); }
.p-tabs i { font-style: normal; padding-bottom: 8px; }
.p-tabs i.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--seal); }
.p-add { display: flex; align-items: center; gap: 8px; height: 40px; border-radius: 11px; background: var(--seal); color: var(--on-seal, #fff); justify-content: center; font-weight: 700; font-size: 13px; }
:root[data-theme="dark"] .p-add { color: #1A0E14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .p-add { color: #1A0E14; } }
.p-add svg { width: 15px; height: 15px; }
.entry { padding: 12px 0; border-bottom: 1px solid var(--line); }
.entry .d { font-size: 11.5px; font-weight: 700; color: var(--faint); margin-bottom: 4px; display: flex; justify-content: space-between; }
.entry p { font-family: var(--f-write); font-size: 13px; line-height: 1.5; color: var(--ink); }
.caret { display: inline-block; width: 1.5px; height: 1em; background: var(--seal); vertical-align: -2px; margin-left: 1px; }
@media (prefers-reduced-motion: no-preference) { .caret { animation: blink 1.1s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 0 16px; font-size: 11.5px; font-weight: 700; color: var(--green); }
.p-foot svg { width: 13px; height: 13px; }

/* ---------- Section heads ---------- */
.sec { padding: 64px 0; }
@media (min-width: 900px) { .sec { padding: 112px 0; } }
.sec-h { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); line-height: 1.04; max-width: 17ch; }
.sec-p { margin-top: 14px; max-width: 46ch; color: var(--slate); font-size: 1.08rem; }
@media (min-width: 900px) { .sec-p { font-size: 1.2rem; } }

/* ---------- Sealed band ---------- */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
:root[data-theme="dark"] .band { border-top: 1px solid var(--band-line); border-bottom: 1px solid var(--band-line); }
.band .sec-p { color: var(--band-slate); }
.band .sec-h em { font-style: normal; color: #E8A3B7; }
.seal-grid { display: grid; gap: 0; margin-top: 36px; align-items: stretch; }
@media (min-width: 860px) { .seal-grid { grid-template-columns: 1fr 76px 1fr; margin-top: 56px; } }
.pane { background: var(--band-2); border: 1px solid var(--band-line); border-radius: 16px; padding: 16px 18px 18px; min-width: 0; }
.pane-l { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--band-slate); margin-bottom: 10px; }
.pane-l svg { width: 16px; height: 16px; }
.pane.us .pane-l { color: #E8A3B7; }
.pane textarea {
  width: 100%; height: 122px; resize: none; border: 0; background: transparent; padding: 0;
  font: 1.02rem/1.55 var(--f-write); color: var(--band-ink);
}
@media (min-width: 860px) { .pane textarea { height: 150px; } }
.pane textarea:focus-visible { outline-offset: 6px; }
.cipher { margin: 0; height: 122px; overflow: hidden; font: .84rem/1.6 var(--f-mono); color: var(--cipher); word-break: break-all; white-space: pre-wrap; transition: opacity .35s; }
@media (min-width: 860px) { .cipher { height: 150px; } }
.cipher.plain { font: 1.02rem/1.55 var(--f-write); color: var(--band-ink); word-break: normal; }
.cipher.fade { opacity: 0; }
.seal-mid { display: grid; place-items: center; height: 58px; position: relative; }
.seal-mid::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--band-line); }
@media (min-width: 860px) { .seal-mid { height: auto; } .seal-mid::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; } }
.wax { position: relative; width: 50px; height: 50px; }
.wax svg { width: 100%; height: 100%; }
.seal-note { margin-top: 18px; font-size: .92rem; color: var(--band-slate); max-width: 60ch; }
.trade { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--band-line); display: grid; gap: 6px; }
@media (min-width: 860px) { .trade { grid-template-columns: auto 1fr; gap: 32px; align-items: baseline; margin-top: 56px; } }
.trade b { font-size: 1.15rem; letter-spacing: -.015em; }
.trade p { color: var(--band-slate); max-width: 62ch; }

/* ---------- The work, in tabs ---------- */
.tabs { display: flex; gap: 6px; margin: 30px calc(var(--g) * -1) 0; padding: 0 var(--g) 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .tabs { margin: 44px 0 0; padding: 0; } }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px;
  border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font: 700 .95rem/1 var(--f); cursor: pointer;
}
.tab svg { width: 17px; height: 17px; color: var(--faint); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tab[aria-selected="true"] svg { color: var(--paper); }
.tabpanel { margin-top: 18px; }
.tabpanel[hidden] { display: none; }
.tp-copy { font-size: 1.05rem; color: var(--ink-2); max-width: 60ch; min-height: 3.2em; }
@media (min-width: 900px) { .tp-copy { font-size: 1.15rem; min-height: 0; } }
.frame { margin-top: 18px; container-type: inline-size; }
.frame .win { box-shadow: var(--shadow-md); }
@media (prefers-reduced-motion: no-preference) { .tabpanel:not([hidden]) .frame { animation: lift .45s cubic-bezier(.2,.7,.2,1) both; } }
@keyframes lift { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.view { padding: 16px; display: grid; gap: 14px; }
@container (min-width: 700px) { .view { grid-template-columns: 1.25fr 1fr; padding: 26px; gap: 20px; min-height: 330px; align-items: start; } .view.mock, .frame .mock { font-size: 14px; } }
.card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.card-h b { font-size: 14px; }
.card-h small { color: var(--slate); font-size: 12px; display: block; font-weight: 400; }
.card-b { padding: 12px 14px; }
.rowx { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rowx:last-child { border-bottom: 0; }
.rowx .grow { flex: 1; min-width: 0; }
.rowx small { display: block; color: var(--slate); font-size: 12px; }
.av.sm { width: 32px; height: 32px; font-size: 12px; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pill.ok { background: var(--green-soft); color: var(--green); }
.pill.due { background: var(--amber-soft); color: var(--amber); }
.pill.seal { background: var(--seal-soft); color: var(--seal); }
.btnrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mail { padding: 14px; font-size: 12.5px; }
.mail .mh { color: var(--slate); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 10px; display: grid; gap: 2px; }
.mail p { font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--sunk); border-radius: 10px; padding: 9px 10px; }
.stat small { display: block; font-size: 11px; color: var(--slate); }
.stat b { font-size: 16px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; padding-top: 6px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.bars i { width: 100%; border-radius: 5px 5px 2px 2px; background: var(--line-2); }
.bars div.on i { background: var(--seal); }
.bars span { font-size: 10.5px; color: var(--faint); }
.amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.ring { width: 64px; height: 64px; flex: none; }
.ring circle { fill: none; stroke-width: 7; }
.ring .t { stroke: var(--sunk); }
.ring .v { stroke: var(--amber); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.ring text { font: 700 15px var(--f); fill: var(--ink); }
.search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--slate); font-size: 12.5px; margin-bottom: 8px; }
.search svg { width: 14px; height: 14px; }
mark { background: var(--amber-soft); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- Moving in ---------- */
.move { display: grid; gap: 36px; }
@media (min-width: 900px) { .move { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; } }
.flow { position: relative; display: grid; grid-template-columns: 1fr 64px; gap: 10px 0; align-items: center; }
@media (min-width: 560px) { .flow { grid-template-columns: 1fr 120px; } }
.src { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-md); grid-column: 1; position: relative; z-index: 1; }
.src svg { width: 34px; height: 40px; flex: none; }
.src b { display: block; font-size: .98rem; }
.src small { color: var(--slate); font-size: .86rem; }
.flow .lines { position: absolute; right: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.flow .lines path { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 5; }
.flow .dest { grid-column: 2; grid-row: 1 / span 3; justify-self: end; width: 56px; height: 56px; position: relative; z-index: 1; filter: drop-shadow(0 10px 20px rgba(138,36,69,.3)); }
@media (min-width: 560px) { .flow .dest { width: 72px; height: 72px; } }
.move-note { margin-top: 18px; color: var(--slate); font-size: 1rem; max-width: 46ch; }
.move-note b { color: var(--ink); }

/* ---------- Price ---------- */
.price { background: var(--seal-solid); color: #fff; border-radius: 26px; padding: 30px 22px 26px; display: grid; gap: 26px; position: relative; overflow: hidden; }
:root[data-theme="dark"] .price { background: #5E1730; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .price { background: #5E1730; } }
@media (min-width: 900px) { .price { grid-template-columns: 1fr 1.1fr; padding: 56px; gap: 56px; border-radius: 32px; } }
.amount { font-size: clamp(4.2rem, 3rem + 6vw, 7.4rem); font-weight: 700; letter-spacing: -.055em; line-height: .9; }
.amount sup { font-size: .42em; vertical-align: .9em; letter-spacing: -.02em; margin-right: 2px; }
.per { margin-top: 10px; font-size: 1.12rem; color: rgba(255,255,255,.86); }
.per b { color: #fff; }
.free { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 11px; background: rgba(255,255,255,.12); font-weight: 700; font-size: .98rem; }
.free svg { width: 17px; height: 17px; }
.inc h3 { font-size: 1.05rem; letter-spacing: -.01em; color: rgba(255,255,255,.86); margin-bottom: 12px; }
.inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px 22px; }
@media (min-width: 520px) { .inc ul { grid-template-columns: 1fr 1fr; } }
.inc li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; line-height: 1.35; }
.inc li svg { width: 17px; height: 17px; flex: none; margin-top: 2px; opacity: .85; }
.price .btn { background: #fff; color: var(--seal-solid); margin-top: 24px; }
:root[data-theme="dark"] .price .btn { color: #5E1730; }
.price .btn:hover { background: #F6E9EE; }
.price-fine { margin-top: 12px; font-size: .9rem; color: rgba(255,255,255,.78); }

/* ---------- Footer ---------- */
.ftr { background: var(--band); color: var(--band-slate); padding: 48px 0 28px; font-size: .95rem; }
.ftr .logo { color: var(--band-ink); }
.ftr .td-fg { fill: #fff; }
:root[data-theme="dark"] .ftr .td-fg { fill: #1A0E14; }
.ftr-top { display: grid; gap: 30px; }
@media (min-width: 900px) { .ftr-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.ftr .tag { margin-top: 12px; color: var(--band-ink); font-weight: 700; }
.ftr .strap { margin-top: 4px; }
.ftr h2 { font-size: .85rem; color: var(--band-ink); letter-spacing: 0; margin-bottom: 10px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { color: var(--band-slate); text-decoration: none; }
.ftr a:hover { color: var(--band-ink); }
.ftr-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
@media (min-width: 900px) { .ftr-cols { display: contents; } }
.ftr-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
