:root {
  --bg: #0d1117; --panel: #161c26; --line: #263041; --text: #e9eef5; --dim: #8d9bb0; --accent: #ff9900; --ok: #3fb950; --no: #ff4d4f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 15px/1.4 system-ui, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, p { margin: 0; }
[hidden] { display: none !important; }

/* ---------- home ---------- */
.home { max-width: 980px; margin: 0 auto; padding: 20px 16px 80px; }
.top { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.top h1 { font-size: 26px; letter-spacing: -0.02em; margin-right: auto; }
.top input { width: min(220px, 40vw); min-width: 0; flex-shrink: 1; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; }
.count { color: var(--dim); font-variant-numeric: tabular-nums; font-size: 13px; }
.pill { padding: 8px 16px; border-radius: 999px; background: var(--accent); color: #1a1205; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 14px 6px 12px; border-radius: 16px; text-align: center; transition: background .15s, transform .15s; }
.tile:hover { background: var(--panel); transform: translateY(-3px); }
.tile img { width: 64px; height: 64px; border-radius: 14px; display: block; box-shadow: 0 6px 18px #0007; }
.tile span { font-size: 12.5px; color: #c6d0de; line-height: 1.25; }
.tile.done::after { content: ""; position: absolute; top: 9px; right: calc(50% - 38px); width: 12px; height: 12px; border-radius: 50%; background: var(--ok); border: 2px solid var(--bg); }
.more { display: flex; align-items: center; gap: 8px; margin: 26px auto 0; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); }
.more:hover { color: var(--text); border-color: var(--dim); }
.more svg { transition: transform .25s; }
.more.open svg { transform: rotate(180deg); }
.all { margin-top: 26px; scroll-margin-top: 12px; animation: rise .35s ease both; }
.home h2 { font-size: 12px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .09em; margin: 30px 8px 8px; }
.home h2:first-of-type { margin-top: 0; }
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.folder { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 10px; border-radius: 16px; border: 1px solid transparent; transition: background .15s, transform .15s, border-color .15s; }
.folder:hover { background: var(--panel); transform: translateY(-3px); }
.folder.on { background: var(--panel); border-color: var(--accent); }
.fi { display: grid; grid-template-columns: 26px 26px; gap: 5px; padding: 9px; border-radius: 18px; background: #222c3b; border: 1px solid var(--line); min-height: 76px; align-content: start; }
.fi img { width: 26px; height: 26px; border-radius: 6px; display: block; }
.folder span:nth-child(2) { font-size: 13.5px; font-weight: 600; }
.folder small { font-size: 11.5px; color: var(--dim); margin-top: -6px; }
.all h2 { margin-bottom: 2px; }
.fdesc { color: var(--dim); margin: 0 8px 12px; }
.tip { position: fixed; z-index: 50; left: 0; top: 0; max-width: 250px; padding: 7px 11px; border-radius: 10px; background: #f2f5f9; color: #10151d; font-size: 13px; font-weight: 600; line-height: 1.3; text-align: center; pointer-events: none; opacity: 0; transition: opacity .12s; box-shadow: 0 8px 24px #000a; }
.tip.on { opacity: 1; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.chips button { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); white-space: nowrap; font-size: 13px; }
.chips button.on { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }
.none { color: var(--dim); text-align: center; padding: 40px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- service ---------- */
.svc { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; flex: none; }
.ib { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--dim); flex: none; }
.ib:hover { color: var(--text); border-color: var(--dim); }
.hero { width: 40px; height: 40px; border-radius: 10px; view-transition-name: hero; flex: none; }
.ttl { margin-right: auto; min-width: 0; }
.ttl h1 { font-size: 18px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ttl span { font-size: 12px; color: var(--dim); }
.tabs { display: flex; background: var(--panel); border-radius: 999px; padding: 3px; flex: none; }
.tabs a { padding: 6px 16px; border-radius: 999px; color: var(--dim); font-weight: 600; font-size: 14px; }
.tabs a.on { background: var(--text); color: var(--bg); }
.pages { position: relative; flex: 1; min-height: 0; }
.page { position: absolute; inset: 0; transition: transform .45s cubic-bezier(.6, 0, .2, 1), opacity .45s; }
.svc[data-page="0"] :is(.why, .ties), .svc[data-page="1"] .ties { transform: translateX(100%); opacity: 0; pointer-events: none; }
.svc[data-page="1"] .how, .svc[data-page="2"] :is(.how, .why) { transform: translateX(-100%); opacity: 0; pointer-events: none; }

.how { display: flex; flex-direction: column; background: radial-gradient(ellipse at 50% 55%, #1b2536 0%, var(--bg) 70%); }
/* click-through deck: text slides sit dead centre; animation steps put their words centred under the scene */
.words { flex: none; display: grid; justify-items: center; gap: 10px; padding: 8px 20px 4px; text-align: center; }
.words.in { animation: rise .3s ease both; }
.kick { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.line { font-size: clamp(19px, 2.6vw, 26px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; max-width: 760px; text-wrap: balance; }
.sub { color: var(--dim); font-size: clamp(15px, 1.8vw, 18px); line-height: 1.4; max-width: 640px; text-wrap: balance; }
.defhead { display: grid; justify-items: center; gap: 10px; margin-bottom: 8px; font-size: 22px; }
.defhead img { width: 72px; height: 72px; border-radius: 16px; box-shadow: 0 8px 24px #0009; }
.how[data-mode="text"] .stagebox { opacity: 0; pointer-events: none; }
.how[data-mode="text"] .words { position: absolute; inset: 0 0 84px; align-content: center; gap: 14px; }
.how[data-mode="text"] .line { font-size: clamp(22px, 3.4vw, 36px); line-height: 1.25; max-width: 860px; }
.decknav { flex: none; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 16px 22px; position: relative; z-index: 2; }
.decknav button { display: inline-flex; align-items: center; gap: 4px; padding: 10px 16px; border-radius: 999px; font-weight: 700; border: 1px solid var(--line); color: var(--dim); }
.decknav .prev { padding-left: 10px; }
.decknav .prev:hover { color: var(--text); border-color: var(--dim); }
.decknav .prev:disabled { visibility: hidden; }
.decknav .next { padding: 12px 16px 12px 24px; background: var(--accent); border-color: var(--accent); color: #1a1205; font-size: 16px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
.dots i.on { background: var(--accent); transform: scale(1.3); }
.stagebox { flex: 1; min-height: 0; overflow: hidden; cursor: grab; touch-action: none; }
.stagebox:active { cursor: grabbing; }
.stagebox canvas { display: block; }
.ask { flex: none; padding: 18px 16px 4px; display: grid; justify-items: center; gap: 12px; text-align: center; }
.ask h2 { margin: 0; font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; text-align: left; }
.steps li { display: flex; align-items: flex-start; gap: 10px; color: #c6d0de; font-size: 17px; line-height: 1.35; }
.steps b { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1px solid var(--line); color: var(--dim); font-size: 12px; flex: none; }


.why, .ties { overflow-y: auto; }
.whywrap { max-width: 720px; margin: 0 auto; padding: 5vh 16px 60px; }
.whyline { font-size: clamp(30px, 6vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
:is(.why, .ties) h2 { font-size: 12px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .09em; margin: 38px 0 12px; }
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; perspective: 900px; }
.use { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 16px; transition: transform .25s; transform-style: preserve-3d; }
.use:hover { transform: rotateX(8deg) rotateY(-8deg) translateZ(10px); }
.use b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #1a1205; font-size: 13px; flex: none; }
.svc[data-page="1"] .use { animation: flip .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 90ms + 200ms); }
@keyframes flip { from { opacity: 0; transform: rotateX(-70deg) translateY(20px); } }
.grid.small { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); margin: 0 -6px; }
.grid.small .tile img { width: 52px; height: 52px; border-radius: 12px; }
.nextsvc { display: flex; align-items: center; gap: 10px; width: fit-content; margin: 44px 0 0 auto; padding: 8px 12px 8px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); }
.nextsvc:hover { color: var(--text); border-color: var(--dim); }
.nextsvc img { border-radius: 50%; }

/* ---------- ties ---------- */
.ties .whywrap { padding-top: 2vh; }
.tiehead { text-align: center; color: var(--dim); font-size: 15px; }
.tiehead b { color: var(--text); }
.tiebox { position: relative; margin: 22px auto 0; }
.map { position: relative; height: 520px; margin: 0 auto 34px; }
.spark { position: absolute; left: 50%; top: 46%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 4px #ff990088; opacity: 0; pointer-events: none; z-index: 2; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; stroke-width: 0; overflow: visible; }
.wires line { stroke: #3a4a63; vector-effect: non-scaling-stroke; stroke-linecap: round; transition: stroke .15s; }
.wires .w3 { stroke-width: 6px; }
.wires .w2 { stroke-width: 2.5px; }
.wires .w1 { stroke-width: 1.2px; stroke-dasharray: 2 6; }
.wires line.on { stroke: var(--accent); }
.hub { position: absolute; left: 50%; top: 46%; width: 72px; height: 72px; border-radius: 16px; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px var(--bg), 0 8px 24px #0009; }
.node { --z: 44px; position: absolute; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 92px; margin-left: -46px; margin-top: calc(var(--z) / -2); text-align: center; }
.node.n3 { --z: 56px; }
.node.n1 { --z: 34px; }
.node img { width: var(--z); height: var(--z); border-radius: 22%; display: block; box-shadow: 0 0 0 4px var(--bg), 0 6px 16px #0007; transition: transform .15s, box-shadow .15s; }
.node span { font-size: 12px; line-height: 1.2; color: var(--dim); background: #0d1117cc; border-radius: 6px; padding: 0 3px; }
.node.n3 span { font-size: 13px; font-weight: 600; color: #c6d0de; }
.node.on img { transform: scale(1.08); box-shadow: 0 0 0 3px var(--accent), 0 6px 16px #0007; }
.node.on span { color: var(--text); }
/* the service and the sentence share one card in the middle of the map; the wires run out from behind it */
.tiecap { position: absolute; z-index: 3; left: 50%; top: calc(520px * .46); transform: translate(-50%, -50%); width: 270px; display: grid; justify-items: center; gap: 6px; padding: 12px 14px 10px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 8px 24px #0009; text-align: center; }
.caphub { width: 56px; height: 56px; border-radius: 13px; display: block; }
.map .hub { display: none; }
.tiesay { font-size: 17px; line-height: 1.25; min-height: 2.5em; display: grid; place-items: center; text-wrap: balance; }
.tierow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; }
.tiesay.in { animation: tiein .26s ease-out; }
@keyframes tiein { from { opacity: .2; transform: translateY(5px); } }
.tieplay { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); color: var(--dim); }
.tieplay:hover { color: var(--text); border-color: var(--dim); }
.tieplay svg { width: 12px; height: 12px; }
.tiemeter { display: inline-flex; align-items: center; gap: 7px; color: var(--dim); font-size: 13px; }
.tiego { display: inline-flex; align-items: center; gap: 2px; color: var(--accent); font-weight: 600; font-size: 13px; }
.tiego svg { width: 15px; height: 15px; }
.tiekey { text-align: center; color: var(--dim); font-size: 12.5px; margin-top: 10px; }
.meter { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.meter i { width: 4px; border-radius: 1.5px; background: var(--line); }
.meter i:nth-child(1) { height: 5px; }
.meter i:nth-child(2) { height: 8.5px; }
.meter i:nth-child(3) { height: 12px; }
.m1 i:first-child, .m2 i:nth-child(-n+2), .m3 i { background: var(--accent); }
.tile .meter { margin-top: -3px; }

/* ---------- quiz ---------- */
.score { color: var(--dim); font-variant-numeric: tabular-nums; font-weight: 700; }
.opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 980px; width: 100%; margin: 0 auto; padding: 0 16px 20px; flex: none; }
.opts .tile { background: var(--panel); border: 2px solid transparent; padding: 22px 10px; gap: 12px; border-radius: 20px; font-size: 19px; font-weight: 600; }
.opts .tile img { width: 88px; height: 88px; border-radius: 20px; }
.opts .tile span { font-size: 17px; }
.opts .tile.yes { border-color: var(--ok); }
.opts .tile.no { border-color: var(--no); opacity: .45; animation: shake .3s; }
.quiz .stagebox { cursor: default; pointer-events: none; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

::view-transition-group(hero) { animation-duration: .45s; animation-timing-function: cubic-bezier(.6, 0, .2, 1); }
@media (max-width: 520px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
  .tile img { width: 52px; height: 52px; }
  .tile.done::after { right: calc(50% - 32px); }
  .ttl span { display: none; }
  .folders { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { font-size: 15px; }
  .opts { gap: 8px; padding: 0 10px 14px; }
  .opts .tile { padding: 12px 4px; font-size: 13px; gap: 8px; }
  .opts .tile img { width: 56px; height: 56px; border-radius: 14px; }
  .opts .tile span { font-size: 12.5px; }
  .tabs a { padding: 6px 11px; }
  .tiebox { margin-top: 14px; }
  .map { height: auto; aspect-ratio: 1 / 1.25; margin: 0 auto 30px; }
  .hub { width: 56px; height: 56px; }
  .node { --z: 38px; width: 76px; margin-left: -38px; }
  .node.n3 { --z: 46px; }
  .node.n1 { --z: 30px; }
  .node span, .node.n3 span { font-size: 11px; }
  .tiesay { font-size: 15.5px; }
}
/* too narrow for a card inside the map: the service goes back in the middle, the sentence right under the map */
@media (max-width: 760px) {
  .tiecap { position: relative; left: 0; top: 0; transform: none; width: auto; margin-top: -18px; padding: 12px 16px; box-shadow: none; }
  .caphub { display: none; }
  .map .hub { display: block; }
  .tiesay { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { *, ::view-transition-group(*) { animation: none !important; transition: none !important; } }

/* ---------- back to the basics ---------- */
.bcard { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; margin: 0 0 30px; border-radius: 18px; background: linear-gradient(100deg, #1e2839, var(--panel)); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.bcard:hover { border-color: var(--dim); transform: translateY(-2px); }
.bcard .fi { min-height: 0; flex: none; }
.bcard .txt { margin-right: auto; min-width: 0; padding-left: 4px; }
.bcard b { display: block; font-size: 17px; }
.bcard small { color: var(--dim); font-size: 13.5px; }
.bcard > svg { color: var(--dim); }
.bhub .top { margin-bottom: 8px; }
.bhub .top h1 { font-size: clamp(19px, 5vw, 26px); min-width: 0; }
.bhub .bcard { margin: 34px 0 0; padding-left: 16px; }
.lead { color: var(--dim); margin: 0 0 16px 50px; max-width: 520px; }
.wide { display: block; width: 100%; max-width: 480px; margin: 0 0 26px; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; }
.bhub h2 { display: flex; align-items: center; gap: 8px; }
.bhub h2 i { width: 9px; height: 9px; border-radius: 3px; }
.bhub h2 a { display: inline-flex; align-items: center; gap: 2px; }
.bhub h2 a:hover { color: var(--text); }
.bhub h2 svg { width: 13px; height: 13px; }
.bhub .rows { margin: 0 4px; }
.rows { display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: center; padding: 11px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
a.row:hover { border-color: var(--dim); }
.row > span { color: #c6d0de; }
.row > .hint, .cmd .hint { color: var(--text); font-weight: 600; }
.row code, .cmd code { font: 600 13.5px/1.4 ui-monospace, "Cascadia Code", Consolas, monospace; color: #ffd08a; overflow-wrap: anywhere; }
.copy { text-align: left; border-radius: 6px; }
.copy:hover code { color: #fff; }
.copy.ok code { color: var(--ok); }
.cmd { padding: 8px 16px; border-radius: 10px; background: #0a0e14; border: 1px solid var(--line); max-width: 100%; }
.cmd code { font-size: 15px; }
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; gap: 3px; }
  .lead { margin-left: 0; }
  .bcard small { font-size: 12.5px; }
  .topic .tabs a { padding: 6px 9px; font-size: 13px; }
}

/* ---------- front door: two big icons ---------- */
.start { min-height: 100dvh; display: flex; flex-wrap: wrap; align-items: center; align-content: center; justify-content: center; gap: clamp(28px, 8vw, 90px); padding: 24px; }
.pick { display: grid; justify-items: center; gap: 6px; text-align: center; transition: transform .15s; }
.pick:hover { transform: translateY(-4px); }
.pick .fi { grid-template-columns: 56px 56px; gap: 10px; padding: 18px; border-radius: 38px; min-height: 0; margin-bottom: 10px; transition: border-color .15s; }
.pick:hover .fi { border-color: var(--dim); }
.pick .fi img { width: 56px; height: 56px; border-radius: 13px; }
.pick b { font-size: 19px; }
.pick small { color: var(--dim); font-size: 13.5px; }
@media (max-width: 520px) {
  .pick .fi { grid-template-columns: 44px 44px; gap: 8px; padding: 14px; border-radius: 30px; }
  .pick .fi img { width: 44px; height: 44px; border-radius: 10px; }
  .pick b { font-size: 16px; }
}

/* ---------- account, free picks, paywall ---------- */
.me { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.brand { font-weight: 800; letter-spacing: -0.01em; margin-right: auto; white-space: nowrap; }
.chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); font-size: 13px; white-space: nowrap; }
.chip:hover { color: var(--text); border-color: var(--dim); }
.pill.big { padding: 13px 26px; font-size: 16px; }
.pill.ghost { background: none; border: 1px solid var(--line); color: var(--text); width: fit-content; }
.pill.ghost:hover { border-color: var(--dim); }
.pill:disabled, .plan:disabled { opacity: .5; cursor: default; }
.quiet { color: var(--dim); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.quiet:hover { color: var(--text); }
.tile.lock::before { content: ""; position: absolute; top: 60px; right: calc(50% - 40px); width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--bg);
  background: #3a465a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9eef5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='11' width='12' height='8' rx='2'/%3E%3Cpath d='M9 11V8a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E") center / 11px no-repeat; }
.gate { min-height: 100dvh; display: grid; place-items: center; padding: 70px 20px 40px; position: relative; background: radial-gradient(ellipse at 50% 45%, #1b2536 0%, var(--bg) 70%); }
.gate > .ib { position: absolute; top: 12px; left: 16px; }
.gatebox { display: grid; justify-items: center; gap: 14px; max-width: 480px; text-align: center; animation: rise .3s ease both; }
.gatebox img { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 8px 24px #0009; }
.gatebox h1 { font-size: clamp(26px, 5vw, 36px); letter-spacing: -0.02em; }
.gatebox p { color: #c6d0de; font-size: 16px; line-height: 1.45; text-wrap: balance; }
.gatebox .gwhy { color: var(--dim); margin-top: -8px; }
.gatebox b { color: var(--text); }
.fine { color: var(--dim); font-size: 13px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 480px; }
.plan { display: grid; gap: 2px; padding: 16px 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-align: center; transition: border-color .15s, transform .15s; }
.plan:hover:not(:disabled) { border-color: var(--accent); transform: translateY(-2px); }
.plan b { font-size: 26px; letter-spacing: -0.02em; }
.plan span { color: var(--dim); font-size: 13.5px; }
.payerr { color: var(--no); font-size: 14px; }
.acct { max-width: 620px; }
.acct .top { margin-bottom: 4px; }
.acct .plans, .acct .fdesc, .acct .card { margin-left: 8px; margin-right: 8px; }
.acct .out { display: block; margin: 44px 8px 0; }
.card { display: grid; gap: 8px; padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); margin-top: 20px; }
.card b { font-size: 18px; }
.card span { color: var(--dim); }
.note { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: var(--ok); color: #04170a; font-weight: 700; box-shadow: 0 8px 24px #000a; animation: rise .3s ease both; white-space: nowrap; }
@media (max-width: 520px) {
  .me .pill { display: none; }
  .home .top .pill.ghost { display: none; } /* AWS home on a phone: Lingo is reached from the card under the folders, so Search keeps its room */
  .tile.lock::before { top: 50px; right: calc(50% - 33px); width: 18px; height: 18px; }
  .start { padding-top: 70px; }
}
