:root {
  color-scheme: light;
  --ink: #101727;
  --ink-soft: #394154;
  --paper: #ffffff;
  --mist: #f2f5f3;
  --line: #dce2df;
  --brand: #7b35f4;
  --brand-dark: #5821bd;
  --green: #b9f6d2;
  --green-deep: #174b36;
  --coral: #ff8066;
  --shell: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea { font-family: inherit; }

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

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

p { color: var(--ink-soft); line-height: 1.7; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  min-height: 76px;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header--overlay {
  position: absolute;
  inset: 0 0 auto;
  color: var(--paper);
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 850;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-header--overlay .brand img {
  padding: 5px;
  background: var(--paper);
  border-radius: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 750;
}

.main-nav a,
.site-footer a { transition: opacity 160ms ease; }

.main-nav a:hover,
.main-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible { opacity: 0.68; }

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.site-header--overlay .header-action {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.hero {
  position: relative;
  min-height: 760px;
  height: 92vh;
  max-height: 920px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: #151322;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url('/screens/screen-2.png');
  background-position: center 44%;
  background-size: cover;
  filter: saturate(0.48) brightness(0.48) contrast(1.18);
  transform: scale(1.04);
}

.hero-shade {
  background: rgba(5, 10, 20, 0.7);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 78px;
}

.hero-inner > * { max-width: 570px; }

.hero-devices {
  position: absolute;
  z-index: 1;
  right: max(28px, calc((100vw - var(--shell)) / 2));
  bottom: -108px;
  width: 500px;
  height: 710px;
  pointer-events: none;
}

.hero-device {
  position: absolute;
  width: 236px;
  aspect-ratio: 736 / 1600;
  overflow: hidden;
  background: #070a10;
  border: 6px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.5);
}

.hero-device::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 42%;
  height: 18px;
  border-radius: 10px;
  background: #050608;
  transform: translateX(-50%);
}

.hero-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-device--home {
  left: 12px;
  top: 100px;
  transform: rotate(-5deg);
}

.hero-device--map {
  right: 8px;
  top: 34px;
  transform: rotate(5deg);
}

.hero-mobile-preview { display: none; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--light { color: var(--green); }

.hero h1 {
  margin: 0;
  font-size: 88px;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  margin: 26px 0 0;
  color: var(--paper);
  font-size: 28px;
  font-weight: 750;
  line-height: 1.25;
}

.hero-copy {
  margin: 20px 0 0;
  max-width: 610px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.store-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  min-height: 54px;
}

.store-row a {
  display: flex;
  align-items: center;
  min-height: 54px;
}

.store-row img { width: auto; object-fit: contain; }
.store-row .apple-badge { height: 48px; }
.store-row .play-badge { height: 70px; margin-inline: -10px; }

.hero-next {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 750;
  transform: translateX(-50%);
}

.facts { border-bottom: 1px solid var(--line); }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.facts-grid > div {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 18px 28px;
  border-right: 1px solid var(--line);
}

.facts-grid > div:first-child { border-left: 1px solid var(--line); }
.facts-grid strong { font-size: 17px; }
.facts-grid span { color: #687165; font-size: 13px; }

.section { padding: 120px 0; }

.section-heading { max-width: 720px; }
.section-heading--wide { max-width: 850px; }

.section-heading h2,
.company-band h2,
.download h2,
.page-hero h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading > p:last-child {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: 17px;
}

.product-section { overflow: hidden; }

.product-showcase {
  position: relative;
  min-height: 780px;
  margin-top: 70px;
  display: grid;
  grid-template-columns: 320px 320px 1fr;
  align-items: center;
  gap: 0;
}

.phone {
  position: relative;
  width: 306px;
  aspect-ratio: 736 / 1600;
  overflow: hidden;
  background: #080b12;
  border: 8px solid #10141d;
  border-radius: 46px;
  box-shadow: 0 36px 74px rgba(16, 23, 39, 0.18);
}

.phone::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 34%;
  height: 22px;
  border-radius: 12px;
  background: #10141d;
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone--back { transform: translateY(48px) rotate(-4deg); }
.phone--front { z-index: 1; transform: translateX(-28px) translateY(-20px) rotate(3deg); }

.product-copy {
  max-width: 390px;
  margin-left: 36px;
}

.product-index {
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-copy h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
}

.product-copy p:not(.product-index) { margin: 20px 0 0; }

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.capabilities { background: var(--mist); }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border-top: 1px solid #cbd4cf;
}

.capability-grid article {
  min-height: 290px;
  padding: 32px 28px;
  border-right: 1px solid #cbd4cf;
}

.capability-grid article:first-child { border-left: 1px solid #cbd4cf; }
.capability-grid span { color: var(--brand-dark); font-size: 13px; font-weight: 850; }
.capability-grid h3 { margin: 70px 0 0; font-size: 23px; }
.capability-grid p { margin: 14px 0 0; font-size: 15px; }

.company-band {
  padding: 100px 0;
  color: #0d2f22;
  background: var(--green);
}

.company-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.company-copy p { margin: 0; color: #204d3d; font-size: 17px; }

.button { margin-top: 24px; }
.button--dark { color: var(--paper); background: var(--ink); border-color: var(--ink); }

.audience-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.audience-list { margin: 0; border-top: 1px solid var(--line); }

.audience-list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.audience-list dt { color: #70786e; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.audience-list dd { margin: 0; font-size: 17px; font-weight: 720; }

.download {
  position: relative;
  min-height: 510px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: #111927;
}

.download-media,
.download-shade { position: absolute; inset: 0; }

.download-media {
  background-image: url('/screens/screen-0.png');
  background-position: center 32%;
  background-size: cover;
}

.download-shade { background: linear-gradient(90deg, rgba(10, 15, 25, 0.94), rgba(10, 15, 25, 0.58)); }
.download-inner { position: relative; z-index: 1; }
.download h2 { max-width: 680px; }

.site-footer {
  padding: 76px 0 24px;
  color: #dce2ee;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 56px;
}

.footer-brand p { margin: 16px 0 0; color: #9fa9ba; }
.footer-grid h2 { margin: 6px 0 20px; color: #8f9aaa; font-size: 12px; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 13px; font-size: 14px; }

.footer-bottom {
  margin-top: 64px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #8f9aaa;
  border-top: 1px solid #313a4a;
  font-size: 12px;
}

.page-hero {
  padding: 104px 0 88px;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.page-hero p:last-child { max-width: 720px; margin: 24px 0 0; font-size: 18px; }

.content-section { padding: 90px 0; }

.content-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
}

.content-grid + .content-grid { margin-top: 90px; padding-top: 90px; border-top: 1px solid var(--line); }
.content-grid h2 { margin: 0; font-size: 34px; line-height: 1.2; }
.content-copy > p:first-child { margin-top: 0; }
.content-copy > p { font-size: 17px; }

.detail-list { margin: 32px 0 0; border-top: 1px solid var(--line); }
.detail-list > div { padding: 20px 0; display: grid; grid-template-columns: 180px 1fr; gap: 24px; border-bottom: 1px solid var(--line); }
.detail-list dt { color: #70786e; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.detail-list dd { margin: 0; font-weight: 700; }

.contact-options { border-top: 1px solid var(--line); }
.contact-option { padding: 28px 0; display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); }
.contact-option h3 { margin: 0; font-size: 18px; }
.contact-option p { margin: 4px 0 0; font-size: 14px; }
.contact-option a { color: var(--brand-dark); font-weight: 800; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-devices { right: -82px; opacity: 0.48; transform: scale(0.84); transform-origin: right bottom; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid > div:nth-child(3) { border-left: 1px solid var(--line); }
  .product-showcase { grid-template-columns: 280px 280px; justify-content: center; }
  .phone { width: 270px; }
  .product-copy { grid-column: 1 / -1; max-width: 680px; margin: 70px 0 0; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid article:nth-child(3) { border-left: 1px solid #cbd4cf; border-top: 1px solid #cbd4cf; }
  .capability-grid article:nth-child(4) { border-top: 1px solid #cbd4cf; }
  .audience-grid,
  .company-grid,
  .content-grid { gap: 54px; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .site-header,
  .header-inner { min-height: 68px; }
  .header-action { min-height: 40px; padding-inline: 13px; }
  .hero { min-height: 690px; height: 88vh; max-height: 780px; }
  .hero-media { filter: saturate(0.42) brightness(0.42) contrast(1.2); }
  .hero-shade { background: rgba(5, 10, 20, 0.66); }
  .hero-devices { display: none; }
  .hero-mobile-preview {
    min-height: 510px;
    padding: 40px 16px 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    background: #07101d;
  }
  .hero-mobile-device {
    width: min(47%, 220px);
    aspect-ratio: 736 / 1600;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.9);
    border-radius: 26px;
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.42);
  }
  .hero-mobile-device:first-child { transform: translateY(24px) rotate(-3deg); }
  .hero-mobile-device:last-child { transform: rotate(3deg); }
  .hero-mobile-device img { width: 100%; height: 100%; object-fit: cover; }
  .hero-inner { padding-top: 130px; align-self: flex-end; padding-bottom: 110px; }
  .hero h1 { font-size: 58px; }
  .hero-lead { font-size: 22px; }
  .hero-copy { font-size: 15px; }
  .hero-next { bottom: 18px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid > div { min-height: 104px; padding: 16px; }
  .facts-grid strong { font-size: 15px; }
  .section { padding: 82px 0; }
  .section-heading h2,
  .company-band h2,
  .download h2,
  .page-hero h1 { font-size: 36px; }
  .product-showcase { min-height: 630px; margin-top: 50px; grid-template-columns: 48% 48%; }
  .phone { width: 100%; border-width: 5px; border-radius: 28px; }
  .phone::after { height: 14px; top: 6px; }
  .phone--front { transform: translateX(-8px) translateY(-12px) rotate(3deg); }
  .phone--back { transform: translateX(8px) translateY(24px) rotate(-3deg); }
  .product-copy { margin-top: 54px; }
  .product-copy h3 { font-size: 28px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article,
  .capability-grid article:nth-child(3),
  .capability-grid article:nth-child(4) { min-height: 220px; border-left: 1px solid #cbd4cf; border-top: 0; border-bottom: 1px solid #cbd4cf; }
  .capability-grid h3 { margin-top: 42px; }
  .company-band { padding: 78px 0; }
  .company-grid,
  .audience-grid,
  .content-grid { grid-template-columns: 1fr; gap: 36px; }
  .audience-list > div { grid-template-columns: 100px 1fr; }
  .download { min-height: 450px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 16px; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 76px 0 64px; }
  .content-section { padding: 68px 0; }
  .content-grid + .content-grid { margin-top: 64px; padding-top: 64px; }
  .detail-list > div { grid-template-columns: 120px 1fr; }
  .contact-option { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 420px) {
  .brand span { font-size: 19px; }
  .store-row { align-items: flex-start; flex-direction: column; gap: 0; }
  .store-row .play-badge { margin-top: -8px; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div,
  .facts-grid > div:nth-child(3) { border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

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