/* HUNDREDLOCKED (formerly Graham Velocity) — premium-minimal per Calen's taste:
   ink #0d0d0f · paper #f6f4ef · accent burnt ember #c8501e (used sparingly)
   Display: Instrument Serif · Body/UI: Inter 400/500 */

:root {
  --ink: #0d0d0f;
  --paper: #f6f4ef;
  --accent: #c8501e;
  --rule: #0d0d0f14;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
  --pad-y: 140px;
  --pad-x: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: #f6f4ef; }

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(44px, 8vw, 96px); }
h2 { font-size: clamp(32px, 5vw, 56px); }

a { color: inherit; }

/* ---------- fade-up ---------- */
.fade { opacity: 0; transform: translateY(14px); transition: opacity 300ms ease, transform 300ms ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
}

/* ---------- header ---------- */
.top {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 28px clamp(24px, 5vw, 64px);
}
.wordmark { font-family: var(--sans); font-weight: 600; letter-spacing: 0.12em; font-size: 17px; text-decoration: none; }
.wordmark .wm-accent { color: var(--accent); }
.top-link { font-size: 14px; font-weight: 500; text-decoration: none; opacity: 0.75; }
.top-link:hover { opacity: 1; }

/* ---------- bands ---------- */
.band { padding: var(--pad-y) var(--pad-x); }
.band.paper { background: var(--paper); color: var(--ink); }
.band.paper + .band.paper { border-top: 1px solid var(--rule); }
.band.ink { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero { padding: clamp(70px, 12vh, 130px) var(--pad-x) var(--pad-y); text-align: center; }
.hero h1 { max-width: 15ch; margin: 0 auto; text-wrap: balance; }
.hero-sub { max-width: 44ch; margin: 32px auto 0; font-size: clamp(16px, 2vw, 19px); opacity: 0.85; }
.statline {
  margin-top: 72px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.55;
}

/* ---------- CTA ---------- */
.cta-block { margin-top: 44px; }
.btn {
  display: inline-block; border-radius: 999px; text-decoration: none;
  font-weight: 500; font-size: 16px; padding: 16px 34px;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 8px 24px #0d0d0f22;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px #0d0d0f2e; }
.btn-primary { background: var(--accent); color: #fff; }
.cta-note { margin-top: 14px; font-size: 13.5px; opacity: 0.6; }

/* ---------- product band + phones ---------- */
.product { text-align: center; }
.band-sub { max-width: 40ch; margin: 22px auto 0; opacity: 0.7; font-size: 16px; }

.phones {
  display: flex; gap: 36px; justify-content: center; align-items: flex-start;
  margin-top: 80px;
}
.phone {
  flex: 0 0 auto; width: 272px;
  border-radius: 46px; padding: 10px;
  background: #1c1c20; border: 1px solid #2c2c31;
  box-shadow: 0 24px 60px #00000055;
}
.phone:nth-child(2) { margin-top: 44px; }
.phone-screen {
  background: #fbfaf6; color: var(--ink); border-radius: 37px;
  min-height: 540px; overflow: hidden; text-align: left;
  display: flex; flex-direction: column;
}
.screen-status {
  display: flex; justify-content: center; padding: 12px 0 4px;
  font-size: 11px; font-weight: 500; opacity: 0.55; position: relative;
}
.screen-status::after {
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 17px; border-radius: 999px; background: var(--ink);
}
.screen-status span { visibility: hidden; }
.screen-head {
  display: flex; gap: 10px; align-items: center;
  padding: 18px 18px 14px; border-bottom: 1px solid var(--rule);
}
.screen-head strong { display: block; font-size: 14px; font-weight: 500; }
.screen-head em { display: block; font-style: normal; font-size: 11px; opacity: 0.5; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper);
  font-size: 12px; font-weight: 500; display: grid; place-items: center; flex: 0 0 auto;
}

/* chat */
.chat { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.msg {
  font-size: 12.5px; line-height: 1.45; padding: 10px 13px; border-radius: 16px; max-width: 88%;
}
.msg.them { background: #edeae2; border-bottom-left-radius: 5px; align-self: flex-start; }
.msg.me { background: var(--ink); color: var(--paper); border-bottom-right-radius: 5px; align-self: flex-end; }
.msg.clip { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.clip-dot {
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; position: relative;
}
.clip-dot::after {
  content: ""; position: absolute; left: 8.5px; top: 6.5px;
  border-style: solid; border-width: 4.5px 0 4.5px 7px; border-color: transparent transparent transparent #fff;
}

/* plan */
.plan { list-style: none; padding: 8px 6px 16px; }
.plan li { display: flex; gap: 12px; padding: 12px 12px; border-bottom: 1px solid var(--rule); }
.plan li:last-child { border-bottom: 0; }
.plan .day { font-size: 11px; font-weight: 500; opacity: 0.45; width: 30px; padding-top: 2px; flex: 0 0 auto; }
.plan div { font-size: 12.5px; line-height: 1.4; }
.plan em { display: block; font-style: normal; font-size: 11px; opacity: 0.5; margin-top: 1px; }

/* trend */
.trend { padding: 20px 18px; }
.trend-big { font-family: var(--serif); font-size: 44px; line-height: 1; }
.trend-big span { font-family: var(--sans); font-size: 13px; opacity: 0.5; }
.trend svg { width: 100%; margin-top: 18px; }
.trend-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.trend-dot { fill: var(--accent); }
.trend-months { display: flex; justify-content: space-between; font-size: 10.5px; opacity: 0.45; padding: 4px 4px 0; }
.trend-note { margin-top: 22px; font-size: 11.5px; opacity: 0.55; border-top: 1px solid var(--rule); padding-top: 12px; }

/* ---------- how it works ---------- */
.how { max-width: 760px; margin: 0 auto; }
.steps { list-style: none; margin-top: 64px; }
.steps li { display: flex; gap: 28px; padding: 36px 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.step-n { font-family: var(--serif); font-size: 34px; line-height: 1; opacity: 0.35; flex: 0 0 32px; }
.steps strong { font-weight: 500; font-size: 17px; }
.steps p { margin-top: 6px; max-width: 60ch; opacity: 0.75; font-size: 15.5px; }

/* ---------- story ---------- */
.story-grid {
  display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 520px);
  gap: clamp(40px, 7vw, 96px); justify-content: center; align-items: center;
}
.story-grid figure img {
  width: 100%; display: block; border-radius: 6px;
  filter: saturate(0.72) sepia(0.1) contrast(1.02);
}
.story-text h2 { margin-bottom: 28px; }
.story-text p { max-width: 60ch; opacity: 0.88; font-size: 16.5px; }
/* ---------- proof ---------- */
.proof-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px; max-width: 1000px; margin: 0 auto; text-align: center;
}
.proof-n { font-family: var(--serif); font-size: clamp(64px, 9vw, 120px); line-height: 1; letter-spacing: -0.02em; }
.proof-cap { margin: 14px auto 0; max-width: 24ch; font-size: 14px; opacity: 0.6; }

/* ---------- pricing ---------- */
.pricing { text-align: center; }
.price-lines { list-style: none; margin: 44px auto 0; max-width: 46ch; }
.price-lines li { padding: 14px 0; border-top: 1px solid var(--rule); font-size: 16px; }
.price-lines li:last-child { border-bottom: 1px solid var(--rule); }
.founding { margin-top: 30px; font-size: 14.5px; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 680px; margin: 0 auto; }
.faq-list { margin-top: 56px; }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 22px 0;
  font-weight: 500; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--serif); font-size: 24px; opacity: 0.4; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 0 24px; max-width: 58ch; opacity: 0.75; font-size: 15.5px; }

/* ---------- dark app mockup (mirrors the live v8 Home) ---------- */
.phone-screen.dark { background: #0b0b0d; color: #f4f2ed; }
.app-head { padding: 16px 16px 4px; }
.app-wm { font-weight: 600; letter-spacing: 0.12em; font-size: 12px; }
.app-wm b { color: var(--accent); font-weight: 600; }
.app-head em { display: block; font-style: normal; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; margin-top: 8px; }
.app-quote { padding: 8px 16px 10px; font-size: 11px; font-style: italic; opacity: 0.65; line-height: 1.5; }
.app-check {
  display: flex; align-items: center; gap: 10px; margin: 7px 12px 0; padding: 11px 12px;
  background: #16161a; border: 1px solid #ffffff14; border-left: 3px solid #d8c49a; border-radius: 12px;
}
.app-check .ac-box {
  flex: 0 0 auto; width: 21px; height: 21px; border-radius: 50%; border: 2px solid #ffffff33;
  display: grid; place-items: center; font-size: 11px; color: #05130c;
}
.app-check.done .ac-box { background: #4caf7d; border-color: #4caf7d; }
.app-check.done { opacity: 0.6; }
.app-check.done strong { text-decoration: line-through; }
.app-check div { flex: 1; min-width: 0; }
.app-check strong { display: block; font-size: 12px; font-weight: 600; }
.app-check em { display: block; font-style: normal; font-size: 10px; opacity: 0.55; }
.app-check .ac-go { font-size: 9.5px; font-weight: 600; color: var(--accent); flex: 0 0 auto; }
.app-streak { display: flex; gap: 10px; margin: 12px 12px 14px; }
.app-streak > div {
  flex: 1; text-align: center; padding: 12px 0; background: #16161a;
  border: 1px solid #ffffff14; border-radius: 12px;
}
.app-streak b { display: block; font-size: 17px; font-weight: 600; }
.app-streak em { font-style: normal; font-size: 9.5px; opacity: 0.55; }

/* ---------- real app screenshots + 3 points ---------- */
.phone-screen.shot { min-height: 0; background: #0b0b0d; }
.phone-screen.shot img { display: block; width: 100%; border-radius: 37px; }
.shot-cap { text-align: center; font-size: 12.5px; opacity: 0.6; margin-top: 12px; }
.points { display: flex; gap: 28px; justify-content: center; margin-top: 72px; flex-wrap: wrap; text-align: left; }
.point { flex: 0 1 300px; border-top: 2px solid var(--accent); padding-top: 18px; }
.point h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; margin-bottom: 10px; }
.point p { font-size: 15px; opacity: 0.8; line-height: 1.5; margin-top: 4px; }

/* ---------- the product is him ---------- */
.personal { text-align: center; }
.personal h2 { max-width: 22ch; margin: 0 auto; }
.personal-lines { list-style: none; margin: 44px auto 0; max-width: 52ch; text-align: left; }
.personal-lines li { padding: 14px 0 14px 28px; border-top: 1px solid var(--rule); font-size: 17px; position: relative; }
.personal-lines li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.personal-lines li:last-child { border-bottom: 1px solid var(--rule); }

/* ---------- founding badge ---------- */
.founding-badge { margin-top: 14px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.founding-badge b { color: var(--accent); }

/* ---------- get the app ---------- */
.getapp { text-align: center; }
.install-steps {
  display: flex; gap: 28px; justify-content: center; margin-top: 64px; flex-wrap: wrap;
}
.istep {
  flex: 0 1 320px; text-align: left; padding: 26px 26px;
  border: 1px solid #f6f4ef22; border-radius: 16px;
}
.istep-icon { font-size: 26px; display: block; margin-bottom: 14px; }
.istep strong { font-weight: 500; font-size: 16px; }
.istep strong a { color: var(--accent); text-decoration: none; }
.istep p { margin-top: 6px; font-size: 14.5px; opacity: 0.7; }

/* ---------- lead form ---------- */
.leadform { text-align: center; }
.lead-sub { max-width: 44ch; margin: 22px auto 0; opacity: 0.7; font-size: 16px; }
#lead-form { max-width: 560px; margin: 48px auto 0; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
#lead-form input, #lead-form select {
  width: 100%; padding: 15px 16px; font-family: var(--sans); font-size: 15px;
  color: var(--ink); background: #fff; border: 1px solid #0d0d0f22; border-radius: 12px;
}
#lead-form input:focus, #lead-form select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
#lead-form .btn { width: 100%; margin-top: 8px; border: none; cursor: pointer; font-family: var(--sans); }
@media (max-width: 560px) { .lf-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer { padding: 48px var(--pad-x); text-align: center; border-top: 1px solid var(--rule); }
footer p { font-size: 12.5px; opacity: 0.5; }
footer .foot-note { margin-top: 6px; font-size: 11.5px; opacity: 0.35; }
footer a { text-decoration: none; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; }
  .story-grid figure { max-width: 320px; }
}
@media (max-width: 760px) {
  :root { --pad-y: 80px; }
  .phones {
    justify-content: flex-start; gap: 20px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin: 56px calc(-1 * var(--pad-x)) 0; padding: 0 var(--pad-x) 24px;
  }
  .phone { scroll-snap-align: center; }
  .phone:nth-child(2) { margin-top: 0; }
  .proof-grid { grid-template-columns: 1fr; gap: 56px; }
  .steps li { gap: 18px; }
  .statline { margin-top: 56px; padding: 0 8px; }
}
