/* =========================================================
   Zimkit landing page
   Brand: Savannah Dusk (deep teal + sunset orange + sand gold) · Outfit + Inter
   ========================================================= */

:root {
  --primary: #0F4C5C;
  --primary-ink: #0B3A46;
  --accent: #E36A2E;
  --accent-ink: #1C1C1C;
  --support: #E9C46A;
  --bg: #F7F1E8;
  --surface: #FFFDF9;
  --tint: #E8EFEF;
  --text: #1C1C1C;
  --muted: #5E5A55;
  --border: #E6DDD0;
  --band: #0F4C5C;
  --success: #2E8B57;
  --danger: #E5484D;
  --shadow: 0 10px 30px rgba(22, 24, 29, 0.08);
  --radius: 16px;
  --radius-sm: 10px;

  /* illustration */
  --art-frame: #16181D;
  --art-screen: #FFFFFF;
  --art-screen-alt: #EEF3FC;
  --art-line: #2D6CDF;
  --art-line-soft: #C9D6F3;
  --art-desk: #E2D6BF;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #6FB3C2;
    --primary-ink: #9ACCD6;
    --accent: #EE7A3E;
    --bg: #0E181A;
    --surface: #152326;
    --tint: #12262A;
    --text: #F3EEE6;
    --muted: #A9B4B2;
    --border: #26393D;
    --band: #0B3A46;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --art-frame: #E8EAF0;
    --art-screen: #1F2532;
    --art-screen-alt: #1A2233;
    --art-line: #5B8EF0;
    --art-line-soft: #33415E;
    --art-desk: #3A3328;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --primary: #6FB3C2;
  --primary-ink: #9ACCD6;
  --accent: #EE7A3E;
  --bg: #0E181A;
  --surface: #152326;
  --tint: #12262A;
  --text: #F3EEE6;
  --muted: #A9B4B2;
  --border: #26393D;
  --band: #0B3A46;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --art-frame: #E8EAF0;
  --art-screen: #1F2532;
  --art-screen-alt: #1A2233;
  --art-line: #5B8EF0;
  --art-line-soft: #33415E;
  --art-desk: #3A3328;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 760px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-small { padding: 9px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--primary); }
@media (min-width: 820px) { .nav { display: flex; } }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark { display: inline-flex; }
.logo-mark img { display: block; height: 34px; width: auto; }

/* ---------- light / dark switching (logo + toggle icons) ---------- */
.logo-img-dark, .icon-sun { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-img-light,
  :root:not([data-theme="light"]) .icon-moon { display: none !important; }
  :root:not([data-theme="light"]) .logo-img-dark,
  :root:not([data-theme="light"]) .icon-sun { display: block !important; }
}
:root[data-theme="dark"] .logo-img-light,
:root[data-theme="dark"] .icon-moon { display: none !important; }
:root[data-theme="dark"] .logo-img-dark,
:root[data-theme="dark"] .icon-sun { display: block !important; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  cursor: pointer; transition: border-color .15s, transform .15s, background .2s;
}
.theme-toggle:hover { border-color: var(--primary); transform: translateY(-1px); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-moon path { fill: currentColor; stroke: none; }
html { transition: background-color .2s; }
body { transition: background-color .2s, color .2s; }
.logo-word { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }

/* ---------- hero ---------- */
.hero { padding: 48px 0 32px; background:
  radial-gradient(900px 400px at 85% -10%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%),
  radial-gradient(600px 300px at -10% 110%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); }
.hero-inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 80px 0 64px; } .hero-inner { grid-template-columns: 1.05fr 1fr; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .88rem; font-weight: 500; color: var(--muted);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 25%, transparent); }
.hl { color: var(--primary); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.tick { color: var(--success); font-weight: 700; margin-right: 2px; }

.hero-photo { position: relative; margin: 0; }
.hero-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 24px; box-shadow: 0 24px 60px rgba(15, 76, 92, .28);
}
.hero-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); color: var(--text); border-radius: 999px; padding: 8px 14px;
  font-size: .85rem; font-weight: 600; box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.hero-photo figcaption .cap-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.hero-svg { width: 100%; height: auto; }
.a-desk { fill: var(--art-desk); }
.a-frame { fill: var(--art-frame); }
.a-screen { fill: var(--art-screen); }
.a-screen.alt { fill: var(--art-screen-alt); }
.a-line { fill: var(--art-line); }
.a-line.soft { fill: var(--art-line-soft); }
.a-card { fill: var(--primary); opacity: .85; }
.a-card.gold { fill: var(--accent); opacity: 1; }
.a-stand { fill: var(--art-frame); }
.a-cable { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
.a-pin path { fill: var(--accent); }
.a-pin-hole { fill: var(--bg); }
.a-spark path { fill: var(--primary); opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .a-pin { animation: bob 3.2s ease-in-out infinite; transform-origin: 470px 120px; }
  @keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}

/* ---------- name story ---------- */
.story { border-block: 1px solid var(--border); background: var(--surface); }
.story-inner { padding-top: 18px; padding-bottom: 18px; text-align: center; }
.story p { margin: 0; font-size: 1.02rem; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-tint { background: var(--tint); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.eyebrow.light { color: var(--accent); }
.lead-sm { color: var(--muted); font-size: 1.05rem; }

/* steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 14px;
}
.step:nth-child(2) .step-num { background: var(--success); }
.step:nth-child(3) .step-num { background: var(--accent); color: var(--accent-ink); }
.step:nth-child(4) .step-num { background: var(--text); color: var(--bg); }

/* kit */
.kit-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .kit-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.kit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.kit-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.kit-list strong { display: block; font-family: var(--font-head); font-weight: 600; }
.kit-list span:not(.kit-ico) { color: var(--muted); font-size: .94rem; }
.kit-ico { font-size: 1.5rem; line-height: 1; }

/* who */
.who-grid { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 640px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .who-grid { grid-template-columns: repeat(4, 1fr); } }
.who { border-top: 3px solid var(--primary); padding: 18px 4px 0; }
.who:nth-child(2) { border-color: var(--accent); }
.who:nth-child(3) { border-color: var(--success); }
.who:nth-child(4) { border-color: var(--text); }
.who p { color: var(--muted); margin: 0; font-size: .97rem; }

/* pricing */
.pricing-inner { display: grid; place-items: center; }
.price-card {
  width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 32px 28px; box-shadow: var(--shadow); text-align: center;
}
.price { font-family: var(--font-head); margin: 4px 0 4px; }
.price-num { font-size: 4rem; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; }
.price-unit { font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.price-note { color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 20px 0 24px; text-align: left; display: grid; gap: 10px; }
.price-list li { padding-left: 28px; position: relative; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.fine { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* faq */
.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-family: var(--font-head); font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* waitlist */
.waitlist { background: var(--band); color: #F3EEE6; }
.waitlist h2 { color: #fff; }
.waitlist-inner { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .waitlist-inner { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.waitlist-copy p { color: #D3E3E4; font-size: 1.05rem; }
.waitlist-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; color: #D3E3E4; }
.waitlist-points li::before { content: "•"; color: var(--accent); margin-right: 10px; font-weight: 700; }

.form { background: var(--surface); color: var(--text); border-radius: 20px; padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
@media (min-width: 640px) { .form { padding: 32px; } }
.field { margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], select {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent); }
.invalid { border-color: var(--danger) !important; }
.error { color: var(--danger); font-size: .84rem; margin: 6px 0 0; min-height: 0; }
.error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--muted); margin: 8px 0 4px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#submit-btn { margin-top: 16px; }
.form-status { margin: 14px 0 0; font-size: .95rem; text-align: center; }
.form-status.ok { color: var(--success); font-weight: 600; }
.form-status.err { color: var(--danger); }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .big { font-size: 3rem; line-height: 1; margin-bottom: 12px; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--muted); }

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-inner { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-inner { grid-template-columns: 1fr 1.6fr; } }
.logo-footer { margin-bottom: 12px; }
.privacy h3 { font-size: 1rem; }
.privacy p { color: var(--muted); font-size: .9rem; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 18px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
