/* ============================================================
   Lookup marketing site  ·  v5
   Warm paper world, single brand accent (#F28416).
   The sky is the spine: painterly inline-SVG skies move from
   dawn (hero) to pale day (features) to dusk (final CTA + footer).
   No external fonts / CDNs. System font stack only.
   ============================================================ */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- Tokens ---------- */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --font-serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype",
    Palatino, Georgia, "Times New Roman", Times, serif;

  /* Paper / warm neutrals */
  --paper: #FBF8F2;
  --paper-2: #F4EDE1;
  --paper-3: #EFE7D8;
  --card: #FFFDF9;

  --ink: #1C1712;
  --ink-soft: #463D33;
  --muted: #726757;
  --muted-2: #8A7E6C;

  --line: rgba(28, 23, 18, 0.10);
  --line-strong: rgba(28, 23, 18, 0.16);

  /* Brand */
  --brand: #F28416;
  --brand-deep: #B45C08;   /* accessible orange text on paper */
  --brand-tint: rgba(242, 132, 22, 0.10);
  --brand-tint-2: rgba(242, 132, 22, 0.18);

  /* Real Lookup app palette (phone mockups), pure black + orange */
  --app-bg: #000000;
  --app-text: #FFFFFF;
  --app-orange: #F28416;

  /* Sky atmosphere (muted, desaturated so orange stays the only vivid voice) */
  --sky-cloud: #FFFFFF;

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1120px;
  --pad: clamp(1.25rem, 5vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  --shadow-soft: 0 1px 2px rgba(28, 23, 18, 0.04),
    0 12px 34px -18px rgba(28, 23, 18, 0.22);
  --shadow-phone: 0 2px 6px rgba(11, 11, 12, 0.12),
    0 40px 80px -40px rgba(28, 23, 18, 0.45);

  color-scheme: light;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
}
.section { padding-block: var(--section-y); position: relative; }
section[id] { scroll-margin-top: 84px; }

/* Global painterly-SVG defs holder (0 footprint) */
.sky-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.eyebrow::before {
  content: "";
  width: 20px; height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--ink);
}
.display em { font-style: italic; color: var(--brand-deep); }

.section-head { max-width: 42ch; }
.section-head .display { font-size: clamp(2rem, 4.6vw, 3.25rem); margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; color: var(--muted); font-size: 1.1rem; max-width: 46ch; }

.accent { color: var(--brand-deep); }

/* ============================================================
   SKY SYSTEM
   Each .sky is a painterly panel. Structure:
     <div class="sky sky--dawn">
       <svg class="sky__svg">... painterly SVG ...</svg>
       <span class="sky__img"></span>   raster drop-in hook
     </div>
   The SVG stands on its own. To later swap in generated
   (e.g. Higgsfield) raster art, set a single custom property:
     <div class="sky sky--dawn" style="--sky-img:url(/assets/sky/dawn.jpg)">
   The .sky__img layer then covers the SVG with object-fit-cover
   behaviour; unset, it resolves to `none` and the SVG shows.
   ============================================================ */
.sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  border-radius: inherit;
}
.sky__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.sky__img {
  position: absolute;
  inset: 0;
  background-image: var(--sky-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Birds: distant, thin, one slow drift. */
.bird {
  transform-box: fill-box;
  transform-origin: center;
  animation: bird-drift 60s linear infinite;
}
.bird--2 { animation-duration: 84s; animation-delay: -30s; }
@keyframes bird-drift {
  from { transform: translate(0, 0); }
  50%  { transform: translate(46px, -12px); }
  to   { transform: translate(92px, 4px); }
}
/* Clouds: a single, almost-imperceptible drift. */
.cloud-drift { animation: cloud-drift 120s ease-in-out infinite alternate; }
@keyframes cloud-drift { from { transform: translateX(0); } to { transform: translateX(-26px); } }
@media (prefers-reduced-motion: reduce) {
  .bird, .cloud-drift { animation: none; }
}

/* ============================================================
   HORIZON DIVIDER
   A hand-drawn-feeling line with a small rising sun/notch.
   Replaces generic section borders.
   ============================================================ */
.horizon {
  position: relative;
  height: 34px;
  margin: 0;
  color: var(--line-strong);
  z-index: 2;
}
.horizon svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.horizon__line { stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; }
.horizon__sun-ring { stroke: var(--brand); stroke-width: 1.6; fill: none; opacity: 0.9; }
.horizon__sun { fill: var(--brand); }
.horizon__ray { stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; opacity: 0.85; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--store {
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.35rem;
  box-shadow: var(--shadow-soft);
}
.btn--store:hover { background: #000; transform: translateY(-2px); }
.btn--store .store-sub { font-size: 0.66rem; font-weight: 500; opacity: 0.7; line-height: 1; letter-spacing: 0.02em; }
.btn--store .store-main { font-size: 1.02rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.btn--store .store-text { display: flex; flex-direction: column; text-align: left; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(28,23,18,0.03); }

.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.92rem; }

.applemark { width: 18px; height: 22px; flex: none; }

/* ============================================================
   BESPOKE ICON FAMILY
   24px grid, 1.6px round strokes, humanist geometry.
   One orange filled node per icon (.ico__node), nothing else coloured.
   ============================================================ */
.ico {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.ico__node { fill: var(--brand); stroke: none; }
.ico__ray { stroke: var(--brand); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 650; letter-spacing: -0.01em; font-size: 1.12rem; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 1px 3px rgba(28,23,18,0.18); }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: 0.96rem; color: var(--ink-soft); font-weight: 500; transition: color 0.15s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 0.75rem; }

/* ============================================================
   HERO  ·  dawn
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
/* Full-bleed dawn sky washed into the paper so copy stays crisp */
.hero__sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* fade the painterly sky out toward the lower-left where the copy lives */
  -webkit-mask-image: radial-gradient(120% 115% at 82% 6%, #000 34%, transparent 82%);
  mask-image: radial-gradient(120% 115% at 82% 6%, #000 34%, transparent 82%);
  opacity: 0.96;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 6.2vw, 4.9rem);
  line-height: 1.0;
  letter-spacing: -0.028em;
  margin-top: 1.4rem;
}
.hero__title em { font-style: italic; color: var(--brand-deep); }
.hero__sub {
  margin-top: 1.5rem;
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  color: var(--ink-soft);
  max-width: 40ch;
  line-height: 1.55;
}
.hero__actions { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero__note { margin-top: 1.1rem; font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.hero__note .ico { width: 16px; height: 16px; color: var(--brand-deep); }

.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.hero__phone { position: relative; z-index: 1; }

/* ---------- Phone mockup ---------- */
.phone {
  position: relative;
  width: 288px;
  aspect-ratio: 288 / 598;   /* inner screen matches the app's 390 x 844 */
  background: #0a0a0b;
  border-radius: 46px;
  padding: 11px;
  box-shadow: var(--shadow-phone);
  border: 1px solid #000;
}
.phone::before {
  content: "";
  position: absolute;
  left: -2px; top: 128px; width: 3px; height: 58px;
  background: #0a0a0b; border-radius: 3px;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--app-bg);
  border-radius: 36px;
  overflow: hidden;
  color: var(--app-text);
  display: flex;
  flex-direction: column;
}
.phone__island {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px;
  background: #000;
  border-radius: 14px;
  z-index: 5;
}
.phone--shot .phone__screen { background: #000; }
.phone__shot {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ---------- Trust strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 2; }
.proof .container { padding-block: clamp(1.6rem, 3.5vw, 2.4rem); }
.trust { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; justify-content: center; }
.trust li { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1.05rem; background: var(--card); }
.trust .ico { width: 18px; height: 18px; color: var(--brand-deep); flex: none; }

/* ============================================================
   MANIFESTO  ·  the oversized editorial moment
   ============================================================ */
.manifesto { position: relative; text-align: center; overflow: hidden; }
.manifesto__wash { position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent); }
.manifesto .container { position: relative; z-index: 1; }
.manifesto__mark { display: inline-flex; color: var(--brand-deep); margin-bottom: 1.6rem; }
.manifesto__mark .ico { width: 34px; height: 34px; }
.manifesto__q {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5.6vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin-inline: auto;
  color: var(--ink);
}
.manifesto__q em { font-style: italic; color: var(--brand-deep); }
.manifesto__p { margin: 1.8rem auto 0; max-width: 52ch; color: var(--muted); font-size: 1.12rem; }

/* ============================================================
   FEATURE ROWS
   ============================================================ */
.features { position: relative; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature + .feature { margin-top: clamp(4rem, 8vw, 7rem); }
.feature--flip .feature__media { order: -1; }
.feature__body { max-width: 44ch; }
.feature__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.75rem, 3.3vw, 2.5rem); line-height: 1.08; letter-spacing: -0.02em; margin-top: 1.1rem; }
.feature__text { margin-top: 1.1rem; color: var(--muted); font-size: 1.08rem; }
.feature__list { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.feature__list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); }
.feature__list .ic { flex: none; width: 26px; height: 26px; color: var(--ink); margin-top: 1px; }
.feature__list .ic .ico { width: 26px; height: 26px; }
.feature__media { display: flex; justify-content: center; }
.icon-chip { width: 48px; height: 48px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-soft); }
.icon-chip .ico { width: 26px; height: 26px; }

/* Painterly sky panel behind feature phones */
.media-panel {
  position: relative;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  border-radius: 28px;
  overflow: hidden;
  display: flex; justify-content: center;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}
.media-panel .phone { position: relative; z-index: 1; }

/* ============================================================
   FEATURE GRID (small)
   ============================================================ */
.section-head--center { margin-inline: auto; text-align: center; max-width: none; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .display, .section-head--center p { margin-inline: auto; }

.grid-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.card__ic { width: 44px; height: 44px; border-radius: 13px; background: var(--brand-tint); color: var(--ink); display: grid; place-items: center; margin-bottom: 1.15rem; }
.card__ic .ico { width: 24px; height: 24px; }
.card h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; }
.card p { margin-top: 0.5rem; color: var(--muted); font-size: 0.97rem; }

/* ============================================================
   HOW IT WORKS  ·  sun-position marks across a rising arc
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 4vw, 3rem); margin-top: 3.4rem; }
.step { position: relative; }
.step__mark { display: block; width: 80px; height: 46px; color: var(--line-strong); }
.step__mark svg { width: 100%; height: 100%; overflow: visible; }
.step__arc { stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-dasharray: 2 3.4; opacity: 0.8; }
.step__ground { stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; opacity: 0.5; }
.step__sun { fill: var(--brand); }
.step__sun-ray { stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; }
.step__n { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--brand-deep); margin-top: 0.9rem; display: block; }
.step h3 { margin-top: 0.35rem; font-size: 1.24rem; font-weight: 650; letter-spacing: -0.01em; }
.step p { margin-top: 0.6rem; color: var(--muted); font-size: 1rem; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3.2rem; max-width: 820px; margin-inline: auto; }
.plan { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; background: var(--card); display: flex; flex-direction: column; }
.plan--pro { border-color: var(--ink); background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.plan__tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); position: relative; z-index: 1; }
.plan--pro .plan__tag { color: var(--brand); }
.plan__price { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; margin-top: 1rem; letter-spacing: -0.02em; position: relative; z-index: 1; }
.plan__price small { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan--pro .plan__price small { color: rgba(246,243,238,0.6); }
.plan__desc { margin-top: 0.75rem; color: var(--muted); font-size: 0.98rem; position: relative; z-index: 1; }
.plan--pro .plan__desc { color: rgba(246,243,238,0.72); }
.plan__list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; position: relative; z-index: 1; }
.plan__list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.98rem; }
.plan__list .tick { flex: none; width: 20px; height: 20px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; margin-top: 1px; }
.plan--pro .plan__list .tick { background: rgba(242,132,22,0.22); color: var(--brand); }
.plan__list .tick svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.plan .btn { margin-top: 1.8rem; justify-content: center; position: relative; z-index: 1; }
.plan--free .btn { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.plan--free .btn:hover { border-color: var(--ink); }
.plan--pro .btn--store { background: var(--brand); color: #1b1006; }
.plan--pro .btn--store:hover { background: #ff9528; }
.pricing__fine { text-align: center; margin-top: 1.6rem; font-size: 0.86rem; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 0.85rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 0 1.4rem;
  transition: border-color 0.18s ease;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0;
  font-size: 1.08rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--muted); flex: none; transition: transform 0.2s ease; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.faq details[open] summary svg { transform: rotate(180deg); color: var(--brand-deep); }
.faq p { padding: 0 0 1.3rem; margin-top: -0.2rem; color: var(--muted); font-size: 1.02rem; max-width: 62ch; }

/* ============================================================
   FINAL CTA  ·  dusk
   ============================================================ */
.final { position: relative; overflow: hidden; text-align: center; padding-block: clamp(5rem, 10vw, 9rem); }
.final__sky { position: absolute; inset: 0; z-index: 0; }
.final .container { position: relative; z-index: 1; }
.final__eyebrow { justify-content: center; color: var(--brand-deep); }
.final__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.3rem, 6.4vw, 4.8rem); line-height: 1.0; letter-spacing: -0.028em; margin-top: 1.1rem; color: var(--ink); }
.final__title em { font-style: italic; color: var(--brand-deep); }
.final__sub { margin: 1.4rem auto 2.4rem; max-width: 44ch; color: var(--ink-soft); font-size: 1.14rem; }
.final__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER  ·  night horizon, bear looking up
   ============================================================ */
.footer { position: relative; padding-block: 0 2.5rem; background: var(--paper); }
.footer__horizon { position: relative; height: 128px; overflow: hidden; }
.footer__horizon-sky { position: absolute; inset: 0; z-index: 0; }
.footer__bear {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 68px; height: 68px;
  border-radius: 18px 18px 4px 4px;
  z-index: 2;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.18);
}
.footer .container { position: relative; z-index: 1; padding-top: 2.6rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand .brand { font-size: 1.2rem; }
.footer__brand p { margin-top: 1rem; color: var(--muted); font-size: 0.96rem; max-width: 30ch; }
.footer__col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); font-weight: 600; }
.footer__col ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { color: var(--ink-soft); font-size: 0.96rem; transition: color 0.15s ease; }
.footer__col a:hover { color: var(--brand-deep); }
.footer__bar { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.88rem; }
.footer__bar .made { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer__bar svg { width: 15px; height: 15px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; margin-bottom: 1rem; min-height: 0; }
  .hero__title { margin-top: 0.5rem; }
  .hero__sky { -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 96%); mask-image: linear-gradient(180deg, #000 40%, transparent 96%); }
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .feature--flip .feature__media { order: 0; }
  .feature__media { order: -1; }
  .grid-features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
  .grid-features { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .phone { width: 258px; }
  .feature__media .media-panel { width: 100%; }
}

/* ============================================================
   LEGAL PAGES (privacy / terms)
   ============================================================ */
.legal-hero { position: relative; overflow: hidden; }
.legal-hero__sky { position: absolute; inset: 0; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.legal-hero .container { position: relative; z-index: 1; padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: 0.5rem; }
.legal { max-width: 760px; padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 6vw, 4.5rem); }
.legal__back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.legal__back:hover { color: var(--brand-deep); }
.legal__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.legal h1 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.3rem, 5.5vw, 3.4rem); letter-spacing: -0.025em;
  line-height: 1.03; margin-top: 1.3rem; color: var(--ink);
}
.legal__lede { margin-top: 1rem; color: var(--ink-soft); font-size: 1.12rem; max-width: 54ch; }
.legal__meta { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; color: var(--muted-2); font-size: 0.9rem; }
.legal__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legal__toc { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.legal__toc a { font-size: 0.86rem; font-weight: 500; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; background: var(--card); transition: border-color 0.15s ease, color 0.15s ease; }
.legal__toc a:hover { border-color: var(--brand); color: var(--brand-deep); }
.legal section { margin-top: 2.6rem; scroll-margin-top: 90px; }
.legal section:first-of-type { margin-top: 2.2rem; }
.legal h2 {
  font-size: 1.28rem; font-weight: 650; letter-spacing: -0.01em; color: var(--ink);
  display: flex; align-items: baseline; gap: 0.6rem;
}
.legal h2 .legal__num { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--brand-deep); font-size: 1.05rem; }
.legal h2 + p, .legal h2 + ul { margin-top: 0.7rem; }
.legal p { color: var(--ink-soft); font-size: 1.02rem; margin-top: 0.9rem; }
.legal ul { margin-top: 0.9rem; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.legal li { color: var(--ink-soft); font-size: 1.02rem; position: relative; padding-left: 1.5rem; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 999px; background: var(--brand); opacity: 0.85; }
.legal li strong { color: var(--ink); font-weight: 650; }
.legal__note { margin-top: 1rem; padding: 1rem 1.2rem; border-left: 2px solid var(--brand); background: var(--brand-tint); border-radius: 0 12px 12px 0; }
.legal__note p { margin-top: 0; color: var(--ink-soft); }
.legal a.inline { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal__copy { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.9rem; }

/* 404 */
.nf { min-height: 78vh; display: grid; place-items: center; text-align: center; position: relative; z-index: 1; }
.nf__mark { width: 68px; height: 68px; border-radius: 18px; box-shadow: var(--shadow-soft); margin-inline: auto; }
.nf__code { font-family: var(--font-serif); font-size: clamp(3.5rem, 12vw, 6rem); line-height: 1; letter-spacing: -0.03em; margin-top: 1.5rem; }
.nf__title { font-family: var(--font-serif); font-size: clamp(1.4rem, 4vw, 2rem); margin-top: 0.5rem; }
.nf__p { color: var(--muted); margin: 1rem auto 2rem; max-width: 40ch; }
