/* Teal Account. One neutral scale, one radius family, one spacing rhythm (4/8).
   Colour is kept for meaning only: the logo, danger, and the data meter. */
@font-face { font-family: "Instrument Sans"; src: url("/font.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #f5f6f6; --side: #ffffff; --panel: #ffffff; --raise: #f0f2f2;
  --line: #e3e6e5; --line-2: #d3d8d6;
  --ink: #141918; --ink-2: #4b5452; --ink-3: #616a68;
  --btn: #141918; --btn-ink: #ffffff; --btn-hover: #2a3130;
  --focus: #141918; --meter: #2f8f72; --danger: #c2372f; --danger-bg: #fbeceb;
  --shadow: 0 1px 2px rgba(20, 25, 24, .04);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0b; --side: #0f0f11; --panel: #141416; --raise: #1c1c1f;
    --line: #26262a; --line-2: #333338;
    --ink: #f2f2f3; --ink-2: #a9a9b0; --ink-3: #7c7c84;
    --btn: #eef1f0; --btn-ink: #0e1112; --btn-hover: #ffffff;
    --focus: #eef1f0; --meter: #5cc29f; --danger: #f0817a; --danger-bg: #2a1716;
    --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0a0b; --side: #0f0f11; --panel: #141416; --raise: #1c1c1f;
  --line: #26262a; --line-2: #333338;
  --ink: #f2f2f3; --ink-2: #a9a9b0; --ink-3: #7c7c84;
  --btn: #eef1f0; --btn-ink: #0e1112; --btn-hover: #ffffff;
  --focus: #eef1f0; --meter: #5cc29f; --danger: #f0817a; --danger-bg: #2a1716;
  --shadow: none; color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
svg { display: block; }
i[data-icon] { display: inline-flex; width: 18px; height: 18px; flex: none; }
i[data-icon] svg { width: 100%; height: 100%; }

/* ---------- controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-primary[disabled] { opacity: .55; cursor: progress; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { background: var(--raise); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--line-2); }
.btn-danger:hover { background: var(--danger-bg); border-color: var(--danger); }
.btn-text { background: none; border: 0; padding: 8px 0; color: var(--ink-2); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn-text:hover { color: var(--ink); }
.btn .g { width: 20px; height: 20px; }
.btn-apple { margin-top: 12px; }
input[type=email], input[type=text] { width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; }
input::placeholder { color: var(--ink-3); }
input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus); }
input.code { font-size: 22px; letter-spacing: .35em; text-align: center; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link i[data-icon] { width: 16px; height: 16px; }
.err { color: var(--danger); min-height: 1.5em; margin-top: 12px; font-size: 14px; }

/* ---------- sign in */
.auth { min-height: 100vh; display: flex; flex-direction: column; }
.auth-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 64px 16px 32px; }
.auth-card { width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 40px 32px 28px; box-shadow: var(--shadow); text-align: center; }
.auth-card h1 { font-size: 28px; margin-top: 36px; }
.auth-card .sub { color: var(--ink-2); margin: 10px 0 24px; }
.auth-card .sub a { font-weight: 600; text-underline-offset: 3px; }
.auth-card form { display: grid; gap: 12px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; margin: 20px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 20px 32px; color: var(--ink-2); font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.theme-btn { text-decoration: none; font-size: 13px; }

.lockup { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.lockup b { font-weight: 650; }
.lockup span { color: var(--ink-2); font-weight: 400; }
.lockup-center { justify-content: center; font-size: 22px; }

/* ---------- account shell */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { background: var(--side); border-right: 1px solid var(--line); padding: 24px 16px; position: sticky; top: 0; height: 100vh; }
.side .lockup { padding: 0 8px 28px; }
.nav { display: grid; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--raise); color: var(--ink); }
.nav a.on { background: var(--raise); color: var(--ink); font-weight: 600; }
.nav hr { border: 0; height: 1px; background: var(--line); margin: 12px 8px; }

.main { min-width: 0; }
.top { display: flex; align-items: center; gap: 16px; height: 72px; padding: 0 40px; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top-title { font-size: 18px; flex: 1; }
.icon-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.user { position: relative; }
.user-btn { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--ink); font: inherit; cursor: pointer; padding: 6px 8px; border-radius: 10px; }
.user-btn:hover { background: var(--raise); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); display: grid; place-items: center; font-weight: 600; font-size: 14px; text-transform: uppercase; }
.user-email { font-size: 14px; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 200px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 8px; color: var(--ink); font: inherit; cursor: pointer; }
.menu button:hover { background: var(--raise); }

.content { padding: 40px; max-width: 1180px; }
section[data-view] { display: none; }
section[data-view].on { display: block; }
.hello { font-size: 32px; }
.lead { color: var(--ink-2); font-size: 16px; margin: 8px 0 32px; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.col-side { display: grid; gap: 32px; padding-top: 4px; }
.tile h4 { font-size: 16px; margin-bottom: 6px; }
.tile p { margin-bottom: 10px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.page-head h2 { font-size: 26px; margin-bottom: 4px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: var(--shadow); margin-bottom: 16px; }
.panel h4 { font-size: 16px; margin-bottom: 6px; }
.panel.narrow { max-width: 460px; }
.panel.narrow h2 { font-size: 22px; margin-bottom: 8px; }
.panel.narrow form { margin-top: 20px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.plan h3 { font-size: 26px; margin: 14px 0 6px; }
.meter { margin-top: 20px; }
.meter-track { height: 8px; border-radius: 999px; background: var(--raise); overflow: hidden; }
.meter-track span { display: block; height: 100%; width: 0; background: var(--meter); border-radius: 999px; }
.meter.full .meter-track span { background: var(--danger); }
.meter p { margin-top: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 36px 0 12px; }
.section-head h4 { font-size: 16px; }
.rows { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.rows li { display: flex; align-items: center; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.rows .dev-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--raise); display: grid; place-items: center; color: var(--ink); flex: none; }
.rows .dev-ico i { width: 22px; height: 22px; }
.rows .dev-txt { flex: 1; min-width: 0; }
.rows .dev-txt b { display: block; font-weight: 600; }
.rows .dev-txt span { color: var(--ink-2); font-size: 14px; }
.rows .empty { justify-content: center; color: var(--ink-2); }
.rows .btn { height: 38px; padding: 0 16px; }

.danger-zone { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; padding-top: 4px; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }

.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { width: 44px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; flex: none; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch-row input:checked + .switch { background: var(--btn); }
.switch-row input:checked + .switch::after { transform: translateX(18px); background: var(--btn-ink); }
.switch-row input:focus-visible + .switch { outline: 2px solid var(--focus); outline-offset: 2px; }

.loading { position: fixed; inset: 0; display: grid; place-items: center; color: var(--ink-3); background: var(--bg); }

/* ---------- redesign 2026-10-03: overview card, action tiles, grouped settings */
.hello { font-size: 30px; letter-spacing: -.02em; }
.overview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 0; padding: 0; overflow: hidden; }
.ov-plan { padding: 28px; border-right: 1px solid var(--line); }
.ov-plan h3 { font-size: 26px; margin: 14px 0 6px; }
.ov-plan .actions { margin-top: 20px; }
.ov-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat:first-child { border-left: 0; }
.stat-label { color: var(--ink-2); font-size: 13px; font-weight: 500; }
.stat-value { font-size: 22px; font-weight: 650; letter-spacing: -.01em; }
.stat .meter { margin-top: 6px; }
.stat-link { margin-top: auto; padding-top: 10px; text-decoration: none; width: fit-content; }
.stat-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pips { display: flex; gap: 4px; margin-top: 6px; }
.pips span { flex: 1; max-width: 28px; height: 8px; border-radius: 999px; background: var(--raise); }
.pips span.on { background: var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 4px; }
.action { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .12s, background .12s; }
.action:hover { border-color: var(--line-2); background: var(--raise); }
.act-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--raise); display: grid; place-items: center; flex: none; }
.action:hover .act-ico { background: var(--panel); }
.act-ico i { width: 22px; height: 22px; }
.act-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.act-txt b { font-weight: 600; }
.act-txt span { color: var(--ink-2); font-size: 14px; }
.act-go { width: 18px; height: 18px; color: var(--ink-3); transition: transform .12s, color .12s; }
.action:hover .act-go { transform: translateX(3px); color: var(--ink); }

.help-strip { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px dashed var(--line-2); border-radius: 14px; margin-top: 8px; }
.help-strip > div { flex: 1; min-width: 0; }
.help-strip b { display: block; font-weight: 600; }

.btn-ghost { background: transparent; color: var(--ink-2); border-color: transparent; }
.btn-ghost:hover { background: var(--raise); color: var(--danger); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.page-head .btn i[data-icon] { width: 18px; height: 18px; }
.usage { margin: -8px 0 20px; }
.usage .meter-track span { background: var(--ink); }
.group-title { font-size: 13px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin: 28px 0 10px; }
.group-title:first-of-type { margin-top: 4px; }
.panel.list { padding: 20px 24px; }
.panel.list .facts div { padding: 12px 0; }
.switch-row > span { display: grid; gap: 4px; }
.switch-row b { font-weight: 600; }
.switch-row.plain { cursor: default; }

.side { display: flex; flex-direction: column; }
.side-plan { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; }
.side-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.side-plan.pro .side-dot { background: var(--meter); }

@media (max-width: 1100px) {
  .overview { grid-template-columns: 1fr; }
  .ov-plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .tiles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ov-stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 18px 20px; }
  .stat:first-child { border-top: 0; }
  .ov-plan { padding: 22px 20px; }
  .help-strip { flex-wrap: wrap; }
  .help-strip .btn { width: 100%; }
  .page-head { flex-wrap: wrap; }
}

/* ---------- small screens */
@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 272px; z-index: 20; transform: translateX(-100%); transition: transform .18s; visibility: hidden; }
  .shell.menu-open .side { transform: none; visibility: visible; box-shadow: 0 0 40px rgba(0,0,0,.25); }
  .icon-btn { display: inline-flex; }
  .top { padding: 0 16px; height: 64px; }
  .user-email { display: none; }
  .content { padding: 24px 16px 48px; }
  .hello { font-size: 26px; }
  .panel { padding: 22px 18px; }
  .danger-zone { flex-direction: column; align-items: stretch; }
  .auth-main { padding-top: 24px; }
  .auth-card { padding: 32px 20px 24px; border-radius: 14px; }
  .foot { padding: 16px; justify-content: center; }
  .rows li { padding: 14px 16px; }
}

/* Teal Pro plans (website checkout) */
.pro-panel { padding: 28px; }
.pro-head h3 { font-size: 20px; font-weight: 700; letter-spacing: -.3px; margin: 0 0 4px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.plan-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; text-align: left;
  background: var(--raise); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); cursor: pointer;
  font: inherit; transition: border-color .15s, background .15s; }
.plan-card:hover { border-color: var(--line-2); }
.plan-card.on { border-color: var(--meter); box-shadow: inset 0 0 0 1px var(--meter); background: var(--panel); }
.plan-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.plan-name { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.plan-badge { font-size: 11px; font-weight: 700; color: var(--meter); border: 1px solid var(--meter); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.plan-price b { font-size: 28px; font-weight: 700; letter-spacing: -.5px; }
.plan-price span { font-size: 14px; color: var(--ink-2); }
.plan-note { font-size: 13px; color: var(--ink-3); }
.pro-go { width: 100%; max-width: 320px; }
.pro-fine { margin-top: 12px; }
.small { font-size: 12px; }
p.ok { color: var(--meter); font-weight: 600; }
@media (max-width: 720px) { .plan-grid { grid-template-columns: 1fr; } .pro-go { max-width: none; } }
.actions:empty { display: none; }
.pro-who { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; overflow-wrap: anywhere; }
.pro-who b { color: var(--ink); font-weight: 600; }

/* Teal Pro page (#/pro, 2026-10-05): the case on the left, the checkout on the right; one column on a phone. */
.pro-page { max-width: 1040px; }
.pro-hero h2 { font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; margin: 4px 0 6px; }
.pro-hero p { margin: 0 0 22px; font-size: 15px; }
.pro-cols { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.pro-compare { padding: 24px; }
.pro-compare h3 { margin: 0 0 12px; font-size: 16px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 11px 6px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp th { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; width: 1%; white-space: nowrap; padding-left: 14px; padding-right: 14px; }
.cmp .pro { font-weight: 700; color: var(--meter); }
.cmp tr:last-child td { border-bottom: 0; }
.pro-trust { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font-size: 13px; color: var(--ink-3); }
.pro-trust li { display: flex; gap: 10px; align-items: center; }
.pro-trust svg { width: 16px; height: 16px; flex: none; color: var(--meter); }
.pro-checkout { padding: 24px; }
.pro-checkout .plan-grid { grid-template-columns: 1fr; gap: 10px; margin: 16px 0; }
.pro-checkout .plan-card { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 14px 16px; }
.pro-checkout .plan-top { flex: 1 1 100%; }
.pro-checkout .plan-price b { font-size: 22px; }
.pro-total { font-weight: 600; margin: 4px 0 12px; }
.pro-checkout .pro-go { max-width: none; width: 100%; padding: 14px; font-size: 15px; }
.pro-done { padding: 28px; }
@media (max-width: 860px) { .pro-cols { grid-template-columns: 1fr; } .pro-checkout { order: -1; } .pro-hero h2 { font-size: 24px; } }
/* Crypto Pro (2026-10-05, second pass). Tokens only; colour for meaning (the warning, the live dot, success). */
.pro-crypto { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.pro-or { font-weight: 600; margin: 0 0 4px; }
.coin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.coin-card { position: relative; display: grid; gap: 4px; text-align: left; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); cursor: pointer; font: inherit; }
.coin-card:hover { border-color: var(--ink-3); }
.coin-card.on { border: 2px solid var(--meter); padding: 11px 13px; }
.coin-card:disabled { cursor: progress; }
.coin-top { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; padding-right: 58px; }
.coin-top b { font-size: 16px; }
.coin-net { font-size: 13px; color: var(--ink-2); }
.coin-meta { font-size: 12px; color: var(--ink-3); }
.coin-tag { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 700; color: var(--meter);
  border: 1px solid var(--meter); border-radius: 999px; padding: 1px 7px; }
.pro-crypto-pay:not(:empty) { margin-top: 16px; }
.pay-card { border: 1px solid var(--line-2); border-radius: 14px; padding: 18px; display: grid; gap: 14px; background: var(--panel); }
.pay-head { display: grid; gap: 2px; }
.pay-amount { font-size: 28px; line-height: 1.15; }
.pay-amount b { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.pay-amount span { font-size: 18px; color: var(--ink-2); }
.pay-net { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pay-warn { border-left: 3px solid var(--danger); background: var(--danger-bg); color: var(--ink); border-radius: 8px;
  padding: 10px 12px; font-size: 13px; line-height: 1.45; }
.pay-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
.pay-qr { display: grid; gap: 6px; justify-items: center; text-align: center; max-width: 220px; }
.pro-qr { width: 200px; height: 200px; border-radius: 10px; border: 1px solid var(--line); image-rendering: pixelated; }
.pay-fields { display: grid; gap: 12px; min-width: 0; }
.pay-open { justify-self: start; }
.pro-copy { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label label" "value btn"; align-items: center; gap: 4px 10px; }
.pro-copy-label { grid-area: label; font-size: 12px; color: var(--ink-3); }
.pro-copy code { grid-area: value; overflow-wrap: anywhere; font-size: 13px; background: var(--raise); border-radius: 8px; padding: 8px 10px; }
.pro-copy.big code { font-size: 16px; font-weight: 700; }
.pro-copy .btn-small { grid-area: btn; padding: 6px 12px; font-size: 13px; min-height: 0; }
.pay-state { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 600; }
.pay-dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--meter); animation: pay-pulse 1.6s ease-in-out infinite; }
.pay-dot.off { background: var(--ink-3); animation: none; }
@keyframes pay-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .pay-dot { animation: none; } }
.pay-other { justify-self: start; }
.pay-card.paid { justify-items: center; text-align: center; padding: 28px 18px; }
.pay-card.paid h4 { margin: 0; font-size: 20px; }
.pay-card.paid p { margin: 0; }
.pay-ok { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--meter); color: #fff; }
.pay-ok i { display: block; width: 28px; height: 28px; }
.pay-ok i svg { width: 100%; height: 100%; stroke-width: 2.6; }
/* On a phone the QR is not the way (the wallet is on the same phone): the button comes first, the QR after. */
@media (max-width: 640px) {
  .coin-grid { grid-template-columns: 1fr; }
  .pay-body { grid-template-columns: 1fr; }
  .pay-qr { order: 2; justify-self: center; }
  .pay-fields { order: 1; }
  .pay-open { justify-self: stretch; text-align: center; }
}
/* Pro page conversion pass (2026-10-05). Tokens only. */
.plan-note { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.plan-was { color: var(--ink-3); }
.plan-save { font-weight: 600; color: var(--meter); }
.pro-ways { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); text-align: center; }
.pro-coin-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pro-today { margin: 14px 0 6px; max-width: 520px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pro-today-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.pro-today-bar i { display: block; height: 100%; background: var(--meter); }
.pro-places-title { margin: 22px 0 8px; font-weight: 600; }
.pro-places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; font-size: 14px; }
.pro-places li { display: flex; align-items: center; gap: 8px; }
.pro-flag { font-size: 18px; line-height: 1; }
.pro-free-tag { font-size: 12px; color: var(--ink-3); }
.pro-faq { margin-top: 20px; }
.pro-faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.pro-faq summary { cursor: pointer; font-weight: 600; }
.pro-faq details p { margin: 8px 0 0; }
/* Checkout redesign (2026-10-05, "one decision at a time"). Tokens only. */
.co { max-width: 720px; display: grid; gap: 14px; }
.co-title { margin: 0; }
.co-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--raise); border-radius: 12px; }
.co-tab { font: inherit; font-weight: 600; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); cursor: pointer; }
.co-tab.on { background: var(--panel); color: var(--ink); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.co-body { display: grid; gap: 14px; min-height: 120px; }
.co-summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; }
.co-summary b { font-size: 16px; }
.co-price { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.co-sub { margin: -6px 0 0; }
.coin-list { display: grid; gap: 8px; }
.coin-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; text-align: left; font: inherit; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); cursor: pointer; }
.coin-row:hover { border-color: var(--ink-3); }
.coin-row.on { border-color: var(--meter); box-shadow: 0 0 0 1px var(--meter); }
.coin-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; }
.coin-row.on .coin-radio { border-color: var(--meter); }
.coin-row.on .coin-radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--meter); }
.coin-txt { display: grid; gap: 2px; min-width: 0; }
.coin-row .coin-top { padding-right: 0; }
.coin-row .coin-tag { position: static; }
.co-loading { display: flex; align-items: center; gap: 12px; padding: 28px 4px; }
.co-spin { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ink); animation: co-spin .8s linear infinite; }
@keyframes co-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .co-spin { animation-duration: 2.4s; } }
.co-back { justify-self: start; font: inherit; font-size: 14px; color: var(--ink-2); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.co-back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.co .pro-go { width: 100%; max-width: none; padding: 14px; font-size: 15px; }
.co .pro-total { margin: 4px 0 0; }
.co .pro-who { margin: 0; }
.co + .pro-cols { margin-top: 20px; }
/* Coin logos (2026-10-05): the coin, with its network as a small badge at the corner. */
.coin-row { grid-template-columns: auto auto 1fr auto; }
.coin-logo { position: relative; display: inline-block; flex: none; }
.coin-logo > img:first-child { display: block; width: 100%; height: 100%; }
.coin-net-badge { position: absolute; right: -3px; bottom: -3px; width: 45%; height: 45%; border-radius: 50%;
  background: var(--panel); box-shadow: 0 0 0 2px var(--panel); }
.pay-amount { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ===================================================================== */
/* Account site redesign (2026-10-05): "the Teal app, on the web".        */
/* Brand mint for the one action that matters, the app's ring, a navy    */
/* card that looks like the app. Light and dark both work.               */
/* ===================================================================== */
:root { --brand: #14B8A6; --brand-2: #2DD4BF; --brand-ink: #062521; --navy: #0B1017; --navy-2: #12202a; }
.app-tile { border-radius: 9px; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }

/* The one important action: mint, dark text (contrast 9:1), a soft glow. */
.btn-brand { background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: var(--brand-ink); font-weight: 650;
  box-shadow: 0 8px 22px -12px rgba(20, 184, 166, .75), inset 0 1px 0 rgba(255, 255, 255, .35); border: 0; }
.btn-brand:hover { filter: brightness(1.05); }
.btn-brand[disabled] { opacity: .6; cursor: progress; }

/* --- Sign in: the app's ring beside the form (wide screens) ----------- */
.auth-brand { display: none; }
@media (min-width: 960px) {
  .auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: 100vh; }
  .auth-brand { grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    padding: 48px; color: #e9f2f1; text-align: center;
    background: radial-gradient(70% 55% at 50% 40%, rgba(45, 212, 191, .22), transparent 70%), linear-gradient(165deg, #12202a, var(--navy) 70%); }
  .auth-brand h2 { margin: 0; font-size: 28px; line-height: 1.2; max-width: 360px; color: #fff; }
  .auth-main { align-items: center; padding: 48px 32px; }
  .auth .foot { grid-column: 2; }
  .auth-card { box-shadow: none; border: 0; background: transparent; }
}
.brand-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: rgba(233, 242, 241, .8); }
.brand-points li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--brand-2); vertical-align: middle; }
.ring-art { position: relative; width: 210px; height: 210px; display: grid; place-items: center; }
.ring-dash { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 200deg, #38bdf8, var(--brand-2), #38bdf8);
  -webkit-mask: repeating-conic-gradient(#000 0 7deg, transparent 7deg 12deg), radial-gradient(circle, transparent 64%, #000 65%);
  -webkit-mask-composite: source-in; mask: repeating-conic-gradient(#000 0 7deg, transparent 7deg 12deg) intersect, radial-gradient(circle, transparent 64%, #000 65%);
  filter: drop-shadow(0 0 18px rgba(45, 212, 191, .45)); animation: ring-turn 40s linear infinite; }
.ring-core { width: 66%; height: 66%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #16252f, #0a1218);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px -18px rgba(0, 0, 0, .8); }
.ring-core img { width: 46%; height: auto; filter: brightness(1.8) saturate(.4); }
@keyframes ring-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring-dash { animation: none; } }

/* --- Home: the plan card looks like the app ------------------------- */
.ov-plan { position: relative; border-right: 0; color: #e9f2f1;
  background: radial-gradient(110% 80% at 90% 0%, rgba(45, 212, 191, .2), transparent 60%), linear-gradient(160deg, var(--navy-2), var(--navy) 75%); }
.ov-plan h3 { color: #fff; }
.ov-plan .muted { color: rgba(233, 242, 241, .72); }
.ov-plan .tag { background: rgba(255, 255, 255, .08); color: #bfeee6; border-color: rgba(255, 255, 255, .16); }
.plan-ring { position: relative; width: 132px; height: 132px; margin-bottom: 18px; }
.plan-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 10; stroke-dasharray: 5 5; }
.ring-fg { fill: none; stroke: var(--brand-2); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1);
  filter: drop-shadow(0 0 6px rgba(45, 212, 191, .55)); }
.plan-ring.full .ring-fg { stroke: #f59e0b; filter: drop-shadow(0 0 6px rgba(245, 158, 11, .5)); }
@media (prefers-reduced-motion: reduce) { .ring-fg { transition: none; } }
.ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; }
.ring-txt b { font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; }
.ring-txt span { font-size: 11px; color: rgba(233, 242, 241, .7); }

/* --- Devices: an empty state that tells you what to do -------------- */
.rows .empty-rich { flex-direction: column; text-align: center; gap: 8px; padding: 32px 20px; }
.empty-icons { display: flex; gap: 10px; margin-bottom: 6px; }
.empty-icons i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--raise); color: var(--ink-2); }
.empty-rich .btn { margin-top: 8px; }

/* --- Subscription (Free): an upgrade card, not a table -------------- */
.pro-panel:not(.hidden) { display: grid; gap: 12px; justify-items: start; margin-top: 16px;
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%), var(--panel); }
.pro-panel h3 { margin: 0; font-size: 22px; }
.tag-brand { background: color-mix(in srgb, var(--brand) 14%, transparent); color: color-mix(in srgb, var(--brand) 70%, var(--ink)); border-color: transparent; }
.up-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.up-points li { display: flex; align-items: center; gap: 10px; }
.up-points i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); }

/* --- Pro page: the chosen plan reads as chosen ----------------------- */
.plan-card.on { background: color-mix(in srgb, var(--brand) 7%, var(--panel)); border-color: var(--brand); }
.plan-badge { color: color-mix(in srgb, var(--brand) 75%, var(--ink)); border-color: var(--brand); }

/* Pages arrive with a short fade (not on reduced motion). */
@media (prefers-reduced-motion: no-preference) { section[data-view] { animation: page-in .28s ease-out; } }
@keyframes page-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* Home card: the ring BESIDE the plan name, so the card stays compact. */
.overview { grid-template-columns: minmax(0, 1.45fr) minmax(0, 2fr); }
.ov-plan { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 22px; align-content: start; }
.ov-plan .plan-ring { grid-row: 1 / span 4; width: 112px; height: 112px; margin: 2px 0 0; }
.ov-plan > :not(.plan-ring) { grid-column: 2; }
.ov-plan .tag { justify-self: start; }
.stat { justify-content: flex-start; }
@media (max-width: 900px) { .overview { grid-template-columns: 1fr; } .ov-stats { border-top: 1px solid var(--line); } }
.panel.overview { padding: 0; }                         /* the navy card runs edge to edge on phones too */
.ring-txt b { font-size: 18px; }
.ring-txt span { font-size: 10px; max-width: 78px; line-height: 1.25; }
@media (max-width: 640px) { .ov-plan { column-gap: 16px; } .ov-plan .plan-ring { width: 96px; height: 96px; } }
/* Wide screens use the space (2026-10-05): checkout left, "what you get" right and in view while scrolling. */
.pro-layout { display: grid; gap: 20px; align-items: start; }
.pro-layout .co { max-width: none; margin: 0; }
.pro-layout .pro-aside { margin: 0; }
@media (min-width: 1000px) {
  .pro-layout { grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); }
  .pro-layout .pro-aside { position: sticky; top: 88px; }
}
.pro-layout + .pro-faq { margin-top: 20px; }
.pro-aside .pro-trust { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
/* Subscription: details and the upgrade card side by side. */
@media (min-width: 1000px) {
  section[data-view="subscription"].on:has(#proPanel:not(.hidden)) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; align-items: start; }
  section[data-view="subscription"].on:has(#proPanel:not(.hidden)) > .page-head { grid-column: 1 / -1; }
  section[data-view="subscription"] .pro-panel:not(.hidden) { margin-top: 0; }
}
/* "Best value" sits on the card's top edge, so it never squeezes the plan name ("Yearl / y" at laptop widths). */
.plan-card { position: relative; }
.plan-card .plan-badge { position: absolute; top: -10px; right: 12px; background: var(--panel); white-space: nowrap; }
.plan-card .plan-name { white-space: nowrap; }
.plan-grid { padding-top: 6px; }
/* Sign-in panel, second pass (2026-10-05, Sameer: "too AI"): the real app on a real phone, one concrete promise,
   left-aligned like a brand page. No centred ring, no bullet list. */
@media (min-width: 960px) {
  .auth-brand { position: relative; overflow: hidden; align-items: stretch; justify-content: flex-start; text-align: left;
    gap: 0; padding: 40px 48px 0;
    background: radial-gradient(60% 50% at 78% 78%, rgba(45, 212, 191, .28), transparent 70%), linear-gradient(170deg, #13232d, var(--navy) 65%); }
  .ab-top { display: flex; align-items: center; gap: 10px; font-size: 17px; color: #fff; }
  .ab-copy { margin-top: clamp(40px, 9vh, 96px); max-width: 440px; }
  .auth-brand .ab-copy h2 { font-size: clamp(30px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -.02em; max-width: none; text-align: left; }
  .ab-copy p { margin: 16px 0 0; font-size: 16px; line-height: 1.5; color: rgba(233, 242, 241, .72); max-width: 380px; }
  .ab-phone { margin: auto 0 0; align-self: flex-end; width: min(330px, 62%); transform: translate(6%, 14%) rotate(-7deg);
    border-radius: 34px; padding: 10px; background: linear-gradient(160deg, #2a3740, #0d1419);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 90px -20px rgba(45, 212, 191, .45); }
  .ab-phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
}
@media (min-width: 1400px) and (min-height: 900px) { .ab-phone { width: min(420px, 70%); transform: translate(4%, 10%) rotate(-7deg); } }
.pro-flag-img { width: 20px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); object-fit: cover; flex: none; }
/* Sign-in panel, third pass (2026-10-05, Sameer: "no diagonal, other colours, advanced UI"):
   a light mint panel, the phone upright, three small cards that drift. */
@media (min-width: 960px) {
  .auth-brand { color: var(--navy); padding: 40px 48px 0;
    background:
      radial-gradient(55% 45% at 70% 72%, rgba(45, 212, 191, .35), transparent 70%),
      linear-gradient(rgba(11, 16, 23, .045) 1px, transparent 1px) 0 0 / 28px 28px,
      linear-gradient(90deg, rgba(11, 16, 23, .045) 1px, transparent 1px) 0 0 / 28px 28px,
      linear-gradient(165deg, #f2fdfa, #d8f6ef 60%, #c4efe6); }
  .ab-top { color: var(--navy); }
  .auth-brand .ab-copy h2 { color: var(--navy); }
  .ab-copy p { color: rgba(11, 16, 23, .66); }
  .ab-stage { position: relative; margin: auto auto 0; width: min(360px, 64%); padding-bottom: 0; }
  .ab-phone { margin: 0; width: 100%; transform: translateY(12%); align-self: auto;
    background: linear-gradient(160deg, #26333c, #0b1116);
    box-shadow: 0 0 0 1px rgba(11, 16, 23, .1), 0 50px 90px -35px rgba(11, 16, 23, .55), 0 0 0 10px rgba(255, 255, 255, .35); }
  .ab-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
    background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px -14px rgba(11, 16, 23, .35), 0 0 0 1px rgba(11, 16, 23, .06);
    font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; }
  .ab-dot { width: 9px; height: 9px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
  .ab-chip.c1 { top: 18%; left: -22%; }
  .ab-chip.c2 { top: 40%; right: -16%; }
  .ab-chip.c3 { top: 64%; left: -30%; }
  @media (prefers-reduced-motion: no-preference) {
    .ab-chip { animation: ab-float 6s ease-in-out infinite; }
    .ab-chip.c2 { animation-delay: -2s; }
    .ab-chip.c3 { animation-delay: -4s; }
    .ab-phone { animation: ab-rise .9s cubic-bezier(.2, .8, .2, 1) both; }
  }
}
@keyframes ab-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ab-rise { from { transform: translateY(22%); opacity: 0; } to { transform: translateY(12%); opacity: 1; } }
@media (min-width: 1400px) and (min-height: 900px) { .ab-stage { width: min(400px, 60%); } .ab-phone { transform: translateY(10%); } }
/* Sign-in = the login box alone (2026-10-05, Sameer: "I prefer nothing there, just the login widget"). */
@media (min-width: 960px) {
  .auth { display: flex; flex-direction: column; min-height: 100vh; }
  .auth-main { align-items: flex-start; padding: 64px 16px 32px; }
  .auth .foot { grid-column: auto; }
  .auth-card { background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
}
/* Downloads page (2026-10-05) */
.dl-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dl-grid .dl-card.live { grid-column: 1 / -1; } }
.dl-card { display: flex; flex-direction: column; gap: 14px; }
.dl-card:not(.live) { opacity: .92; }
.dl-head { display: flex; align-items: center; gap: 14px; }
.dl-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(0, 0, 0, .35); color: #111; }
.dl-tile svg { width: 28px; height: 28px; }
.dl-logo { display: block; }
.dl-name { display: flex; flex-direction: column; min-width: 0; }
.dl-name b { font-size: 17px; }
.dl-tag { margin-left: auto; white-space: nowrap; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--raise); color: var(--ink-2); }
.dl-tag.mine { background: rgba(45, 212, 191, .16); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(45, 212, 191, .5); }
.dl-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; }
.dl-btn .dl-logo { width: 20px; height: 20px; }
.dl-btn svg { width: 20px; height: 20px; }
.dl-btn.is-off { opacity: .55; cursor: not-allowed; pointer-events: none; }
.dl-soon { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--raise); color: var(--ink-2); }
.dl-note { margin: 0; }
.dl-sum { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.dl-sum code { font-size: 12px; }
@media (max-width: 520px) { .dl-acts .dl-btn { flex: 1 1 100%; } }
/* Whose account pays (2026-10-06) */
.co-who { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 14px; }
.co-who .co-mail { font-weight: 700; overflow-wrap: anywhere; }
.co-notme { margin-left: auto; font-size: 13px; }
/* Pro page on phones (2026-10-06, Sameer: "buy without scrolling"): compact plan rows, a short header, and the pay
   button that stays visible at the bottom of the screen while the plans are on screen. */
@media (max-width: 700px) {
  .pro-hero h2 { font-size: 24px; }
  .pro-hero > p.muted { display: none; }
  .co { padding: 16px; }
  .co-who { margin-bottom: 10px; font-size: 13px; }
  .co-title { font-size: 17px; margin-bottom: 10px; }
  .plan-grid { gap: 8px; }
  .plan-card { padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; row-gap: 2px; text-align: left; }
  .plan-card .plan-top { grid-column: 1; grid-row: 1; margin: 0; }
  .plan-card .plan-price { grid-column: 2; grid-row: 1 / span 2; margin: 0; text-align: right; white-space: nowrap; }
  .plan-card .plan-price b { font-size: 24px; }
  .plan-card .plan-note { grid-column: 1; grid-row: 2; margin: 0; font-size: 12px; }
  .plan-card .plan-badge { position: static; margin-left: 8px; }
  .pro-total { margin: 12px 0 4px; font-size: 14px; }
  .pro-go { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 5; width: 100%; min-height: 54px;
    box-shadow: 0 10px 28px -8px rgba(6, 37, 33, .55); }
}
/* Phone checkout (2026-10-06): one screen, like an app's paywall. */
@media (max-width: 700px) {
  .pp-page { padding: 0; }
  .pp { display: flex; flex-direction: column; gap: 14px; min-height: calc(100dvh - 170px); }
  .pp-top { text-align: center; }
  .pp-title { margin: 4px 0 12px; font-size: 28px; letter-spacing: -.02em; }
  .pp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .pp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
    background: rgba(45, 212, 191, .14); color: var(--ink); }
  .pp-chip svg { width: 16px; height: 16px; color: var(--brand, #14B8A6); }
  .pp-who { margin: 12px 0 0; display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-2); }
  .pp-who bdi { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
  .pp-notme { font-size: 13px; }
  .pp-label { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .pp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pp-plan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 6px 12px;
    border-radius: 16px; border: 1.5px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; font: inherit; }
  .pp-plan.on { border-color: var(--brand, #14B8A6); background: rgba(45, 212, 191, .10); box-shadow: 0 0 0 3px rgba(45, 212, 191, .22); }
  .pp-save { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700;
    padding: 3px 8px; border-radius: 999px; background: var(--brand, #14B8A6); color: #062521; }
  .pp-len { font-size: 13px; font-weight: 600; color: var(--ink-2); }
  .pp-per b { font-size: 24px; letter-spacing: -.02em; }
  .pp-per small { font-size: 12px; color: var(--ink-3); margin-left: 1px; }
  .pp-billed { font-size: 12px; color: var(--ink-3); }
  .pp-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .pp-foot { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 8px; padding: 12px 0 calc(8px + env(safe-area-inset-bottom));
    background: linear-gradient(transparent, var(--bg) 18%); }
  .pp-total { margin: 0; text-align: center; font-size: 14px; font-weight: 600; }
  .pp-go { width: 100%; min-height: 56px; font-size: 17px; border-radius: 16px; box-shadow: 0 12px 28px -10px rgba(6, 37, 33, .55); }
  .pp-fine { margin: 0; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
  .pp-fine svg { width: 14px; height: 14px; }
  .pp-alt { min-height: 46px; border-radius: 14px; border: 1.5px solid var(--line-2); background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
  .pp-crypto .pp-mid { justify-content: flex-start; }
  .pp-back { align-self: flex-start; margin-bottom: 8px; font-size: 14px; }
}
@media (max-width: 700px) {
  .pp-notme, .pp-back { border: 0; background: none; padding: 0; min-height: 0; font: inherit; font-size: 13px; font-weight: 600;
    color: var(--brand, #14B8A6); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .pp-back { font-size: 14px; text-decoration: none; }
  .pp-crypto .pp-chips { display: none; }
  .pp-crypto .pp-title { font-size: 22px; margin-bottom: 4px; }
  .pp-crypto .pp-who { margin-top: 4px; }
  .pp-cryptobox .co-sub { margin: 6px 0 10px; }
}
@media (max-width: 700px) {
  .pp-foot { background: var(--bg); box-shadow: 0 -14px 18px -16px rgba(0, 0, 0, .25); }
}
@media (max-width: 700px) and (max-height: 720px) {
  .pp { gap: 10px; }
  .pp-title { font-size: 22px; margin: 0 0 8px; }
  .pp-chips { gap: 6px; }
  .pp-chip { padding: 5px 10px; font-size: 12px; }
  .pp-who { margin-top: 8px; }
  .pp-plan { padding: 16px 4px 10px; }
  .pp-per b { font-size: 21px; }
  .pp-go { min-height: 52px; }
}
