:root {
  --bg: #f7f6f2;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #77736d;
  --line: rgba(17, 17, 17, .10);
  --soft: #eeece6;
  --accent: #111111;
  --max: 1180px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

header {
  height: 82px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  padding-inline: 28px;
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-link { color: #45423d; font-size: 14px; }
.nav-link[aria-current="page"] { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0, 0, 0, .14); }
.button.small { min-height: 40px; border-radius: 10px; padding-inline: 16px; }

.hero {
  text-align: center;
  padding: 72px 0 30px;
}

.hero h1 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(38px, 6vw, 70px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 700;
  padding-top: .18em;
}

.hero h1 .q {
  position: relative;
  display: inline-block;
}

.hero h1 .very {
  position: absolute;
  left: 50%;
  top: .14em;
  transform: translate(-50%, -62%);
  font-size: .26em;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  color: #b0aba4;
  white-space: nowrap;
  pointer-events: none;
}

.hero p {
  width: min(760px, 100%);
  margin: 24px auto 0;
  font-family: var(--mono);
  font-size: clamp(15px, 1.7vw, 20px);
  line-height: 1.7;
  color: var(--muted);
}

.hero .cta { margin-top: 30px; }
.hero-note {
  margin-top: 16px;
  font-family: var(--mono);
  color: #918d86;
  font-size: 12px;
  letter-spacing: .01em;
}

.product-stage { padding: 26px 0 14px; }

.product-frame {
  position: relative;
  margin: 0 auto;
  width: min(980px, 100%);
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .12);
  backdrop-filter: blur(10px);
}

.product-frame::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -28px;
  height: 45px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .13), transparent 70%);
  filter: blur(12px);
  z-index: -1;
}

.product-frame img { border-radius: 16px; width: 100%; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  padding: 90px 0 84px;
}

.feature {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.feature .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 18px;
  background: rgba(255, 255, 255, .6);
}

.feature h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: -.02em;
}

.feature p {
  margin: 11px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  line-height: 1.6;
  font-size: 13px;
}

.story {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .65));
}

.story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 74px;
  padding: 88px 0;
}

.story h2 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.story-copy p {
  font-family: var(--mono);
  color: #4f4b45;
  line-height: 1.7;
  font-size: 14px;
  margin: 22px 0 0;
}

.story-copy strong { color: var(--ink); }

.stack {
  position: relative;
  min-height: 500px;
}

.shot {
  position: absolute;
  width: 86%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .10);
  background: white;
}

.shot.one { top: 0; left: 0; transform: rotate(-2.5deg); }
.shot.two { top: 90px; right: 0; transform: rotate(2deg); }
.shot.three { top: 180px; left: 6%; transform: rotate(-.8deg); }

.focus-section { padding: 104px 0 110px; text-align: center; }
.focus-section h2 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -.04em;
}
.focus-section p {
  margin: 18px auto 38px;
  max-width: 690px;
  color: var(--muted);
  font-family: var(--mono);
  line-height: 1.7;
  font-size: 14px;
}

.focus-card {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 18px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .08);
}
.focus-card img { border-radius: 14px; }

.closing {
  padding: 90px 0 96px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.closing h2 {
  margin: 0 auto;
  max-width: 850px;
  font-family: var(--mono);
  font-size: clamp(32px, 4.8vw, 60px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.closing p {
  max-width: 680px;
  margin: 22px auto 0;
  font-family: var(--mono);
  color: var(--muted);
  line-height: 1.7;
}
.closing .cta { margin-top: 30px; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
  font-family: var(--mono);
  color: #807b74;
  font-size: 12px;
  margin-top: auto;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-links { display: flex; gap: 22px; }

.page {
  flex: 1;
  padding: 48px 0 80px;
  width: min(calc(100% - 40px), 720px);
  margin: 0 auto;
}

.page h1 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.04em;
  font-weight: 700;
}

.page h2 {
  margin: 2.25rem 0 0.6rem;
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: -.02em;
}

.page p,
.page li {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  color: #4f4b45;
}

.page p { margin: 0.9rem 0; }
.page a { text-decoration: underline; text-underline-offset: 3px; }
.page a[data-open-peek] { text-decoration: none; }
.page ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
}

.updated {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 1.5rem;
}

.lede {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 18px 0 48px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.note {
  margin: 0 0 3rem;
}

.note p { margin: 0.75rem 0; }

.note-stamp {
  font-family: var(--mono);
  font-size: 12px;
  color: #918d86;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
}

.note-stamp a {
  color: inherit;
  text-decoration: none;
}

.note-stamp a:hover { text-decoration: underline; }

.note-keys {
  margin: 0.75rem 0;
  line-height: 1.75;
  font-family: var(--mono);
  font-size: 15px;
  color: #4f4b45;
}

.note-shot {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  border-radius: 12px;
  margin: 1.25rem 0 0.25rem;
  border: 1px solid var(--line);
}

.center-page {
  text-align: center;
  padding-top: 72px;
}

.center-page p {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.peek-dialog {
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
  max-width: min(960px, 92vw);
}

.peek-dialog::backdrop {
  background: rgba(17, 17, 17, 0.72);
}

.peek-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
}

.peek-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(247, 246, 242, 0.92);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.peek-close:hover { background: var(--bg); }

@media (max-width: 820px) {
  header { padding-inline: 12px; }
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .page { width: min(calc(100% - 28px), 720px); padding-top: 32px; }
  body.home .nav-link { display: none; }
  .hero { padding-top: 48px; }
  .product-frame { border-radius: 18px; padding: 10px; }
  .product-frame img { border-radius: 12px; }
  .features { grid-template-columns: 1fr; gap: 24px; padding-block: 70px; }
  .story-grid { grid-template-columns: 1fr; gap: 44px; padding-block: 72px; }
  .stack { min-height: 410px; }
  .shot { width: 90%; }
  .shot.two { top: 72px; }
  .shot.three { top: 145px; }
  .focus-section, .closing { padding-block: 78px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .product-frame, .feature, .story-copy, .focus-card {
    animation: rise .7s both;
  }
  .feature:nth-child(2) { animation-delay: .08s; }
  .feature:nth-child(3) { animation-delay: .16s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
