/* ContinueChat site — continuechat.coylin.com. Plain static CSS, no external fonts or trackers. */
:root {
  --bg: #fbfaf7;
  --bg-2: #f3f1ea;
  --card: #ffffff;
  --ink: #111113;
  --ink-2: #55545c;
  --ink-3: #8a8892;
  --line: rgba(17, 17, 19, .09);
  --line-2: rgba(17, 17, 19, .16);
  --accent: #2f5bff;
  --accent-2: #1f45e0;
  --accent-ink: #ffffff;
  --accent-soft: rgba(47, 91, 255, .09);
  --ok: #188a55;
  --shadow: 0 1px 2px rgba(17, 17, 19, .05), 0 10px 30px -8px rgba(17, 17, 19, .12);
  --shadow-lg: 0 2px 4px rgba(17, 17, 19, .04), 0 30px 60px -20px rgba(17, 17, 19, .22);
  --r: 18px;
  --wrap: 1120px;
  --gutter: 20px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0f;
    --bg-2: #131318;
    --card: #17171d;
    --ink: #f2f2f5;
    --ink-2: #b3b2bc;
    --ink-3: #7d7c87;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .15);
    --accent: #7b98ff;
    --accent-2: #9db2ff;
    --accent-ink: #0c0c0f;
    --accent-soft: rgba(123, 152, 255, .13);
    --ok: #4cc98d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -8px rgba(0, 0, 0, .55);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 30px 60px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
@media (max-width: 640px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; font-size: 17px; }
.logo svg { width: 30px; height: 30px; flex: none; --mark-bg: var(--ink); --mark-fg: var(--bg); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-pri { background: var(--ink); color: var(--bg); box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 6px 16px -6px rgba(17, 17, 19, .5); }
.btn-pri:hover { background: color-mix(in srgb, var(--ink) 86%, var(--accent)); }
.btn-sec { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-sec:hover { border-color: var(--ink-3); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 40px; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -64px 0 auto; height: 620px; z-index: -1;
  background:
    radial-gradient(600px 300px at 30% 10%, var(--accent-soft), transparent 70%),
    radial-gradient(520px 280px at 72% 22%, color-mix(in srgb, var(--accent-soft) 70%, rgba(255, 170, 90, .10)), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow);
}
.eyebrow .pill { background: var(--accent-soft); color: var(--accent); font-weight: 650; padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.hero h1 {
  margin: 22px auto 0;
  font-size: clamp(38px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 760;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin: 22px auto 0; max-width: 60ch; color: var(--ink-2); font-size: clamp(17px, 2vw, 19.5px); text-wrap: pretty; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.reassure { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; color: var(--ink-3); font-size: 14px; }
.reassure span { display: inline-flex; align-items: center; gap: 6px; }
.reassure svg { width: 15px; height: 15px; color: var(--ok); }

/* ---------- Demo (two browser windows) ---------- */
.demo {
  margin: 56px auto 0; max-width: 1040px;
  display: grid; grid-template-columns: 1fr 112px 1fr; align-items: stretch; text-align: left;
}
.demo .win { display: flex; flex-direction: column; }
.demo .win-body { flex: 1; }
.handoff { align-self: center; }
.win { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; }
.win-bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.win-bar .dots { display: flex; gap: 6px; }
.win-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.win-bar .url { flex: 1; text-align: center; font: 500 12.5px/1 var(--mono); color: var(--ink-3); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 0; margin-right: 46px; }
.win-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; font-size: 14px; line-height: 1.5; }
.msg { max-width: 88%; padding: 9px 13px; border-radius: 14px; }
.msg.me { align-self: flex-end; background: var(--bg-2); border-bottom-right-radius: 5px; }
.msg.ai { align-self: flex-start; color: var(--ink-2); padding-left: 0; }
.msg.ai b { color: var(--ink); }
.bars { display: grid; gap: 7px; margin-top: 8px; }
.bars i { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.cc-chip {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 9px; border-radius: 11px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 13.5px;
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.cc-chip svg { width: 20px; height: 20px; --mark-bg: var(--bg); --mark-fg: var(--ink); }
.handoff { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-3); font-size: 12px; text-align: center; line-height: 1.35; }
.handoff .arrow { width: 64px; height: 24px; color: var(--accent); }
.handoff .tag { font: 600 11.5px/1.3 var(--mono); color: var(--accent); background: var(--accent-soft); padding: 5px 8px; border-radius: 8px; }
.newchat { margin: 26px 0 0; text-align: center; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); }
.composer { margin-top: auto; border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 12px 10px 14px; background: var(--card); box-shadow: 0 0 0 4px var(--accent-soft); }
.composer p { font-size: 13px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.composer p strong { color: var(--ink); font-weight: 600; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); vertical-align: -2px; margin-left: 1px; }
@media (prefers-reduced-motion: no-preference) { .caret { animation: blink 1.1s steps(2, start) infinite; } }
@keyframes blink { to { visibility: hidden; } }
.composer-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.composer-foot .note { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); font-weight: 600; }
.composer-foot .note svg { width: 14px; height: 14px; }
.send { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; border: 1.5px dashed var(--ink-3); color: var(--ink-3); }
.send svg { width: 14px; height: 14px; }
@media (max-width: 860px) {
  .demo { grid-template-columns: 1fr; gap: 14px; max-width: 520px; }
  .handoff { flex-direction: row; justify-content: center; }
  .handoff .arrow { transform: rotate(90deg); width: 40px; }
  .win-body { min-height: 0; }
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.sec-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.kicker { font: 650 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.sec-head h2 { margin-top: 14px; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 740; text-wrap: balance; }
.sec-head p { margin-top: 16px; color: var(--ink-2); font-size: 18px; text-wrap: pretty; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 24px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: var(--bg); font-weight: 700; font-size: 15px; margin-bottom: 18px;
}
.step h3 { font-size: 19px; letter-spacing: -.015em; line-height: 1.25; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feature { background: var(--card); padding: 30px 28px; }
.feature .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; letter-spacing: -.01em; }
.feature p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1040px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 28px; box-shadow: var(--shadow); }
.plan.best { border-color: transparent; box-shadow: 0 0 0 2px var(--ink), var(--shadow-lg); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 650; padding: 5px 11px; border-radius: 999px; letter-spacing: .01em; }
.plan h3 { font-size: 17px; font-weight: 650; color: var(--ink-2); }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.price b { font-size: 48px; line-height: 1; letter-spacing: -.04em; font-weight: 760; }
.price span { color: var(--ink-3); font-size: 15px; }
.plan .sub { margin-top: 8px; color: var(--ink-2); font-size: 15px; min-height: 3.2em; }
.plan ul { margin: 22px 0 26px; display: grid; gap: 11px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }
.plan li.dim { color: var(--ink-3); }
.plan li.dim svg { color: var(--ink-3); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .how { margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink-3); }
.fine { max-width: 720px; margin: 30px auto 0; text-align: center; color: var(--ink-3); font-size: 14px; }
.fine a { color: var(--ink-2); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } .plan .sub { min-height: 0; } }

/* Install */
.install { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: var(--ink); color: var(--bg); border-radius: 28px; padding: 56px; overflow: hidden; position: relative; }
.install::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); opacity: .55; pointer-events: none; }
.install h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 740; }
.install p { margin-top: 14px; opacity: .72; font-size: 17px; }
.install .btn-pri { background: var(--bg); color: var(--ink); margin-top: 26px; }
.install .btn-pri:hover { background: color-mix(in srgb, var(--bg) 88%, var(--accent)); }
.install .meta { margin-top: 12px; font-size: 13.5px; opacity: .6; }
.install ol { position: relative; z-index: 1; display: grid; gap: 12px; counter-reset: i; }
.install li { counter-increment: i; display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.install li::before { content: counter(i); flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-weight: 700; font-size: 13px; }
.install code { font-family: var(--mono); font-size: 13.5px; background: rgba(255, 255, 255, .1); padding: 1px 6px; border-radius: 5px; }
@media (prefers-color-scheme: dark) {
  .install { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
  .install .btn-pri { background: var(--ink); color: var(--bg); }
  .install li { background: var(--bg-2); border-color: var(--line); }
  .install li::before, .install code { background: var(--line-2); }
}
@media (max-width: 860px) { .install { grid-template-columns: 1fr; padding: 36px 24px; gap: 28px; border-radius: 22px; } }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 2px; font-size: 18px; font-weight: 620; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 2px 22px; color: var(--ink-2); font-size: 16px; max-width: 66ch; }
.faq a { color: var(--accent); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--ink-2); font-size: 14.5px; }
.foot { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.foot .about { max-width: 360px; }
.foot .about p { margin-top: 12px; }
.foot nav { display: flex; gap: 48px; }
.foot nav h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); font-weight: 650; }
.foot nav ul { display: grid; gap: 8px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Document pages (privacy / terms) ---------- */
.doc { max-width: 760px; margin-inline: auto; padding: 64px 0 96px; }
.doc .kicker { display: block; }
.doc h1 { margin-top: 14px; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -.03em; font-weight: 750; }
.doc .updated { margin-top: 12px; color: var(--ink-3); font-size: 15px; }
.doc .summary { margin-top: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); }
.doc .summary h2 { margin: 0 0 10px; font-size: 15px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.doc .summary ul { display: grid; gap: 8px; }
.doc .summary li { display: flex; gap: 10px; color: var(--ink-2); font-size: 16px; }
.doc .summary li svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--ok); }
.doc h2 { margin-top: 44px; font-size: 23px; letter-spacing: -.02em; line-height: 1.25; }
.doc h2 + p, .doc h2 + ul { margin-top: 12px; }
.doc p, .doc > ul { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc > ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 12px; }
.doc a { color: var(--accent); text-underline-offset: 2px; }
.doc strong { color: var(--ink); font-weight: 620; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 80px 0; }
.nf b { font-size: 88px; letter-spacing: -.05em; line-height: 1; }
.nf p { margin: 12px 0 26px; color: var(--ink-2); }
