/* The hosted Ken site: black & white, Geist throughout (as in the Mac app); Ken and emoji carry the colour.
   One stylesheet for the landing page, the account page and the loading screen. Phone first. */
@font-face { font-family: Geist; src: url("/assets/geist-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url("/assets/geist-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url("/assets/geist-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  /* The same colours as Ken itself (kencomputer web/theme.css), so the site and Ken feel like one place. */
  --paper: #ffffff; --ink: #1c1b1a; --muted: #55544f; --line: #e9e8e5; --soft: #f3f2ef; --bar: rgba(255, 255, 255, .85);
  --warn: #aa3528; --live: #1fc95a; --marker: #ffe24a;
  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #181818; --ink: #ededed; --muted: #bcbcbc; --line: #333333; --soft: #252525; --bar: rgba(24, 24, 24, .85); --warn: #f2988d; color-scheme: dark; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; margin: 0; }

.wrap, .top { max-width: 1120px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 40px; } }

/* ---------- header: Ken and one button ---------- */
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 12px; position: sticky; top: 0; z-index: 10; max-width: none;
  background: var(--bar); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (min-width: 720px) { .top { padding-inline: max(40px, calc((100vw - 1120px) / 2 + 40px)); } }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 600 20px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; }
.wordmark img { width: 26px; height: 26px; }

/* ---------- buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--paper); font: 500 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: opacity .15s, transform .15s; }
.button:hover { opacity: .85; }
.button.small { min-height: 36px; padding: 7px 16px; font-size: 14px; }
.button.light { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
form { display: inline; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

/* ---------- landing: the moving hero ---------- */
.hero { text-align: center; padding-block: 72px 32px; }
@media (min-width: 720px) { .hero { padding-block: 128px 56px; } }
.hero h1 { margin: 0 auto; max-width: 760px; font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.hero h1 .verb, .hero h1 .slot { white-space: nowrap; }
.hero h1 .lead-in { display: inline-block; }
/* C: Geist, black words, one quiet hand-drawn underline or highlighter. */
/* Geist, black words, one quiet hand-drawn highlighter or underline; no emoji. */
.hero h1 .emoji { display: none; }
[data-v="c"] h1 .slot { padding: 0 .08em; }
.hero .lede { margin: 20px auto 0; max-width: 480px; font-size: 17px; color: var(--muted); text-wrap: pretty; }
.hero .actions { justify-content: center; margin-top: 28px; }
.hero .note { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.verb { display: inline-block; transition: opacity .3s, transform .3s; }
.slot { position: relative; display: inline-block; min-height: 1em; margin-left: .06em; padding: 0 .22em; border-radius: 999px; white-space: nowrap;
  transition: background .3s, transform .3s, box-shadow .3s; }
@media (max-width: 400px) { .slot.long { font-size: .8em; } }
@media (max-width: 340px) { .slot.long { font-size: .7em; } }
.slot em { font-style: normal; display: inline-block; transition: opacity .3s, transform .3s, color .3s; }
.out { opacity: 0; transform: translateY(.12em); }
.emoji { display: inline-block; margin-left: .12em; font-size: .56em; vertical-align: .3em; transition: opacity .3s, transform .3s; }
.emoji.out { opacity: 0; transform: translateY(.12em); }
.fx { position: absolute; display: none; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.fx path { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .2s ease-in; }
.drawn .fx path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s cubic-bezier(.6, 0, .3, 1) .1s; }
.drawn .fx-under path + path { transition-delay: .45s; }
.fx-under { left: 3%; bottom: -.16em; width: 94%; height: .3em; }
[data-fx="under"] .fx-under { display: block; }
.slot::before { content: ""; position: absolute; z-index: -1; left: .05em; right: .05em; top: .52em; bottom: .02em; background: var(--marker); border-radius: 4px;
  transform: rotate(-1.5deg) scaleX(0); transform-origin: left; transition: transform .2s; }
[data-fx="marker"].drawn::before { transform: rotate(-1.5deg) scaleX(1); transition: transform .55s cubic-bezier(.6, 0, .3, 1) .1s; }
[data-fx="marker"] em { color: #0a0a0a; }
/* Dark page: the word turns black on the yellow, so the yellow covers the whole word, not just its lower half. */
@media (prefers-color-scheme: dark) { [data-fx="marker"]::before { top: .1em; } }

/* ---------- landing: sections ---------- */
.section { padding-block: 44px; }
@media (min-width: 720px) { .section { padding-block: 64px; } }
.section > h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; text-align: center; }
.section > .sub { margin: 10px auto 0; max-width: 520px; text-align: center; color: var(--muted); }

.asks { display: grid; gap: 14px; margin-top: 30px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .asks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .asks { grid-template-columns: 1fr 1fr 1fr; } }
.ask { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 24px; background: var(--soft); }

.bubble { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: 15.5px; line-height: 1.45; }
.bubble.you { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.bubble.ken { align-self: flex-start; background: var(--paper); box-shadow: 0 0 0 1px var(--line); border-bottom-left-radius: 6px; }
.ken-says { display: flex; align-items: flex-end; gap: 8px; }
.ken-says img { width: 28px; height: 28px; flex: none; }

.steps3 { list-style: none; padding: 0; margin: 30px auto 0; display: grid; gap: 14px; max-width: 980px; counter-reset: step; }
@media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.steps3 li { position: relative; padding: 22px 20px 20px; border-radius: 24px; box-shadow: 0 0 0 1px var(--line); }
.steps3 li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px;
  border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 20px/1 var(--sans); letter-spacing: -.02em; }
.steps3 b { display: block; font: 600 18px/1.2 var(--sans); letter-spacing: -.02em; margin-bottom: 4px; }
.steps3 span { color: var(--muted); font-size: 16px; }
.steps3 .em { font-size: 18px; position: absolute; top: 18px; right: 18px; }

.plans { display: grid; gap: 14px; margin: 30px auto 0; max-width: 820px; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
.plans.three { max-width: 1060px; }
@media (min-width: 720px) and (max-width: 939px) { .plans.three { grid-template-columns: 1fr; max-width: 520px; } }
@media (min-width: 940px) { .plans.three { grid-template-columns: 1fr 1.08fr 1fr; align-items: center; } .plans.three .plan.dark { padding-block: 34px; } }
.plans.four { max-width: 1240px; }
@media (min-width: 1100px) { .plans.four { grid-template-columns: repeat(4, 1fr); align-items: center; } .plans.four .plan.dark { padding-block: 34px; } }
.page .plans.three { grid-template-columns: 1fr; max-width: none; }
@media (min-width: 760px) { .page .plans.three { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; padding: 24px 22px; border-radius: 28px; box-shadow: 0 0 0 1px var(--line); }
.plan.dark { background: var(--ink); color: var(--paper); box-shadow: none; }
.plan h3 { font-size: 19px; line-height: 1.2; }
.price { margin: 6px 0 2px; font: 600 34px/1 var(--sans); letter-spacing: -.02em; }
.price small { font: 400 14px var(--sans); opacity: .7; }
.plan .for { margin: 6px 0 0; opacity: .75; font-size: 15.5px; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; } .plan li::before { content: "✓"; font-weight: 600; }
.plan .button { margin-top: auto; }
.plan.dark .button { background: var(--paper); color: var(--ink); }
.plan .tag { align-self: flex-start; margin-bottom: 12px; padding: 4px 11px; border-radius: 99px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; }
.plans-note { margin: 16px auto 0; max-width: 560px; text-align: center; font-size: 14.5px; color: var(--muted); }

.faq { max-width: 720px; margin: 26px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none; font: 600 24px/1.2 var(--sans); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--sans); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 2px 18px; color: var(--muted); }

.closing { margin: 20px auto 0; max-width: 980px; padding: 44px 22px; border-radius: 32px; background: var(--ink); color: var(--paper); text-align: center; }
.closing h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.closing img { width: 64px; height: 64px; margin: 0 auto 14px; }
.closing .button { background: var(--paper); color: var(--ink); margin-top: 22px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-block: 30px 40px; font-size: 14px; color: var(--muted); }
.foot a { text-underline-offset: 3px; }

/* ---------- account and other plain pages ---------- */
.page { max-width: 560px; margin: 0 auto; padding: 28px 16px 64px; }
.page h1 { font-size: 28px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 10px; }
.page h2 { font-size: 18px; margin: 30px 0 6px; }
.page p { margin: 0 0 12px; }
.muted { color: var(--muted); } .warn { color: var(--warn); }
.card { border-radius: 24px; background: var(--soft); padding: 14px 18px; margin: 12px 0; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; flex-wrap: wrap; }
.row + .row { border-top: 1px solid var(--line); }
.row > span:last-child { color: var(--muted); text-align: right; }
.row.low > span:last-child { color: var(--warn); }
.page .plans { margin-top: 18px; }
.who { margin-top: 36px; font-size: 14px; color: var(--muted); }
.notice { padding: 12px 16px; border-radius: 16px; background: var(--soft); }
.notice.warn { background: transparent; box-shadow: inset 0 0 0 1.5px var(--warn); }
.change-plan { margin: 18px 0 6px; }
.change-plan summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.plan-change { padding: 14px 0; border-top: 1px solid var(--line); }
.plan-change p { margin: 0 0 10px; }

/* ---------- the loading screen ---------- */
.loading { text-align: center; padding-top: 6vh; }
.loading h1 { font-size: 28px; font-weight: 500; }
.loading .actions { justify-content: center; }
.ken-wait { width: 120px; height: 120px; margin: 0 auto 18px; }
.ken-wait img { width: 120px; height: 120px; animation: breathe 1.8s ease-in-out infinite; transform-origin: 50% 82%; }
.ken-wait.still img { animation: none; }
@keyframes breathe { 0%, 100% { transform: scale(1, 1) rotate(-1.5deg); } 50% { transform: scale(1.04, .95) rotate(1.5deg); } }
.steps { list-style: none; padding: 0; margin: 24px auto 8px; max-width: 300px; text-align: left; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.steps li i { width: 22px; height: 22px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; }
.steps li.now { color: var(--ink); font-weight: 500; }
.steps li.now i { box-shadow: none; border: 2px solid var(--ink); border-top-color: transparent; animation: spin .9s linear infinite; }
.steps li.done i { background: var(--ink); box-shadow: none; }
.steps li.done i::after { content: ""; width: 5px; height: 10px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
#stuck { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  .fx path { stroke-dashoffset: 0; transition: none; }
  .ken-wait img, .steps li.now i { animation: none; }
  .ask { transform: none !important; }
}

/* ---------- account: Telegram ---------- */
.own-bot { margin: 8px 0 0; }
.own-bot summary { cursor: pointer; color: var(--muted); font-size: 15px; padding: 6px 0; }
.token-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.token-form input { flex: 1 1 220px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1.5px var(--ink);
  background: var(--paper); color: var(--ink); font: 400 16px var(--sans); }
button.link { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- apps ---------- */
.works-with { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 44px auto 0; text-align: center; }
.works-with .logos { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.works-with img { width: 40px; height: 40px; padding: 7px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.works-with p { margin: 0; font: 500 17px/1.3 var(--sans); }
.app-search { display: flex; gap: 8px; margin: 18px 0 6px; }
.app-search input { flex: 1; min-width: 0; padding: 11px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; }
.app-grid { display: grid; gap: 10px; margin: 12px 0; }
@media (min-width: 640px) { .app-grid { grid-template-columns: 1fr 1fr; } }
.page.roomy { max-width: 1040px; }
.page.roomy > p, .page.roomy .app-search { max-width: 640px; }
@media (min-width: 960px) { .page.roomy .app-grid { grid-template-columns: 1fr 1fr 1fr; } }
.app-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--soft); min-width: 0; }
.app-logo { flex: none; width: 40px; height: 40px; padding: 6px; border-radius: 12px; background: #fff; }
.app-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-text b { font-weight: 600; }
.app-text span { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-on { color: var(--ink); }
.app-on::before { content: "● "; color: #2f9e44; }
.app-act { flex: none; }
.app-manage summary { cursor: pointer; font-size: 14px; list-style: none; padding: 6px 4px; }
.app-manage summary::-webkit-details-marker { display: none; }
.app-manage[open] { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.page h2 small { font: 400 15px var(--sans); }
.app-confirm { text-align: center; padding-top: 4vh; }
.app-confirm .app-logo { width: 64px; height: 64px; margin-bottom: 10px; }
.app-confirm .button { margin-top: 10px; }

/* ---------- the hub (from the Ken deck) ---------- */
.nowrap { white-space: nowrap; }
.hub { position: relative; margin: 34px auto 0; max-width: 980px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.hub-lines { display: none; }
.hub-core { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 0 6px; }
.hub-core img { width: 64px; height: 64px; filter: drop-shadow(0 8px 22px rgba(233,119,58,.35)); }
.hub-core b { font-weight: 600; }
.hub-node { padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.hub-node .ic { font-size: 22px; line-height: 1; }
.hub-node b { display: block; margin-top: 8px; font-weight: 600; letter-spacing: -.01em; }
.hub-node span:not(.ic) { display: block; margin-top: 3px; font-size: 14px; line-height: 1.35; color: var(--muted); }
@media (min-width: 820px) {
  .hub { display: block; height: 640px; margin-top: 64px; }
  .hub-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .hub-lines line { stroke: rgba(233,119,58,.55); stroke-width: 1.5; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; animation: hub-flow 1.4s linear infinite; }
  .hub-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0; }
  .hub-core::before { content: ""; position: absolute; left: 50%; top: 32px; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 2px solid rgba(233,119,58,.45); animation: hub-ring 2.6s ease-out infinite; }
  .hub-node { position: absolute; width: 230px; transform: translate(-50%, -50%); }
  .hub-node.n0 { left: 16%; top: 14%; } .hub-node.n1 { left: 50%; top: 6%; } .hub-node.n2 { left: 84%; top: 14%; }
  .hub-node.n3 { left: 12%; top: 50%; } .hub-node.n4 { left: 88%; top: 50%; }
  .hub-node.n5, .hub-node.n6 { top: 80%; transform: translate(-50%, 0); } .hub-node.n5 { left: 31%; } .hub-node.n6 { left: 69%; }
}
@keyframes hub-flow { to { stroke-dashoffset: -24; } }
@keyframes hub-ring { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hub-lines line, .hub-core::before { animation: none; } }

/* ---------- raw clip in, finished reel out ---------- */
#reel .sub { text-align: center; }
.reel-duo { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.reel-duo figure { margin: 0; text-align: center; }
.reel-duo video { display: block; width: min(38vw, 260px); aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: var(--soft); box-shadow: 0 12px 40px rgba(0,0,0,.14); }
.reel-duo figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.reel-arrow { font-size: 28px; color: #d9622b; }

/* ---------- what Ken made: small pictures of results inside replies ---------- */
.bubble.ken { max-width: 92%; }
.made { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 13.5px; line-height: 1.4; }
.made b { display: block; font-weight: 600; margin-bottom: 4px; }
.made p { margin: 2px 0; }
.made i { font-style: normal; color: var(--muted); margin-right: 6px; }
.made.mail .btns { display: flex; gap: 6px; margin-top: 8px; }
.made.mail em { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.made.mail em.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.made.row { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.made.row .dot { grid-row: span 2; width: 8px; height: 8px; border-radius: 50%; background: #1fc95a; }
.made.row .tag { color: var(--muted); }
.made.slides { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
.made.slides span { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: #0b0b0c; color: #fff; font-size: 11.5px; }
.made.slides span b { margin: 0; color: #f08a4b; font-size: 13px; }
.made.slides i { color: #fff; margin: 0; }
.made.alert { border-left: 3px solid #d9622b; }
.made.alert p:last-child { color: var(--muted); }
/* typing dots */
.dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
/* the play-in, all in CSS so it can't stall: messages pop in one after another like a live chat. Space is kept
   from the start, so nothing jumps. site.js only adds .play when the card scrolls into view. */
.ask { display: flex; flex-direction: column; gap: 10px; }
.ask-tag { display: flex; justify-content: space-between; margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ask-tag span { font-weight: 400; }
.js .ask .bubble.you, .js .ask .ken-says { opacity: 0; }
.js .ask.play .m0 { animation: ask-in .4s ease var(--d, 0s) both; }
.js .ask.play .m1 { animation: ask-in .4s ease calc(var(--d, 0s) + 1s) both; }
.js .ask.play .m2 { animation: ask-in .4s ease calc(var(--d, 0s) + 1.8s) both; }
.js .ask.play .m3 { animation: ask-in .4s ease calc(var(--d, 0s) + 2.8s) both; }
.ask:nth-child(3n + 2) { --d: .3s; } .ask:nth-child(3n) { --d: .6s; }
@keyframes ask-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .ask .bubble.you, .js .ask .ken-says { opacity: 1; animation: none !important; } }
.made.row b { display: inline; margin: 0; }
.made.brief p, .made.doc p { display: flex; gap: 6px; }
.made.file { display: flex; align-items: center; gap: 10px; }
.made.file .pdf { flex: none; padding: 8px 6px; border-radius: 6px; background: #d9622b; color: #fff; font-size: 11px; font-weight: 600; }
.made.file b { margin-bottom: 1px; }
.made.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.made.stats b { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.made.stats p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.25; }
.made.stats p b { color: var(--ink); }
.made.list p { display: flex; align-items: baseline; gap: 6px; }
.made.list i { flex: 1; font-size: 12.5px; }
.made.list s { text-decoration: line-through; color: var(--muted); }
.made.brief b { margin: 8px 0 3px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.made.brief b:first-child { margin-top: 0; }
.made.brief em { font-style: normal; margin-left: auto; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--ink); color: var(--paper); white-space: nowrap; }
.made.brief p { align-items: baseline; }
.made.post { font-size: 13.5px; }
.made.post p + p { margin-top: 6px; }

/* /welcome: Ken gets to know them while its computer is made (src/onboarding.ts, welcome.js). */
.welcome { text-align: center; }
.welcome h1 { font-size: clamp(24px, 4vw, 30px); font-weight: 500; line-height: 1.12; max-width: 640px; margin: 0 auto 10px; }
.welcome .actions { justify-content: center; }
.welcome .choose .button { min-width: 190px; }
.ken-wait.talking img { animation: talking .45s ease-in-out infinite alternate; }
@keyframes talking { from { transform: scale(1); } to { transform: scale(1.07, .96); } }
.call-line { font-size: 17px; font-weight: 600; margin: 18px 0 0; }
.call-time { margin: 2px 0 0; font-variant-numeric: tabular-nums; }
.button.end { background: #c0392b; color: #fff; min-width: 160px; }
.text-button { border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; }
.welcome .note { margin: 14px auto 0; max-width: 520px; }
.facts { list-style: none; padding: 0; margin: 20px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 640px; }
.fact { border: 0; border-radius: 999px; background: var(--soft); color: var(--ink); font: 500 15px/1.3 var(--sans); padding: 10px 16px; cursor: pointer; animation: arrive .35s ease-out; }
.fact:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } .fact:disabled { cursor: default; box-shadow: none; }
@keyframes arrive { from { opacity: 0; transform: translateY(6px) scale(.96); } }
.fact-edit { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.fact-edit input, .intro-form input { min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--paper); color: var(--ink); font: 400 16px var(--sans); }
.fact-edit input { flex: 1 1 200px; }
.intro-form { display: grid; gap: 14px; max-width: 520px; margin: 22px auto 0; text-align: left; }
.intro-form label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.intro-form input:focus, .fact-edit input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.intro-form .actions { justify-content: flex-start; }
.welcome .skip { margin-top: 26px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .ken-wait.talking img, .fact { animation: none; } }
#after { margin-top: 18px; }
.first-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; max-width: 560px; margin: 16px auto 0; }
.first-form label { flex-basis: 100%; font-weight: 500; }
.first-form input { flex: 1 1 260px; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--paper); color: var(--ink); font: 400 16px var(--sans); }
.first-form input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
#afterText { font-size: 19px; font-weight: 500; max-width: 560px; margin: 0 auto; }

/* ---------- account page: calm, like the landing page ---------- */
.acct { font-size: 15px; }
.acct .eyebrow { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.acct h1 { font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 18px; }
.acct h2 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 34px 0 4px; }
.acct .muted { font-size: 15px; }
.acct .small { font-size: 13px; margin: 12px 0 0; }
.acct .card { border-radius: 18px; padding: 18px 20px; }
.acct .actions { margin: 12px 0; }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.plan-head p { margin: 0; font-size: 16px; }
.state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.state i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.state.ok i { background: var(--live); }
.meter { padding: 10px 0 2px; }
.meter-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.meter-top span:last-child { color: var(--muted); }
.meter.low .meter-top span:last-child { color: var(--warn); }
.bar { height: 4px; margin-top: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 4px; }
.meter.low .bar i { background: var(--warn); }
.bar .w0 { width: 0%; }
.bar .w5 { width: 5%; }
.bar .w10 { width: 10%; }
.bar .w15 { width: 15%; }
.bar .w20 { width: 20%; }
.bar .w25 { width: 25%; }
.bar .w30 { width: 30%; }
.bar .w35 { width: 35%; }
.bar .w40 { width: 40%; }
.bar .w45 { width: 45%; }
.bar .w50 { width: 50%; }
.bar .w55 { width: 55%; }
.bar .w60 { width: 60%; }
.bar .w65 { width: 65%; }
.bar .w70 { width: 70%; }
.bar .w75 { width: 75%; }
.bar .w80 { width: 80%; }
.bar .w85 { width: 85%; }
.bar .w90 { width: 90%; }
.bar .w95 { width: 95%; }
.bar .w100 { width: 100%; }
.acct .change-plan { margin: 14px 0 0; font-size: 14px; }
.acct .who { font-size: 13px; }
.top-links { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.top-links > a:not(.button) { text-decoration: none; color: var(--muted); }
.top-links > a:not(.button):hover { color: var(--ink); }

/* Connect Telegram: a code to scan from a computer, a button on the phone. */
.tg-link { text-align: center; }
.tg-qr { width: 220px; height: 220px; margin: 18px auto; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.tg-qr svg { width: 100%; height: 100%; display: block; }
.tg-link .actions { justify-content: center; }
@media (hover: none) and (pointer: coarse) { .tg-qr, .tg-scan { display: none; } }
/* Plan & billing: the current plan's card says so instead of a button. */
.button.current { opacity: .55; cursor: default; pointer-events: none; }
.billing h2 { margin-top: 36px; }
.topup-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0; }
.topup-form label { display: inline-flex; align-items: center; gap: 6px; font: 500 22px/1 var(--sans); }
.topup-form input { width: 120px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 20px/1 var(--sans); }
.signin-refused { max-width: 560px; margin: 0 auto 24px; text-align: left; }
.legal { max-width: 640px; } .legal h2 { margin-top: 32px; font-size: 20px; } .legal li { margin: 6px 0; }
.closing-sub { margin: 14px 0 0; color: var(--paper); opacity: .72; font-size: 18px; }
.why3 { list-style: none; padding: 0; margin: 30px auto 0; display: grid; gap: 14px; max-width: 980px; }
@media (min-width: 760px) { .why3 { grid-template-columns: repeat(3, 1fr); } }
.why3 li { padding: 22px 20px 20px; border-radius: 24px; box-shadow: 0 0 0 1px var(--line); }
.why3 .em { display: block; font-size: 26px; margin-bottom: 10px; }
.why3 b { display: block; font: 600 18px/1.2 var(--sans); letter-spacing: -.02em; margin-bottom: 4px; }
.why3 span:not(.em) { color: var(--muted); font-size: 16px; }
