:root {
  --bg: #f6efe7;
  --bg-alt: #efe4d8;
  --surface: #fffaf5;
  --text: #24170d;
  --text-muted: #6b5544;
  --accent: #8b5a2b;
  --accent-strong: #654321;
  --accent-bright: #f0852d;
  --border: rgba(101, 67, 33, 0.14);
  --badge-bg: #000;
  --badge-fg: #fff;
  --hero-from: #fbf4ec;
  --hero-to: #ecdccb;
  --radius: 20px;
  --shadow: 0 20px 50px -20px rgba(60, 35, 15, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a120c;
    --bg-alt: #221810;
    --surface: #2a1e15;
    --text: #f5ebe0;
    --text-muted: #c4ad98;
    --accent: #d9a273;
    --accent-strong: #f0c49b;
    --border: rgba(240, 196, 155, 0.14);
    --badge-bg: #fff;
    --badge-fg: #000;
    --hero-from: #2a1c12;
    --hero-to: #150e09;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  }
}

:root[data-theme="dark"] {
  --bg: #1a120c;
  --bg-alt: #221810;
  --surface: #2a1e15;
  --text: #f5ebe0;
  --text-muted: #c4ad98;
  --accent: #d9a273;
  --accent-strong: #f0c49b;
  --border: rgba(240, 196, 155, 0.14);
  --badge-bg: #fff;
  --badge-fg: #000;
  --hero-from: #2a1c12;
  --hero-to: #150e09;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; }
.nav nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  border-radius: 999px; padding: 10px 18px;
}
.btn:hover { background: var(--accent-strong); color: #fff; }
.btn-small { font-size: 0.9rem; padding: 7px 14px; min-height: 36px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn { color: #1a120c; }
}
:root[data-theme="dark"] .btn { color: #1a120c; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--hero-from), var(--hero-to)); padding: 64px 0 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 28px; }
.lead { font-size: 1.25rem; color: var(--text-muted); max-width: 34ch; }
.cta-row { margin-top: 28px; }
.cta-note { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; }
.hero-shot { align-self: end; }
.hero-shot img {
  width: min(380px, 100%); margin-inline: auto;
  border-radius: 28px 28px 0 0;
  box-shadow: var(--shadow);
}

.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--badge-bg); color: var(--badge-fg);
  text-decoration: none; border-radius: 12px;
  padding: 10px 20px 10px 16px; min-height: 56px;
  transition: transform 0.15s ease;
}
.store-badge:hover { color: var(--badge-fg); transform: translateY(-1px); }
.store-badge svg { width: 26px; height: 32px; }
.store-badge span { display: flex; flex-direction: column; font-size: 1.45rem; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.store-badge small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0; margin-bottom: 3px; }
@media (prefers-reduced-motion: reduce) { .store-badge { transition: none; } .store-badge:hover { transform: none; } }

/* Sections */
section { padding: 96px 0; }
.section-lead { color: var(--text-muted); font-size: 1.15rem; max-width: 52ch; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.feature p { color: var(--text-muted); margin: 0; }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }

.gallery { background: var(--bg-alt); }
.shots {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 24px max(16px, (100% - 1120px) / 2) 32px;
  scrollbar-width: thin;
}
.shots img {
  flex: 0 0 auto; width: 260px; border-radius: 22px;
  scroll-snap-align: center; box-shadow: var(--shadow);
}

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.plan {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
}
.plan-pro { border: 2px solid var(--accent); }
.price { font-size: 1.05rem; font-weight: 600; color: var(--accent); }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { padding: 8px 0 8px 28px; position: relative; border-top: 1px solid var(--border); }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.fine { color: var(--text-muted); font-size: 0.9rem; margin-top: 20px; }

.privacy { background: var(--bg-alt); }
.privacy-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.privacy p { color: var(--text-muted); }
.disclaimer { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.disclaimer p { margin: 0; font-size: 0.95rem; }

.final-cta { text-align: center; }
.final-cta img { margin: 0 auto 20px; border-radius: 16px; box-shadow: var(--shadow); }
.final-cta .cta-note { max-width: 48ch; margin-inline: auto; margin-top: 20px; }

.footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--text-muted); font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer p { margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: var(--text-muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Narrow screens */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .hero { padding-top: 40px; }
  .hero-inner, .plans, .privacy-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: 36px; }
  .hero-shot img { width: min(300px, 82%); }
  .feature-grid { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .shots img { width: 220px; }
}
