/* ===========================================================
   Shadow+ — night / spotlight / long-shadow theme
   Palette pulled from the dogs-at-night photo:
   near-black ground, cool concrete, warm cream spotlight.
   =========================================================== */

:root {
  --bg:        #08090b;   /* deep night */
  --bg-2:      #0e0f12;   /* raised panels */
  --bg-3:      #15171b;   /* cards */
  --concrete:  #23262b;   /* lit ground grey */
  --line:      #24262b;
  --cream:     #f4ecdb;   /* warm spotlight highlight */
  --cream-dim: #cdbf9f;
  --amber:     #d8b066;   /* single warm accent */
  --amber-2:   #b9904a;
  --ink:       #f4ecdb;
  --muted:     #9aa0a8;
  --muted-2:   #6c727b;
  --radius:    18px;
  --maxw:      1180px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand__word {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.brand__plus { color: var(--amber); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(180deg, var(--cream), var(--cream-dim));
  color: #14130f;
  box-shadow: 0 10px 40px -12px rgba(244,236,219,.45);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(244,236,219,.6); }
.btn--ghost {
  background: rgba(255,255,255,.03);
  border-color: rgba(244,236,219,.18);
  color: var(--ink);
}
.btn--ghost:hover { border-color: rgba(244,236,219,.45); background: rgba(255,255,255,.06); }
.btn--lg { font-size: 17px; padding: 17px 34px; }

.kicker {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 14px;
}
.eyebrow {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--cream-dim);
  margin: 0 0 22px;
}

/* ===========================================================
   NAV
   =========================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 56px);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(8,9,11,.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); }
.brand__word { font-size: 20px; letter-spacing: .04em; }
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  color: var(--muted);
}
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: 0; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(20px, 5vw, 56px) clamp(60px, 10vh, 120px);
  overflow: hidden;
}
.hero__scene { position: absolute; inset: 0; z-index: 0; }
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__spotlight {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 46% 8%, rgba(244,236,219,.16), transparent 60%),
    radial-gradient(120% 90% at 50% 120%, transparent 40%, var(--bg) 78%);
  pointer-events: none;
}
/* veil ABOVE the dog art but BELOW the copy — keeps text/buttons legible
   wherever they sit over the scene (gentle on desktop, stronger on mobile) */
.hero__scene::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(8,9,11,.42) 80%, var(--bg) 100%);
}
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero__title {
  font-size: clamp(38px, 6.4vw, 82px);
  margin: 0 0 22px;
  text-shadow: 0 18px 60px rgba(0,0,0,.7);
}
.hero__sub {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 34px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(244,236,219,.3);
  border-radius: 16px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: var(--cream);
  animation: scroll 1.6s var(--ease) infinite;
}
@keyframes scroll { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* ===========================================================
   CONCEPT
   =========================================================== */
.concept {
  padding: clamp(90px, 14vh, 160px) clamp(20px, 5vw, 56px);
  max-width: 1000px; margin: 0 auto;
  text-align: center;
}
.concept__line {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--muted-2);
  margin: 0;
}
.concept__line em { color: var(--amber); font-style: italic; }
.concept__line strong { color: var(--ink); font-weight: 800; }

/* ===========================================================
   SECTION scaffold
   =========================================================== */
.section { padding: clamp(70px, 11vh, 130px) clamp(20px, 5vw, 56px); max-width: var(--maxw); margin: 0 auto; }
.section__head { max-width: 720px; margin: 0 0 56px; }
.section__head h2 { font-size: clamp(28px, 4.4vw, 50px); margin: 0 0 16px; }
.section__lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); margin: 0; }

/* ---------- products ---------- */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.product-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 20% -10%, rgba(244,236,219,.07), transparent 60%);
  pointer-events: none;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(244,236,219,.22); }
.product-card--accent::after { background: radial-gradient(80% 60% at 20% -10%, rgba(216,176,102,.12), transparent 60%); }
.product-card__icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(244,236,219,.06);
  border: 1px solid var(--line);
  color: var(--cream);
  margin-bottom: 24px;
}
.product-card--accent .product-card__icon { color: var(--amber); background: rgba(216,176,102,.1); }
.product-card__icon svg { width: 36px; height: 36px; }
.product-card h3 { font-size: 28px; margin-bottom: 6px; }
.product-card__role { color: var(--amber); font-weight: 600; margin: 0 0 14px; font-size: 15px; }
.product-card p { color: var(--muted); margin: 0 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 9px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}

/* ---------- protect ---------- */
.protect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.protect-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 20px 30px;
  text-align: center;
  color: var(--cream-dim);
  transition: transform .3s var(--ease), color .3s, border-color .3s;
}
.protect-item:hover { transform: translateY(-5px); color: var(--cream); border-color: rgba(244,236,219,.22); }
.protect-item svg { width: 72px; height: 54px; margin: 0 auto 16px; }
.protect-item h3 { font-size: 18px; color: var(--ink); }
.protect__note { text-align: center; color: var(--muted-2); margin: 28px 0 0; }

/* ---------- how ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 34px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.step__num { font-family: "Sora", sans-serif; font-weight: 800; font-size: 42px; color: rgba(216,176,102,.35); display: block; margin-bottom: 14px; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(244,236,219,.18); }
.feature__icon { font-size: 30px; margin-bottom: 14px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- app ---------- */
.app__inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center;
}
.app__copy h2 { font-size: clamp(28px, 4.4vw, 50px); margin: 0 0 16px; }
.app__badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px; border-radius: 14px;
  background: var(--bg-3); border: 1px solid var(--line); color: var(--ink);
  transition: border-color .25s, transform .25s var(--ease);
}
.store-badge:hover { border-color: rgba(244,236,219,.35); transform: translateY(-2px); }
.store-badge span { display: flex; flex-direction: column; font-family: "Sora", sans-serif; font-weight: 700; font-size: 17px; line-height: 1.1; }
.store-badge small { font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .02em; }

/* phone mock */
.app__device { display: grid; place-items: center; }
.phone {
  position: relative;
  width: 270px; height: 560px;
  border-radius: 44px;
  background: linear-gradient(160deg, #1c1e22, #0c0d0f);
  border: 1px solid #2c2f35;
  padding: 14px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), inset 0 0 0 2px rgba(255,255,255,.02);
}
.phone__notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; background: #050506; border-radius: 0 0 14px 14px; z-index: 3; }
.phone__screen {
  position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, #1a1c20, #0a0b0d);
}
.ui-map { position: absolute; inset: 0; background:
  linear-gradient(rgba(244,236,219,.04) 1px, transparent 1px) 0 0/100% 46px,
  linear-gradient(90deg, rgba(244,236,219,.04) 1px, transparent 1px) 0 0/46px 100%;
}
.ui-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(216,176,102,.18); }
.ui-dot--1 { top: 28%; left: 30%; }
.ui-dot--2 { top: 46%; left: 62%; background: var(--cream); box-shadow: 0 0 0 5px rgba(244,236,219,.16); }
.ui-dot--3 { top: 64%; left: 40%; }
.ui-ring { position: absolute; top: 46%; left: 62%; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--cream); transform: translate(-1px,-1px); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(6); opacity: 0; } }
.ui-card { position: absolute; left: 16px; right: 16px; bottom: 20px; background: rgba(20,22,26,.85); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.ui-row { display: flex; align-items: center; gap: 12px; }
.ui-pill { width: 38px; height: 38px; border-radius: 11px; background: rgba(216,176,102,.16); }
.ui-armed { font-family: "Sora", sans-serif; font-weight: 800; letter-spacing: .12em; color: var(--amber); font-size: 14px; margin-left: auto; }
.ui-row--sub { margin-top: 12px; }
.ui-bar { height: 8px; border-radius: 6px; width: 100%; background: linear-gradient(90deg, var(--amber) 64%, rgba(255,255,255,.08) 64%); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: clamp(80px, 13vh, 150px) clamp(20px, 5vw, 56px);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(216,176,102,.1), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(30px, 5vw, 58px); margin: 0 0 12px; }
.cta-band p { color: var(--muted); margin: 0 0 30px; font-size: 19px; }

/* ---------- footer ---------- */
.footer {
  padding: 48px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
  max-width: var(--maxw); margin: 0 auto;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand .brand__word { font-size: 18px; }
.footer__links { display: flex; gap: 22px; margin-left: auto; color: var(--muted); font-size: 14px; }
.footer__links a:hover { color: var(--ink); }
.footer__legal { width: 100%; color: var(--muted-2); font-size: 13px; margin: 8px 0 0; }

/* ===========================================================
   Reveal-on-scroll
   =========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,9,11,.96); backdrop-filter: blur(14px);
    padding: 24px clamp(20px,5vw,56px) 30px; border-bottom: 1px solid var(--line);
  }
  .product-grid, .protect-grid, .steps, .feature-grid, .app__inner { grid-template-columns: 1fr; }
  .protect-grid { grid-template-columns: 1fr 1fr; }
  .app__device { order: -1; }
}
/* Mobile hero: copy at the top, dogs shrink into a bottom strip so they never
   collide with the headline or the CTA buttons. */
@media (max-width: 760px) {
  .hero {
    justify-content: flex-start;
    padding-top: 116px;
    padding-bottom: 0;
  }
  .hero__art { top: auto; bottom: 0; height: 50%; }
  .hero__scene::after {
    background: linear-gradient(180deg, transparent 26%, rgba(8,9,11,.62) 55%, rgba(8,9,11,.18) 100%);
  }
  .hero__copy { max-width: 100%; }
  .hero__title { margin-bottom: 18px; }
  .hero__sub { margin-bottom: 26px; }
  .hero__scroll { display: none; }
}

@media (max-width: 540px) {
  .protect-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
