:root {
  --paper: #f5f1ea;
  --paper-deep: #ece6db;
  --ink: #16140f;
  --ink-soft: #5b564c;
  --ink-faint: #9c968a;
  --rule: #d9d2c4;
  --accent: #c2410c;
  --accent-ink: #9a3412;
  --fold: #e4ded2;
  --display: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #17150f;
    --paper-deep: #1f1c15;
    --ink: #f1ece2;
    --ink-soft: #b8b1a3;
    --ink-faint: #7b7568;
    --rule: #332f26;
    --accent: #f0792d;
    --accent-ink: #ffa264;
    --fold: #262219;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: var(--paper-deep); padding: 0.1em 0.35em; border-radius: 4px; }

.top, main, footer { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.top nav, footer nav { display: flex; gap: 22px; }
.top nav a, footer nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.top nav a:hover, footer nav a:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0 72px; }
.eyebrow { margin: 0 0 18px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
h1 { margin: 0 0 22px; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6.4vw, 84px); line-height: 0.98; letter-spacing: -0.025em; font-variation-settings: "opsz" 144, "SOFT" 30; }
.lede { margin: 0 0 30px; font-size: 19px; color: var(--ink-soft); max-width: 46ch; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.button { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; padding: 14px 24px; border-radius: 999px; transition: transform 0.18s ease, background 0.18s ease; }
.button:hover { transform: translateY(-1px); background: var(--accent); }
.cta-note { font-size: 14px; color: var(--ink-faint); }

.demo { position: relative; border: 1px solid var(--rule); border-radius: 18px; background: var(--paper-deep); padding: 14px 16px 18px; box-shadow: 0 30px 60px -40px rgba(0,0,0,0.35); }
.demo-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-faint); padding: 2px 6px 12px; border-bottom: 1px solid var(--rule); }
.demo-count { font-variant-numeric: tabular-nums; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { border-bottom: 1px solid var(--rule); overflow: hidden; }
.feed li:last-child { border-bottom: 0; }
.post { padding: 14px 6px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; opacity: 0; transform: translateY(8px); animation: rise 0.5s ease forwards; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--rule); }
.meta { font-size: 14px; color: var(--ink-faint); display: flex; gap: 8px; align-items: center; }
.meta strong { color: var(--ink); font-weight: 600; }
.tag { font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid var(--rule); border-radius: 4px; padding: 1px 6px; color: var(--ink-soft); }
.post p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.45; }
.folded { height: 0; opacity: 0; padding: 0 6px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-faint); background: var(--fold); border-radius: 8px; margin: 0; cursor: pointer; border: 0; width: 100%; text-align: left; font: inherit; font-size: 13.5px; }
li.is-folded .post { animation: fold 0.45s cubic-bezier(.4,0,.2,1) forwards; }
li.is-folded .folded { animation: unfurl 0.35s 0.25s ease forwards; }
li.is-open .folded { display: none; }
li.is-open .post { animation: rise 0.35s ease forwards; height: auto; }
.folded .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.folded .peek { margin-left: auto; font-size: 12px; color: var(--ink-faint); }
.replay { position: absolute; right: 14px; bottom: -14px; font: inherit; font-size: 12.5px; background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 5px 12px; color: var(--ink-soft); cursor: pointer; }
.replay:hover { color: var(--ink); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fold { 0% { opacity: 1; max-height: 160px; padding-block: 14px; } 100% { opacity: 0; max-height: 0; padding-block: 0; } }
@keyframes unfurl { to { height: 34px; opacity: 1; margin: 6px 0; } }

.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 48px 0 64px; border-top: 1px solid var(--rule); }
.three h2, .honest h2, .install h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.015em; margin: 0 0 10px; }
.three h2 { font-size: 26px; }
.three p { margin: 0; color: var(--ink-soft); }

.honest { padding: 56px 0 72px; border-top: 1px solid var(--rule); }
.honest h2 { font-size: 40px; margin-bottom: 28px; }
.honest dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin: 0; }
.honest dt { font-weight: 600; margin-bottom: 4px; }
.honest dd { margin: 0; color: var(--ink-soft); }

.install { padding: 56px 0 80px; border-top: 1px solid var(--rule); max-width: 720px; }
.install h2 { font-size: 40px; }
.install-lede { color: var(--ink-soft); margin: 0 0 22px; }
.install ol { padding-left: 22px; margin: 0; }
.install li { margin-bottom: 12px; }
.small { font-size: 14px; color: var(--ink-faint); }

footer { display: flex; justify-content: space-between; align-items: center; padding: 26px 0 40px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-faint); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 24px; }
  .three, .honest dl { grid-template-columns: 1fr; }
  .top nav { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .post, li.is-folded .post, li.is-folded .folded { animation-duration: 0.01s !important; animation-delay: 0s !important; }
}
