/* First Rise: Artifact Finder, coming-soon page. Mobile first, no external requests. */
:root {
  --earth: #3a2f24;
  --earth-soft: #5d5043;
  --rust: #b0602a;
  --rust-text: #8f4a1d;
  --green: #2f5a34;
  --green-lt: #4f8a45;
  --gold: #d9b24c;
  --gold-lt: #f0a63a;
  --cream: #fbefd2;
  --paper: #fdf7e8;
  --navy: #2b3a55;
  --dawn: #f3a95c;
  --radius: 22px;
  --gutter: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--earth);
  background: var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--earth); }
h1, h2, h3, .eyebrow { text-wrap: balance; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; margin: 0; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-lt); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 50;
  background: var(--earth); color: var(--cream); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 8px; }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand img { width: 210px; height: auto; }
.nav { display: none; align-items: center; gap: 22px; font-weight: 600; font-size: 0.97rem; }
.nav a { color: var(--earth); text-decoration: none; }
.nav a:hover { color: var(--rust-text); text-decoration: underline; }
.nav a.btn { color: #fff; }
.nav a.btn:hover { color: #fff; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  font: inherit; font-weight: 800; font-size: 1.05rem; cursor: pointer; text-decoration: none;
  background: var(--gold-lt); color: var(--earth);
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #f7b856; color: var(--earth); transform: translateY(-1px); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: .95rem; box-shadow: none; background: var(--green); color: #fff; }
.btn--small:hover { background: var(--earth); color: #fff; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(47,90,52,.35); }
.btn--green:hover { background: var(--earth); color: #fff; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  margin: 0 12px; border-radius: 28px; color: var(--cream);
  background:
    radial-gradient(130% 55% at 50% 100%, rgba(243,169,92,.95) 0%, rgba(243,169,92,.35) 45%, rgba(243,169,92,0) 75%),
    linear-gradient(180deg, #2b3a55 0%, #2e3b57 50%, #3d4560 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/img/contours.svg") center / cover no-repeat; opacity: .12;
}
.hero .wrap { position: relative; display: grid; gap: 28px; padding-top: 34px; padding-bottom: 34px; }
.eyebrow { margin: 0 0 14px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lt); }
.hero h1 { font-size: clamp(2.3rem, 9.4vw, 4rem); color: #fff8e6; }
.hero h1 em { font-style: normal; color: var(--gold-lt); }
.lede { margin: 18px 0 24px; font-size: 1.14rem; color: #f3e6c8; max-width: 34em; }
.cta-note { margin: 14px 0 0; font-size: .92rem; color: #e9dcc0; }
.hero-shot { margin: 0; }
.shot { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(20,20,35,.45), 0 0 0 5px rgba(255,248,230,.9); }
.shot img { width: 100%; }

/* Facts */
.facts { list-style: none; margin: 0; padding: 26px 0 8px; display: grid; gap: 14px; }
.facts li { background: #fff; border: 1px solid #ecdcb8; border-radius: 16px; padding: 16px 18px; }
.facts strong { display: block; font-size: 1.25rem; color: var(--green); }
.facts span { color: var(--earth-soft); font-size: .98rem; }

/* Sections */
.section { padding: 56px 0 8px; }
.section-title { font-size: clamp(1.8rem, 6.4vw, 2.6rem); margin-bottom: 8px; }
.section-sub { color: var(--earth-soft); max-width: 36em; margin-bottom: 8px; }

.feature { display: grid; gap: 22px; padding: 38px 0; border-top: 1px solid #ecdcb8; }
.feature:first-of-type { border-top: 0; }
.feature > * { min-width: 0; }
.kicker { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--rust-text); }
.feature h3 { font-size: clamp(1.5rem, 5.6vw, 2.1rem); margin-bottom: 12px; }
.feature p { color: #4a3e33; }
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--cream); border: 1px solid #e6d3a6; border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: .92rem; }

figure { margin: 0; }
figcaption { margin-top: 10px; font-size: .92rem; color: var(--earth-soft); }
.card-img { border-radius: var(--radius); overflow: hidden; border: 1px solid #e3d2a8; background: #fff; box-shadow: 0 12px 30px rgba(58,47,36,.16); }
.card-img img { width: 100%; }

.pair { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.pair figure { flex: 0 0 82%; scroll-snap-align: start; }
.swipe-hint { margin: 6px 0 0; font-size: .85rem; color: var(--earth-soft); }

.phone-shot { max-width: 320px; margin: 0 auto; }
.small-shot { max-width: 300px; margin: 0 auto; }
.soil-fig { position: relative; padding-bottom: 54px; }
.soil-fig .key { position: absolute; left: 12px; bottom: 0; width: min(330px, 74%); border-radius: 14px; overflow: hidden; border: 1px solid #d9c79a; box-shadow: 0 10px 26px rgba(58,47,36,.28); background: #fff; }
.flint-fig { max-width: 440px; margin: 0 auto; }

/* More in the app */
.more { background: var(--cream); margin-top: 40px; padding: 52px 0 56px; }
.more-grid { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.more-grid li { background: #fffaf0; border: 1px solid #ead9ae; border-radius: 16px; padding: 18px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--green); display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: #fff8e6; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.more-grid h3 { font-size: 1.08rem; margin-bottom: 4px; }
.more-grid p { margin: 0; color: #4a3e33; font-size: .98rem; }

/* Hunt responsibly */
.rules { background: var(--earth); color: var(--cream); padding: 56px 0; }
.rules .kicker { color: var(--gold-lt); }
.rules h2 { font-size: clamp(1.8rem, 6.4vw, 2.6rem); color: #fff8e6; margin-bottom: 22px; }
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: rule; }
.rule-list li { counter-increment: rule; position: relative; padding: 18px 18px 18px 64px; border: 1px solid rgba(251,239,210,.28); border-radius: 16px; background: rgba(251,239,210,.06); }
.rule-list li::before { content: counter(rule); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-lt); color: var(--earth); font-weight: 800; display: grid; place-items: center; }
.rule-list strong { display: block; font-size: 1.1rem; color: #fff8e6; margin-bottom: 2px; }
.rule-list span { color: #eadfc4; }
.rules-foot { margin: 20px 0 0; color: #eadfc4; font-size: .98rem; }

/* Waitlist */
.waitlist { padding: 56px 0 64px; color: var(--cream); background: linear-gradient(180deg, #2b3a55 0%, #3a4560 55%, #7d6360 82%, #f3a95c 100%); }
.waitlist .wrap { display: grid; gap: 26px; }
.waitlist h2 { font-size: clamp(1.9rem, 7vw, 2.9rem); color: #fff8e6; }
.waitlist .intro { color: #f3e6c8; max-width: 30em; margin: 12px 0 0; }
.app-tile { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.app-tile img { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.app-tile p { margin: 0; font-weight: 800; color: #fff8e6; line-height: 1.25; }
.app-tile span { display: block; font-weight: 600; color: #f3e6c8; font-size: .95rem; }
.form-card { background: var(--paper); color: var(--earth); border-radius: 24px; padding: 22px; box-shadow: 0 18px 44px rgba(20,20,35,.4); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; }
.field .opt { font-weight: 600; color: var(--earth-soft); }
.field input { width: 100%; min-height: 52px; padding: 0 14px; font: inherit; color: var(--earth); background: #fff; border: 2px solid #cdb98c; border-radius: 12px; }
.field input:focus { outline: 3px solid var(--gold-lt); outline-offset: 1px; border-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.5em; margin: 14px 0 0; font-weight: 700; }
.status.ok { color: var(--green); }
.status.err { color: #9b2c1c; }
.fine { margin: 14px 0 0; font-size: .9rem; color: var(--earth-soft); }
.form-card .btn { width: 100%; }

/* Footer */
.site-footer { background: var(--earth); color: #eadfc4; padding: 34px 0 40px; font-size: .95rem; }
.site-footer a { color: #ffe3a8; }
.site-footer p { margin: 0 0 8px; }
.credits { font-size: .85rem; color: #cbbd9f; }

/* Privacy / 404 pages */
.doc { padding: 36px var(--gutter) 60px; max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: 12px; }
.doc h2 { font-size: 1.3rem; margin: 28px 0 8px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.updated { color: var(--earth-soft); font-size: .95rem; }

@media (min-width: 560px) {
  .pair figure { flex-basis: 60%; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 760px) {
  :root { --gutter: 28px; }
  body { font-size: 1.125rem; }
  .brand img { width: 250px; }
  .nav { display: flex; }
  .hero { margin: 0 20px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .section { padding-top: 76px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; }
  .feature:nth-of-type(even) .feature-text { order: 2; }
  .pair { overflow: visible; display: grid; grid-template-columns: 1fr 1fr; }
  .pair figure { flex-basis: auto; }
  .swipe-hint { display: none; }
  .more-grid { grid-template-columns: repeat(3, 1fr); }
  .rule-list { grid-template-columns: repeat(3, 1fr); }
  .rule-list li { padding: 66px 20px 20px; }
  .waitlist .wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
}

@media (min-width: 1000px) {
  .hero .wrap { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 48px; }
  .feature--wide { grid-template-columns: 1.1fr 0.9fr; }
}

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