/* Sun Catcher — the app's own palette: night sky, amber sun, panel blue. */
:root {
  --sky-0: #060a13;
  --sky-1: #0a1120;
  --sky-2: #121b2e;
  --sky-3: #1b2740;
  --ink: #eef2f8;
  --ink-dim: #a6b2c6;
  --sun: #f5a524;
  --sun-soft: #ffc24d;
  --panel: #5aa9f0;
  --green: #2e9e5b;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 600px at 12% -10%, #1d2c49 0%, transparent 60%),
    radial-gradient(700px 500px at 92% 4%, #2a1f14 0%, transparent 55%),
    var(--sky-1);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-dim); }
em { color: var(--ink); font-style: normal; font-weight: 600; }
a { color: var(--sun-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(10, 17, 32, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.01em;
}
.brand img { border-radius: 8px; }
.site-header nav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.6rem); }
.site-header nav a { color: var(--ink-dim); font-size: .93rem; font-weight: 550; }
.site-header nav a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  padding: .45rem .9rem;
  border-radius: 999px;
  background: var(--sun);
  color: #22160a !important;
  font-weight: 700 !important;
}

/* ---------- layout ---------- */
main { display: block; }
section { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(2rem, 6vw, 4.5rem);
}
.hero-icon { border-radius: 22%; margin-bottom: 1.2rem; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 34em; }
.hero-note { font-size: .88rem; color: #7f8da3; margin-top: 1rem; }
.hero-shot { display: flex; justify-content: center; }

/* ---------- phone frame ---------- */
.phone {
  width: min(300px, 78vw);
  border-radius: 34px;
  padding: 9px;
  background: linear-gradient(160deg, #2b3855, #141c2e);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .07);
}
.phone img { border-radius: 26px; }
.phone.small { width: min(230px, 60vw); }

/* ---------- value strip ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  max-width: var(--max);
  margin: 0 auto;
}
.strip > div { background: var(--sky-2); padding: 1.4rem 1.5rem; }
.strip strong { display: block; color: var(--sun-soft); font-size: 1.02rem; }
.strip span { color: var(--ink-dim); font-size: .92rem; }

/* ---------- features ---------- */
.features h2, .how h2 { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}
.feature.reverse .feature-copy { order: 2; }
.feature-shot { display: flex; justify-content: center; }
.kicker {
  display: inline-block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: .5rem;
}

/* ---------- how ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.steps li {
  background: var(--sky-2);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.step-n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sun);
  color: #22160a;
  font-weight: 800;
  margin-bottom: .9rem;
}
.sensors-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--sky-2);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

/* ---------- store buttons ---------- */
.store-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 0; }
.store-button {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem 1.2rem;
  border-radius: 12px;
  background: var(--ink);
  color: #0b1220;
  font-weight: 700;
  line-height: 1.15;
  transition: transform .15s ease, box-shadow .15s ease;
}
.store-button:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.store-button span { display: flex; flex-direction: column; font-size: 1.02rem; }
.store-button small { font-size: .68rem; font-weight: 600; opacity: .7; }

/* ---------- get ---------- */
.get {
  text-align: center;
  background: linear-gradient(150deg, rgba(245, 165, 36, .14), rgba(90, 169, 240, .1));
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 26px;
  margin-bottom: clamp(3rem, 8vw, 6rem);
}
.get .store-buttons { justify-content: center; }

/* ---------- prose pages ---------- */
.prose { max-width: 46rem; }
.prose h1 { margin-bottom: .6em; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { color: var(--ink-dim); padding-left: 1.2rem; }
.prose li { margin-bottom: .4em; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: var(--sky-0);
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem) 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand img { border-radius: 10px; }
.footer-brand p { margin: 0; font-size: .9rem; }
.footer-links { display: flex; gap: 1.3rem; }
.footer-links a { color: var(--ink-dim); font-size: .92rem; }
.copyright {
  max-width: var(--max);
  margin: 1.8rem auto 0;
  font-size: .8rem;
  color: #63708a;
}
.copyright.company { margin-top: 1.2rem; }
.copyright.company + .copyright { margin-top: .4rem; }
.copyright a { color: var(--ink-dim); }

/* The section links do not survive a narrow header; the call to action does,
   and the rest of the page is a single scroll anyway. */
@media (max-width: 720px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .brand span { font-size: .98rem; }
}

@media (max-width: 860px) {
  .hero, .feature, .sensors-note { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy { order: 0; }
  .strip, .steps { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-icon { margin-inline: auto; }
  .store-buttons { justify-content: center; }
  .lede { margin-inline: auto; }
  .sensors-note { justify-items: center; text-align: center; }
}
