
:root {
  color-scheme: light;
  --bg: #fbfbfd; --surface: #ffffff; --tint: #f3f6f1; --fg: #1d1d1f; --muted: #6e6e73; --line: #e6e6eb;
  --brand: #0b4f4a; --brand-strong: #083b37; --on-brand: #ffffff; --sage: #9bb78c; --sage-soft: #eef4ea;
  --shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 12px 32px rgb(0 0 0 / 6%);
  --you: #0b4f4a; --claude: #c96442; --sam: #5b6bd6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif; color: var(--fg); background: var(--bg); overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
p, ol, ul { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.top { position: sticky; top: 0; z-index: 1; max-width: 1040px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 650; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; color: var(--brand); }
.top nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.top nav a:not(.button) { color: var(--muted); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 17px; transition: transform .15s ease, background .15s ease; }
.button:hover { text-decoration: none; background: var(--brand-strong); transform: translateY(-1px); }
.button.small { min-height: 36px; padding: 0 16px; font-size: 15px; }
.button.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.button.ghost:hover { background: var(--surface); }

main { max-width: 1040px; margin: 0 auto; padding: 0 20px 40px; }
h1 { text-wrap: balance; font-size: clamp(40px, 7vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 20px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 28px; text-align: center; }
h3 { font-size: 19px; letter-spacing: -0.01em; margin: 0 0 6px; }

.hero { text-align: center; max-width: 760px; margin: 0 auto; padding: 72px 0 40px; }
.eyebrow { display: inline-block; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px; background: var(--sage-soft); color: var(--brand); font-size: 14px; font-weight: 600; }
/* Rotating headline: only the word changes; site.js eases .rot's width to fit each new word. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.line { display: block; }
.rot { display: inline-grid; color: var(--brand); transition: width .45s cubic-bezier(.2, .7, .2, 1); }
.rot .w { grid-area: 1 / 1; justify-self: center; white-space: nowrap; }
.rot .enter { animation: w-in .55s cubic-bezier(.2, .7, .2, 1) .12s both; }
.rot .leave { animation: w-out .25s ease-in both; }
@keyframes w-in { from { opacity: 0; transform: translateY(0.35em); filter: blur(4px); } }
@keyframes w-out { to { opacity: 0; transform: translateY(-0.35em); filter: blur(4px); } }
}
.lead { font-size: clamp(19px, 2.4vw, 22px); line-height: 1.5; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.demo { max-width: 560px; margin: 16px auto 104px; padding: 24px; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); }
.thread { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.msg { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.who { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 650; font-size: 15px; }
.t-you { background: var(--you); } .t-claude { background: var(--claude); } .t-sam { background: var(--sam); }
.from { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.text { margin: 0; display: inline-block; padding: 10px 14px; border-radius: 4px 18px 18px 18px; background: var(--tint); line-height: 1.45; }
.mine .text { background: var(--sage-soft); }
.demo figcaption { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }

.how, .features, .start { margin: 0 auto 104px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { padding: 28px; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); }
.steps p, .feature p { margin: 0; color: var(--muted); }
.n { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%; background: var(--sage-soft); color: var(--brand); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.feature { padding: 28px; border-radius: 22px; background: var(--tint); }
.feature svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: 16px; }
.option { padding: 28px; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); }
.option ol { padding-left: 20px; }
.option li { margin-bottom: 10px; }
code { font: 14px/1.5 ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; }
code.copy { display: block; margin: 8px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--tint); user-select: all; }

.doc { max-width: 680px; margin: 0 auto; padding: 56px 0 24px; }
.doc h1 { font-size: clamp(36px, 5vw, 48px); margin-bottom: 8px; }
.doc h2 { font-size: 22px; text-align: left; letter-spacing: -0.015em; margin: 40px 0 10px; }
.doc li { margin-bottom: 8px; }
.doc ul { padding-left: 22px; }

.foot { max-width: 1040px; margin: 0 auto; padding: 32px 0 8px; border-top: 1px solid var(--line); font-size: 14px; text-align: center; }
.foot p:first-child { display: flex; justify-content: center; gap: 24px; }
.foot a { color: var(--muted); }

@media (max-width: 760px) {
  .hero { padding: 48px 0 32px; }
  .steps, .grid, .grid.two { grid-template-columns: 1fr; }
  .demo { padding: 18px; border-radius: 24px; margin-bottom: 72px; }
  .how, .features, .start { margin-bottom: 72px; }
  .top nav a:not(.button) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } .button:hover { transform: none; } }
