/* ============================================================
   QUIET SKY — BOLD / EDITORIAL option
   Big sky imagery, huge headlines, minimal copy, lots of air.
   Aura/Ultra energy on the Quiet Sky light brand.
   ============================================================ */

:root {
  --canvas:   #FFFFFF;
  --cream:    #FBF7EF;
  --paper:    #F7F4ED;

  --ink:   #16273D;
  --ink-2: #44546A;
  --ink-3: #6B7888;

  --navy:   #1F3A5F;
  /* Accent — matches the app's interaction blue (--aw-accent #0F86C6).
     One committed accent across the whole site. */
  --trust:      #0F86C6;
  --trust-deep: #0B6A9E;
  --trust-tint: #E4F1FA;

  --sun-2: #FBC560;
  --sun-3: #E89A44;
  --amber-ink: #B06A1E;

  --sky-blue: #8FB4D6;

  /* neutral surface + line tokens (shared with feature pages) */
  --surface:     #F6F8FB;
  --surface-2:   #EEF2F8;
  --line:        #E5EBF2;
  --line-2:      #CBD6E2;
  --line-strong: #9FB0C2;

  --display: "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1240px;
  --gutter: clamp(22px, 5vw, 60px);

  --ease: cubic-bezier(0.2, 0.0, 0.0, 1.0);
  --shadow: 0 40px 90px -40px rgba(20,40,70,.42);
  --shadow-sm: 0 12px 34px -18px rgba(20,40,70,.30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--trust); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3 {
  margin: 0; font-weight: 800; letter-spacing: -0.04em; line-height: 0.94;
  color: var(--navy); text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

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

/* big display scale */
.d1 { font-size: clamp(54px, 9.5vw, 138px); }
.d2 { font-size: clamp(40px, 6.6vw, 92px); }
.d3 { font-size: clamp(30px, 4.4vw, 58px); }

.kicker {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--trust);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--trust); }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav[data-stuck="true"] {
  background: color-mix(in srgb, #fff 80%, transparent);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: #ECEFF3; padding-block: 13px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.03em; font-size: 20px; cursor: pointer; user-select: none; color: var(--navy); }
.brand .wm b { color: var(--navy); }
.brand .wm span { color: var(--ink-2); font-weight: 600; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 16px; color: var(--ink-2); font-weight: 600; transition: color .18s var(--ease); }
.nav-links a:hover { color: var(--navy); }
@media (max-width: 820px) { .nav-links { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  padding: 13px 24px; border-radius: 999px; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); background: #16314f; }
.btn-trust { background: var(--trust); color: #fff; }
.btn-trust:hover { transform: translateY(-2px); background: var(--trust-deep); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--navy); border-color: rgba(31,58,95,.18); backdrop-filter: blur(6px); }
.btn-ghost:hover { transform: translateY(-2px); background: #fff; }
.btn-lg { font-size: 18px; padding: 17px 34px; }
.btn svg { width: 19px; height: 21px; }
.btn .lbl-long { white-space: nowrap; }
.nav .btn { font-size: 15px; padding: 11px 20px; }
@media (max-width: 520px) { .nav .btn .lbl-long { display: none; } }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 140px; overflow: hidden; }
.hero-sky {
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/sky-clear-day.webp") no-repeat 50% 28% / cover;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 86%);
          mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 86%);
}
.hero-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 26%, rgba(255,255,255,.55) 72%, #fff 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 1000px; padding-inline: var(--gutter); }
.hero .kicker { margin-bottom: 26px; justify-content: center; color: var(--trust-deep); }
.hero h1 { color: var(--navy); }
.hero h1 .it { display: block; }
.hero h1 .grad { background: linear-gradient(96deg, var(--sun-3), var(--amber-ink) 45%, var(--trust) 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin: 28px auto 0; max-width: 22em; font-size: clamp(18px, 2vw, 23px); color: var(--ink-2); font-weight: 500; line-height: 1.45; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--ink-3); }

.hero-phone { position: relative; z-index: 2; margin-top: clamp(36px, 5vw, 60px); width: clamp(240px, 30vw, 340px); }
.hero-phone .phone { margin: 0; }

/* phone frame (shared) — Android: uniform thin bezel + hole-punch camera */
.phone {
  position: relative; width: 100%; margin-inline: auto;
  aspect-ratio: 1080 / 2640; border-radius: 40px; padding: 8px;
  background: linear-gradient(158deg, #3a4452 0%, #232c38 52%, #161c25 100%);
  box-shadow: 0 2px 2px rgba(255,255,255,.14) inset, var(--shadow);
}
.phone::after { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: #05080d; box-shadow: 0 0 0 1.5px rgba(255,255,255,.10); z-index: 3; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 30px; }

/* hero privacy badge callout — the one visual that must land instantly */
.badge-callout {
  position: absolute; z-index: 4; top: 8%; right: -7%;
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--line);
  padding: 9px 16px 9px 10px; border-radius: 999px; box-shadow: var(--shadow);
  white-space: nowrap;
}
.badge-callout .ic { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--trust-tint); color: var(--trust); display: grid; place-items: center; }
.badge-callout .ic svg { width: 16px; height: 16px; }
.badge-callout b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.badge-callout small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; margin-top: 1px; }
@media (max-width: 880px) { .badge-callout { right: -1%; } }
@media (max-width: 520px) { .badge-callout { right: 2%; top: 6%; } }

/* ============ STAT BAND (under hero) ============ */
/* (removed — facts folded into the receipt proof instead) */

/* ============ STATEMENT ============ */
.statement { text-align: center; padding-block: clamp(96px, 16vw, 220px); }
.statement .wrap { max-width: 1100px; }
.statement h2 { color: var(--navy); }
.statement h2 .dim { color: var(--sky-blue); }
.statement .say { margin: 32px auto 0; max-width: 30em; font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); font-weight: 500; }

/* ============ BIG SPLIT MOMENTS ============ */
.moment { padding-block: clamp(70px, 10vw, 150px); }
.moment .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.moment.flip .m-media { order: 2; }
.moment .m-copy .kicker { margin-bottom: 22px; }
.moment .m-copy h2 { margin-bottom: 0; }
.moment .m-copy .body { margin-top: 24px; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); font-weight: 500; line-height: 1.5; max-width: 20em; }
.moment .m-copy .mini { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.moment .m-copy .mini div { display: flex; gap: 13px; align-items: center; font-size: 17px; font-weight: 600; color: var(--ink); }
.moment .m-copy .mini svg { width: 22px; height: 22px; color: var(--trust); flex: none; }

.m-media { position: relative; display: flex; justify-content: center; }
.m-media .phone { width: clamp(230px, 27vw, 320px); }
.m-media.on-sky { border-radius: 36px; padding: clamp(28px, 5vw, 64px); overflow: hidden; }
.m-media.on-sky::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("assets/sky-partly.webp") no-repeat 60% 40% / cover; }
.m-media.on-sky .phone { position: relative; z-index: 1; }

@media (max-width: 860px) {
  .moment .wrap { grid-template-columns: 1fr; gap: 44px; }
  .moment.flip .m-media { order: 0; }
  .moment .m-copy { text-align: center; }
  .moment .m-copy .kicker, .moment .m-copy .mini { justify-content: center; }
  .moment .m-copy .body, .moment .m-copy .mini { margin-inline: auto; }
  .moment .m-copy .mini div { justify-content: center; }
}

/* ============ RECEIPT STRIP (mono payload, minimal) ============ */
.receipt-band { background: var(--cream); }
.receipt-card {
  margin-top: 48px; background: #fff; border: 1px solid #EFE7D6; border-radius: 26px;
  padding: clamp(26px, 4vw, 46px); box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
}
.receipt-card .rc-head { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.field { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed #E7EDF3; font-family: var(--mono); font-size: 15px; }
.field:last-child { border-bottom: 0; }
.field .k { color: var(--ink-3); }
.field .v { color: var(--ink); }
.field.kept .v { color: var(--trust); font-weight: 600; }
.field.gone .v { position: relative; color: var(--ink); transition: color .45s var(--ease); }
.field.gone .v::after {
  content: ""; position: absolute; left: -1px; right: -1px; top: 54%;
  height: 2px; border-radius: 2px; background: #D8896A;
  transform: scaleX(0); transform-origin: left;
}
/* strike each stripped field as it scrolls into view */
.receipt-card.play .field.gone .v { color: var(--ink-3); }
.receipt-card.play .field.gone .v::after { animation: strikeIn .5s var(--ease) forwards; }
.receipt-card.play .field:nth-child(2) .v, .receipt-card.play .field:nth-child(2) .v::after { transition-delay: .15s; animation-delay: .15s; }
.receipt-card.play .field:nth-child(3) .v, .receipt-card.play .field:nth-child(3) .v::after { transition-delay: .5s; animation-delay: .5s; }
.receipt-card.play .field:nth-child(4) .v, .receipt-card.play .field:nth-child(4) .v::after { transition-delay: .85s; animation-delay: .85s; }
@keyframes strikeIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .field.gone .v { color: var(--ink-3); }
  .field.gone .v::after { transform: scaleX(1); }
  .receipt-card.play .field.gone .v::after { animation: none; }
}
.receipt-card .rc-say h3 { font-size: clamp(24px, 2.4vw, 34px); color: var(--navy); letter-spacing: -0.03em; line-height: 1.1; }
.receipt-card .rc-say p { margin-top: 16px; font-size: 16px; color: var(--ink-2); font-weight: 500; line-height: 1.5; }
@media (max-width: 760px) { .receipt-card { grid-template-columns: 1fr; } }

/* ============ PRICING (simple) ============ */
.pricing { text-align: center; }
.price-card {
  margin: 52px auto 0; max-width: 460px; background: #fff;
  border: 1.5px solid var(--trust); border-radius: 30px; padding: clamp(34px, 5vw, 52px);
  box-shadow: 0 40px 80px -44px color-mix(in srgb, var(--trust) 55%, transparent);
}
.price-card .tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--trust); }
.price-card .amt { margin-top: 18px; font-size: clamp(56px, 8vw, 84px); font-weight: 800; letter-spacing: -0.05em; color: var(--navy); line-height: 1; }
.price-card .amt small { font-size: 22px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.price-card .alt { margin-top: 12px; font-size: 16px; color: var(--ink-2); font-weight: 500; }
.price-card .pcta { margin-top: 30px; }
.price-card .pcta .btn { width: 100%; }
.price-card .fine { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.price-row { margin-top: 30px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); font-weight: 600; }
.price-row span { display: inline-flex; align-items: center; gap: 9px; }
.price-row svg { width: 18px; height: 18px; color: var(--trust); }

/* ============ FINAL ============ */
.final { position: relative; text-align: center; overflow: hidden; padding-block: clamp(110px, 18vw, 240px); }
.final-sky { position: absolute; inset: 0; z-index: 0; background: url("assets/sky-partly.webp") no-repeat 50% 50% / cover; }
.final-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.4) 30%, rgba(255,255,255,.4) 70%, #fff 100%); }
.final .wrap { position: relative; z-index: 1; }
.final h2 { color: var(--navy); }
.final .sub { margin: 26px auto 0; max-width: 24em; font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); font-weight: 500; }
.final .fcta { margin-top: 38px; display: flex; justify-content: center; }

/* ============ FOOTER ============ */
.footer { background: var(--navy); color: #fff; padding-block: 56px 40px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand { color: #fff; cursor: default; }
.footer .brand .wm b { color: #fff; }
.footer .brand .wm span { color: rgba(255,255,255,.7); }
.footer .tag { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.7); max-width: 22em; line-height: 1.5; font-weight: 500; }
.footer-links { display: flex; gap: clamp(36px, 6vw, 80px); flex-wrap: wrap; }
.fcol h5 { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; }
.fcol a { display: block; font-size: 15px; color: rgba(255,255,255,.82); padding: 5px 0; font-weight: 500; transition: color .18s var(--ease); }
.fcol a:hover { color: #fff; }
.footer-base { max-width: var(--maxw); margin: 44px auto 0; padding: 22px var(--gutter) 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-base .nt { font-family: var(--mono); font-size: 13px; color: var(--sun-2); display: inline-flex; align-items: center; gap: 9px; }
.footer-base .cp { font-size: 13px; color: rgba(255,255,255,.55); }

/* ============ reveal + egg ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.aurora-egg {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0;
  background:
    radial-gradient(60% 80% at 70% 8%, rgba(110,214,167,.46), transparent 60%),
    radial-gradient(52% 72% at 32% 0%, rgba(150,118,232,.36), transparent 58%),
    radial-gradient(72% 62% at 82% 4%, rgba(63,169,128,.42), transparent 62%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 32%, transparent 72%);
          mask-image: linear-gradient(180deg, #000 0%, #000 32%, transparent 72%);
  transition: opacity 1.1s ease;
}
.aurora-egg.show { opacity: 1; }
.aurora-egg .egg-note { position: absolute; top: 88px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #0d2a20; background: rgba(255,255,255,.85); padding: 6px 14px; border-radius: 999px; opacity: 0; transition: opacity .6s ease; }
.aurora-egg.show .egg-note { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .aurora-egg { transition: opacity .2s ease; } }
