/* tachyn.ai — the product layer over Keel's document stylesheet.
   Brand: brand/README.md. Ink on paper, one accent (signal teal) for primary
   actions and the live recording state only. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght.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 {
  color-scheme: light;
  --paper: #f7f6f2;
  --surface: #ffffff;
  --ink: #0b0d12;
  --ink-2: rgba(11, 13, 18, 0.66);
  --ink-3: rgba(11, 13, 18, 0.6); /* 4.9:1 on paper and tint, 5.1:1 on surface */
  --line: rgba(11, 13, 18, 0.1);
  --tint: #efede6;
  --accent: #00c2a8;
  --on-accent: #0b0d12;
  --amber: #e5a50a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 13, 18, 0.05), 0 12px 32px -12px rgba(11, 13, 18, 0.18);
  --keel-bg: var(--paper);
  --keel-ink: var(--ink);
  --keel-accent: var(--ink);
  --keel-muted: var(--ink-2);
  --keel-line: var(--line);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK", "Noto Sans HK", "Noto Sans CJK HK", "Microsoft JhengHei", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #0b0d12;
    --surface: #16181d;
    --ink: #ececec;
    --ink-2: rgba(236, 236, 236, 0.7);
    --ink-3: rgba(236, 236, 236, 0.52);
    --line: rgba(247, 246, 242, 0.12);
    --tint: #121419;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
  }
}

html, body { margin: 0; background: var(--paper); }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
html[lang="zh-Hant-HK"] body { line-height: 1.75; }

#keel-static-root { padding: 0; background: var(--paper); color: var(--ink); }
#keel-static-root .page { min-height: 100vh; display: flex; flex-direction: column; }
#keel-static-root .content { flex: 1 0 auto; display: block; }
#keel-static-root p { margin: 0; }
#keel-static-root h1, #keel-static-root h2, #keel-static-root h3 {
  margin: 0; color: var(--ink); font-weight: 650; letter-spacing: -0.02em; line-height: 1.2;
}
#keel-static-root h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.03em; }
#keel-static-root h2 { font-size: clamp(24px, 3vw, 32px); }
#keel-static-root h3 { font-size: 18px; letter-spacing: -0.01em; }
html[lang="zh-Hant-HK"] #keel-static-root :is(h1, h2, h3) { letter-spacing: 0; }

#keel-static-root a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
#keel-static-root a:hover { color: var(--ink); text-decoration-color: currentColor; }
#keel-static-root a[data-keel-surface="nav-link"]:not(.btn):not(.skip) { padding: 0 !important; background: none !important; }
#keel-static-root :is(a, button):focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}

/* Layout */
#keel-static-root .wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
#keel-static-root .narrow { max-width: 760px; }
#keel-static-root .center { text-align: center; align-items: center; }
#keel-static-root .band { padding: 88px 0; }
#keel-static-root .band.tight { padding: 24px 0 72px; }
#keel-static-root .band.tint { background: var(--tint); border-block: 1px solid var(--line); }
#keel-static-root .home .band .wrap > h2 { margin-bottom: 40px; max-width: 18ch; }
#keel-static-root .skip {
  position: absolute; left: 16px; top: -64px; z-index: 10; background: var(--ink) !important;
  color: var(--paper); padding: 10px 16px !important; border-radius: 8px; text-decoration: none;
}
#keel-static-root .skip:focus { top: 12px; color: var(--paper); }

/* Header */
#keel-static-root .site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
#keel-static-root .bar { flex-direction: row; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
#keel-static-root .brand {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px;
  letter-spacing: -0.02em; text-decoration: none; white-space: nowrap;
}
#keel-static-root .brand::before {
  content: ""; width: 28px; height: 28px; flex: none; background: currentColor;
  -webkit-mask: url("/mark.svg") center / contain no-repeat; mask: url("/mark.svg") center / contain no-repeat;
}
#keel-static-root .nav { flex-direction: row; align-items: center; gap: 28px; }
#keel-static-root .nav > a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
#keel-static-root .nav > a:hover { color: var(--ink); }
#keel-static-root .nav > .btn { color: var(--on-accent); }

/* Buttons: links styled as buttons, at least 44 px tall. */
#keel-static-root a.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 20px !important; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none !important; white-space: nowrap; transition: transform 150ms ease-out, background-color 150ms ease-out, box-shadow 150ms ease-out;
}
#keel-static-root .btn-primary { background: var(--accent) !important; color: var(--on-accent); box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 6px 18px -8px rgba(0, 194, 168, 0.8); }
#keel-static-root .btn-primary:hover { background: #12d1b6 !important; color: var(--on-accent); transform: translateY(-1px); }
#keel-static-root .btn-secondary { background: var(--surface) !important; color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset; }
#keel-static-root .btn-secondary:hover { box-shadow: 0 0 0 1px var(--ink-3) inset; color: var(--ink); }
#keel-static-root .actions { align-items: center; flex-direction: row; flex-wrap: wrap; gap: 12px; }
#keel-static-root .actions.center { justify-content: center; }

#keel-static-root a.text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px !important; font-weight: 600; font-size: 15px; text-decoration: underline !important; text-decoration-color: var(--line) !important; text-underline-offset: 4px; }
#keel-static-root a.text-link:hover { text-decoration-color: currentColor !important; }
#keel-static-root .lang-foot { display: none; }
/* Links inside running text stay inline at the text size. */
#keel-static-root p > a[data-keel-surface="nav-link"] { display: inline !important; font: inherit !important; min-height: 0 !important; }

/* Hero */
#keel-static-root .hero { padding: 72px 0 96px; overflow: hidden; }
#keel-static-root .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
#keel-static-root .hero-copy { gap: 24px; }
#keel-static-root .eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-2); }
#keel-static-root .display {
  font-size: clamp(48px, 7.4vw, 92px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 750;
}
html[lang="zh-Hant-HK"] #keel-static-root .display { line-height: 1.1; letter-spacing: 0.01em; font-weight: 700; }
#keel-static-root .lede { font-size: 19px; color: var(--ink-2); max-width: 34em; }
#keel-static-root .center .lede { margin: 0 auto; }
#keel-static-root .note { font-size: 14px; color: var(--ink-3); }
#keel-static-root .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }
/* The preview's one-line install: one click selects the whole line to copy. */
#keel-static-root .cmd {
  display: block; box-sizing: border-box; max-width: 100%; margin: 16px auto 8px; padding: 14px 18px; text-align: left;
  font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--surface); border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line) inset; user-select: all; -webkit-user-select: all; cursor: text; overflow-x: auto; overflow-wrap: anywhere;
}
#keel-static-root .value { font-size: 17px; font-weight: 600; color: var(--ink); max-width: 34em; margin: 0 auto; }

/* The download-request form: one row (field, button) up to 480 px wide. */
#keel-static-root .request {
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: center;
  gap: 12px; max-width: 480px; margin: 24px auto 0; text-align: left;
}
#keel-static-root .request > div { flex: 1 1 220px; min-width: 0; }
#keel-static-root .request span[id$=".label"] { font-size: 16px; font-weight: 600; color: var(--ink); }
#keel-static-root .request input {
  box-sizing: border-box; width: 100%; height: 48px; padding: 0 16px; margin: 6px 0 0;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--ink-3); border-radius: 12px; outline: none;
}
#keel-static-root .request input::placeholder { color: var(--ink-3); opacity: 1; }
#keel-static-root .request input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.3); }
#keel-static-root .request button {
  box-sizing: border-box; height: 48px; min-height: 48px; padding: 0 22px; font: inherit; font-size: 16px; font-weight: 600;
  border: 0; border-radius: 12px; cursor: pointer; white-space: nowrap; flex: 0 0 auto;
}
#keel-static-root .request .note { flex: 1 0 100%; margin: 4px 0 0; text-align: center; }
/* The ad-measurement opt-in: an unticked box, then its words, one clickable label. */
#keel-static-root .request .optin { display: flex; align-items: flex-start; gap: 10px; flex: 1 0 100%; cursor: pointer; }
#keel-static-root .request .optin input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; padding: 0; accent-color: var(--accent); cursor: pointer; }
#keel-static-root .request .optin .note { flex: 1 1 auto; margin: 0; text-align: left; }
@media (max-width: 480px) {
  #keel-static-root .request > div, #keel-static-root .request button { flex: 1 0 100%; }
}

/* The recording indicator demo: one 8 s loop; the result is on screen by 1.2 s. */
#keel-static-root .hero-demo { gap: 16px; align-items: center; }
#keel-static-root .demo { position: relative; width: 100%; max-width: 500px; padding-bottom: 36px; }
#keel-static-root .demo-window {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 1px var(--line);
  overflow: hidden;
}
#keel-static-root .demo-chrome { flex-direction: row; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
#keel-static-root .demo-chrome .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
#keel-static-root .demo-field { display: block; padding: 20px 22px 76px; min-height: 180px; font-size: 18px; line-height: 1.6; }
#keel-static-root .demo-to { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
#keel-static-root .demo-text { font-size: 0; animation: demo-text 8s step-end infinite; }
#keel-static-root .demo-caret {
  display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -0.2em;
  background: var(--ink); animation: caret 1s steps(1) infinite;
}
#keel-static-root .pill {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  flex-direction: row; align-items: center; gap: 12px; height: 48px; padding: 0 20px 0 16px;
  max-width: calc(100% - 32px); box-sizing: border-box;
  border-radius: 999px; background: #0b0d12; color: #f7f6f2;
  box-shadow: 0 14px 34px -12px rgba(11, 13, 18, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  opacity: 0; animation: pill 8s infinite;
}
#keel-static-root .pill-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 194, 168, 0.22); animation: pulse 1.2s ease-in-out infinite, listening 8s infinite; }
#keel-static-root .meter { flex-direction: row; align-items: center; gap: 3px; height: 22px; flex: none; animation: listening 8s infinite; }
#keel-static-root .meter .bar { width: 3px; height: 22px; border-radius: 2px; background: var(--accent); transform-origin: center; transform: scaleY(0.2); }
#keel-static-root .meter .bar:nth-child(1) { animation: level 0.62s ease-in-out infinite alternate; }
#keel-static-root .meter .bar:nth-child(2) { animation: level 0.48s ease-in-out -0.2s infinite alternate; }
#keel-static-root .meter .bar:nth-child(3) { animation: level 0.71s ease-in-out -0.35s infinite alternate; }
#keel-static-root .meter .bar:nth-child(4) { animation: level 0.44s ease-in-out -0.1s infinite alternate; }
#keel-static-root .meter .bar:nth-child(5) { animation: level 0.66s ease-in-out -0.4s infinite alternate; }
#keel-static-root .meter .bar:nth-child(6) { animation: level 0.52s ease-in-out -0.25s infinite alternate; }
#keel-static-root .meter .bar:nth-child(7) { animation: level 0.58s ease-in-out -0.05s infinite alternate; }
#keel-static-root .pill-live {
  display: block; font-size: 15px; color: rgba(247, 246, 242, 0.72); white-space: nowrap; overflow: hidden;
  max-width: 0; animation: live 8s infinite;
}
#keel-static-root .pill-check {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; background: var(--accent); opacity: 0; animation: check 8s infinite;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
#keel-static-root .demo-caption { font-size: 14px; color: var(--ink-3); }

@keyframes pill { 0% { opacity: 0; transform: translate(-50%, 8px); } 4%, 22% { opacity: 1; transform: translate(-50%, 0); } 27%, 100% { opacity: 0; transform: translate(-50%, 8px); } }
@keyframes listening { 0%, 11% { opacity: 1; } 13%, 100% { opacity: 0; } }
@keyframes live { 0% { max-width: 0; opacity: 1; } 10% { max-width: 16em; opacity: 1; } 12%, 100% { max-width: 16em; opacity: 0; } }
@keyframes check { 0%, 12% { opacity: 0; transform: scale(0.6); } 14%, 22% { opacity: 1; transform: scale(1); } 26%, 100% { opacity: 0; } }
@keyframes demo-text { 0%, 12% { font-size: 0; } 15%, 92% { font-size: 1em; } 97%, 100% { font-size: 0; } }
@keyframes level { from { transform: scaleY(0.18); } to { transform: scaleY(1); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.25); } 50% { box-shadow: 0 0 0 6px rgba(0, 194, 168, 0.08); } }
@keyframes caret { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  #keel-static-root .demo-text { font-size: 1em; animation: none; }
  #keel-static-root .pill { opacity: 1; animation: none; }
  #keel-static-root .pill-live { max-width: 16em; animation: none; }
  #keel-static-root :is(.pill-dot, .meter, .meter .bar, .demo-caret, .pill-check) { animation: none; }
  #keel-static-root .meter .bar { transform: scaleY(0.6); }
  #keel-static-root .btn { transition: none; }
}

/* Speed */
#keel-static-root .speed { background: #0b0d12; color: #f7f6f2; }
#keel-static-root .speed :is(h2, p) { color: #f7f6f2; }
#keel-static-root .speed-grid { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
#keel-static-root .stat { gap: 8px; }
#keel-static-root .stat-number {
  font-size: clamp(72px, 10vw, 132px); font-weight: 750; letter-spacing: -0.05em; line-height: 0.9;
  font-variant-numeric: tabular-nums; color: var(--accent) !important;
}
#keel-static-root .stat-label { font-size: 15px; color: rgba(247, 246, 242, 0.66) !important; max-width: 17em; }
#keel-static-root .speed-copy { gap: 16px; }
#keel-static-root .speed-copy p { color: rgba(247, 246, 242, 0.74); font-size: 18px; max-width: 36em; }

/* Features */
#keel-static-root .features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
#keel-static-root .feature { background: var(--surface); padding: 28px 26px 30px; gap: 10px; }
#keel-static-root .feature p { color: var(--ink-2); font-size: 15px; }

/* Two-column story */
#keel-static-root .split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
#keel-static-root .split-copy { gap: 18px; }
#keel-static-root .split-copy p { color: var(--ink-2); max-width: 34em; }
#keel-static-root ul.chips { display: flex; flex-direction: row; flex-wrap: wrap; align-content: flex-start; gap: 10px; list-style: none; padding: 0; margin: 0; }
#keel-static-root ul.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 550; font-size: 16px; }
#keel-static-root ul.chips li:nth-child(-n+3) { border-color: var(--ink); }
#keel-static-root ul.checks, #keel-static-root ul.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
#keel-static-root ul.checks li, #keel-static-root ul.ticks li { position: relative; padding-left: 32px; }
#keel-static-root ul.checks li::before, #keel-static-root ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23f7f6f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
@media (prefers-color-scheme: dark) {
  #keel-static-root ul.checks li::before, #keel-static-root ul.ticks li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230b0d12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}
#keel-static-root ul.checks { font-size: 18px; font-weight: 550; }

/* Closing call to action */
#keel-static-root .cta .wrap { gap: 18px; }
#keel-static-root .cta h2 { font-size: clamp(30px, 4vw, 44px); }
#keel-static-root .cta p { color: var(--ink-2); }
#keel-static-root .footnote { margin-top: 56px !important; font-size: 13px; color: var(--ink-3) !important; text-align: left; max-width: 60em; }

/* Page heads */
#keel-static-root .page-head { padding: 80px 0 40px; }
#keel-static-root .page-head .wrap { gap: 18px; }

/* Pricing */
#keel-static-root .plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; align-items: stretch; }
#keel-static-root .plan {
  background: var(--surface); border-radius: var(--radius); padding: 32px 28px; gap: 16px;
  box-shadow: 0 0 0 1px var(--line) inset;
}
#keel-static-root .plan.featured { box-shadow: 0 0 0 2px var(--ink) inset, var(--shadow); }
#keel-static-root .plan h2 { font-size: 22px; }
#keel-static-root .price { flex-direction: row; align-items: baseline; gap: 6px; flex-wrap: wrap; }
#keel-static-root .amount { font-size: 52px; font-weight: 750; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
#keel-static-root .per { font-size: 15px; color: var(--ink-2); }
#keel-static-root .plan-sub { font-size: 15px; color: var(--ink-2); min-height: 3.2em; }
#keel-static-root .plan > .btn { align-self: stretch; }
#keel-static-root .plan .ticks { margin-top: 8px; font-size: 15px; }
#keel-static-root .plan .ticks li::before { top: 0.22em; }
#keel-static-root .faq { display: block; margin-top: 8px; }
#keel-static-root .qa { padding: 24px 0; border-top: 1px solid var(--line); gap: 8px; }
#keel-static-root .qa p { color: var(--ink-2); }
#keel-static-root .pricing .band.tight { padding-bottom: 32px; }
#keel-static-root .pricing .band.tight + .band { padding-top: 24px; }
#keel-static-root .pricing .band .wrap > p { color: var(--ink-2); font-size: 15px; margin-bottom: 56px; }
#keel-static-root #faq { margin-bottom: 16px; }

/* Cards */
#keel-static-root .cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#keel-static-root .card { background: var(--surface); border-radius: var(--radius); padding: 28px; gap: 14px; box-shadow: 0 0 0 1px var(--line) inset; }
#keel-static-root .card h2 { font-size: 22px; }
#keel-static-root .card p { color: var(--ink-2); font-size: 15px; flex: 1 0 auto; }
#keel-static-root .card > .btn { align-self: flex-start; }
#keel-static-root .card h3 + ul { margin-bottom: 12px; }
#keel-static-root .account .narrow { gap: 16px; }
#keel-static-root .account .narrow h2 { font-size: 22px; margin-top: 16px; }
#keel-static-root .account .narrow p { color: var(--ink-2); }

/* Download */
#keel-static-root ol.steps { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 18px; }
#keel-static-root ol.steps li { counter-increment: step; position: relative; padding-left: 48px; color: var(--ink-2); }
#keel-static-root ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset;
}
#keel-static-root ul.plain { margin: 0; padding-left: 1.2em; list-style: disc; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
#keel-static-root .download .split { align-items: start; }

/* Legal documents */
#keel-static-root .legal { padding-top: 72px; }
#keel-static-root .prose { gap: 14px; }
#keel-static-root .prose h1 { margin-bottom: 4px; }
#keel-static-root .prose h2 { font-size: 22px; margin-top: 28px; }
#keel-static-root .prose p, #keel-static-root .prose ul.plain { color: var(--ink-2); }
#keel-static-root .prose .lede { color: var(--ink); font-size: 18px; }
#keel-static-root .prose ul.plain { gap: 10px; }

/* 404 */
#keel-static-root .notfound { padding: 120px 24px; gap: 20px; align-items: flex-start; }

/* Footer */
#keel-static-root .site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; background: var(--paper); }
#keel-static-root .foot { gap: 18px; }
#keel-static-root .foot-links { flex-direction: row; flex-wrap: wrap; gap: 10px 28px; }
#keel-static-root .foot-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
#keel-static-root .foot-links a:hover { color: var(--ink); }
#keel-static-root .fine { font-size: 13px; color: var(--ink-3); }

/* Narrow screens */
@media (max-width: 960px) {
  #keel-static-root .hero-grid, #keel-static-root .split, #keel-static-root .speed-grid { grid-template-columns: 1fr; gap: 40px; }
  #keel-static-root .features { grid-template-columns: repeat(2, 1fr); }
  #keel-static-root .plans, #keel-static-root .cards3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  #keel-static-root .hero { padding-top: 48px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  #keel-static-root .wrap { padding: 0 16px; }
  #keel-static-root .band { padding: 64px 0; }
  #keel-static-root .bar { height: auto; min-height: 60px; flex-wrap: nowrap; gap: 8px 12px; }
  #keel-static-root .nav { gap: 12px; flex-wrap: nowrap; }
  #keel-static-root :is(.nav > a, .foot-links > a, .brand) { display: inline-flex; align-items: center; min-height: 44px; }
  #keel-static-root .foot-links { gap: 0 20px; }
  #keel-static-root .nav > a { font-size: 14px; }
  #keel-static-root .nav > a[href$="/account"], #keel-static-root .nav > a.lang { display: none; }
  #keel-static-root .lang-foot { display: inline-flex; }
  #keel-static-root a.btn { padding: 0 16px !important; }
  #keel-static-root .features { grid-template-columns: 1fr; }
  #keel-static-root .demo-field { font-size: 16px; }
  #keel-static-root .lede { font-size: 17px; }
  #keel-static-root .page-head { padding: 56px 0 24px; }
}

/* Chrome links (header, footer) are navigation, not links in running text:
   no underline. Links inside paragraphs keep theirs. */
#keel-static-root :is(.brand, .nav > a, .foot-links > a, a.btn, .skip) { text-decoration: none !important; }
html[lang="zh-Hant-HK"] #keel-static-root .display { font-size: clamp(40px, 6.2vw, 80px); word-break: keep-all; }
@media (prefers-color-scheme: dark) {
  #keel-static-root .speed { background: #16181d; border-block: 1px solid var(--line); }
  #keel-static-root .pill { box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(247, 246, 242, 0.16) inset; }
}
#keel-static-root ul.plain > li { display: list-item; }

/* Native hand-off on touch devices; desktop Mac keeps the direct download. */
#keel-static-root .download-action { display: contents; }
#keel-static-root a.phone-download { display: none !important; }
#keel-static-root .mac-link-page h2 { margin-top: 32px; }
#keel-static-root .mac-link-address { display: block; min-height: 44px; padding: 12px 0; font-weight: 600; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
@media (hover: none) and (pointer: coarse) {
  #keel-static-root a.desktop-download { display: none !important; }
  #keel-static-root a.phone-download { display: inline-flex !important; }
}
