/* Kipper: tokens from the venture deck (Prism). Light + dark. Mobile-first. */
:root {
  --paper: #F8F4EF; --card: #FFFFFF; --stone: #EFE9E2; --hair: #E2DDD6;
  --ink: #22201E; --muted: #67625C; --mark: #0A6C74; --mark-ink: #FFFFFF; --mark-soft: #E3F0F1;
  --display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --dt: -0.018em; --r: 14px; --gutter: 16px; --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121516; --card: #1A1F21; --stone: #1E2427; --hair: #2C3336;
    --ink: #F2EEE8; --muted: #A9A39B; --mark: #5BB8BF; --mark-ink: #0E1213; --mark-soft: #16292B;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121516; --card: #1A1F21; --stone: #1E2427; --hair: #2C3336;
  --ink: #F2EEE8; --muted: #A9A39B; --mark: #5BB8BF; --mark-ink: #0E1213; --mark-soft: #16292B;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: var(--dt); line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7.5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin-bottom: 14px; }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.eyebrow { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 600; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand b { font-family: var(--display); font-weight: 600; font-size: 1.55rem; letter-spacing: -0.01em; }
.brand span { color: var(--muted); font-size: 0.9rem; }
.top nav a { margin-left: 18px; color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.top nav a:hover { text-decoration: underline; }
@media (max-width: 560px) { .brand span { display: none; } .top nav a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 1.02rem/1 var(--body); cursor: pointer; text-decoration: none; transition: transform .08s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--mark); color: var(--mark-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hair); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-block { width: 100%; white-space: normal; }

/* hero */
.hero { padding: 18px 0 40px; }
.hero-grid { display: grid; gap: 26px; }
.hero h1 { margin-bottom: 16px; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.chip { border: 1px solid var(--hair); background: var(--card); color: var(--ink); border-radius: 999px; padding: 10px 16px; font: 500 0.95rem var(--body); cursor: pointer; min-height: 44px; }
.chip[aria-pressed="true"] { background: var(--mark); color: var(--mark-ink); border-color: var(--mark); }
.chip[aria-pressed="true"] .muted { color: inherit; opacity: .8; }
.chip-q { font-size: 0.92rem; color: var(--muted); margin-top: 20px; margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.hero-note { font-size: 0.9rem; color: var(--muted); }
figure { margin: 0; }
.photo { position: relative; border-radius: var(--r); overflow: hidden; background: var(--stone); aspect-ratio: 3 / 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption, .ai-tag { position: absolute; right: 10px; bottom: 10px; font-size: 0.72rem; letter-spacing: 0.03em; color: #fff; background: rgba(20,20,20,.55); padding: 4px 8px; border-radius: 6px; backdrop-filter: blur(4px); }
@media (min-width: 880px) {
  .hero { padding: 36px 0 64px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .hero-grid figure { order: 2; }
  .photo { aspect-ratio: 4 / 3; }
}

/* sections */
section { padding: 48px 0; border-top: 1px solid var(--hair); }
@media (min-width: 880px) { section { padding: 72px 0; } }
.lead-row { display: grid; gap: 14px; margin-bottom: 28px; }
@media (min-width: 880px) { .lead-row { grid-template-columns: 1fr 1fr; align-items: end; } }

/* checklist proof */
.list-card { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r); padding: 20px; }
.list-card h3 { margin-bottom: 6px; }
.relief { color: var(--mark); font-family: var(--display); font-size: 1.25rem; margin-bottom: 14px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hair); }
.items li:first-child { border-top: 0; }
.items .n { width: 28px; height: 28px; border-radius: 50%; background: var(--mark-soft); color: var(--mark); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; }
.items .t { font-weight: 600; }
.items .src { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.proof-grid { display: grid; gap: 20px; }
@media (min-width: 880px) { .proof-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* how it works */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r); padding: 20px; }
.step .k { font-family: var(--display); color: var(--mark); font-size: 2rem; line-height: 1; margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; }
.gallery { display: grid; gap: 14px; margin-top: 26px; }
@media (min-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* price */
.price-wrap { display: grid; gap: 24px; }
@media (min-width: 880px) { .price-wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } }
.price-card { background: var(--card); border: 1px solid var(--hair); border-radius: 20px; padding: 26px; box-shadow: 0 1px 0 var(--hair); }
.price-card .amount { font-family: var(--display); font-size: clamp(2.4rem, 7vw, 3.4rem); line-height: 1; letter-spacing: var(--dt); margin: 10px 0 2px; }
.price-card .sub { color: var(--muted); margin-bottom: 18px; }
.price-card ul { margin: 0 0 20px; padding-left: 0; list-style: none; }
.price-card li { padding: 7px 0 7px 28px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: var(--mark-soft); box-shadow: inset 0 0 0 2px var(--mark); }
.price-card .fine { font-size: 0.9rem; color: var(--muted); margin-top: 14px; margin-bottom: 0; }
.founding { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--stone); font-size: 0.95rem; }
.guarantee { margin-top: 14px; padding: 12px 14px; border-radius: 10px; border: 1px dashed var(--hair); font-size: 0.95rem; }

/* faq */
.faq details { border-top: 1px solid var(--hair); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mark); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 14px; color: var(--muted); }

/* footer */
footer { border-top: 1px solid var(--hair); padding: 32px 0 40px; color: var(--muted); font-size: 0.92rem; }
footer .cols { display: grid; gap: 14px; }
@media (min-width: 720px) { footer .cols { grid-template-columns: 2fr 1fr; } }
footer a { color: var(--ink); }
footer nav a { margin-right: 16px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center; background: rgba(20, 18, 16, .55); padding: 0; }
.modal-card { width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; background: var(--card); color: var(--ink); border-radius: 20px 20px 0 0; padding: 22px 20px 28px; box-shadow: 0 -8px 40px rgba(0,0,0,.25); }
@media (min-width: 640px) { .modal { place-items: center; padding: 20px; } .modal-card { border-radius: 20px; padding: 28px; } }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.modal-head h2 { font-size: 1.6rem; margin: 0; }
.x { border: 0; background: var(--stone); color: var(--ink); width: 40px; height: 40px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; flex: none; }
.field { margin: 14px 0; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--hair); border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 88px; resize: vertical; }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; margin: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: grid; place-items: center; min-height: 48px; border: 1px solid var(--hair); border-radius: 10px; background: var(--paper); cursor: pointer; font-weight: 600; }
.seg input:checked + span { background: var(--mark); color: var(--mark-ink); border-color: var(--mark); }
.seg input:focus-visible + span { outline: 3px solid var(--mark); outline-offset: 2px; }
.err { color: #B4232C; font-size: 0.95rem; margin: 8px 0 0; }
.thanks h2 { font-size: 1.7rem; margin-bottom: 8px; }
.thanks p { color: var(--muted); }

/* legal pages */
.legal { padding: 24px 0 64px; max-width: 70ch; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.35rem; margin: 28px 0 8px; }
.draft { display: inline-block; font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; background: var(--stone); color: var(--muted); padding: 4px 10px; border-radius: 6px; margin-bottom: 14px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
