:root {
  color-scheme: dark;
  --bg: #060a1c;
  --bg-2: #0b1230;
  --ink: #f3f5ff;
  --muted: #9aa3c7;
  --line: rgba(255, 255, 255, 0.1);
  --surface: #101733;
  --accent: #5b92ff;
  --accent-ink: #a9c8ff;
  --lime: #cdee5c;
  --coral: #ff6a4d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

img,
video {
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Navigation */
.nav {
  position: absolute;
  inset: 28px 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-weight: 650;
}

.brand img,
.footer-brand img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line);
}

.nav-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 560;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
}

.store-badge-link,
.badge-button {
  display: inline-flex;
  width: 120px;
  height: 40px;
}

.store-badge-link img,
.badge-button img {
  display: block;
  width: 120px;
  height: 40px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 78% 38%, rgba(60, 110, 255, 0.34), transparent 70%),
    radial-gradient(40% 40% at 12% 88%, rgba(205, 238, 92, 0.12), transparent 70%),
    radial-gradient(40% 40% at 96% 96%, rgba(255, 106, 77, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}

.hero-inner {
  width: min(100% - 40px, 1120px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 120px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  position: relative;
}

.eyebrow,
.section-kicker {
  margin-bottom: 16px;
  color: var(--accent-ink);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 7.4vw, 5.6rem);
  line-height: 0.98;
  font-weight: 760;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 em {
  font-style: normal;
  color: var(--accent-ink);
}

.lede {
  max-width: 480px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.meta-line {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.secondary-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
}

.secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

/* Hero stage: phone + floating shoe cards */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.phone {
  position: relative;
  width: min(100%, 300px);
  border-radius: 44px;
  padding: 9px;
  background: #0b0b0e;
  box-shadow:
    0 0 0 2px #2a2d38,
    0 0 0 3px #05060a,
    var(--shadow);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
}

.stage .phone {
  transform: rotate(-3deg);
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 16px;
  background: rgba(18, 26, 58, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(0, 0, 0, 0.4);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
}

.chip b {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.chip small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.76rem;
}

.chip .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}

.chip-a {
  left: -6%;
  top: 14%;
}

.chip-b {
  right: -4%;
  bottom: 16%;
}

.chip-b .dot {
  background: var(--coral);
}

@media (prefers-reduced-motion: no-preference) {
  .chip-a {
    animation: float 7s ease-in-out infinite;
  }

  .chip-b {
    animation: float 8s ease-in-out -3s infinite;
  }

  @keyframes float {
    50% {
      transform: translateY(-10px);
    }
  }
}

/* Trust strip */
.trust {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust div {
  display: grid;
  gap: 4px;
}

.trust strong {
  font-size: 1.02rem;
}

.trust span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Shared sections */
main {
  overflow-x: clip;
}

.wrap {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.04;
  font-weight: 740;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-head {
  margin-bottom: 40px;
  max-width: 640px;
}

.section-head p:not(.section-kicker) {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Video */
.video-section {
  padding: 110px 0 40px;
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(32px, 7vw, 100px);
  align-items: center;
}

.video-frame {
  position: relative;
  border-radius: 40px;
  padding: 8px;
  background: #0b0b0e;
  box-shadow: 0 0 0 2px #2a2d38, var(--shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 33px;
  background: #000;
}

.video-play {
  position: absolute;
  inset: 8px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  border: 0;
  border-radius: 33px;
  background: linear-gradient(180deg, rgba(6, 10, 28, 0.1), rgba(6, 10, 28, 0.55));
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.video-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
}

.video-play-icon::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  border-left: 18px solid #0b1230;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.video-frame.is-playing .video-play {
  display: none;
}

/* Feature rows */
.rows {
  padding: 60px 0 40px;
  display: grid;
  gap: 40px;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
  position: relative;
}

.row.flip .row-art {
  order: -1;
}

.row-copy p:not(.section-kicker) {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.row-copy ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.row-copy li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.5;
}

.row-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.row-art {
  display: grid;
  place-items: center;
}

.row-art .phone {
  width: min(100%, 270px);
}

.row.blue {
  background: linear-gradient(160deg, #1d46c9, #0f2a85 70%);
}

.row.lime {
  background: linear-gradient(160deg, #d2f063, #8fbf2a);
  color: #10200a;
}

.row.lime .section-kicker {
  color: #30561a;
}

.row.lime .row-copy p:not(.section-kicker),
.row.lime .row-copy li {
  color: #213812;
}

.row.lime .row-copy li::before {
  background: #1d3d0e;
}

.row.blue .row-copy p:not(.section-kicker) {
  color: #c4d5ff;
}

.row.blue .row-copy li::before {
  background: var(--lime);
}

.row.blue,
.row.lime {
  box-shadow: none;
}

.shot {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
  background: #000;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Bento */
.bento {
  padding: 90px 0 40px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  padding: 28px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  display: grid;
  gap: 10px;
  align-content: start;
}

.bento-card .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(91, 146, 255, 0.16);
  color: var(--accent-ink);
  font-weight: 750;
  font-size: 0.95rem;
}

.bento-card:nth-child(3n + 2) .mark {
  background: rgba(205, 238, 92, 0.16);
  color: var(--lime);
}

.bento-card:nth-child(3n) .mark {
  background: rgba(255, 106, 77, 0.16);
  color: var(--coral);
}

.bento-card h3 {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.bento-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Gallery */
.gallery {
  padding: 90px 0 40px;
}

.gallery-track {
  display: flex;
  gap: 22px;
  margin: 0 calc(50% - 50vw);
  padding: 6px max(20px, calc(50vw - 560px)) 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track figure {
  flex: 0 0 auto;
  width: 250px;
  scroll-snap-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.gallery-track .phone {
  width: 100%;
  border-radius: 36px;
  padding: 7px;
}

.gallery-track .phone img {
  border-radius: 29px;
}

.gallery-track figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 560;
}

/* Privacy band */
.privacy-band {
  margin: 90px 0 0;
  padding: clamp(32px, 5vw, 60px);
  border-radius: 36px;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(91, 146, 255, 0.22), transparent 70%),
    var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.privacy-band ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.privacy-band li {
  display: grid;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.privacy-band li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.privacy-band li strong {
  color: var(--ink);
  font-size: 1rem;
}

.privacy-band .text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent-ink);
  font-weight: 620;
}

.privacy-band .text-link:hover {
  text-decoration: underline;
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 24px 56px;
}

.faq h2 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  line-height: 1.4;
}

.faq p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

/* More apps */
.more-apps {
  padding: 40px 0 96px;
}

.more-app-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.more-app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 160ms ease;
}

.more-app-card:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.more-app-card img {
  border-radius: 12px;
  flex: none;
}

.more-app-card span {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.more-app-card strong {
  color: var(--ink);
  font-size: 1rem;
}

/* Footer */
.footer {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 28px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a:hover {
  color: var(--ink);
}

.fine {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 0 0 36px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
  opacity: 0.8;
}

/* Policy and support pages */
.page-hero {
  position: relative;
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 140px 0 40px;
}

.page-copy h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
}

.page-copy .eyebrow {
  color: var(--muted);
}

.page-copy .lede {
  margin-top: 16px;
}

.policy-main,
.support-main {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding-bottom: 80px;
}

.policy-main section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.policy-main h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.policy-main h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 650;
}

.policy-main p,
.policy-main li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.policy-main p + p {
  margin-top: 12px;
}

.policy-main ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.policy-main a {
  color: var(--accent-ink);
}

.support-form {
  display: grid;
  gap: 20px;
  max-width: 560px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: 2px solid rgba(91, 146, 255, 0.55);
  border-color: transparent;
}

.support-submit {
  width: fit-content;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.support-submit:hover {
  opacity: 0.88;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 112px;
    gap: 36px;
  }

  .stage {
    min-height: 0;
    padding: 20px 0 10px;
  }

  .chip-a {
    left: 0;
  }

  .chip-b {
    right: 0;
  }

  .trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid,
  .row,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .video-frame {
    width: min(100%, 300px);
    justify-self: center;
  }

  .row.flip .row-art {
    order: 0;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 14px;
  }

  .nav .nav-link:not(.support-link),
  .nav .store-badge-link {
    display: none;
  }

  .bento-grid,
  .more-app-list {
    grid-template-columns: 1fr;
  }

  .gallery-track figure {
    width: 220px;
  }

  .row {
    border-radius: 28px;
  }

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

/* Lifted UI cards (surfaces) */
.lifted {
  width: min(100%, 400px);
  display: grid;
  gap: 16px;
  transform: rotate(-2deg);
}

.lifted img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line), 0 28px 60px rgba(0, 0, 0, 0.5);
}

.lifted img:nth-child(2) {
  margin-left: 6%;
  margin-right: -6%;
}

.unit-toggle {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.unit-toggle b {
  color: var(--ink);
}

.unit-toggle:hover {
  color: var(--ink);
}
