/* Lamp Sage — site. Field gear: dark olive, map contours, safety orange, cream, condensed headings.
   Brand: khaki #CDBF95, olive #5B5A3C, dark olive #33321F, safety orange #FF6A13, cream #FFEBCB. */
:root {
  --bg: #1c1b13;
  --ink: #FFF5E6;
  --ink2: rgba(255, 235, 203, .76);
  --ink3: rgba(255, 235, 203, .52);
  --line: rgba(255, 235, 203, .13);
  --card: rgba(255, 235, 203, .045);
  --gold: #FF6A13;            /* the accent (safety orange) */
  --khaki: #CDBF95;
  --cream: #FFEBCB;
  --display: "DIN Condensed", "Avenir Next Condensed", "Bahnschrift", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --w: 1160px;
  --gut: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); font: 400 18px/1.55 var(--sans); letter-spacing: -.008em;
  background: radial-gradient(120% 70% at 50% -8%, #4b4a32 0%, #33321f 34%, var(--bg) 72%) no-repeat, var(--bg);
  min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; font-stretch: condensed; text-transform: uppercase; letter-spacing: .005em; line-height: .92; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-style: normal; color: var(--gold); }
.gold { color: var(--gold); }
.wrap { width: 100%; max-width: calc(var(--w) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.eyebrow { font: 700 15px/1 var(--display); font-stretch: condensed; letter-spacing: .2em; text-transform: uppercase; color: var(--khaki); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 1px; background: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 27px;
  font: 600 17px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; }
.btn.primary { background: linear-gradient(180deg, #ff8a45, var(--gold)); color: #1b1405; box-shadow: 0 10px 30px -8px rgba(255, 106, 19, .55), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.ghost { background: rgba(255,235,203,.07); border: 1px solid rgba(255,235,203,.2); color: var(--ink); }
.btn.small { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 19px; background: rgba(255,106,19,.12); border: 1px solid rgba(255,106,19,.45); color: #FFB88E; }
a.btn[href]:hover { transform: translateY(-1px); }
a.btn.primary[href]:hover { box-shadow: 0 14px 36px -8px rgba(255, 106, 19, .7), inset 0 1px 0 rgba(255,255,255,.35); }
a.btn:not([href]) { cursor: default; }
.btn svg { width: 20px; height: 20px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px);
  background: rgba(28, 27, 19, .66); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 700 25px/1 var(--display); font-stretch: condensed; letter-spacing: .05em; text-transform: uppercase; }
.brand span { padding-top: 3px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,235,203,.12), 0 6px 18px -4px rgba(0,0,0,.6); }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav nav { display: none; } .nav .btn.small { margin-left: auto; } }

/* Hero */
.hero { padding-top: clamp(48px, 9vw, 104px); text-align: center; }
.hero-copy { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(60px, 11vw, 128px); }
.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink2); margin-top: 26px; max-width: 680px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.fine { font-size: 14px; color: var(--ink3); margin-top: 18px; }
.hero-media { margin-top: clamp(44px, 7vw, 76px); position: relative; }
.hero-media::before { content: ""; position: absolute; inset: 8% 6% -6%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 120, 40, .2), rgba(255, 106, 19, 0)); filter: blur(30px); }
.hero-media video { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: clamp(16px, 2.4vw, 28px); background: #22211a;
  box-shadow: 0 0 0 1px rgba(255,235,203,.1), 0 50px 120px -40px rgba(0,0,0,.9); object-fit: cover; }
@media (max-width: 760px) {
  .hero-media video { aspect-ratio: 4 / 5; max-width: 460px; margin: 0 auto; }
}

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.proof > div { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px 24px 22px; }
.proof svg { width: 26px; height: 26px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.proof h2 { font: 700 24px/1.05 var(--display); font-stretch: condensed; letter-spacing: .04em; }
.proof p { color: var(--ink2); font-size: 15.5px; margin-top: 6px; }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; } }

/* Section heads */
section { position: relative; }
.sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(46px, 7.4vw, 88px); }

/* Features */
.features { padding-top: clamp(96px, 13vw, 160px); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 7vw, 96px); }
.feature + .feature { margin-top: clamp(72px, 10vw, 128px); }
.feature.flip .shot { order: 2; }
.feature h3 { font-size: clamp(42px, 5.4vw, 64px); }
.feature .text p:not(.eyebrow) { color: var(--ink2); margin-top: 20px; max-width: 500px; }
.shot { position: relative; display: flex; justify-content: center; }
.shot::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 130, 50, .22), rgba(255, 106, 19, .07) 55%, rgba(255, 106, 19, 0)); }
.shot img { width: min(100%, 360px); height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; background: rgba(255,235,203,.07); border: 1px solid var(--line); }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .feature.flip .shot { order: 0; }
  .feature .text { display: flex; flex-direction: column; align-items: center; }
  .feature .text p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .tags { justify-content: center; }
  .shot img { width: min(78%, 320px); }
}

/* Offline */
.offline { margin-top: clamp(96px, 13vw, 160px); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  background: linear-gradient(160deg, rgba(255,235,203,.06), rgba(255,235,203,.015)); border: 1px solid var(--line); border-radius: 32px;
  padding: clamp(32px, 6vw, 72px); max-width: var(--w); }
.offline h2 { font-size: clamp(42px, 5.6vw, 68px); }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink2); }
.checks li strong { color: var(--ink); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,106,19,.16);
  box-shadow: inset 0 0 0 1px rgba(255,106,19,.55); }
.checks li::after { content: ""; position: absolute; left: 6.5px; top: 9px; width: 7px; height: 4px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.offline .shot img { width: min(100%, 320px); }
@media (max-width: 860px) {
  .offline { grid-template-columns: 1fr; margin-left: var(--gut); margin-right: var(--gut); width: auto; }
  .offline .shot { order: -1; }
  .offline .shot img { width: min(70%, 280px); }
}
@media (min-width: 861px) { .offline { margin-left: auto; margin-right: auto; } }

/* Private */
.private { padding: clamp(110px, 15vw, 190px) 0; text-align: center; overflow: hidden; }
.private h2 { font-size: clamp(64px, 13vw, 170px); line-height: .88; }
.private h2 span { display: inline-block; }
.private p a { color: var(--gold); text-underline-offset: 3px; white-space: nowrap; }
.private p { color: var(--ink2); font-size: clamp(18px, 2.2vw, 22px); margin: 30px auto 0; max-width: 560px; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px; }
.steps .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font: 700 24px/1 var(--display); color: #1b1405; padding-top: 3px;
  background: var(--gold); margin-bottom: 22px; }
.steps h3 { font-size: 34px; }
.steps p { color: var(--ink2); font-size: 16px; margin-top: 10px; }
.note { text-align: center; color: var(--ink3); font-size: 15px; margin-top: 28px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* At a glance */
.facts { padding-top: clamp(96px, 13vw, 160px); }
.facts-lead { max-width: 760px; margin: 0 auto 36px; text-align: center; color: var(--ink2); font-size: clamp(17px, 2vw, 20px); }
.facts-list { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.facts-list > div { background: #22211a; padding: 18px 22px; }
.facts-list dt { font: 700 15px/1 var(--display); font-stretch: condensed; letter-spacing: .14em; text-transform: uppercase; color: var(--khaki); margin-bottom: 8px; }
.facts-list dd { margin: 0; color: var(--ink2); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 760px) { .facts-list { grid-template-columns: 1fr; } }

/* FAQ */
.faq { padding-top: clamp(96px, 13vw, 160px); }
.qa { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 2px;
  font: 600 19px/1.35 var(--sans); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; }
.qa details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.qa summary:hover { color: #fff; }
.qa details p { color: var(--ink2); padding: 0 2px 26px; max-width: 700px; }

/* Final CTA: the app icon, its screen glowing */
.final { padding: clamp(110px, 15vw, 180px) var(--gut); text-align: center; display: flex; flex-direction: column; align-items: center; }
.tile { width: 140px; height: 140px; border-radius: 31px; overflow: hidden; margin-bottom: 40px;
  box-shadow: 0 0 0 1px rgba(255,235,203,.1), 0 30px 70px -20px rgba(0,0,0,.8), 0 0 90px rgba(255,120,40,.22); }
.tile svg { width: 100%; height: 100%; }
.tile .glow { animation: breathe 2.6s ease-in-out infinite; }
.tile .dev-cur { animation: blink 1.1s steps(1, end) infinite; }
@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tile .glow, .tile .dev-cur { animation: none; } }
.final h2 { font-size: clamp(60px, 10vw, 120px); }
.final p { color: var(--ink2); font-size: clamp(18px, 2.2vw, 22px); margin: 20px 0 36px; }

/* Legal pages */
.legal { max-width: calc(760px + 2 * var(--gut)); padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(72px, 10vw, 120px); }
.legal h1 { font-size: clamp(54px, 9vw, 88px); margin-bottom: 18px; }
.legal h1 + p, .legal h1 + p + p { color: var(--ink3); font-size: 15px; }
.legal h1 + p + p { margin-top: 4px; }
.legal h2 { font-size: clamp(30px, 3.8vw, 38px); margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink2); font-size: 17px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0 0; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--gold); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--gold); text-underline-offset: 3px; }
.legal mark.todo { background: rgba(255, 120, 60, .2); color: #ffb08a; border: 1px dashed rgba(255, 140, 90, .7); border-radius: 5px; padding: 0 5px; font-weight: 600; }
.nav nav a[aria-current="page"] { color: var(--ink); }

/* 404 */
.notfound { min-height: 100vh; justify-content: center; }
.notfound img { width: 104px; height: 104px; border-radius: 24px; margin-bottom: 36px; box-shadow: 0 0 80px rgba(255,120,40,.22); }
.notfound .links { margin: 28px 0 0; font-size: 15px; }
.notfound .links a { color: var(--ink2); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink3); font-size: 13.5px; }
.foot p + p { margin-top: 8px; }
.foot a { color: var(--ink2); text-underline-offset: 3px; }
.foot a:hover { color: var(--ink); }

/* Reveal on scroll (only when JS is running and motion is allowed) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }
