:root {
  --ink: #1c1410;
  --ink-soft: #5c4a3a;
  --cream: #fff8ef;
  --sand: #f3e2c8;
  --amber: #e8912d;
  --amber-deep: #c46a12;
  --teal: #1f9a8a;
  --teal-deep: #0f6b60;
  --dusk: #2a1a12;
  --dusk-2: #4a2e1c;
  --card: rgba(255, 248, 239, 0.92);
  --edge: rgba(28, 20, 16, 0.08);
  --max: 1040px;
  --radius: 18px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(232, 145, 45, 0.22), transparent 60%),
    linear-gradient(180deg, #f7ecda 0%, var(--cream) 420px, #efe2cf 100%);
  min-height: 100vh;
}

h1, h2, h3, .brand, .btn, .display {
  font-family: "Lilita One", "Sora", system-ui, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 400;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 0.35em; color: var(--cream); text-shadow: 0 2px 0 rgba(0,0,0,0.25); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.6em; color: var(--dusk); }
h3 { font-size: 1.15rem; margin: 0 0 0.35em; color: var(--dusk); }

a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--amber-deep); }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 248, 239, 0.82);
  border-bottom: 1px solid var(--edge);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--dusk); text-decoration: none; font-size: 1.35rem;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.92rem; font-family: "Sora", sans-serif; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--amber-deep); }

.site-footer {
  margin-top: 72px; padding: 36px 0 48px;
  border-top: 1px solid var(--edge); color: var(--ink-soft); font-size: 0.92rem;
  background: rgba(255,255,255,0.35);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--amber-deep); }

/* ---- hero (full-bleed) */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  padding: 0 0 56px;
  overflow: hidden;
  color: var(--cream);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(26, 16, 10, 0.35) 0%, rgba(26, 16, 10, 0.55) 45%, rgba(26, 16, 10, 0.88) 100%),
    url("bg-hero.jpg") center 35% / cover no-repeat;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
  padding-top: 88px;
}
.hero .eyebrow {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 10px;
}
.hero .lead {
  font-size: 1.1rem;
  max-width: 34ch;
  color: rgba(255, 248, 239, 0.88);
  margin: 0 0 1.4em;
}
.hero .brand-mark {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--amber);
  margin: 0 0 0.15em;
  text-shadow: 0 2px 0 rgba(0,0,0,0.3);
}
.hero-art {
  justify-self: end;
  width: min(420px, 100%);
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.45));
  animation: floaty 5.5s ease-in-out infinite;
}
.hero-art img { width: 100%; height: auto; display: block; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--amber), var(--amber-deep));
  color: #1c1410;
  text-decoration: none;
  box-shadow: 0 8px 0 rgba(0,0,0,0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 0 rgba(0,0,0,0.2); color: #1c1410; }
.btn.secondary {
  background: rgba(255,248,239,0.12);
  color: var(--cream);
  border: 1px solid rgba(255,248,239,0.35);
  box-shadow: none;
}
.btn.secondary:hover { background: rgba(255,248,239,0.2); color: var(--cream); }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn small { display: block; font-family: "Sora", sans-serif; font-size: 0.68rem; font-weight: 600; opacity: 0.75; letter-spacing: 0; }
.btn span { display: block; line-height: 1.15; }
.note { font-size: 0.88rem; color: rgba(255,248,239,0.7); margin: 0; }

/* ---- sections */

.section { padding: 64px 0 8px; }
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 10px 28px rgba(74, 46, 28, 0.06);
  transition: transform 0.2s ease;
}
.feature:hover { transform: translateY(-3px); }
.feature .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 8px;
}
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

.legal-strip {
  margin-top: 40px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(31, 154, 138, 0.08);
  border: 1px solid rgba(31, 154, 138, 0.18);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.legal-strip a { font-weight: 700; }

/* ---- screenshots */

.shots-section { padding-bottom: 0; scroll-margin-top: 72px; }
.shots-lead { margin: -0.3em 0 1.2em; color: var(--ink-soft); }
.shots {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.shot { margin: 0; text-align: center; }
.shot img {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  background: var(--dusk-2);
  box-shadow: 0 14px 30px rgba(74, 46, 28, 0.22);
  transition: transform 0.2s ease;
}
.shot img:hover { transform: translateY(-4px); }
.shot-cap {
  display: block; margin-top: 10px;
  font-family: "Lilita One", "Sora", sans-serif; letter-spacing: 0.02em;
  color: var(--dusk); font-size: 1.05rem;
}

/* ---- docs */

.doc { padding: 40px 0 20px; max-width: 760px; }
.doc .updated { color: var(--ink-soft); font-size: 0.92rem; margin-top: -0.4em; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin: 0.35em 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 1em 0; }
.doc th, .doc td { border: 1px solid var(--edge); padding: 10px 12px; text-align: left; vertical-align: top; background: rgba(255,255,255,0.5); }
.doc th { background: rgba(232, 145, 45, 0.15); }
.doc .card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 1.2em 0;
}
details {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: 12px 16px;
  margin: 10px 0;
}
details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--dusk);
}
details p, details ul { margin: 0.6em 0 0.2em; color: var(--ink-soft); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; order: -1; width: min(300px, 70vw); }
  .features { grid-template-columns: 1fr; }
  .shots {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -20px; padding: 4px 20px 18px;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  }
  .shot { flex: 0 0 62vw; max-width: 300px; scroll-snap-align: center; }
  .nav { gap: 12px; }
  .hero { min-height: auto; padding-bottom: 40px; }
}
