/* BTCHide VPN — V2Board theme */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/unbounded-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/unbounded-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/golos-text-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/golos-text-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --bg: #0D1026;
  --bg-2: #11153A;
  --surface: #161A3A;
  --surface-2: #1D2250;
  --line: #2A2F5C;
  --text: #ECEBFF;
  --muted: #9095C4;
  --faint: #8186BA;
  --accent-text: var(--accent);
  --accent: #FFB547;
  --accent-ink: #1B1405;
  --accent-soft: rgba(255, 181, 71, .14);
  --chart: #7C8CFF;
  --ok: #5BD6A0;
  --warn: #FFB547;
  --bad: #FF6B7A;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, .65);
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --side: 248px;
  color-scheme: dark;
}
:root[data-accent="mint"]  { --accent: #5BE0B3; --accent-ink: #04190F; --accent-soft: rgba(91, 224, 179, .14); }
:root[data-accent="coral"] { --accent: #FF8A6B; --accent-ink: #210904; --accent-soft: rgba(255, 138, 107, .14); }
:root[data-accent="sky"]   { --accent: #6FC3FF; --accent-ink: #03141F; --accent-soft: rgba(111, 195, 255, .15); }

:root[data-mode="light"] {
  --bg: #F3F4FB;
  --bg-2: #E9EBF8;
  --surface: #FFFFFF;
  --surface-2: #F1F2FA;
  --line: #DCDEF0;
  --text: #15183A;
  --muted: #5A5F8C;
  --faint: #62678E;
  --chart: #4B5BE0;
  --shadow: 0 22px 50px -32px rgba(21, 24, 58, .35);
  color-scheme: light;
}
:root[data-mode="light"][data-accent="amber"] { --accent: #E58A00; --accent-ink: #1B1405; --accent-text: #9C5300; --accent-soft: rgba(229, 138, 0, .14); }
:root[data-mode="light"][data-accent="mint"]  { --accent: #0B7D5A; --accent-ink: #FFFFFF; --accent-text: #0B7D5A; }
:root[data-mode="light"][data-accent="coral"] { --accent: #C8411F; --accent-ink: #FFFFFF; --accent-text: #C8411F; }
:root[data-mode="light"][data-accent="sky"]   { --accent: #1570B8; --accent-ink: #FFFFFF; --accent-text: #1570B8; }
@media (prefers-color-scheme: light) {
  :root[data-mode="auto"] {
    --bg: #F3F4FB; --bg-2: #E9EBF8; --surface: #FFFFFF; --surface-2: #F1F2FA; --line: #DCDEF0;
    --text: #15183A; --muted: #5A5F8C; --faint: #62678E; --chart: #4B5BE0;
    --shadow: 0 22px 50px -32px rgba(21, 24, 58, .35); color-scheme: light;
  }
  :root[data-mode="auto"][data-accent="amber"] { --accent: #E58A00; --accent-ink: #1B1405; --accent-text: #9C5300; }
  :root[data-mode="auto"][data-accent="mint"]  { --accent: #0B7D5A; --accent-text: #0B7D5A; }
  :root[data-mode="auto"][data-accent="coral"] { --accent: #C8411F; --accent-text: #C8411F; }
  :root[data-mode="auto"][data-accent="sky"]   { --accent: #1570B8; --accent-text: #1570B8; }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; margin: 0; line-height: 1.15; }
h1 { font-size: clamp(26px, 3.2vw, 34px); }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }
.small { font-size: 13px; }
.hide { display: none !important; }

/* Boot */
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot-ring { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font-weight: 500; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { border-color: var(--faint); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent-text); cursor: pointer; font-weight: 500; text-decoration: none; }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13px; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-2); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.row { display: flex; gap: 10px; align-items: center; }
.row > .grow { flex: 1; min-width: 0; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--line); transition: background .15s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .18s; }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(18px); }

/* App shell */
.shell { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; padding: 22px 16px; display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--line); background: var(--bg);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; }
.brand b { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mark { width: 32px; height: 32px; flex: none; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  color: var(--muted); text-decoration: none; font-weight: 500; position: relative;
}
.nav a svg { width: 20px; height: 20px; flex: none; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.on { color: var(--text); background: var(--surface); }
.nav a.on::before { content: ""; position: absolute; left: -16px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.nav .badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.side-foot { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface); }
.me img, .me .ava { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.me .ava { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-family: var(--display); font-size: 14px; }
.me div { min-width: 0; flex: 1; }
.me b { display: block; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me small { color: var(--muted); font-size: 12px; }
.iconbtn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--muted); flex: none; }
.iconbtn:hover { color: var(--text); }
.iconbtn svg { width: 18px; height: 18px; }

.main { min-width: 0; padding: 34px clamp(16px, 4vw, 48px) 80px; }
.wrap { max-width: 1120px; margin: 0 auto; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.head p { margin-top: 6px; color: var(--muted); }
.back { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); text-decoration: none; margin-bottom: 14px; font-size: 14px; }
.back:hover { color: var(--text); }
.back svg { width: 16px; height: 16px; }

.topbar { display: none; }
.tabbar { display: none; }

/* Panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.panel.flat { background: transparent; }
.panel h2 { margin-bottom: 4px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.stack { display: grid; gap: 18px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Dashboard hero meter */
.dash { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; }
.meter-card { position: relative; overflow: hidden; padding: 28px; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.meter-card::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%); pointer-events: none;
}
.meter { position: relative; width: 220px; height: 220px; }
.meter svg { width: 100%; height: 100%; transform: rotate(135deg); }
.meter .track { stroke: var(--line); }
.meter .fill { stroke: var(--accent); transition: stroke-dashoffset 1.1s cubic-bezier(.2, .8, .2, 1); }
.meter .ticks { stroke: var(--faint); opacity: .5; }
.meter-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.meter-label b { font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.meter-label span { color: var(--muted); font-size: 13px; margin-top: 8px; }
.plan-name { font-family: var(--display); font-size: 24px; font-weight: 500; margin: 2px 0 14px; }
.facts { display: grid; gap: 10px; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: middle; box-shadow: 0 0 0 4px rgba(91, 214, 160, .15); }
.status-dot.off { background: var(--bad); box-shadow: 0 0 0 4px rgba(255, 107, 122, .15); }
.status-dot.warn { background: var(--warn); box-shadow: 0 0 0 4px var(--accent-soft); }

.wallet b { display: block; font-family: var(--display); font-size: 30px; font-weight: 500; margin: 6px 0 2px; letter-spacing: -.02em; }

/* Connect / clients */
.sub-link { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.sub-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.app {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--bg-2); text-decoration: none; cursor: pointer; text-align: left;
}
.app:hover { border-color: var(--accent); }
.app i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-family: var(--display); font-size: 13px; font-weight: 700; color: #fff; flex: none; }
.app b { display: block; font-weight: 500; font-size: 14px; }
.app small { color: var(--muted); font-size: 12px; }
.app.featured { grid-column: span 2; border-color: var(--accent); background: var(--accent-soft); }
.os-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0 0; }
.chip { height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 500; }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Notices */
.notice { display: grid; grid-template-columns: 4px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.notice:last-child { border-bottom: 0; padding-bottom: 0; }
.notice::before { content: ""; border-radius: 4px; background: var(--chart); }
.notice b { font-weight: 500; display: block; }
.notice small { color: var(--muted); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.plan.current { border-color: var(--accent); }
.plan .price { font-family: var(--display); font-size: 34px; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.plan .price small { font-family: var(--body); font-size: 14px; color: var(--muted); font-weight: 400; margin-left: 4px; letter-spacing: 0; }
.plan .spec { display: flex; gap: 18px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.plan .spec b { color: var(--text); font-weight: 500; }



.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 500; background: var(--accent-soft); color: var(--accent-text); }
.tag.grey { background: var(--surface-2); color: var(--muted); }
.tag.ok { background: rgba(91, 214, 160, .14); color: var(--ok); }
.tag.bad { background: rgba(255, 107, 122, .14); color: var(--bad); }

.periods { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.period { position: relative; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; text-align: left; }
.period input { position: absolute; opacity: 0; }
.period b { display: block; font-weight: 500; }
.period span { font-family: var(--display); font-size: 18px; margin-top: 4px; display: block; }
.period small { color: var(--muted); font-size: 12px; }
.period:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.period:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.summary { position: sticky; top: 24px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.sumrow.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 18px; }
.sumrow.total b { font-family: var(--display); font-weight: 500; font-size: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }

/* Lists / tables */
.list { display: grid; }
.item { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.item:last-child { border-bottom: 0; }
a.item:hover { background: linear-gradient(90deg, transparent, var(--surface-2), transparent); }
.item .grow { flex: 1; min-width: 0; }
.item b { font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item small { color: var(--muted); font-size: 13px; }
.item .end { text-align: right; flex: none; }

.nodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.node { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.node .flag { font-size: 22px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--bg-2); flex: none; }
.node .grow { flex: 1; min-width: 0; }
.node b { font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.node small { color: var(--muted); font-size: 12px; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty svg { width: 46px; height: 46px; color: var(--faint); margin-bottom: 10px; }
.empty b { display: block; color: var(--text); font-weight: 500; margin-bottom: 6px; }
.empty .btn { margin-top: 16px; }

.skel { border-radius: 12px; background: linear-gradient(90deg, var(--surface) 0, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.3s infinite; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Knowledge / article */
.prose { line-height: 1.7; max-width: 72ch; overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3 { margin: 1.4em 0 .5em; }
.prose h1 { font-size: 24px; } .prose h2 { font-size: 19px; } .prose h3 { font-size: 16px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose a { color: var(--accent-text); }
.prose img { border-radius: 12px; height: auto; }
.prose code { background: var(--bg-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: var(--bg-2); padding: 14px; border-radius: 12px; overflow: auto; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 0 0 1em; padding: 4px 16px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 1em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.search { position: relative; max-width: 360px; width: 100%; }
.search svg { position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; color: var(--faint); }
.search .input { padding-left: 42px; }
.kgroup + .kgroup { margin-top: 28px; }
.kgroup h3 { color: var(--muted); font-family: var(--body); font-weight: 500; font-size: 14px; margin-bottom: 8px; }

/* Tickets chat */
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; padding: 4px; }
.msg { max-width: 78%; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.mine { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.msg.them { border-bottom-left-radius: 4px; }
.msg small { display: block; font-size: 11px; opacity: .7; margin-top: 6px; }
.composer { display: flex; gap: 10px; margin-top: 16px; align-items: flex-end; }
.composer textarea { min-height: 46px; height: 46px; }

/* Invite */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat small { color: var(--muted); font-size: 13px; }
.stat b { display: block; font-family: var(--display); font-weight: 500; font-size: 26px; margin-top: 6px; letter-spacing: -.02em; }

/* Modal */
.modal-bg { position: fixed; inset: 0; z-index: 50; background: rgba(5, 7, 20, .6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fade .15s; }
.modal { width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); animation: pop .18s cubic-bezier(.2, .8, .2, 1); }
.modal.wide { max-width: 640px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.qr { display: grid; place-items: center; padding: 16px; background: #fff; border-radius: 16px; margin: 0 auto; width: max-content; }
.qr img, .qr svg { display: block; width: 220px; height: 220px; }

/* Toasts */
#toasts { position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.toast { padding: 12px 16px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 500; box-shadow: var(--shadow); animation: pop .2s; pointer-events: auto; }
.toast.err { background: var(--bad); color: #fff; }

/* Auth */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr minmax(380px, 500px); }
.auth-art { position: relative; overflow: hidden; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; background: var(--bg-2); border-right: 1px solid var(--line); }
.auth-art .routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-art .quote { position: relative; max-width: 460px; }
.auth-art .quote h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.auth-art .quote p { margin-top: 12px; color: var(--muted); }
.auth-form { padding: 40px clamp(20px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.auth-form h1 { margin-bottom: 8px; }
.auth-form > p { color: var(--muted); margin-bottom: 26px; }
.auth-alt { margin-top: 18px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Landing */
.land { min-height: 100vh; }
.land-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(16px, 4vw, 56px); max-width: 1240px; margin: 0 auto; }
.land-nav .row { gap: 8px; }
.hero { position: relative; max-width: 1240px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 56px) 70px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 68px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
.hero p { font-size: 18px; color: var(--muted); margin: 22px 0 30px; max-width: 46ch; }
.hero .row { flex-wrap: wrap; }
.hero .btn { height: 52px; padding: 0 24px; border-radius: 14px; }
.hero-map { position: relative; aspect-ratio: 1.15; }
.hero-map svg { width: 100%; height: 100%; }
.routes .arc { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 4 7; opacity: .9; }
.routes .arc.dim { stroke: var(--chart); opacity: .45; }
.routes .dot { fill: var(--text); }
.routes .dot.hub { fill: var(--accent); }
.routes .halo { fill: var(--accent); opacity: .18; }
.routes .grid { stroke: var(--line); stroke-width: 1; fill: none; }
.routes .packet { fill: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .routes .arc { animation: flow 2.6s linear infinite; }
  .routes .halo { animation: pulse 2.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes flow { to { stroke-dashoffset: -44; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(2.4); opacity: 0; } }
.land-sec { max-width: 1240px; margin: 0 auto; padding: 60px clamp(16px, 4vw, 56px); border-top: 1px solid var(--line); }
.land-sec > h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 30px; max-width: 22ch; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.feat svg { width: 28px; height: 28px; color: var(--accent-text); margin-bottom: 14px; }
.feat h3 { margin-bottom: 8px; font-size: 17px; }
.feat p { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); font-family: var(--display); font-size: 40px; color: var(--accent-text); line-height: 1; display: block; margin-bottom: 18px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--accent-text); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 70ch; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 36px; border-radius: 28px; background: var(--accent); color: var(--accent-ink); }
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); max-width: 20ch; }
.cta-band .btn { background: var(--accent-ink); color: var(--accent); border-color: transparent; height: 52px; padding: 0 26px; }
.foot { max-width: 1240px; margin: 0 auto; padding: 30px clamp(16px, 4vw, 56px) 40px; color: var(--faint); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* Responsive */
@media (max-width: 1100px) {
  .dash { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .summary { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 20; padding: 12px 16px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .topbar .brand { padding: 0; }
  .main { padding: 22px 16px calc(96px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 94%, transparent);
    backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button { display: grid; justify-items: center; gap: 3px; padding: 6px 2px; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 500; background: none; border: 0; cursor: pointer; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar .on { color: var(--accent-text); }
  .meter-card { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .meter-card > div:last-child { width: 100%; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-map { order: -1; max-width: 460px; width: 100%; margin: 0 auto; }
  .feats, .steps { grid-template-columns: 1fr; }
  .app.featured { grid-column: auto; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .panel { padding: 18px; border-radius: 18px; }
  .meter { width: 190px; height: 190px; }
  .apps { grid-template-columns: 1fr 1fr; }
  .land-nav .btn.ghost { display: none; }
  .cta-band { padding: 26px; }
}
.sheet-bg { position: fixed; inset: 0; z-index: 40; background: rgba(5, 7, 20, .5); animation: fade .15s; }
.sheet { position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; padding: 14px 14px calc(20px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; animation: up .2s cubic-bezier(.2, .8, .2, 1); }
.sheet .nav a.on::before { display: none; }
@keyframes up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
.col { min-width: 0; }
@media (max-width: 520px) { .meter-label b { font-size: 26px; } .sub-link [data-copy-sub] span { display: none; } }
@media (max-width: 520px) { .land-nav { padding: 14px 16px; gap: 8px; } .land-nav .brand { padding: 0; min-width: 0; } .land-nav .btn { height: 38px; padding: 0 12px; font-size: 13px; } .land-nav .brand b { font-size: 15px; } }
.land-nav .brand { padding: 0; }

/* =========================================================
   Liquid glass (cabinet, modals, sheets)
   ========================================================= */
:root {
  --glass: rgba(255, 255, 255, .055);
  --glass-2: rgba(255, 255, 255, .10);
  --glass-solid: rgba(24, 28, 64, .72);
  --glass-edge: rgba(255, 255, 255, .10);
  --glass-hi: rgba(255, 255, 255, .34);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), inset 0 -1px 0 rgba(0, 0, 0, .20), 0 24px 60px -28px rgba(0, 0, 0, .7);
  --field: rgba(6, 8, 26, .32);
  --blur: blur(24px) saturate(180%);
  --orb-1: #5B4BFF;
  --orb-2: var(--accent);
  --orb-3: #17B8C9;
  --orb-o: .42;
}
:root[data-mode="light"] {
  --glass: rgba(255, 255, 255, .50);
  --glass-2: rgba(255, 255, 255, .78);
  --glass-solid: rgba(255, 255, 255, .84);
  --glass-edge: rgba(255, 255, 255, .75);
  --glass-hi: rgba(255, 255, 255, 1);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(21, 24, 58, .05), 0 22px 50px -30px rgba(30, 36, 100, .40);
  --field: rgba(255, 255, 255, .62);
  --orb-1: #9C8CFF;
  --orb-3: #63D9E4;
  --orb-o: .55;
}
@media (prefers-color-scheme: light) {
  :root[data-mode="auto"] {
    --glass: rgba(255, 255, 255, .50); --glass-2: rgba(255, 255, 255, .78); --glass-solid: rgba(255, 255, 255, .84);
    --glass-edge: rgba(255, 255, 255, .75); --glass-hi: #fff; --field: rgba(255, 255, 255, .62);
    --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 22px 50px -30px rgba(30, 36, 100, .40);
    --orb-1: #9C8CFF; --orb-3: #63D9E4; --orb-o: .55;
  }
}

/* living background behind the glass */
.glass-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--bg); }
/* static light blobs: drawn as gradients (no blur filter) and never moving,
   so the glass panels above them don't have to re-blur every frame */
.glass-bg i { position: absolute; border-radius: 50%; opacity: var(--orb-o); }
.glass-bg i:nth-child(1) { width: 70vmax; height: 70vmax; left: -26vmax; top: -30vmax; background: radial-gradient(closest-side, var(--orb-1), transparent); }
.glass-bg i:nth-child(2) { width: 52vmax; height: 52vmax; right: -20vmax; top: 12vh; background: radial-gradient(closest-side, var(--orb-2), transparent); opacity: calc(var(--orb-o) * .6); }
.glass-bg i:nth-child(3) { width: 60vmax; height: 60vmax; left: 22vw; bottom: -34vmax; background: radial-gradient(closest-side, var(--orb-3), transparent); opacity: calc(var(--orb-o) * .7); }
.shell { position: relative; }
.shell > .side, .shell > .col { position: relative; z-index: 1; }
.shell > .side { position: sticky; }

/* glass surface */
.shell .panel, .shell .node, .side, .modal, .sheet, .tabbar, .topbar {
  background: linear-gradient(155deg, var(--glass-2), var(--glass) 42%, var(--glass));
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.modal, .sheet { background: linear-gradient(155deg, var(--glass-2), var(--glass-solid) 45%); }
/* specular rim: bright top-left edge fading out */
.shell .panel, .shell .node, .modal { position: relative; }
.shell .panel::before, .shell .node::before, .modal::before, .side::before, .tabbar::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, var(--glass-hi), rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, .14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* floating glass sidebar */
.side { margin: 12px 0 12px 12px; height: calc(100vh - 24px); top: 12px; border-radius: 26px; padding: 20px 14px; }
.nav a { border-radius: 14px; }
.nav a:hover { background: var(--glass); }
.nav a.on { background: var(--glass-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 18px -10px rgba(0, 0, 0, .5); color: var(--text); }
.nav a.on svg { color: var(--accent-text); }
.nav a.on::before { display: none; }
.me { background: var(--field); border: 1px solid var(--glass-edge); }

/* controls on glass */
.shell .btn:not(.primary), .modal .btn:not(.primary), .sheet .btn:not(.primary) {
  background: var(--glass); border-color: var(--glass-edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
}
.shell .btn:not(.primary):hover, .modal .btn:not(.primary):hover { background: var(--glass-2); border-color: var(--glass-edge); }
.btn.primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 78%, #fff), var(--accent) 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 10px 26px -12px var(--accent);
  border-color: color-mix(in srgb, var(--accent) 70%, #fff);
}
.shell .input, .modal .input { background: var(--field); border-color: var(--glass-edge); }
.shell .sub-link, .shell .app, .shell .period, .modal .period, .shell .flag, .shell .node .flag { background: var(--field); border-color: var(--glass-edge); }
.shell .app.featured { background: linear-gradient(135deg, var(--accent-soft), var(--field)); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.shell .chip { background: var(--field); border-color: var(--glass-edge); }
.shell .chip.on { background: var(--text); border-color: var(--text); }
.shell .iconbtn, .modal .iconbtn { background: var(--glass); border-color: var(--glass-edge); }
.shell .item { border-bottom-color: var(--glass-edge); }
.shell .facts div { border-bottom-color: var(--glass-edge); }
.modal-bg { background: rgba(5, 7, 20, .38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.shell .skel { background: linear-gradient(90deg, var(--glass) 0, var(--glass-2) 50%, var(--glass) 100%); background-size: 200% 100%; }
.shell .meter .track { stroke: var(--glass-2); }
.shell .meter-card::after { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
:root[data-mode="light"] .shell .meter .track { stroke: rgba(21, 24, 58, .10); }

/* support page, plan features, notice image, rich content */
.support { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.support-main { padding: 30px; }
.support-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; color: var(--accent-text);
  background: linear-gradient(145deg, var(--glass-2), var(--accent-soft)); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.support-ic svg { width: 28px; height: 28px; }
.support-main h2 { font-size: 22px; margin-bottom: 8px; }
.support-main p { max-width: 52ch; }
.feats-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.feats-list li { display: flex; gap: 8px; align-items: flex-start; }
.feats-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ok); }
.feats-list li.off { opacity: .55; text-decoration: line-through; }
.feats-list li.off svg { color: var(--faint); }
.notice-img { display: block; width: 100%; height: auto; border-radius: 14px; margin-bottom: 14px; }
.rich { display: block; max-width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden; contain: layout paint; isolation: isolate; }
.badge.hide, .dot.hide { display: none; }
.ti { position: relative; display: inline-grid; }
.ti .dot { position: absolute; top: -2px; right: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 2px var(--surface); }

/* =========================================================
   Mobile: nothing may push the page sideways
   ========================================================= */
html, body { overflow-x: clip; max-width: 100%; }
.head > div { min-width: 0; }
h1, h2 { overflow-wrap: anywhere; }
.facts dt { flex: none; }
.facts dd { min-width: 0; overflow-wrap: anywhere; }
.stats, .grid2, .grid3 { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.stats { --cols: 4; }
.grid3 { --cols: 3; }
.stat b { font-size: clamp(18px, 4.6vw, 26px); overflow-wrap: anywhere; }
.app { min-width: 0; }
.app > span { min-width: 0; }
.app b, .app small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .grow, .node .grow { min-width: 0; }
.item .end { max-width: 45%; }
.prose { max-width: 100%; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose img, .prose video, .prose iframe { max-width: 100%; }
.summary, .panel, .modal { min-width: 0; }
.modal-head h2 { min-width: 0; }
.periods { grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); }
.plans { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.nodes { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.apps { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
@media (max-width: 1100px) { .stats { --cols: 2; } .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .grid2, .grid3, .support { grid-template-columns: minmax(0, 1fr); }
  .meter-card { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .topbar { border: 0; border-bottom: 1px solid var(--glass-edge); border-radius: 0; box-shadow: none; }
  .tabbar {
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px;
    border-radius: 26px; gap: 2px; position: fixed;
  }
  .tabbar a, .tabbar button { border-radius: 20px; padding: 7px 2px; min-width: 0; }
  .tabbar .on { background: var(--glass-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 16px -10px rgba(0, 0, 0, .5); }
  .main { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .sheet { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); border-radius: 26px; padding: 12px; }
  .support-main { padding: 22px; }
}
@media (max-width: 520px) {
  :root { --blur: blur(18px) saturate(170%); }
  .sub-link { padding-left: 12px; }
  .sub-link .btn span { display: none; }
  .sub-link .btn { padding: 0 10px; }
  .apps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .head { margin-bottom: 18px; }
  .modal { padding: 18px; border-radius: 22px; }
  .modal-foot .btn { flex: 1 1 auto; }
  .summary .row .btn { padding: 0 12px; }
  .item { gap: 10px; }
  .meter-card { padding: 20px; }
  .nav a { padding: 12px; }
}
@media (max-width: 360px) {
  .tabbar a, .tabbar button { font-size: 10px; }
  .os-tabs .chip { padding: 0 10px; }
  h1 { font-size: 24px; }
}
.stack { grid-template-columns: minmax(0, 1fr); }
.land-nav .brand { min-width: 0; flex: 1 1 auto; }
.land-nav .row { flex: none; }
.brand b { min-width: 0; }
@media (max-width: 380px) { .land-nav [data-mode-btn] { display: none; } }
.foot .row { flex-wrap: wrap; row-gap: 8px; }

/* =========================================================
   Plan cards: Audora-compatible markup
   ========================================================= */
.plan { position: relative; overflow: hidden; }
.plan > * { position: relative; }
.plan > .t0 { position: absolute; }
.plan-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.plan.has-ribbon .plan-title { padding-right: 70px; }
.plan .plan-cont { flex: 1; }
.plan-cont { max-height: 450px; overflow-y: auto; margin-bottom: 16px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.plan-cont .t0 { display: none; }
.plan-cont > :last-child { margin-bottom: 0; }
.plan-cont p, .plan-cont ul, .plan-cont ol { margin: 0 0 .7em; }
.plan-cont ul, .plan-cont ol { padding-left: 1.2em; }
.plan-cont img { max-width: 100%; height: auto; border-radius: 10px; }
.plan-cont a { color: var(--accent-text); }
.plan-info .plan-cont { max-height: none; margin-bottom: 0; }

/* diagonal corner ribbon */
.plan .t0 {
  width: 200px;
  padding: 5px 0;
  color: #fff;
  position: absolute;
  text-align: center;
  right: -65px;
  top: 15px;
  background: var(--accent, #ce2c2c);
  transform: rotate(33.69deg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.plan .t0.color-1 { background: #3e92f6; }
.plan .t0.color-2 { background: #faad14; }
.plan .t0.color-3 { background: #eb2f96; }
.plan .t0.color-4 { background: #04b5c7; }
.plan .t0.color-5 { background: #384142; }
.plan .t0.color-6 { background: #368914; }

/* Audora feature rows */
.plan-cont .t1 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.plan-cont .t2 { font-size: 25px; color: #ce2c2c; text-align: center; font-weight: 700; margin-bottom: 6px; }
.plan-cont .t2 small { font-size: 12px; color: var(--muted); font-weight: 400; }
.plan-cont .t4 { font-size: 14px; margin-bottom: 12px; color: var(--text); }
.plan-cont .t4 .tit { display: block; font-weight: 700; margin-bottom: 6px; }
.plan-cont .t4 .desc { position: relative; padding-left: 24px; }
.plan-cont .t4 .tag { background-color: #f34d4d; color: #fff; font-size: 12px; border-radius: 12px; padding: 0 8px; display: inline-block; vertical-align: middle; transform: scale(.95); height: auto; font-weight: 400; }
.plan-cont .t4 .gou { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11.25' fill='none' stroke='%23357C4D' stroke-width='1.5'/%3E%3Cpath d='M11.05 13.321 17.37 7l1.167 1.167-7.483 7.483L7 11.6l1.167-1.163 2.883 2.884Z' fill='%23357C4D'/%3E%3C/svg%3E") no-repeat 50%; }
.plan-cont .t4 .cha { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11.25' fill='none' stroke='%23f2585e' stroke-width='1.5'/%3E%3Cpath d='M8.29 7.23 12 10.94l3.71-3.71 1.06 1.06L13.06 12l3.71 3.71-1.06 1.06L12 13.06l-3.71 3.71-1.06-1.06L10.94 12 7.23 8.29Z' fill='%23f2585e'/%3E%3C/svg%3E") no-repeat 50%; }
.plan-cont .t4 .cha, .plan-cont .t4 .gou { display: block; width: 18px; height: 18px; position: absolute; left: 0; top: 1px; background-size: contain; }
.plan-cont .t4 .re { color: #ce2c2c; }
.plan-cont .t4 .bo { font-weight: 700; }
:root[data-mode="dark"] .plan-cont .t4 .re, :root[data-mode="dark"] .plan-cont .t2 { color: #ff6b6b; }

.plan-doc { display: block; margin-bottom: 16px; flex: 1; }
.plan-info .plan-doc { margin-bottom: 0; }

/* plan description host (isolated), long-text clamp, price wrapping */
.plan .plan-cont-host { display: block; flex: 1; margin-bottom: 16px; min-width: 0; }
.plan .plan-cont-host.clamped { flex: none; max-height: 340px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.plan .plan-more { align-self: flex-start; margin: -8px 0 16px; font-size: 14px; }
.plan .plan-more + * { margin-top: auto; }
.plan-info .plan-cont-host { display: block; }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 2px; font-size: clamp(26px, 2.4vw, 34px); overflow-wrap: anywhere; }
.plan .price small { margin-left: 0; white-space: nowrap; }
.plan .price .small { margin-right: 0 !important; }

/* =========================================================
   3D: globe, card tilt, meter glow, page transition
   ========================================================= */
.globe { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.hero-map { aspect-ratio: 1; max-width: 620px; justify-self: center; width: 100%; }
.auth-art .auth-globe { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }
.auth-art > .brand, .auth-art > .quote { position: relative; z-index: 1; }
.globe-panel { position: relative; height: clamp(300px, 46vw, 460px); padding: 0; margin-bottom: 18px; overflow: hidden; }
.globe-panel .globe { position: absolute; inset: 0; }
.globe-legend { position: absolute; left: 18px; bottom: 16px; right: 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); pointer-events: none; }
.globe-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.lg-hub { background: radial-gradient(circle, #fff 0 30%, var(--accent) 38%); box-shadow: 0 0 0 3px var(--accent-soft); }
.lg-on { background: var(--accent); }
.lg-off { background: var(--muted); opacity: .7; }
.globe-legend .faint { margin-left: auto; }

/* cards tilt toward the cursor, a soft light follows it */
.shell .plan, .shell .meter-card, .shell .wallet, .shell .support-main, .shell .stat, .step {
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; transform-style: preserve-3d; will-change: auto;
}
.tilting { transition: transform .08s linear, box-shadow .3s !important; will-change: transform; }
.shell .panel.tilting {
  background-image: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .13), transparent 42%),
    linear-gradient(155deg, var(--glass-2), var(--glass) 42%, var(--glass));
  box-shadow: var(--glass-shadow), 0 40px 80px -40px rgba(0, 0, 0, .7);
}
:root[data-mode="light"] .shell .panel.tilting { background-image: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .9), transparent 45%), linear-gradient(155deg, var(--glass-2), var(--glass) 42%, var(--glass)); }

/* traffic ring: gradient + glow */
.shell .meter .fill { stroke: url(#mgrad); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 55%, transparent)); }
.meter-label b { text-shadow: 0 2px 24px color-mix(in srgb, var(--accent) 35%, transparent); }

/* current plan: slowly travelling light on the border */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.shell .plan.current::before {
  background: conic-gradient(from var(--ang), transparent 0 60%, var(--accent) 75%, transparent 90%) !important;
  padding: 1.5px !important;
}
@media (prefers-reduced-motion: no-preference) { .shell .plan.current::before { animation: spinang 6s linear infinite; } }
@keyframes spinang { to { --ang: 360deg; } }

/* page change */
#view > * { animation: viewIn .38s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } }

/* primary buttons: pressable depth */
.btn.primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 16px 34px -14px var(--accent); }
.btn.primary:active { transform: translateY(1px); }
@media (max-width: 900px) { .hero-map { max-width: 420px; } }
/* the globe panel stays transparent: an animated canvas under backdrop blur is expensive */
.shell .panel.globe-panel { background: none; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.shell .panel.globe-panel::before { display: none; }
.shell .node { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(155deg, var(--glass-2), var(--glass-solid)); }

/* expiry reminder */
.panel.expiry { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
  border-color: color-mix(in srgb, var(--accent) 60%, transparent) !important;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 20%, transparent), var(--glass) 60%) !important; }
.panel.expiry.over { border-color: color-mix(in srgb, var(--bad) 60%, transparent) !important;
  background: linear-gradient(120deg, color-mix(in srgb, var(--bad) 18%, transparent), var(--glass) 60%) !important; }
.expiry-ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent); box-shadow: 0 8px 22px -10px var(--accent); }
.expiry.over .expiry-ic { background: var(--bad); color: #fff; box-shadow: 0 8px 22px -10px var(--bad); }
.expiry-ic svg { width: 22px; height: 22px; }
.expiry-text { flex: 1 1 260px; min-width: 0; }
.expiry-text b { display: block; font-family: var(--display); font-weight: 500; font-size: 17px; }
.expiry-text span { color: var(--muted); font-size: 14px; }
.expiry-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 520px) { .expiry-actions, .expiry-actions .btn { width: 100%; } }

/* traffic chart */
.tchart { position: relative; height: 180px; margin: 6px 0 0 0; padding-left: 64px; outline: none; }
.tchart:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 8px; }
.tgrid { position: absolute; inset: 0 0 0 64px; pointer-events: none; }
.tgrid span { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--glass-edge); }
.tgrid span:last-child { border-top: 1px solid var(--line); }
.tgrid i { position: absolute; right: calc(100% + 10px); top: -9px; font-style: normal; font-size: 12px; color: var(--faint); white-space: nowrap; }
.tbars { position: absolute; inset: 0 0 0 64px; display: flex; align-items: flex-end; gap: 2px; }
.tbar { flex: 1; height: 100%; display: flex; align-items: flex-end; cursor: default; min-width: 0; }
.tbar i { display: block; width: 100%; max-width: 22px; margin: 0 auto; border-radius: 4px 4px 0 0; background: var(--accent); opacity: .85; transition: opacity .15s; }
.tchart:hover .tbar i, .tchart:focus-visible .tbar i { opacity: .45; }
.tchart .tbar.on i { opacity: 1; }
.ttip { position: absolute; top: -8px; transform: translate(-50%, -100%); padding: 8px 12px; border-radius: 12px; background: var(--glass-solid); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow); white-space: nowrap; pointer-events: none; z-index: 2; text-align: center; }
.ttip b { display: block; font-family: var(--display); font-weight: 500; }
.ttip span { font-size: 12px; color: var(--muted); }
.tx { display: flex; justify-content: space-between; padding: 8px 0 0 64px; font-size: 12px; color: var(--faint); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 520px) { .tchart, .tx { padding-left: 52px; } .tgrid, .tbars { left: 52px; } .tchart { height: 150px; } }

/* =========================================================
   Touch & mobile ergonomics
   ========================================================= */
/* iOS zooms into inputs below 16px — keep fields at 16px on phones */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .input, select.input, textarea.input { font-size: 16px; }
}
/* finger-sized targets (≥44px) on touch screens */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .btn.sm { height: 40px; min-width: 40px; }
  .iconbtn { width: 44px; height: 44px; }
  .chip { height: 40px; padding: 0 14px; }
  .linkbtn { padding: 10px 2px; margin: -10px -2px; }
  .switch { width: 48px; height: 28px; }
  .switch i::after { width: 22px; height: 22px; }
  .switch input:checked + i::after { transform: translateX(20px); }
  .check { min-height: 44px; }
}
.notice, .period, .app, .chip, .tbar, .item[href], summary { cursor: pointer; }
.node .flag { overflow: hidden; }
.node .flag img { width: 100%; height: 100%; object-fit: cover; display: block; }
.node .flag svg { width: 20px; height: 20px; color: var(--muted); }

/* dashboard: compact wallet + quick actions instead of a stretched empty card */
.dash-side { display: grid; grid-template-rows: auto 1fr; gap: 18px; min-width: 0; }
.wallet b { margin: 4px 0 2px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qtile { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 16px; min-height: 104px; border-radius: 18px; text-decoration: none;
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transition: background .2s, border-color .2s, transform .2s; min-width: 0; }
.qtile:hover { background: var(--glass-2); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.qtile:active { transform: scale(.98); }
.qi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.qi svg { width: 19px; height: 19px; }
.qtile b { display: block; font-weight: 500; font-size: 15px; }
.qtile small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
@media (max-width: 1100px) { .dash-side { grid-template-rows: auto; } .quick { grid-template-columns: repeat(4, minmax(0, 1fr)); } .qtile { min-height: 0; } }
@media (max-width: 700px) { .quick { grid-template-columns: 1fr 1fr; } .qtile small { display: none; } .qtile { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; padding: 12px; } }
@media (pointer: coarse) {
  .btn.sm { height: 44px; min-width: 44px; }
  .chip { height: 44px; }
  .brand { min-height: 44px; }
  .faq summary { padding: 9px 0; margin: -9px 0; }
  .foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .linkbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; margin: -12px -2px; }
  .auth-alt .linkbtn, .plan .plan-more { margin: -4px -2px; }
}

/* orders & balance timeline */
.op-ic { width: 36px; height: 36px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--field); border: 1px solid var(--glass-edge); color: var(--muted); }
.op-ic svg { width: 18px; height: 18px; }
.op-ic.in { color: var(--ok); }
.op-ic.out { color: var(--accent-text); }
.num.pos { color: var(--ok); }
.panel.activating { display: flex; align-items: center; gap: 16px; }
.panel.activating .boot-ring { width: 32px; height: 32px; flex: none; }
.panel.activating b { display: block; font-family: var(--display); font-weight: 500; font-size: 17px; margin-bottom: 4px; }
.list { grid-template-columns: minmax(0, 1fr); }
.item { min-width: 0; }
.item .grow b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .item .end .tag { font-size: 11px; padding: 0 8px; } }

/* =========================================================
   v2 "Signal" skin — night sky, BTC-orange signal, ice-blue data
   ========================================================= */
:root, :root[data-accent="amber"] {
  --bg: #080A14; --bg-2: #0E1222; --surface: #141A2E; --surface-2: #1B2239; --line: #262E4A;
  --text: #F3F2EE; --muted: #9EA3BD; --faint: #8A90AE;
  --accent: #FF9A1F; --accent-ink: #1A0F02; --accent-text: #FFB45C; --accent-soft: rgba(255, 154, 31, .13);
  --chart: #7CC8FF; --ok: #4FD6A2; --bad: #FF6B78;
  --side-bg: #0A0D1A;
  --panel-bg: linear-gradient(180deg, #151B30 0%, #11162A 100%);
  --panel-hi: rgba(255, 255, 255, .09);
  --panel-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 30px 60px -40px rgba(0, 0, 0, .9);
  --field: #0B0F1E; --glass-edge: #262E4A; --glass: rgba(255, 255, 255, .035); --glass-2: rgba(255, 255, 255, .07);
  --glass-solid: rgba(17, 22, 42, .92);
  --r-lg: 20px;
}
:root[data-mode="light"], :root[data-mode="light"][data-accent="amber"] {
  --bg: #F2F4F8; --bg-2: #E8ECF4; --surface: #FFFFFF; --surface-2: #F3F5FA; --line: #DDE2EC;
  --text: #10142A; --muted: #535A77; --faint: #5E6582;
  --accent: #F28A14; --accent-ink: #1A0F02; --accent-text: #A65200; --accent-soft: rgba(229, 122, 0, .11);
  --chart: #1F74C4; --ok: #148A5C; --bad: #D33B4A;
  --side-bg: #FFFFFF;
  --panel-bg: #FFFFFF;
  --panel-hi: rgba(255, 255, 255, 1);
  --panel-shadow: 0 1px 2px rgba(16, 20, 42, .04), 0 18px 40px -30px rgba(16, 20, 42, .30);
  --field: #F5F7FB; --glass-edge: #DDE2EC; --glass: rgba(16, 20, 42, .03); --glass-2: rgba(16, 20, 42, .06);
  --glass-solid: rgba(255, 255, 255, .94);
}
@media (prefers-color-scheme: light) {
  :root[data-mode="auto"], :root[data-mode="auto"][data-accent="amber"] {
    --bg: #F2F4F8; --bg-2: #E8ECF4; --surface: #FFFFFF; --surface-2: #F3F5FA; --line: #DDE2EC;
    --text: #10142A; --muted: #535A77; --faint: #5E6582;
    --accent: #F28A14; --accent-ink: #1A0F02; --accent-text: #A65200; --accent-soft: rgba(229, 122, 0, .11);
    --chart: #1F74C4; --ok: #148A5C; --bad: #D33B4A; --side-bg: #FFFFFF; --panel-bg: #FFFFFF; --panel-hi: #fff;
    --panel-shadow: 0 1px 2px rgba(16, 20, 42, .04), 0 18px 40px -30px rgba(16, 20, 42, .30);
    --field: #F5F7FB; --glass-edge: #DDE2EC; --glass: rgba(16, 20, 42, .03); --glass-2: rgba(16, 20, 42, .06); --glass-solid: rgba(255, 255, 255, .94);
  }
}
body { font-size: 15px; letter-spacing: .005em; }
h1, h2, h3 { letter-spacing: -.02em; }

/* night sky behind the cabinet */
.glass-bg {
  background:
    radial-gradient(1100px 620px at 92% -12%, color-mix(in srgb, var(--chart) 13%, transparent), transparent 62%),
    radial-gradient(900px 520px at -6% 108%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%),
    var(--bg);
}
.glass-bg i { display: none; }
.glass-bg::before, .land::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(1px 1px at 140px 90px, rgba(255, 255, 255, .35), transparent 60%),
    radial-gradient(1.4px 1.4px at 230px 180px, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(1px 1px at 80px 220px, rgba(255, 255, 255, .3), transparent 60%);
  background-size: 290px 270px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%);
}
:root[data-mode="light"] .glass-bg::before, :root[data-mode="light"] .land::before { display: none; }

/* surfaces: solid layered panels with a hairline highlight, no heavy blur */
.shell .panel, .shell .node, .modal, .sheet {
  background: var(--panel-bg); border: 1px solid var(--line); box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.shell .panel::before, .shell .node::before, .modal::before {
  background: linear-gradient(180deg, var(--panel-hi), transparent 22%) !important; padding: 1px 1px 0 !important; opacity: .9;
}
:root[data-mode="light"] .shell .panel::before, :root[data-mode="light"] .shell .node::before, :root[data-mode="light"] .modal::before { display: none; }
.shell .panel.tilting { background: var(--panel-bg); box-shadow: var(--panel-shadow); }
:root[data-mode="light"] .shell .panel.tilting { background: var(--panel-bg); }
.shell .node { background: var(--panel-bg); }

/* sidebar: a calm dark column flush to the edge */
.side {
  margin: 0; top: 0; height: 100vh; border-radius: 0; padding: 22px 14px 18px;
  background: var(--side-bg); border: 0; border-right: 1px solid var(--line); box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.side::before { display: none; }
.side .brand { padding: 2px 10px 26px; }
.nav { display: grid; gap: 2px; }
.nav a { border-radius: 12px; padding: 10px 12px; transition: color .15s, background .15s; }
.nav a:hover { background: var(--glass); color: var(--text); }
.nav a.on { background: linear-gradient(90deg, var(--accent-soft), transparent 85%); box-shadow: none; color: var(--text); }
.nav a.on::before { display: block; left: -14px; top: 9px; bottom: 9px; width: 3px; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.sheet .nav a.on::before { display: none; }
.me { background: var(--field); border: 1px solid var(--line); }

/* topbar & tabbar on phones */
.topbar { background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line) !important; box-shadow: none; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.topbar::before { display: none; }
.tabbar { background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.tabbar::before { display: none; }
@media (max-width: 900px) { .tabbar .on { background: var(--accent-soft); box-shadow: none; color: var(--accent-text); } }

/* controls */
.btn { border-radius: 12px; font-weight: 500; }
.shell .btn:not(.primary), .modal .btn:not(.primary), .sheet .btn:not(.primary) { background: var(--surface-2); border-color: var(--line); box-shadow: none; }
.shell .btn:not(.primary):hover, .modal .btn:not(.primary):hover { background: var(--surface-2); border-color: var(--faint); }
.shell .btn.ghost, .modal .btn.ghost { background: transparent; }
.btn.primary {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 24px -12px color-mix(in srgb, var(--accent) 80%, transparent);
}
.btn.primary:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 16px 30px -14px var(--accent); }
.shell .input, .modal .input, .input { background: var(--field); border-color: var(--line); }
.shell .sub-link, .shell .app, .shell .period, .modal .period, .shell .flag, .shell .node .flag, .shell .chip { background: var(--field); border-color: var(--line); }
.shell .chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.shell .iconbtn, .modal .iconbtn, .iconbtn { background: transparent; border-color: var(--line); }
.shell .item, .shell .facts div { border-bottom-color: var(--line); }
.modal-bg { background: rgba(4, 6, 14, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
:root[data-mode="light"] .modal-bg { background: rgba(16, 20, 42, .32); }
.qtile { background: var(--field); border-color: var(--line); box-shadow: none; }
.qtile:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.toast { border-radius: 14px; }

/* page head */
.head { margin-bottom: 28px; }
.head h1 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 500; letter-spacing: -.03em; }

/* dashboard: the subscription card is the one that glows */
.shell .meter-card {
  background:
    radial-gradient(520px 320px at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%),
    radial-gradient(420px 260px at 100% 100%, color-mix(in srgb, var(--chart) 10%, transparent), transparent 60%),
    var(--panel-bg);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}
.shell .meter-card::after { display: none; }
.shell .meter .track { stroke: color-mix(in srgb, var(--text) 9%, transparent); }
.plan-name { font-size: 26px; letter-spacing: -.02em; }
.wallet b { font-size: 32px; letter-spacing: -.03em; }
.stat b { letter-spacing: -.03em; }
.tbar i { background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 55%, transparent)); }

/* plans: current plan keeps the travelling light */
.shell .plan { border-radius: 22px; }
.plan .price { letter-spacing: -.03em; }

/* =========================================================
   Landing v2
   ========================================================= */
.land { position: relative; overflow: hidden; background:
  radial-gradient(1000px 700px at 78% 40%, color-mix(in srgb, var(--chart) 12%, transparent), transparent 60%), var(--bg); }
.land::before { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 40%, transparent 70%); mask-image: linear-gradient(180deg, #000 0, #000 40%, transparent 70%); opacity: .7; }
.land > * { position: relative; }
.land-nav { position: relative; z-index: 3; max-width: 1280px; }
.stage { position: relative; max-width: 1280px; margin: 0 auto; min-height: min(calc(100vh - 84px), 820px); display: grid; align-items: center;
  padding: 20px clamp(16px, 4vw, 56px) 80px; }
.stage-copy { position: relative; z-index: 2; max-width: 640px; }
.stage h1 { font-size: clamp(40px, 6.2vw, 88px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.stage p.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); margin: 26px 0 34px; max-width: 44ch; line-height: 1.6; }
.stage .row { flex-wrap: wrap; gap: 12px; }
.stage .btn { height: 56px; padding: 0 28px; border-radius: 14px; font-size: 16px; }
.stage .btn:not(.primary) { background: color-mix(in srgb, var(--surface) 70%, transparent); border-color: var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stage-note { margin-top: 26px; color: var(--faint); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.stage-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.planet { position: absolute; z-index: 1; right: max(-260px, -18vw); top: 50%; width: min(1040px, 78vw); aspect-ratio: 1; transform: translateY(-50%); }
.planet .globe { width: 100%; height: 100%; }
.planet::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0, transparent 26%); opacity: .55; }

.sec { max-width: 1280px; margin: 0 auto; padding: 96px clamp(16px, 4vw, 56px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; max-width: 16ch; }
.sec-head p { color: var(--muted); font-size: 17px; max-width: 46ch; justify-self: end; }

/* connection steps: a real sequence on one line */
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: st; position: relative; }
.track::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; border-top: 1.5px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); }
.track li { position: relative; counter-increment: st; padding-right: 12px; }
.track li::before { content: counter(st); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 26px;
  font-family: var(--display); font-size: 20px; font-weight: 500; color: var(--accent-text);
  background: var(--bg); border: 1.5px solid color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 0 0 8px var(--bg), 0 0 30px -6px color-mix(in srgb, var(--accent) 60%, transparent); }
.track li:last-child::before { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.track h3 { font-size: 19px; margin-bottom: 10px; }
.track p { color: var(--muted); max-width: 32ch; }

/* reasons: one quiet list, no cards */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.reason { padding: 34px 32px 8px 0; }
.reason + .reason { padding-left: 32px; border-left: 1px solid var(--line); }
.reason svg { width: 26px; height: 26px; color: var(--accent-text); margin-bottom: 22px; }
.reason h3 { font-size: 18px; margin-bottom: 10px; }
.reason p { color: var(--muted); }

/* faq: heading left, answers right */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq-wrap h2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; position: sticky; top: 30px; }
.faq-wrap h2 + p { color: var(--muted); margin-top: 16px; max-width: 34ch; }
.faq details { padding: 22px 0; border-bottom-color: var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { font-size: 18px; }

/* closing call */
.finale { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 5vw, 64px); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  background: radial-gradient(700px 360px at 100% 100%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 65%),
    radial-gradient(500px 300px at 0% 0%, color-mix(in srgb, var(--chart) 12%, transparent), transparent 60%), var(--surface); display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.finale h2 { font-size: clamp(28px, 3.8vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; max-width: 14ch; }
.finale p { color: var(--muted); margin-top: 14px; max-width: 40ch; }
.finale .btn { height: 56px; padding: 0 30px; font-size: 16px; border-radius: 14px; }
.foot { max-width: 1280px; border-top: 1px solid var(--line); margin-top: 40px; }

@media (max-width: 900px) {
  .stage { min-height: 0; padding-top: 0; padding-bottom: 48px; align-items: start; }
  .planet { position: relative; right: auto; top: auto; transform: none; width: min(560px, 118vw); margin: -10px auto 0; left: 50%; translate: -50% 0; }
  .planet::after { background: linear-gradient(0deg, var(--bg) 0, transparent 30%); opacity: .9; }
  .stage-copy { margin-top: -60px; }
  .sec { padding: 64px 16px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 32px; }
  .sec-head p { justify-self: start; }
  .track { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .track::before { left: 27px; right: auto; top: 28px; bottom: 28px; border-top: 0; border-left: 1.5px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); }
  .track li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; padding: 0 0 30px; }
  .track li::before { grid-row: span 2; margin: 0; }
  .track h3 { align-self: center; margin: 14px 0 6px; }
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .reason, .reason + .reason { padding: 26px 0; border-left: 0; }
  .reason + .reason { border-top: 1px solid var(--line); }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq-wrap h2 { position: static; }
  .finale { border-radius: 22px; }
  .finale .btn { width: 100%; }
}
@media (max-width: 520px) {
  .stage h1 { font-size: clamp(36px, 11vw, 48px); }
  .stage .btn { width: 100%; }
}

/* auth: same night sky */
.auth-art { background: radial-gradient(900px 600px at 50% 60%, color-mix(in srgb, var(--chart) 12%, transparent), transparent 65%), var(--bg-2); border-right-color: var(--line); }
.auth-form .input { height: 50px; }
.auth-form h1 { font-size: 34px; letter-spacing: -.03em; }
.stage { grid-template-columns: minmax(0, 1fr); }
.track::before { right: calc((100% - 56px) / 3 - 28px); }
@media (max-width: 900px) {
  .track::before { display: none; }
  .track li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 64px; bottom: 6px; border-left: 1.5px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); }
  .track li:last-child { padding-bottom: 0; }
}
@media (max-width: 900px) {
  .auth { grid-template-rows: auto 1fr; }
  .auth-art { display: flex; height: 230px; padding: 18px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .auth-art .quote { display: none; }
  .auth-art .auth-globe { top: 40px; height: 380px; }
  .auth-form { justify-content: flex-start; padding-top: 28px; }
}

/* ---- app tiles: import + download ---- */
.app { padding: 0; gap: 0; align-items: stretch; cursor: default; }
.app-go { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px; color: inherit; text-decoration: none; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; border-radius: 14px 0 0 14px; }
.app-go > span { min-width: 0; }
.app-dl { flex: none; width: 44px; display: grid; place-items: center; color: var(--muted); border-left: 1px solid var(--line); border-radius: 0 14px 14px 0; text-decoration: none; }
.app-dl svg { width: 18px; height: 18px; }
.app-dl:hover { color: var(--accent-text, var(--accent)); background: var(--accent-soft); }
.app-go:focus-visible, .app-dl:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.shell .apps { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
.shell .app.featured { grid-column: auto; }
@media (max-width: 640px) { .shell .apps { grid-template-columns: minmax(0, 1fr); } }

/* ---- additional subscriptions ---- */
.subs-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 12px; }
.subs-bar .chip { height: 38px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.subs-bar .chip.add { border-style: dashed; color: var(--accent-text); }
.subs-bar .chip.add svg { width: 16px; height: 16px; }
.sdot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: .5; flex: none; }
.sdot.on { background: var(--ok, #3DDC97); opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok, #3DDC97) 22%, transparent); }
.chip.on .sdot.on { box-shadow: none; }
.subs-tools { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between; margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--line); }
.subs-tools .subs-acts { display: flex; gap: 18px; flex-wrap: wrap; }
.linkbtn.danger { color: var(--bad); }
.subs-pick { grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); }
.period.add { border-style: dashed; color: var(--accent-text); font: inherit; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.period.add svg { width: 18px; height: 18px; margin-bottom: 4px; }
.period.add b { color: var(--text); }
@media (max-width: 640px) {
  .subs-bar { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .subs-bar::-webkit-scrollbar { display: none; }
  .subs-bar .chip { flex: none; height: 44px; }
}

/* ---- sign in with Google ---- */
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--muted); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.g-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; background: #fff; color: #1f1f1f; border: 1px solid #dadce0; font-weight: 600; text-decoration: none; }
.g-btn:hover { background: #f7f8f8; color: #1f1f1f; }
.g-btn svg { flex: none; }
