@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-display: swap;
  font-weight: 300 700;
}

:root {
  --ink: #111317;
  --ink-soft: #484b52;
  --night: #17191e;
  --cream: #f1eee8;
  --paper: #fbfaf6;
  --orange: #ff7417;
  --line: rgba(17, 19, 23, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow: 0 28px 80px rgba(9, 10, 12, 0.24);
  --radius-card: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Space Grotesk", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.38;
  background-image: radial-gradient(rgba(17, 19, 23, 0.09) 0.75px, transparent 0.75px);
  background-size: 8px 8px;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1220px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-decoration: none;
}
.brand img { border-radius: 12px; box-shadow: 0 5px 16px rgba(17, 19, 23, 0.16); }
.header-nav { display: flex; align-items: center; gap: 30px; }
.header-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}
.header-nav a:hover { color: var(--orange); }
.header-nav .nav-cta {
  padding: 0 18px;
  border-radius: 12px;
  color: white;
  background: var(--night);
}
.header-nav .nav-cta:hover { color: var(--ink); background: var(--orange); }

.hero {
  position: relative;
  width: min(1320px, calc(100% - 32px));
  min-height: 760px;
  margin: 0 auto;
  padding: 76px clamp(28px, 6vw, 82px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(350px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
  overflow: hidden;
  color: white;
  background: linear-gradient(125deg, rgba(255, 116, 23, 0.13), transparent 42%), var(--night);
  border-radius: 36px;
}
.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image: linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
}
.hero-copy { position: relative; z-index: 2; align-self: center; padding-bottom: 72px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero .eyebrow { display: flex; align-items: center; gap: 11px; }
.hero .eyebrow span { width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { margin-top: 0; letter-spacing: -0.055em; line-height: 0.98; }
h1 {
  max-width: 680px;
  margin-bottom: 26px;
  font-size: clamp(3.6rem, 7vw, 6.8rem);
  font-weight: 650;
}
h1 em { color: var(--orange); font-style: normal; }
.hero-lede {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge { display: inline-flex; align-items: center; transition: transform 160ms ease, opacity 160ms ease; }
.store-badge:hover { transform: translateY(-2px); opacity: 0.88; }
.store-badge:focus-visible, .header-nav a:focus-visible, .gallery-controls button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.store-badge img, .google-badge img { width: auto; height: 48px; }
.hero-points {
  margin: 30px 0 0;
  padding: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}
.hero-points li { color: rgba(255, 255, 255, 0.68); font-size: 0.83rem; font-weight: 600; }
.hero-points li::before { margin-right: 8px; color: var(--orange); content: "✓"; }
.hero-visual {
  position: relative;
  z-index: 1;
  width: min(100%, 492px);
  align-self: end;
  justify-self: center;
}
.hero-glow {
  position: absolute;
  z-index: -1;
  inset: 15% -25% -8%;
  background: radial-gradient(circle, rgba(255, 116, 23, 0.5), transparent 66%);
  filter: blur(12px);
}
.app-story { width: 100%; height: auto; object-fit: contain; border-radius: 22px; box-shadow: var(--shadow); }
.app-story-hero { border: 1px solid rgba(255, 255, 255, 0.13); }
.hero-visual-note {
  position: absolute;
  left: -42px;
  bottom: 42px;
  margin: 0;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  background: white;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  font-size: 0.83rem;
  font-weight: 700;
  transform: rotate(-2deg);
}
.hero-visual-note span { color: var(--orange); font-size: 1.1rem; }

.signal-strip {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0 0 22px 22px;
}
.signal-strip p { margin: 0; padding: 25px clamp(20px, 3vw, 34px); display: flex; align-items: flex-start; gap: 15px; }
.signal-strip p + p { border-left: 1px solid var(--line); }
.signal-strip strong { color: var(--orange); font-size: 0.73rem; letter-spacing: 0.08em; }
.signal-strip span { color: var(--ink-soft); font-size: 0.8rem; line-height: 1.4; }
.signal-strip b { display: block; margin-bottom: 3px; color: var(--ink); font-size: 0.96rem; }

.features-section { width: min(1180px, calc(100% - 48px)); margin: 142px auto 156px; }
.section-heading { max-width: 850px; margin: 0 auto 56px; text-align: center; }
.section-heading h2, .preview-heading h2, .community-copy h2, .closing-cta h2 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
}
.section-heading > p:last-child { max-width: 680px; margin: 0 auto; color: var(--ink-soft); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  min-height: 360px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.feature-card h3 { max-width: 280px; margin-bottom: 20px; font-size: clamp(2rem, 3vw, 3rem); }
.feature-card > p:not(.feature-kicker) { max-width: 310px; margin: 0; color: rgba(17, 19, 23, 0.67); }
.feature-kicker { margin: 0 0 56px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.feature-mark {
  position: absolute;
  right: 24px;
  bottom: -38px;
  color: rgba(17, 19, 23, 0.08);
  font-size: 11rem;
  font-weight: 700;
  line-height: 1;
}
.feature-card-orange { background: var(--orange); }
.feature-card-dark { color: white; background: var(--night); border-color: var(--night); }
.feature-card-dark > p:not(.feature-kicker) { color: rgba(255, 255, 255, 0.65); }
.feature-card-dark .feature-mark { color: rgba(255, 255, 255, 0.08); }
.feature-card-light { background: var(--paper); }

.preview-section { padding: 118px 0 106px; color: white; background: var(--night); overflow: hidden; }
.preview-heading {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 62px;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  align-items: end;
  gap: 64px;
}
.preview-heading h2 { margin-bottom: 0; }
.preview-side { padding-bottom: 8px; }
.preview-side > p { margin: 0 0 26px; color: rgba(255, 255, 255, 0.62); }
.gallery-controls { display: flex; gap: 10px; }
.gallery-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: white;
  background: transparent;
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}
.gallery-controls button:hover { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.gallery-shell { position: relative; }
.gallery-shell::before, .gallery-shell::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: max(24px, calc((100vw - 1280px) / 2));
  pointer-events: none;
  content: "";
}
.gallery-shell::before { left: 0; background: linear-gradient(90deg, var(--night), transparent); }
.gallery-shell::after { right: 0; background: linear-gradient(-90deg, var(--night), transparent); }
.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(250px, 24vw, 350px);
  gap: 22px;
  padding: 8px max(24px, calc((100vw - 1180px) / 2)) 34px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-left: max(24px, calc((100vw - 1180px) / 2));
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  scrollbar-width: thin;
}
.gallery-card { margin: 0; scroll-snap-align: start; }
.gallery-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
  transition: transform 220ms ease;
}
.gallery-card:hover img { transform: translateY(-5px); }
.gallery-card figcaption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 650;
}
.gallery-card figcaption span { color: var(--orange); font-size: 0.7rem; letter-spacing: 0.08em; }
.swipe-hint { display: none; }

.community-section {
  width: min(1180px, calc(100% - 48px));
  margin: 142px auto;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: clamp(56px, 10vw, 140px);
}
.community-copy h2 { margin-bottom: 26px; font-size: clamp(2.8rem, 5vw, 5rem); }
.community-copy > p:last-child { max-width: 620px; margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.community-steps { position: relative; }
.community-steps::before { position: absolute; top: 28px; bottom: 28px; left: 25px; width: 2px; content: ""; background: var(--line); }
.community-steps p { position: relative; margin: 0; padding: 18px 18px 18px 72px; color: var(--ink-soft); }
.community-steps p + p { margin-top: 18px; }
.community-steps span {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--orange);
  border: 6px solid var(--cream);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
}
.community-steps b { margin-right: 6px; color: var(--ink); }

.closing-cta {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 100px 28px;
  overflow: hidden;
  color: white;
  background: radial-gradient(circle at 80% 120%, rgba(255, 116, 23, 0.7), transparent 36%), var(--night);
  border-radius: 34px;
  text-align: center;
}
.closing-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.1;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 15px 15px;
}
.closing-cta > * { position: relative; }
.closing-cta > img { margin: 0 auto 26px; border-radius: 23px; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3); }
.closing-cta h2 { max-width: 760px; margin-right: auto; margin-left: auto; }
.closing-cta > p:not(.eyebrow) { max-width: 620px; margin: 0 auto 30px; color: rgba(255, 255, 255, 0.65); }
.closing-cta .store-badges { justify-content: center; }

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 34px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 68px;
}
.footer-main > p { max-width: 360px; margin: 18px 0 0; color: var(--ink-soft); }
.site-footer nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.site-footer nav div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.site-footer nav strong { margin-bottom: 6px; font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; }
.site-footer nav a { color: var(--ink-soft); font-size: 0.88rem; text-decoration: none; }
.site-footer nav a:hover { color: var(--orange); text-decoration: underline; }
.footer-meta {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding-top: 26px;
  color: rgba(17, 19, 23, 0.54);
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}

@media (max-width: 960px) {
  .hero { min-height: 690px; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr); gap: 38px; padding-right: 38px; padding-left: 38px; }
  h1 { font-size: clamp(3.5rem, 7.5vw, 5.5rem); }
  .hero-visual-note { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:last-child { grid-column: 1 / -1; }
  .feature-card:last-child > p:not(.feature-kicker), .feature-card:last-child h3 { max-width: 600px; }
  .preview-heading { grid-template-columns: 1fr 0.62fr; }
  .gallery-track { grid-auto-columns: clamp(250px, 36vw, 330px); }
}

@media (max-width: 720px) {
  .site-header { width: min(100% - 32px, 1220px); min-height: 76px; }
  .header-nav > a:not(.nav-cta) { display: none; }
  .header-nav .nav-cta { padding: 0 14px; }
  .hero { width: calc(100% - 16px); min-height: 0; padding: 58px 22px 0; display: block; border-radius: 26px; }
  .hero-copy { padding-bottom: 56px; text-align: center; }
  .hero .eyebrow { justify-content: center; }
  h1 { font-size: clamp(3.25rem, 15vw, 5rem); }
  .hero-lede { margin-right: auto; margin-left: auto; font-size: 1rem; }
  .store-badges { justify-content: center; }
  .store-badge img, .google-badge img { height: 44px; }
  .hero-points { justify-content: center; }
  .hero-visual { width: min(92%, 420px); }
  .hero-glow { inset: 5% -20% 0; }
  .signal-strip { width: calc(100% - 32px); grid-template-columns: 1fr; border-radius: 0 0 18px 18px; }
  .signal-strip p + p { border-top: 1px solid var(--line); border-left: 0; }
  .features-section { width: calc(100% - 32px); margin: 104px auto 112px; }
  .section-heading { margin-bottom: 38px; text-align: left; }
  .section-heading h2, .preview-heading h2, .community-copy h2, .closing-cta h2 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .section-heading > p:last-child { margin: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card:last-child { grid-column: auto; min-height: 330px; }
  .preview-section { padding: 88px 0 74px; }
  .preview-heading { width: calc(100% - 32px); margin-bottom: 42px; grid-template-columns: 1fr; gap: 24px; }
  .preview-side > p { margin-bottom: 0; }
  .gallery-controls { display: none; }
  .gallery-shell::before, .gallery-shell::after { display: none; }
  .gallery-track { grid-auto-columns: min(78vw, 320px); gap: 16px; padding-right: 16px; padding-left: 16px; scroll-padding-left: 16px; }
  .gallery-card img { border-radius: 18px; }
  .swipe-hint { margin: 6px 16px 0; display: block; color: rgba(255, 255, 255, 0.48); font-size: 0.78rem; }
  .swipe-hint span { color: var(--orange); }
  .community-section { width: calc(100% - 32px); margin: 104px auto; grid-template-columns: 1fr; gap: 44px; }
  .closing-cta { padding: 74px 22px; border-radius: 26px; }
  .site-footer { width: calc(100% - 32px); padding-top: 56px; grid-template-columns: 1fr; gap: 42px; }
  .footer-meta { grid-column: auto; }
}

@media (max-width: 420px) {
  .brand { font-size: 1.08rem; }
  .brand img { width: 38px; height: 38px; }
  .header-nav .nav-cta { font-size: 0.82rem; }
  .hero { padding-right: 16px; padding-left: 16px; }
  .hero-points { gap: 8px 13px; }
  .hero-points li { font-size: 0.74rem; }
  .feature-card { padding: 28px; }
  .gallery-track { grid-auto-columns: 82vw; }
  .site-footer nav { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
