:root {
  color-scheme: light;
  --snow: #ffffff;
  --fog: #f4f7ff;
  --ice: #e8f1ff;
  --sky: #7eb6ff;
  --bright-sky: #2b7de9;
  --deep-sky: #15457a;
  --midnight: #0c2444;
  --ink: #10243d;
  --muted: #5d738c;
  --soft-line: rgba(21, 69, 122, 0.1);
  --phone-metal: #1a1d22;
  --phone-shine: #3a3f48;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: #f7f9ff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 249, 255, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner,
main,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--deep-sky);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 96px;
  width: auto;
  margin: -18px 0;
}

.footer-brand .brand-logo {
  height: 72px;
  margin: -10px 0;
}

.header-cta,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--deep-sky);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(21, 69, 122, 0.18);
}

.header-cta {
  padding: 10px 16px;
  background: #fff;
  color: var(--deep-sky);
  box-shadow: 0 0 0 1px var(--soft-line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--bright-sky);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 700;
}

h1 span {
  color: var(--bright-sky);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 700;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 80px;
}

.hero-wordmark {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: 0;
  margin: 0;
  width: min(1100px, 92vw);
  height: auto;
  transform: translate(-50%, -54%);
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  min-height: 72vh;
}

.hero-copy,
.feature-copy {
  max-width: 560px;
}

.hero-text {
  margin-top: 22px;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  margin-top: 28px;
}

.hero-stage,
.feature-stage,
.split-stage,
.makers-stage {
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.phone {
  width: min(290px, 78vw);
  filter: drop-shadow(0 40px 60px rgba(16, 36, 61, 0.22));
}

.phone-bezel {
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(160deg, var(--phone-shine), var(--phone-metal) 40%, #0b0c0f);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.12);
}

.phone-bezel img {
  width: 100%;
  aspect-ratio: 9 / 19.4;
  object-fit: cover;
  object-position: top center;
  border-radius: 33px;
  background: #edf4ff;
}

.phone-hero {
  transform: rotateY(-18deg) rotateX(8deg) rotate(4deg);
}

.phone-tilt-left {
  transform: rotateY(18deg) rotateX(10deg);
}

.phone-tilt-right {
  transform: rotateY(-18deg) rotateX(8deg);
}

.phone-center {
  transform: translateY(-28px);
  width: min(310px, 82vw);
  z-index: 2;
}

.feature-closeup,
.split-feature,
.makers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 88px 0;
}

.feature-closeup {
  padding-top: 20px;
}

.feature-closeup .feature-stage,
.split-stage {
  min-height: 520px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(160deg, #dce9ff 0%, #8eb6ff 52%, #3d78e8 100%);
}

.split-stage {
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(200deg, #f4f7ff 0%, #c9ddff 48%, #1d4f9a 100%);
}

.showcase {
  padding: 40px 0 100px;
}

.showcase-copy {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.phone-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 18px;
  padding: 48px 24px 36px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.7), transparent 36%),
    linear-gradient(180deg, #f4f7ff 0%, #d7e6ff 48%, #2f6fe0 100%);
  perspective: 1600px;
}

.phone-trio .phone {
  width: min(250px, 100%);
  margin: 0 auto;
}

.phone-trio figcaption,
.makers-phone figcaption {
  margin-top: 18px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 8px 18px rgba(12, 36, 68, 0.28);
}

.journey-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.journey-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.journey-list span {
  color: var(--bright-sky);
  font-size: 0.78rem;
  font-weight: 800;
}

.journey-list strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.journey-list p {
  margin-top: 4px;
  font-size: 0.95rem;
}

.makers-stage {
  min-height: 560px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.86), transparent 30%),
    linear-gradient(165deg, #eef4ff 0%, #b9d2ff 50%, #1d5bb8 100%);
}

.makers-copy p + p {
  margin-top: 16px;
}

.screen-card {
  width: min(420px, 86%);
  margin: 0;
}

.screen-card img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(16, 36, 61, 0.22);
}

.screen-card figcaption {
  margin-top: 16px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 8px 18px rgba(12, 36, 68, 0.28);
}

.final-cta {
  padding: 72px 0 40px;
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 24px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--deep-sky);
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-closeup,
  .split-feature,
  .makers {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    gap: 36px;
  }

  .hero {
    padding-bottom: 48px;
  }

  .phone-hero,
  .phone-tilt-left,
  .phone-tilt-right,
  .phone-center {
    transform: none;
  }

  .phone-trio {
    grid-template-columns: 1fr;
    justify-items: center;
    background: linear-gradient(180deg, #eef4ff, #d7e6ff);
  }

  .phone-trio figcaption,
  .makers-phone figcaption,
  .screen-card figcaption {
    color: var(--deep-sky);
    text-shadow: none;
  }

  .feature-closeup,
  .split-feature,
  .makers,
  .showcase {
    padding: 48px 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--deep-sky);
}

.site-header:not(:has(.header-inner)) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
}

.legal-main {
  width: min(840px, calc(100% - 32px));
  margin: 34px auto 72px;
}

.legal-document {
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--soft-line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
}

.legal-document h1 {
  margin: 0;
  color: var(--deep-sky);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}

.legal-document h2 {
  margin: 34px 0 10px;
  color: var(--deep-sky);
  font-size: 1.32rem;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-document ul {
  padding-left: 1.3rem;
}

.legal-effective-date {
  margin: 16px 0 30px;
  color: var(--bright-sky);
  font-weight: 800;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  color: var(--deep-sky);
  font-weight: 800;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .phone-hero,
  .phone-tilt-left,
  .phone-tilt-right,
  .phone-center {
    transform: none;
  }
}

/* ------------------------------------------------------------------------------------------------
   Winter glass — matches the iOS app: the snowy mountain header, icy Liquid Glass pills and
   section labels, frosted panels, and the Deal of the Day art.
   ------------------------------------------------------------------------------------------------ */

:root {
  --glacier: #1c61bd;
  --glacier-mist: #d6ebff;
  --ice-rim: #a8d1fa;
  --steel: #455e85;
}

body {
  background: linear-gradient(180deg, #e6f1ff 0px, #f2f7ff 520px, #f7f9ff 1100px);
}

.site-header {
  background: rgba(230, 241, 255, 0.55);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

/* Icy glass: a light glacier-mist tint over a blur, a bright rim, and a soft cool shadow. */
.glass-pill,
.eyebrow,
.phone-trio figcaption,
.screen-card figcaption {
  background: rgba(214, 235, 255, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 6px 18px rgba(77, 140, 230, 0.14);
}

.header-cta.glass-pill {
  color: var(--glacier);
}

.header-cta.glass-pill:hover {
  background: rgba(214, 235, 255, 0.62);
}

.primary-link {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(180deg, #3d88ee 0%, var(--glacier) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 12px 26px rgba(28, 97, 189, 0.26);
}

.primary-link:hover {
  background: linear-gradient(180deg, #4a92f2 0%, #2169c6 100%);
}

/* Section labels, like the app's "Fresh Favorites" heading. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--glacier);
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "\2744";
  font-size: 0.95em;
  letter-spacing: 0;
}

h1,
h2 {
  color: #15457a;
}

h1 span {
  color: var(--glacier);
}

/* Hero: the app's mountain header across the full width, with a little falling snow. */
.hero {
  overflow: visible;
  isolation: isolate;
}

.hero-winter {
  position: absolute;
  top: -8px;
  left: 50%;
  z-index: 0;
  width: 100vw;
  height: clamp(220px, 30vw, 440px);
  transform: translateX(-50%);
  background: url("/site/winter-mountains.png") center bottom / cover no-repeat;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
  pointer-events: none;
}

.snowfall {
  position: absolute;
  inset: -10px 0 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.snowfall span {
  position: absolute;
  top: -24px;
  color: #9cc6f7;
  opacity: 0.7;
  animation: tb-snow 14s linear infinite;
}

.snowfall span:nth-child(1) { left: 6%; font-size: 13px; animation-duration: 15s; animation-delay: -2s; }
.snowfall span:nth-child(2) { left: 16%; font-size: 9px; animation-duration: 12s; animation-delay: -7s; }
.snowfall span:nth-child(3) { left: 27%; font-size: 15px; animation-duration: 18s; animation-delay: -11s; }
.snowfall span:nth-child(4) { left: 38%; font-size: 10px; animation-duration: 13s; animation-delay: -4s; }
.snowfall span:nth-child(5) { left: 49%; font-size: 12px; animation-duration: 16s; animation-delay: -9s; }
.snowfall span:nth-child(6) { left: 60%; font-size: 9px; animation-duration: 11s; animation-delay: -1s; }
.snowfall span:nth-child(7) { left: 70%; font-size: 14px; animation-duration: 17s; animation-delay: -13s; }
.snowfall span:nth-child(8) { left: 79%; font-size: 10px; animation-duration: 12s; animation-delay: -6s; }
.snowfall span:nth-child(9) { left: 88%; font-size: 13px; animation-duration: 15s; animation-delay: -10s; }
.snowfall span:nth-child(10) { left: 95%; font-size: 9px; animation-duration: 14s; animation-delay: -3s; }

@keyframes tb-snow {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(14px, 48vh, 0); }
  100% { transform: translate3d(-6px, 96vh, 0); opacity: 0; }
}

/* Panels behind the phones: frosted glass edges over icy sky, with the app's snowy mountains
   along the bottom. */
.feature-closeup .feature-stage,
.split-stage,
.makers-stage,
.phone-trio {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background:
    url("/site/winter-mountains.png") center bottom / 100% auto no-repeat,
    radial-gradient(circle at 75% 12%, rgba(255, 255, 255, 0.85), transparent 30%),
    linear-gradient(180deg, #bcd8ff 0%, #dcebff 45%, #eef5ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 24px 60px rgba(77, 140, 230, 0.16);
}

.split-stage {
  background:
    url("/site/winter-mountains.png") center bottom / 100% auto no-repeat,
    radial-gradient(circle at 25% 12%, rgba(255, 255, 255, 0.85), transparent 30%),
    linear-gradient(180deg, #c6ddff 0%, #e2eeff 48%, #f0f6ff 100%);
}

/* Captions sit on the light snow now, so they become glass labels instead of white text. */
.phone-trio figcaption,
.screen-card figcaption {
  width: fit-content;
  margin: 18px auto 0;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--glacier);
  text-shadow: none;
}

/* Closing call to action on the Deal of the Day art. */
.final-cta {
  padding: 72px 0 40px;
}

.final-banner {
  padding: clamp(48px, 7vw, 76px) 24px;
  border-radius: 36px;
  background: #1c61bd url("/site/winter-deal.jpg") center / cover no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 26px 60px rgba(28, 97, 189, 0.3);
  text-align: center;
}

.final-banner h2 {
  margin-bottom: 26px;
  color: #fff;
  text-shadow: 0 6px 20px rgba(10, 36, 97, 0.35);
}

.final-banner .eyebrow {
  margin-bottom: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.final-banner .primary-link {
  color: var(--glacier);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 1px 0 #fff,
    0 12px 26px rgba(10, 36, 97, 0.3);
}

.site-footer {
  border-top: 1px solid rgba(21, 69, 122, 0.08);
}

@media (max-width: 980px) {
  .phone-trio {
    background:
      url("/site/winter-mountains.png") center bottom / 100% auto no-repeat,
      linear-gradient(180deg, #c6ddff 0%, #e6f0ff 60%, #f0f6ff 100%);
  }

  .phone-trio figcaption,
  .screen-card figcaption {
    color: var(--glacier);
  }
}

@media (prefers-reduced-motion: reduce) {
  .snowfall {
    display: none;
  }
}
