/* Citenook website, light only. Mac-native type (SF Pro), one blue accent, yellow only for cited
   text. The home page tells one story: a pinned app window that changes as you scroll. */
:root {
  --bg: #ffffff;
  --soft: #f5f5f7;
  --panel: #f7f7f8;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #e5e5ea;
  --accent: #2b50e8;
  --tint: #e9edfd;
  --hl: #ffe27a;
  --shadow: 0 2px 6px rgba(20, 24, 40, .05), 0 40px 90px -20px rgba(20, 24, 40, .28);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }
.display, .hero h1, .h2, .statement p { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255, 255, 255, .78); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand sup { color: var(--accent); font-size: 10px; margin-left: -5px; position: relative; top: -2px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav a:not(.btn) { color: var(--muted); }
.nav a:not(.btn):hover { color: var(--text); text-decoration: none; }
main.wrap { padding-top: 56px; }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 600; border-radius: 980px; padding: 13px 24px; font-size: 17px; transition: transform .15s ease, filter .15s ease; }
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn.small { padding: 7px 15px; font-size: 14px; }
.link { font-size: 17px; font-weight: 500; }
.req { color: var(--faint); font-size: 14px; margin: 18px 0 0; }

/* Hero */
.hero { text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-weight: 600; font-size: 19px; color: var(--text); }
.kicker img { width: 28px; height: 28px; border-radius: 7px; }
.hero h1 { font-size: clamp(48px, 8.2vw, 112px); line-height: 1; letter-spacing: -.05em; font-weight: 700; margin: 0 auto; max-width: 9.5em; }
.hero .lede { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.35; color: var(--muted); margin: 26px auto 36px; max-width: 30em; letter-spacing: -.01em; }
.actions { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }

/* The problem */
.pains { }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.pain { background: var(--soft); border-radius: 24px; padding: 34px 30px 36px; }
.pain .quote { font: 700 26px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; letter-spacing: -.025em; color: var(--text); margin: 0 0 16px; }
.pain p { margin: 0; color: var(--muted); font-size: 17px; }
.bridge { margin: 56px 0 0; font-size: 21px; font-weight: 600; color: var(--accent); }

/* ---------- The story ---------- */
.story { position: relative; }
.stage { height: 100vh; display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; max-width: 1640px; margin: 0 auto; padding: 72px 40px 32px; }
.captions { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; height: 330px; }
.captions::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: var(--line); border-radius: 2px; }
.captions .progress { position: absolute; left: 0; top: 4px; width: 2px; height: calc(100% - 8px); background: var(--accent); border-radius: 2px; transform-origin: top; transform: scaleY(0); }
.cap { position: absolute; inset: 0 0 auto 22px; opacity: 0; visibility: hidden; }
.cap .n { display: inline-flex; width: 26px; height: 26px; border-radius: 13px; align-items: center; justify-content: center; background: var(--tint); color: var(--accent); font-weight: 700; font-size: 13px; margin-bottom: 16px; }
.cap h2 { font: 700 clamp(30px, 3vw, 40px)/1.08 -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; letter-spacing: -.035em; margin: 0 0 14px; }
.cap p { color: var(--muted); font-size: 18px; line-height: 1.5; margin: 0; }

.vp-box { position: relative; justify-self: center; width: calc(1180px * var(--s, 1)); height: calc(790px * var(--s, 1)); }
.viewport { position: absolute; left: 0; top: 0; width: 1180px; height: 790px; transform-origin: 0 0; transform: scale(var(--s, 1)); }
.menubar { position: absolute; top: 0; left: 0; right: 0; height: 30px; display: flex; align-items: center; gap: 18px; padding: 0 16px; font-size: 13px; color: #1d1d1f; background: rgba(246, 246, 248, .9); border: 1px solid var(--line); border-radius: 10px; }
.menubar b { font-weight: 700; }
.mb-apple { width: 12px; height: 14px; background: #1d1d1f; border-radius: 6px 6px 5px 5px; }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.wifi { width: 17px; height: 17px; }
.wifi-off { opacity: 0; stroke: #1d1d1f; stroke-width: 2.4; }
.wifi-label { opacity: 0; font-weight: 600; color: var(--accent); width: 0; overflow: hidden; white-space: nowrap; }

.win { position: absolute; top: 46px; left: 0; width: 1180px; height: 740px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid rgba(0, 0, 0, .08); display: grid; grid-template-columns: 62px 214px 1fr; overflow: hidden; font-size: 14px; }
.rail { background: #ececef; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 18px; }
.rail i { width: 38px; height: 38px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.rail .logo { background: none; box-shadow: none; }
.rail .logo img { width: 38px; height: 38px; border-radius: 10px; }
.side { background: var(--panel); border-right: 1px solid var(--line); padding: 18px 12px; }
.side-head { font-weight: 700; font-size: 16px; padding: 0 8px 14px; }
.side-label { color: var(--faint); font-size: 12px; font-weight: 600; padding: 16px 8px 6px; }
.item { padding: 7px 8px; border-radius: 8px; display: flex; align-items: center; color: var(--text); }
.item.on { background: #e9e9ec; font-weight: 600; }
.item.b::before { content: ""; width: 16px; height: 12px; border-radius: 3px; background: #b9b9c0; margin-right: 10px; }
.item .count { margin-left: auto; font-size: 12px; color: var(--muted); background: #fff; border-radius: 6px; padding: 0 6px; opacity: 0; }
.main { position: relative; overflow: hidden; }
.toolbar { height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.crumb { color: var(--faint); }
.crumb::after { content: "›"; margin-left: 10px; }
.title { font-weight: 600; position: relative; }
.title .t-chat { position: absolute; left: 0; white-space: nowrap; opacity: 0; }
.model-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 9px; padding: 6px 11px; font-size: 13px; font-weight: 500; background: #fff; }

/* Home view */
.home { position: absolute; inset: 54px 0 0; padding: 70px 120px 0; }
.home h3 { font-size: 27px; letter-spacing: -.025em; margin: 0 0 18px; }
.askbox { position: relative; border: 1px solid #d9d9de; border-radius: 16px; padding: 16px 16px 12px; box-shadow: 0 4px 18px -8px rgba(20, 24, 40, .18); min-height: 104px; font-size: 16px; }
.typed { white-space: pre; }
.caret { display: inline-block; width: 2px; height: 19px; background: var(--accent); vertical-align: -3px; margin-left: 1px; opacity: 0; }
.ph { position: absolute; left: 17px; top: 16px; color: var(--faint); }
.askrow { display: flex; gap: 8px; margin-top: 22px; align-items: center; }
.chip { font-size: 12.5px; background: #f2f2f4; border-radius: 7px; padding: 4px 9px; color: var(--muted); }
.send { margin-left: auto; width: 32px; height: 32px; border-radius: 16px; background: #c9d2fa; }
.status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; margin: 16px 0 18px; height: 20px; }
.st-ready { display: none; }
.spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #d5d5db; border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.files { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; opacity: 0; }
.t { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 30px; border-radius: 5px; font: 800 8px -apple-system, sans-serif; font-style: normal; letter-spacing: .02em; }
.t.pdf { background: #fdeceb; color: #d63c33; }
.t.md { background: #ececef; color: #5e5e63; }

/* Chat view */
.chat { position: absolute; inset: 54px 0 0; padding: 30px 60px 0; opacity: 0; }
.chat .q { margin-left: auto; width: fit-content; max-width: 70%; background: #f0f0f2; border-radius: 16px; padding: 10px 15px; font-size: 15px; }
.chat .a { margin-top: 30px; max-width: 560px; }
.byline { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.byline img { width: 20px; height: 20px; border-radius: 5px; }
.byline b { color: var(--text); }
.found { display: none; }
.answer { font-size: 17px; line-height: 1.6; margin: 12px 0 14px; }
.answer .aw { opacity: 0; }
.c { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 10px; background: var(--tint); color: var(--accent); font-size: 11.5px; font-weight: 700; margin-left: 4px; vertical-align: 2px; transform: scale(0); }
.c1.active { background: var(--accent); color: #fff; }
.srcrow { display: flex; align-items: center; gap: 8px; font-size: 14px; opacity: 0; }
.srcrow .t { width: 20px; height: 24px; font-size: 6.5px; }
.composer { position: absolute; left: 60px; right: 60px; bottom: 22px; border: 1px solid #c9d2fa; border-radius: 16px; padding: 14px 16px 12px; font-size: 15px; background: #fff; }
.cph { color: var(--faint); display: block; margin-bottom: 14px; }
.lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); border-radius: 7px; padding: 4px 9px; background: #f2f2f4; }

/* Source panel */
.panel { position: absolute; top: 54px; right: 0; bottom: 0; width: 400px; background: #fafafb; border-left: 1px solid var(--line); padding: 18px 20px; transform: translateX(102%); }
.ph-head { font-size: 14px; margin-bottom: 14px; }
.ph-file { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.ph-file b { display: block; }
.ph-file span { color: var(--muted); font-size: 13px; }
.paper { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 10px 30px -12px rgba(0,0,0,.15); padding: 28px 26px; height: 470px; font-size: 13px; }
.doc-title { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.doc-sub { color: var(--muted); margin: 2px 0 18px; font-size: 12px; }
.doc-row { position: relative; display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #eee; }
.doc-row span { position: relative; }
.doc-row .mark { position: absolute; inset: 3px -6px; background: var(--hl); border-radius: 4px; transform-origin: left; transform: scaleX(0); }

/* Model menu */
.menu { position: absolute; top: 48px; right: 16px; width: 300px; background: rgba(255,255,255,.96); backdrop-filter: blur(20px); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 50px -15px rgba(20,24,40,.35); padding: 6px; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; }
.m-sec { font-size: 11.5px; color: var(--faint); font-weight: 600; padding: 8px 10px 4px; }
.m-item { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 7px; font-size: 13.5px; }
.m-item em { font-style: normal; color: var(--faint); font-size: 12.5px; }
.m-item.sel { background: var(--accent); color: #fff; }
.m-item.sel em { color: rgba(255,255,255,.8); }

.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; opacity: 0; z-index: 5; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6.2 1.6L10 19z' fill='%231d1d1f' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Files flying in */
.fly { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px -14px rgba(20,24,40,.35); border: 1px solid var(--line); font-size: 14px; font-weight: 500; opacity: 0; z-index: 6; }
.f1 { left: -120px; top: 180px; } .f2 { left: 1060px; top: 120px; } .f3 { left: -90px; top: 520px; } .f4 { left: 1040px; top: 560px; }

/* Another app with Quick Ask */
.mail { position: absolute; left: 140px; top: 150px; width: 820px; height: 460px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.08); opacity: 0; z-index: 7; overflow: hidden; }
.mail-bar { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: #f6f6f8; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.mail-bar i { width: 12px; height: 12px; border-radius: 6px; background: #ddd; }
.mail-bar span { margin-left: 12px; }
.mail-body { padding: 26px 30px; font-size: 16px; line-height: 1.6; color: #333; }
.sel { background: rgba(43, 80, 232, .22); border-radius: 2px; }
.pop { position: absolute; left: 330px; top: 380px; width: 520px; background: rgba(255,255,255,.97); backdrop-filter: blur(24px); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 40px 80px -20px rgba(20,24,40,.45); padding: 16px 18px; z-index: 8; opacity: 0; font-size: 15px; }
.pop-bar { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 13px; margin-bottom: 10px; }
.pop-bar img { width: 20px; height: 20px; border-radius: 5px; }
.keys { margin-left: auto; display: inline-flex; gap: 4px; }
kbd { font: 600 12px -apple-system, sans-serif; background: #fff; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; color: var(--text); }
.pop-q { font-weight: 600; margin-bottom: 6px; }
.pop-a { margin: 0 0 14px; }
.pop .c { transform: none; }
.pop-actions { display: flex; justify-content: flex-end; gap: 8px; font-size: 13px; }
.pop-actions span { border: 1px solid var(--line); border-radius: 8px; padding: 5px 12px; }
.pop-actions .ins { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Each section fills the screen, and scrolling settles on one at a time (story.js) */
section.snap { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 72px; }
section.snap > .wrap { width: 100%; }

/* ---------- After the story ---------- */
.actions.left { justify-content: flex-start; margin-top: 30px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
.plan { background: var(--soft); border-radius: 24px; padding: 30px 28px 32px; display: flex; flex-direction: column; border: 2px solid transparent; }
.plan.featured { background: #fff; border-color: var(--accent); box-shadow: 0 30px 70px -30px rgba(43,80,232,.45); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h3 { margin: 0; font-size: 24px; letter-spacing: -.02em; color: var(--accent); }
.badge { font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--tint); border-radius: 980px; padding: 4px 10px; }
.price { margin: 14px 0 2px; color: var(--muted); font-size: 16px; }
.price b { font-size: 42px; letter-spacing: -.035em; color: var(--text); font-weight: 700; margin-right: 4px; }
.plan-tag { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; }
.plan-btn { justify-content: center; margin-bottom: 24px; }
.btn.quiet { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.4; }
.plan li svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 1px; }
.fine { color: var(--faint); font-size: 13.5px; margin: 26px 0 0; }

.recap-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; margin-top: 48px; }
.recap-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; position: relative; }
.recap-steps::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--tint), var(--tint)); }
.recap-steps li { display: flex; gap: 18px; position: relative; }
.recap-steps .n { flex: none; width: 30px; height: 30px; border-radius: 15px; background: var(--tint); color: var(--accent); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--bg); }
.recap-steps h3 { margin: 2px 0 6px; font-size: 21px; letter-spacing: -.015em; }
.recap-steps p { margin: 0; color: var(--muted); font-size: 16.5px; }
.flow { background: var(--soft); border-radius: 28px; padding: 32px; }
.flow-top { display: grid; grid-template-columns: auto 64px 1fr; align-items: center; }
.srcs { display: grid; gap: 10px; }
.src { position: relative; display: inline-flex; align-items: center; gap: 9px; background: #fff; border-radius: 10px; padding: 7px 14px 7px 7px; font-size: 14.5px; font-weight: 500; box-shadow: 0 1px 2px rgba(20,24,40,.06); }
.src i { width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font: 800 8px -apple-system, sans-serif; color: #fff; font-style: normal; }
.src::after { content: ""; position: absolute; left: 100%; top: 50%; width: 32px; height: 2px; background: #c9d2fa; transform-origin: left; }
.rail { position: relative; align-self: stretch; margin: 17px 0; border-left: 2px solid #c9d2fa; margin-left: 32px; }
.rail::after { content: ""; position: absolute; left: 0; top: 50%; width: 30px; height: 2px; background: #c9d2fa; }
.node { justify-self: start; background: #fff; border-radius: 20px; padding: 22px 26px; text-align: center; box-shadow: 0 20px 44px -18px rgba(43,80,232,.35); display: grid; justify-items: center; gap: 2px; }
.node img { width: 52px; height: 52px; border-radius: 12px; margin-bottom: 10px; }
.node b { font-size: 17px; }
.node span { color: var(--muted); font-size: 13.5px; }
.node em { margin-top: 10px; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--tint); border-radius: 7px; padding: 3px 9px; }
.flow-q, .flow-a { background: #fff; border-radius: 16px; padding: 14px 18px; margin-top: 16px; font-size: 15.5px; box-shadow: 0 1px 2px rgba(20,24,40,.05); }
.flow-q { max-width: 78%; }
.flow-q span { display: block; font-size: 12.5px; color: var(--faint); margin-bottom: 4px; }
.flow-a { margin-left: auto; max-width: 86%; }
.flow-a .c { transform: none; }
.flow-a mark { background: linear-gradient(var(--hl), var(--hl)) no-repeat left / 100% 100%; }
.flow-cite { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent); font-weight: 500; }
.flow-cite .t { width: 20px; height: 24px; font-size: 6.5px; }

section.statement { }
.statement p { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -.035em; font-weight: 700; margin: 0; max-width: 18em; }
.statement .w { opacity: .14; transition: none; }

.h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.045em; font-weight: 700; margin: 0 0 20px; max-width: 15em; }
.sub { font-size: 21px; color: var(--muted); max-width: 34em; margin: 0; }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.way { background: var(--soft); border-radius: 24px; padding: 34px 30px 38px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: #fff; border-radius: 8px; padding: 4px 10px; margin-bottom: 26px; }
.way h3 { font-size: 26px; letter-spacing: -.025em; margin: 0 0 10px; }
.way p { margin: 0; color: var(--muted); font-size: 17px; }

.kinds { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.kind { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 14px; background: var(--soft); font-size: 17px; font-weight: 500; }
.kind i { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font: 800 9px -apple-system, sans-serif; color: #fff; font-style: normal; }
.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 80px; border-top: 1px solid var(--line); padding-top: 36px; }
.extra h3 { font-size: 20px; letter-spacing: -.015em; margin: 0 0 8px; }
.extra p { margin: 0; color: var(--muted); font-size: 16px; }

.compare { width: 100%; border-collapse: collapse; margin-top: 48px; font-size: 17px; }
.compare th, .compare td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.compare thead th.us { color: var(--accent); }
.compare td { color: var(--muted); }
.compare td.us { background: #f4f6fe; color: var(--text); font-weight: 600; }
.scroll-x { overflow-x: auto; }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 24px; overflow: hidden; margin-top: 54px; border: 1px solid var(--line); }
.who div { background: #fff; padding: 30px; }
.who h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.015em; }
.who p { margin: 0; color: var(--muted); font-size: 16px; }

.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; font-size: 20px; font-weight: 600; letter-spacing: -.012em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 31px; width: 10px; height: 10px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 36px; }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 40em; }

.end { text-align: center; }
.end .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 34px; box-shadow: 0 24px 50px -16px rgba(43, 80, 232, .55); }
.end .h2 { margin: 0 auto 16px; }
.end .sub { margin: 0 auto 36px; }

.reveal { opacity: 0; transform: translateY(28px); }

.foot { border-top: 1px solid var(--line); background: var(--soft); padding: 64px 0 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.foot-brand p { color: var(--muted); margin: 14px 0 0; max-width: 24em; }
.foot-brand .foot-req { color: var(--faint); font-size: 13.5px; margin-top: 8px; }
.foot-col { display: grid; align-content: start; gap: 12px; }
.foot-col h4 { margin: 4px 0 4px; font-size: 13px; font-weight: 600; color: var(--text); }
.foot-col a { color: var(--muted); }
.foot-col a:hover { color: var(--text); text-decoration: none; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }

/* Legal pages */
.doc { max-width: 720px; padding: 48px 0 96px; }
.doc h1 { font-size: 44px; letter-spacing: -.035em; line-height: 1.1; margin: 0 0 8px; }
.doc h2 { font-size: 21px; margin: 40px 0 10px; letter-spacing: -.015em; }
.doc .updated { color: var(--faint); margin-bottom: 32px; }

/* Phones and small windows: captions above a smaller window */
@media (max-width: 960px) {
  .nav a:not(.btn) { display: none; }
  .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 12px; padding: 64px 16px 16px; align-items: start; }
  .captions { height: 170px; padding-left: 0; }
  .captions::before, .captions .progress { display: none; }
  .cap { left: 0; }
  .cap .n { margin-bottom: 10px; }
  .cap h2 { font-size: 28px; margin-bottom: 8px; }
  .cap p { font-size: 16px; }
  .vp-box { align-self: start; width: calc(var(--vw, 1180px) * var(--s, 1)); }
  /* The window drops its sidebar on phones, so what matters is drawn larger */
  .viewport { width: 760px; }
  .win { width: 760px; grid-template-columns: 1fr; }
  .rail, .side { display: none; }
  .home { padding: 50px 40px 0; }
  .chat { padding: 26px 30px 0; }
  .composer { left: 30px; right: 30px; }
  .panel { width: 360px; }
  .menubar span:not(.mb-right):not(.mb-apple) { display: none; }
  .f1 { left: -40px; } .f2 { left: 560px; } .f3 { left: -30px; } .f4 { left: 540px; }
  .mail { left: 20px; width: 720px; }
  .pop { left: 120px; width: 520px; }
  .hero .lede { font-size: 19px; }
  .actions { gap: 18px; }
  .h2 { font-size: clamp(34px, 9vw, 48px); }
  .pain .quote { font-size: 23px; }
  .compare { font-size: 15px; }
  .compare th, .compare td { padding: 14px 12px; }
  .faq summary { font-size: 18px; }
  section.snap { padding-top: 84px; padding-bottom: 56px; }
  .ways, .who, .extras, .pain-grid, .recap-grid, .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .foot-brand { grid-column: 1 / -1; }
  .recap-grid { gap: 36px; }
  .flow { padding: 22px 18px; }
  .flow-top { grid-template-columns: auto 40px 1fr; }
  .src::after { width: 20px; }
  .rail { margin-left: 20px; }
  .rail::after { width: 18px; }
  .node { padding: 16px 14px; }
  .flow-q, .flow-a { max-width: 100%; }
}

/* Without motion: no pinning, every step's text listed, the window showing the answer and its source */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage { height: auto; }
  .captions { height: auto; display: grid; gap: 24px; }
  .cap { position: static; opacity: 1; visibility: visible; }
  .reveal, .statement .w { opacity: 1; transform: none; }
}
