/* loomweb.co — site styles.
   Brand contract: docs/brand/brand.md. Reference: docs/brand/styleguide.html.
   Palette is contractual; ink/paper do the work, loom green points at what matters. */

:root {
  --ink: #16211C;
  --paper: #FFFFFF;
  --surface: #F7F7F4;
  --green: #5CA31F;
  --green-deep: #4E8A1B;
  --green-light: #8CC244;
  --tint: #EAF4DC;
  --tile: #F4FAEA;
  --tile-line: #D9ECB6;
  --muted: #5C6B63;
  --line: #E9E9E5;
  --display: "Space Grotesk", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; }
p { margin: 0; }
img, svg { max-width: 100%; }

a { color: var(--green-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 26px;
  font: 500 15.5px/1.3 var(--body);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #0c130f; }
.btn-accent { background: var(--green); color: #fff; }
.btn-accent:hover { background: var(--green-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }

/* ---------- brand lockup (canonical: docs/brand/brand.md §2) ---------- */
.brand-lockup { font-family: var(--display); white-space: nowrap; letter-spacing: .01em; text-decoration: none; }
.brand-lockup:hover { text-decoration: none; }
.brand-lockup b { font-weight: 500; color: var(--ink); }
.brand-lockup span { font-weight: 300; color: var(--green); }
.brand-lockup .inf { height: .64em; width: auto; aspect-ratio: 64/36; transform: translateY(.045em); margin: 0 .02em; }
.brand-lockup .inf path { fill: none; stroke: var(--green); stroke-width: 6.5; stroke-linecap: round; }
/* on-dark: class on an ancestor OR on the lockup itself */
.on-dark .brand-lockup b, .brand-lockup.on-dark b { color: #fff; }
.on-dark .brand-lockup span, .brand-lockup.on-dark span { color: var(--green-light); }
.on-dark .brand-lockup .inf path, .brand-lockup.on-dark .inf path { stroke: var(--green-light); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav .brand-lockup { font-size: 23px; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; }
.nav-links a { color: var(--ink); font-size: 14.5px; }
.nav-links a:hover { color: var(--muted); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; }
.section { padding: 92px 24px; border-top: 1px solid var(--line); }
.section.tight { padding: 64px 24px; }
.section.alt { background: var(--surface); }

.eyebrow {
  font: 500 12.5px var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 14px;
}
h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.015em; }
.lede { color: var(--muted); font-size: 18px; max-width: 660px; margin: 14px 0 0; }
.section-head { margin-bottom: 44px; }

/* ---------- hero ---------- */
.hero { padding: 104px 24px 88px; }
.hero .wrap { max-width: 900px; }
.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0 0 22px;
}
.hero .sub { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 620px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero .note { font-size: 14px; color: var(--muted); margin-top: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .hero > .wrap > * { animation: fadeUp .55s ease both; }
  .hero > .wrap > *:nth-child(2) { animation-delay: .07s; }
  .hero > .wrap > *:nth-child(3) { animation-delay: .14s; }
  .hero > .wrap > *:nth-child(4) { animation-delay: .21s; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- green hero (home) ---------- */
.hero-green {
  background: linear-gradient(118deg, var(--green-deep) 0%, var(--green) 55%, var(--green-light) 130%);
  color: #fff;
}
.hero-green h1 { color: #fff; }
.hero-green .sub { color: rgba(255, 255, 255, .95); }
.hero-green .note { color: rgba(255, 255, 255, .8); }
.hero-green .btn-accent { background: #fff; color: var(--green-deep); }
.hero-green .btn-accent:hover { background: var(--tint); color: var(--green-deep); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 16px; margin-top: 8px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .card-kicker { font: 500 13px var(--display); color: var(--green-deep); margin: 0 0 6px; }

/* ---------- deal band (the money story, in plain words) ---------- */
.deal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deal-card { background: var(--tint); border-radius: 14px; padding: 24px; }
.deal-card h3 { font-size: 16.5px; margin: 0 0 6px; }
.deal-card p { margin: 0; font-size: 14.5px; color: #3a4640; }

/* ---------- steps + signature thread ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.thread { display: block; width: 100%; height: auto; margin: 0 0 6px; }
.thread path { fill: none; stroke: var(--green-light); stroke-width: 2.5; }
.thread circle { fill: var(--paper); stroke: var(--green); stroke-width: 2.5; }
.thread text { font: 500 15px var(--body); fill: var(--ink); text-anchor: middle; }

.step { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.step i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: 500 14px/1 var(--body);
  font-style: normal;
  margin-bottom: 14px;
}
.step h3 { font-size: 16.5px; margin: 0 0 6px; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- animated onboarding walkthrough ---------- */
.journey-demo { margin-top: 46px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.journey-demo-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; border-bottom: 1px solid var(--line); background: var(--paper); }
.journey-demo-head .eyebrow { margin-bottom: 5px; font-size: 11px; }
.journey-demo-head h3 { font-size: 20px; }
.journey-live { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.journey-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--tint); }
.journey-window { position: relative; min-height: 390px; overflow: hidden; background: #17211d; color: #edf5e9; }
.journey-window-bar { height: 38px; padding: 0 14px; display: flex; align-items: center; gap: 6px; color: #8fa39a; background: #101713; border-bottom: 1px solid #29362f; font-size: 11px; }
.journey-window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #516057; }
.journey-window-bar span { margin-left: 8px; }
.journey-screen { position: absolute; inset: 38px 0 0; padding: 48px clamp(28px, 7vw, 86px); opacity: 0; pointer-events: none; }
.journey-count, .journey-label { color: var(--green-light); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.journey-label { margin: 9px 0 10px; font-family: var(--display); font-weight: 500; }
.journey-screen h4 { color: #fff; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.025em; }
.journey-note { max-width: 420px; margin-top: 15px; color: #aebbb4; font-size: 13.5px; }
.journey-github-button { display: flex; align-items: center; gap: 11px; width: min(380px, 100%); margin-top: 25px; padding: 13px 15px; border: 1px solid #435248; border-radius: 10px; background: #fff; color: #16211c; font: 500 14px var(--body); text-align: left; }
.journey-github-button b { font-size: 18px; }
.journey-github-button span { margin-left: auto; font-size: 18px; }
.journey-user { display: flex; align-items: center; gap: 12px; width: min(410px, 100%); margin: 18px 0 21px; padding: 12px; border: 1px solid #405047; border-radius: 12px; background: #233129; }
.journey-user > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; }
.journey-user div { display: grid; gap: 1px; font-size: 13px; }
.journey-user small { color: #aebbb4; }
.journey-user em { margin-left: auto; color: var(--green-light); font-style: normal; }
.journey-github-button + .journey-note { margin-top: 14px; color: #aebbb4; font-size: 13px; max-width: 410px; }
.journey-address h4 { font-size: 29px; }
.journey-domain { display: flex; align-items: center; gap: 10px; width: min(470px, 100%); margin-top: 22px; padding: 13px 15px; border: 1px solid #5c763d; border-radius: 10px; background: #233b20; color: #fff; font: 500 15px var(--body); }
.journey-domain span, .journey-domain b { color: var(--green-light); }
.journey-domain b { margin-left: auto; }
.journey-payment { display: flex; justify-content: space-between; width: min(470px, 100%); margin-top: 10px; color: #aebbb4; font-size: 12.5px; }
.journey-payment b { color: var(--green-light); }
.journey-chat { padding: 0; background: #f7f7f4; color: var(--ink); }
.journey-chat-bar { display: flex; align-items: center; gap: 8px; height: 47px; padding: 0 20px; border-bottom: 1px solid #e1e5dd; background: #fff; font-size: 13px; }
.journey-chat-mark { color: #111; font-size: 19px; }
.journey-chat-bar small { margin-left: auto; color: var(--muted); }
.journey-thread { display: grid; gap: 11px; max-width: 640px; margin: 0 auto; padding: 22px clamp(18px, 5vw, 44px) 64px; }
.journey-message { padding: 11px 13px; border-radius: 11px; font-size: 12.5px; line-height: 1.45; }
.journey-message.user { margin-left: 10%; background: #e7efdd; }
.journey-message.ai { margin-right: 14%; background: #fff; border: 1px solid #e4e7e1; }
.journey-brief { font-size: 12px; }
.journey-composer { position: absolute; right: clamp(18px, 5vw, 44px); bottom: 15px; left: clamp(18px, 5vw, 44px); display: flex; align-items: center; padding: 10px 12px; border: 1px solid #d6dbd4; border-radius: 10px; background: #fff; color: #849087; font-size: 12px; }
.journey-composer span { display: grid; place-items: center; width: 19px; height: 19px; margin-left: auto; border-radius: 6px; background: var(--ink); color: #fff; }
.journey-live-site { padding: 0; background: #f8f9f5; color: var(--ink); }
.journey-site-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(22px, 5vw, 58px); background: #fff; font-size: 12px; }
.journey-site-bar b { font: 500 15px var(--display); }
.journey-site-bar i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 4px; background: var(--green); vertical-align: -1px; }
.journey-site-bar span { color: var(--muted); font-size: 11px; }
.journey-site-content { padding: 38px clamp(24px, 7vw, 80px); background: linear-gradient(120deg, #eaf4dc, #fafcf7); }
.journey-site-content p { color: var(--green-deep); font-size: 10px; letter-spacing: .13em; }
.journey-site-content h4 { margin: 9px 0 8px; color: var(--ink); font-size: clamp(30px, 5vw, 48px); }
.journey-site-content > span { color: var(--muted); font-size: 12px; }
.journey-site-content button { display: block; margin-top: 18px; padding: 9px 13px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 500 11px var(--body); }
.journey-deploy { position: absolute; right: 18px; bottom: 16px; padding: 8px 11px; border-radius: 8px; background: var(--ink); color: #d4e7ca; font-size: 11px; box-shadow: 0 8px 20px rgba(12, 19, 15, .22); }
.journey-deploy b { color: var(--green-light); }
.journey-deploy span { margin-left: 7px; color: #fff; }
.journey-caption { padding: 17px 26px; background: var(--paper); color: var(--muted); font-size: 13.5px; text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .journey-screen { animation: journey-screen 25s ease-in-out infinite; }
  .journey-signup { animation-delay: 0s; }
  .journey-github { animation-delay: 5s; }
  .journey-address { animation-delay: 10s; }
  .journey-chat { animation-delay: 15s; }
  .journey-live-site { animation-delay: 20s; }
  .journey-live i { animation: journey-pulse 1.7s ease-out infinite; }
}
@keyframes journey-screen { 0%, 2% { opacity: 0; transform: translateY(8px); } 5%, 18% { opacity: 1; transform: none; } 21%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes journey-pulse { 60% { box-shadow: 0 0 0 8px rgba(140, 194, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(140, 194, 68, 0); } }
@media (prefers-reduced-motion: reduce) { .journey-signup { opacity: 1; } }

/* ---------- flow diagram ---------- */
.flow-wrap { overflow-x: auto; padding-bottom: 6px; }
.flow { display: block; min-width: 760px; width: 100%; height: auto; }
.flow .box { fill: var(--paper); stroke: var(--line); }
.flow .t1 { font: 500 17px var(--display); fill: var(--ink); text-anchor: middle; }
.flow .t2 { font: 400 12.5px var(--body); fill: var(--muted); text-anchor: middle; }
.flow .wire { fill: none; stroke: var(--green-light); stroke-width: 2.5; }
.flow .joint { fill: var(--green); }

/* ---------- explainer callout ---------- */
.callout {
  background: var(--tint);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 15px;
  max-width: 720px;
}
.callout b { color: var(--green-deep); }

/* ---------- terminal / prompt demo ---------- */
.demo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.demo ol { margin: 0; padding: 0 0 0 22px; color: var(--muted); font-size: 15.5px; }
.demo ol li { margin: 0 0 12px; }
.demo ol li b { color: var(--ink); font-weight: 500; }
.promptbox {
  background: var(--ink);
  color: #cfe3c6;
  border-radius: 12px;
  padding: 22px 24px;
  font: 400 13px/1.6 "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
}
.promptbox .dim { color: #7d8f86; }

/* ---------- pricing ---------- */
.trial-card {
  background: var(--paper);
  border: 1px solid var(--tile-line);
  border-radius: 16px;
  padding: 34px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: center;
}
.trial-card .price-big { font: 500 64px var(--display); letter-spacing: -.02em; line-height: 1; }
.trial-card .price-note { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.trial-card h3 { font-size: 22px; margin: 0 0 10px; }
.trial-card ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.trial-card ul li { margin: 4px 0; }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.plan { background: var(--tile); border: 1px solid var(--tile-line); border-radius: 16px; padding: 30px; }
.plan h3 { font-size: 20px; }
.plan .price { font: 500 40px var(--display); letter-spacing: -.02em; margin: 12px 0 2px; }
.plan .price span { font: 400 15px var(--body); color: var(--muted); letter-spacing: 0; }
.plan .plan-for { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.plan ul { list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--ink); }
.plan ul li { padding: 9px 0; border-top: 1px solid var(--tile-line); }
.plan .btn-buy { display: block; text-align: center; margin-top: 22px; padding: 14px 22px; font-size: 16px; }

.fineprint {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  font-size: 14.5px;
  color: var(--muted);
  background: var(--paper);
}
.fineprint h3 { font-size: 17px; color: var(--ink); margin: 0 0 10px; }
.fineprint p { margin: 0 0 12px; }
.fineprint p:last-child { margin: 0; }

/* ---------- signup ---------- */
.signup-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin: 0 0 16px; }
.field label { display: block; font: 500 14px var(--body); margin: 0 0 6px; }
.field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: 400 15.5px var(--body);
  color: var(--ink);
  background: var(--paper);
}
.field input:focus { outline: 2px solid var(--green-light); outline-offset: 0; border-color: var(--green); }
.hint { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
.input-suffix { display: flex; align-items: stretch; }
.input-suffix input { min-width: 0; border-radius: 10px 0 0 10px; }
.input-suffix span { display: flex; align-items: center; padding: 0 13px; border: 1px solid var(--line); border-left: 0; border-radius: 0 10px 10px 0; background: var(--surface); color: var(--muted); font-size: 14px; white-space: nowrap; }
.address-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.address-pick label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 14px 16px; border: 1px solid var(--tile-line); border-radius: 12px; background: var(--tile); }
.address-pick label:has(input:checked) { border-color: var(--green); outline: 2px solid var(--green-light); outline-offset: -1px; }
.address-pick input { margin-top: 3px; accent-color: var(--green); }
.address-pick span { display: grid; gap: 3px; font-size: 14px; }
.address-pick small { color: var(--muted); font-size: 12.5px; }
.domain-billing { margin-top: 14px; padding: 13px 15px; font-size: 13.5px; }
.payment-panel { margin: 20px 0; padding: 16px 18px; border: 1px solid var(--tile-line); border-radius: 12px; background: var(--tile); }
.payment-panel-title { font: 500 15px var(--display); }
.payment-panel p:not(.payment-panel-title) { margin: 4px 0 12px; color: var(--muted); font-size: 13.5px; }
.payment-panel button:disabled { cursor: default; opacity: .65; }
.payment-confirmation { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0; padding: 14px; border: 1px solid var(--green-light); border-radius: 10px; background: #f1f8e9; color: var(--green-deep); }
.payment-confirmation strong, .payment-confirmation span { display: block; }
.payment-confirmation strong { margin-bottom: 3px; }
.payment-confirmation div span { color: var(--muted); font-size: 13px; }
.payment-check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 600; flex: none; }
.payment-summary-details { display: grid; gap: 8px; margin: 16px 0 0; }
.payment-summary-details div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.payment-summary-details dt { color: var(--muted); font-size: 13px; }
.payment-summary-details dd { margin: 0; font-size: 14px; }
.form-error { margin: 12px 0; padding: 10px 13px; border-radius: 9px; background: #fff0ed; color: #9a3f31; font-size: 13.5px; }

.consent {
  background: var(--tint);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 15px;
  margin: 20px 0;
}
.consent label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--green); flex: none; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font: 500 17px var(--display);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green-deep); font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq .a { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; max-width: 760px; }
.faq .a p { margin: 0 0 10px; }
.faq .a p:last-child { margin: 0; }
.faq-group { margin: 40px 0 8px; font-size: 13px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-top: 0; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #b8c4be; }
.cta-band .note { color: #7d8f86; font-size: 14px; margin-top: 14px; }
.cta-band .btn-ghost { background: transparent; border-color: #3a4a41; color: #fff; }
.cta-band .btn-ghost:hover { border-color: #5c6b63; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b8c4be; padding: 60px 24px 26px; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.site-footer .wrap:last-child { display: block; }
.site-footer .legal { max-width: none; }
.site-footer .brand-lockup { font-size: 26px; }
.site-footer .blurb { font-size: 13px; margin-top: 12px; max-width: 260px; color: #8fa39a; }
.site-footer h4 {
  font: 500 12px var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
}
.site-footer a { color: #b8c4be; display: block; margin: 5px 0; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer span.foot-plain { display: block; margin: 5px 0; color: #7d8f86; }
.site-footer .legal {
  border-top: 1px solid #2a3a31;
  margin-top: 44px;
  padding-top: 18px;
  color: #7d8f86;
  font-size: 12.5px;
}

/* ---------- legal / prose pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose ul { color: #3a4640; font-size: 15.5px; margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose .updated { color: var(--muted); font-size: 14px; margin: 0 0 8px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 130px 24px 150px; }
.notfound .code { font: 500 96px var(--display); letter-spacing: -.02em; color: var(--green); margin: 0 0 10px; }
.notfound h1 { font-size: 30px; margin: 0 0 12px; }
.notfound p { color: var(--muted); margin: 0 0 28px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .demo { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .section { padding: 64px 20px; }
  .hero { padding: 72px 20px 64px; }
  .grid-2, .grid-3, .steps, .plans, .signup-steps, .deal { grid-template-columns: 1fr; }
  .thread { display: none; }
  .trial-card { grid-template-columns: 1fr; gap: 18px; padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- centered hero (single CTA) ---------- */
.hero.center { text-align: center; }
.hero.center .wrap { max-width: 820px; }
.hero.center .sub { margin: 0 auto; }
.hero.center .cta-row { justify-content: center; }
.hero.center .note { text-align: center; }

/* ---------- founder story teaser ---------- */
.story { border-left: 3px solid var(--green-light); padding: 6px 0 6px 26px; max-width: 760px; }
.story p { font-size: 17px; color: #3a4640; }
.story .sig { font: 500 14px var(--display); color: var(--muted); margin-top: 14px; }

/* ---------- focused signup flow ---------- */
.signup-top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.signup-top-inner {
  max-width: var(--max); margin: 0 auto; padding: 13px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.signup-top .brand-lockup { font-size: 23px; }
.signed-in { margin-left: auto; margin-right: 16px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; }
.signed-in strong { color: var(--ink); font-weight: 500; }
.github-icon { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; fill: currentColor; }
.close-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  font: 400 20px/1 var(--body); text-decoration: none;
}
.close-x:hover { border-color: var(--muted); color: var(--ink); text-decoration: none; }

.flow-step { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.flow-step > .card-kicker { font: 500 13px var(--display); color: var(--green-deep); margin: 0 0 6px; }
.flow-step > h2 { font-size: 24px; margin: 0 0 8px; }
.why-list { list-style: none; margin: 22px 0 0; padding: 0; }
.why-list li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: #3a4640; }
.why-list li:first-child { border-top: 0; padding-top: 2px; }
.why-list li b { color: var(--ink); font-weight: 500; }
.promise { margin: 22px 0; }
.github-auth-cta { margin: 0 0 28px; text-align: center; }
.github-auth-cta .btn { min-width: min(100%, 330px); }
.github-auth-cta p { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.signup-explainer { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 14px; }
.signup-explainer .why-list { margin-top: 16px; }
.signup-explainer .why-list li { padding: 10px 0; font-size: 14px; }
.signup-explainer .promise { margin: 18px 0 0; padding: 14px 16px; font-size: 13.5px; }

/* selectable plan cards */
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 4px 0 24px; }
.plan-pick label {
  display: block; cursor: pointer; border: 1px solid var(--tile-line);
  border-radius: 14px; padding: 20px; background: var(--tile); transition: opacity .18s ease, border-color .18s ease, outline-color .18s ease, transform .18s ease;
}
.plan-pick:has(input:checked) label:not(:has(input:checked)) { opacity: .46; filter: saturate(.7); }
.plan-pick:has(input:checked) label:not(:has(input:checked)):hover { opacity: .76; }
.plan-pick label:focus-within { outline: 2px solid var(--green-light); outline-offset: 2px; }
.plan-pick label:has(input:checked) { border-color: var(--green); outline: 2px solid var(--green-light); outline-offset: -1px; }
.plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick .pick-name { display: flex; justify-content: space-between; align-items: baseline; font: 500 16px var(--display); }
.plan-pick .pick-price { font: 500 15px var(--body); color: var(--ink); }
.plan-pick ul { list-style: none; margin: 10px 0 0; padding: 0; font-size: 13.5px; color: var(--muted); }
.plan-pick ul li { padding: 5px 0; }
@media (max-width: 768px) {
  .plan-pick { grid-template-columns: 1fr; }
  .address-pick { grid-template-columns: 1fr; }
}
.minilegal { border-top: 1px solid var(--line); margin-top: 56px; padding: 22px 24px 30px; text-align: center; font-size: 12.5px; color: #7d8f86; background: var(--surface); }
.minilegal p { margin: 0; }
.success-page { flex: 1; }
.success-page h1 { font-size: clamp(30px, 5vw, 48px); }
.success-lede { max-width: 620px; margin-top: 14px; color: var(--muted); }
.success-status { display: inline-block; margin-top: 26px; padding: 9px 13px; border-radius: 999px; background: var(--tint); color: var(--green-deep); font-size: 13px; }
.success-details { margin-top: 24px; display: grid; gap: 14px; }
.success-details p { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.success-details p b { font: 500 12px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.success-details pre { margin: 0; padding: 18px; border-radius: 12px; background: var(--ink); color: #cfe3c6; font: 400 13px/1.6 "SF Mono", ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; }
.first-build { margin-top: 30px; padding: 24px; border: 1px solid var(--tile-line); border-radius: 16px; background: linear-gradient(150deg, var(--tint), var(--paper)); }
.first-build h2 { margin: 5px 0 8px; font-size: clamp(24px, 4vw, 32px); }
.first-build-lede { max-width: 590px; margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.tool-tabs { display: flex; gap: 8px; margin: 0 0 14px; overflow-x: auto; }
.tool-tab { flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); font: 500 13px var(--body); cursor: pointer; }
.tool-tab.active { border-color: var(--green-deep); background: var(--green-deep); color: #fff; }
.tool-intro { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.success-details .first-build-prompt { margin: 0; padding: 15px; border-radius: 10px; background: var(--ink); color: #dcebdd; font: 400 12.5px/1.55 "SF Mono", ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; }
.first-build > div .btn { margin-top: 14px; }
.credential-note { margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.mobile-build > p { margin: 0 0 14px; color: var(--muted); line-height: 1.5; }
.mobile-build-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 620px) { .first-build { padding: 19px; }.mobile-build-actions .btn { flex: 1 1 100%; justify-content: center; }.tool-tabs { padding-bottom: 2px; } }
.domain-setup { padding: 18px; border: 1px solid var(--tile-line); border-radius: 12px; background: var(--tile); }
.domain-setup-title { font: 500 16px var(--display); }
.domain-setup > p:not(.domain-setup-title) { margin-top: 4px; color: var(--muted); font-size: 13.5px; }
.domain-setup-row { display: flex; gap: 9px; margin-top: 13px; }
.domain-setup-row input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font: 400 14px var(--body); }
.domain-status { margin: 10px 0 0; color: var(--green-deep); font-size: 13px; }
.hosted-payment-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.hosted-payment-fields label { color: var(--muted); font-size: 12px; }
.hosted-payment-fields input, .hosted-payment-fields select { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); font: 400 14px var(--body); }
.hosted-payment-fields label:nth-child(1), .hosted-payment-fields label:nth-child(2), .hosted-payment-fields label:nth-child(3), .hosted-payment-fields > .btn { grid-column: 1 / -1; }
.hosted-payment-fields label:nth-child(3) { order: 5; }
.hosted-payment-fields label:nth-child(4) { order: 3; }
.hosted-payment-fields label:nth-child(5) { order: 4; }
.hosted-payment-fields > .btn { order: 6; width: 100%; margin-top: 6px; justify-content: center; }
@media (max-width: 620px) { .hosted-payment-fields { grid-template-columns: 1fr 1fr; } }

/* Focused five-step signup surface. */
.signup-shell { flex: 1; padding: 54px 24px 80px; background: linear-gradient(160deg, #f5faf7 0%, var(--paper) 56%); }
.signup-frame { width: min(100%, 710px); margin: 0 auto; }
.signup-crumbs { display: flex; gap: 0; list-style: none; padding: 0; margin: 0 0 30px; overflow-x: auto; }
.signup-crumbs li { flex: 1 0 auto; min-width: 82px; padding: 0 10px 12px; border-bottom: 2px solid var(--line); color: var(--muted); font-size: 12px; white-space: nowrap; }
.signup-crumbs li.current { border-color: var(--green-deep); color: var(--ink); font-weight: 600; }
.signup-crumbs li.done { color: var(--green-deep); cursor: pointer; }
.signup-count { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.signup-stage { padding: clamp(26px, 5vw, 44px); border: 1px solid var(--tile-line); border-radius: 18px; background: var(--paper); box-shadow: 0 18px 55px rgba(28, 51, 42, .08); }
.signup-stage h1 { margin: 6px 0 10px; font-size: clamp(30px, 5vw, 45px); line-height: 1.08; }
.signup-lede { max-width: 540px; margin: 0 0 28px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.signup-label { display: block; margin: 0 0 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.signup-input { box-sizing: border-box; width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: 400 17px var(--body); }
.signup-input:focus { outline: 3px solid rgba(27, 115, 78, .18); border-color: var(--green-deep); }
.signup-next, #build-site { width: 100%; margin-top: 24px; justify-content: center; }
.signup-domain { display: flex; align-items: center; border-radius: 10px; background: #fff; }
.signup-domain .signup-input { border-radius: 10px 0 0 10px; }
.signup-domain span { padding: 0 15px 0 10px; color: var(--muted); font-size: 16px; white-space: nowrap; }
.signup-name-status { min-height: 22px; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.signup-name-status.available { color: var(--green-deep); }.signup-name-status.unavailable { color: #a2392f; }
.signup-two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.signup-payment-note { display: grid; gap: 4px; margin: 0 0 22px; padding: 15px 16px; border-radius: 11px; background: var(--tint); color: var(--green-deep); font-size: 14px; line-height: 1.45; }
.signup-payment-note span { color: var(--muted); }.signup-loading { display: flex; grid-column: 1 / -1; align-items: center; gap: 11px; min-height: 72px; margin: 0; color: var(--muted); }
.signup-loading::before { content: ""; width: 22px; height: 22px; flex: 0 0 22px; border: 3px solid #d7e6de; border-top-color: var(--green-deep); border-radius: 50%; animation: signup-spin .75s linear infinite; }
@keyframes signup-spin { to { transform: rotate(360deg); } }
.signup-policy { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }.signup-policy a { color: var(--ink); text-decoration: underline; }
.signup-review { display: grid; gap: 0; margin: 24px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.signup-review div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 15px; border-bottom: 1px solid var(--line); }.signup-review div:last-child { border-bottom: 0; }.signup-review span { color: var(--muted); font-size: 14px; }.signup-review strong { font-size: 14px; }
@media (max-width: 620px) { .signup-shell { padding: 30px 16px 52px; }.signup-stage { padding: 25px 20px; }.signup-two-up { grid-template-columns: 1fr; }.signup-domain span { font-size: 14px; padding-right: 10px; }.signup-crumbs { margin-bottom: 22px; }.signup-crumbs li { min-width: 72px; padding-left: 6px; padding-right: 6px; } }
.connected-domains { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.connected-domains ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.connected-domains li { margin: 5px 0; }

/* Keep short pages grounded: their footer occupies the remaining viewport space. */
body > .site-footer, body > .minilegal { margin-top: auto; flex-shrink: 0; }

/* ---------- icons ---------- */
.icn { display: block; margin: 0 0 12px; color: var(--green-deep); }
.deal-card .icn { margin: 0 0 10px; }

/* ---------- browser mock (product visual) ---------- */
.hero-visual { max-width: 860px; margin: 46px auto -150px; position: relative; z-index: 2; }
.browser {
  position: relative; text-align: left; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: 0 30px 70px rgba(12, 19, 15, .30);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.browser-bar i { width: 9px; height: 9px; border-radius: 999px; background: #d9d9d4; }
.browser-url {
  margin-left: 10px; display: flex; align-items: center; gap: 7px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 12px; font: 400 12px var(--body); color: var(--muted);
}
.browser-url i { width: 7px; height: 7px; border-radius: 999px; background: var(--green); flex: none; }
.browser-body { padding: 26px 30px 30px; }
.mini-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.mini-logo { width: 18px; height: 18px; border-radius: 6px; background: var(--ink); }
.mini-nav b { font: 500 13px var(--display); }
.mini-nav span { margin-left: auto; display: flex; gap: 10px; }
.mini-nav span i { width: 34px; height: 6px; border-radius: 999px; background: #ecece7; display: block; }
.mini-h { font: 500 27px/1.15 var(--display); letter-spacing: -.01em; margin: 0 0 6px; }
.mini-p { font: 400 13.5px/1.5 var(--body); color: var(--muted); margin: 0 0 16px; max-width: 400px; }
.mini-btns { display: flex; gap: 8px; margin-bottom: 24px; }
.mini-btn { border-radius: 999px; padding: 6px 14px; font: 500 11.5px var(--body); }
.mini-btn.g { background: var(--green); color: #fff; }
.mini-btn.gh { border: 1px solid var(--line); color: var(--ink); }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-cards div { border: 1px solid var(--line); border-radius: 10px; height: 64px; background: linear-gradient(180deg, var(--surface), #fff); }
.toast {
  position: absolute; top: 46px; right: 16px;
  background: var(--ink); color: #cfe3c6; border-radius: 10px;
  padding: 8px 14px; font: 500 12px var(--body);
  box-shadow: 0 12px 30px rgba(12, 19, 15, .28);
}
.toast b { color: var(--green-light); font-weight: 500; }

/* hero overlap: give the section below room */
#how { padding-top: 200px; }

/* ---------- stat band (why page) ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stat { border: 1px solid var(--line); border-radius: 16px; padding: 32px 18px; background: var(--paper); }
.stat .n { font: 500 58px/1 var(--display); letter-spacing: -.02em; color: var(--green-deep); }
.stat .l { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

@media (max-width: 768px) {
  .site-footer .wrap { grid-template-columns: 1fr; }
  .hero-visual { margin-bottom: -70px; }
  #how { padding-top: 120px; }
  .toast { position: static; display: inline-block; margin-top: 14px; }
  .mini-cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
}
