:root {
  --teal: #075b60;
  --teal-deep: #153c3d;
  --teal-soft: #e4ede5;
  --cream: #faf8f2;
  --cream-deep: #e4ede5;
  --paper: #ffffff;
  --gold: #edb850;
  --gold-deep: #9b6511;
  --slate: #536868;
  --line: #d7dfd9;
  --card-line: #e0e5df;
  --shadow: 0 28px 70px rgba(21, 60, 61, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--teal-deep);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--teal); color: white; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  width: min(1220px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; letter-spacing: -.03em; }
.brand img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 7px 20px rgba(7, 63, 64, .18); }
nav { display: flex; align-items: center; gap: 30px; }
nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 850; }
.nav-download { color: var(--gold-deep); }

.hero {
  position: relative;
  width: min(1220px, calc(100% - 48px));
  min-height: 570px;
  margin: 0 auto;
  padding: 48px 0 64px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-label { margin: 0 0 22px; text-transform: uppercase; letter-spacing: .18em; font-size: .73rem; line-height: 1.2; font-weight: 900; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--slate); }
.eyebrow span { width: 28px; height: 3px; border-radius: 999px; background: var(--gold); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: inherit; font-weight: 700; letter-spacing: -.05em; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 6vw, 4.7rem); }
h1 em { color: var(--gold-deep); font-style: normal; }
.hero-lede { max-width: 620px; margin: 30px 0 34px; color: var(--slate); font-size: clamp(1.08rem, 1.45vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.app-store-button {
  min-width: 205px;
  min-height: 66px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 13px;
  background: #080808;
  color: white;
  text-decoration: none;
  box-shadow: 0 13px 28px rgba(7, 63, 64, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.app-store-button:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(7, 63, 64, .26); }
.app-store-button svg { width: 31px; fill: currentColor; flex: 0 0 auto; }
.app-store-button span { display: flex; flex-direction: column; font-size: 1.35rem; line-height: 1.05; font-weight: 600; }
.app-store-button small { font-size: .68rem; line-height: 1.25; font-weight: 500; }
.app-store-button.is-placeholder { cursor: default; opacity: .82; }
.store-status { margin: 0; max-width: 160px; color: var(--slate); text-transform: uppercase; letter-spacing: .11em; font-size: .66rem; line-height: 1.45; font-weight: 850; }

.hero-art {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  padding: 70px;
  display: grid;
  place-items: center;
  justify-self: end;
}
.hero-art .halo { position: absolute; inset: 0; border-radius: 50%; background: var(--teal-soft); }
.hero-art > img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 22.5%;
  box-shadow: var(--shadow);
}

.story-strip { background: var(--gold); color: var(--teal-deep); padding: 27px max(24px, calc((100vw - 1220px) / 2)); display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.story-strip p, .story-strip strong { margin: 0; }
.story-strip p { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 900; }
.story-strip strong { font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 700; }

.pillars { width: min(1220px, calc(100% - 48px)); margin: 0 auto; padding: clamp(78px, 9vw, 118px) 0; }
.section-label { color: var(--gold-deep); }
.section-heading { display: grid; grid-template-columns: .72fr 1.6fr; align-items: end; gap: 8vw; margin-bottom: 58px; }
.section-heading h2 { max-width: 780px; font-size: clamp(3rem, 5vw, 5.3rem); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar-grid article { position: relative; min-height: 590px; padding: 26px 28px 36px; border-color: var(--card-line); }
.pillar-grid article + article { border-left: 1px solid var(--line); }
.number { margin: 0 0 20px; color: var(--slate); }
.pillar-visual {
  width: 100%;
  height: 300px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--teal-soft);
  border: 1px solid var(--card-line);
}
.pillar-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }
.pillar-visual-warranty img { object-position: center 24%; }
.pillar-grid h3, .video-card h3 { font-size: 1.17rem; line-height: 1.3; font-weight: 700; letter-spacing: -.025em; }
.pillar-grid article > p:last-child { margin: 17px 0 0; color: var(--slate); font-size: 1rem; line-height: 1.65; }

.video-section { background: var(--teal-deep); color: white; padding: clamp(90px, 10vw, 140px) max(24px, calc((100vw - 1220px) / 2)); }
.section-label.light { color: #f7c55d; }
.video-heading { margin-bottom: 52px; }
.video-heading h2 { max-width: 760px; font-size: clamp(3rem, 5vw, 5.1rem); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-card { min-width: 0; width: min(100%, 304px); justify-self: center; }
.video-frame { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: #052f30; border: 1px solid rgba(255,255,255,.15); }
.video-frame video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.video-poster-button { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: #052f30; cursor: pointer; }
.video-poster-button img { width: 100%; height: 100%; object-fit: cover; }
.video-poster-button span { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(21,60,61,.58); color: white; font-size: 1.35rem; padding-left: 4px; transform: translate(-50%, -50%); backdrop-filter: blur(5px); }
.video-card.is-playing .video-poster-button { display: none; }
.video-fallback { position: absolute; inset: 0; z-index: 3; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; background: linear-gradient(155deg, rgba(11,82,82,.93), rgba(7,63,64,.98)); pointer-events: none; }
.video-fallback span { width: 62px; height: 62px; margin-bottom: 12px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: var(--gold); padding-left: 4px; }
.video-fallback strong { font-size: 1.15rem; font-weight: 700; }
.video-fallback small { color: #bed1cb; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.video-card.video-missing .video-fallback { display: flex; }
.video-card h3 { margin-top: 22px; font-size: 1.17rem; color: #fff; }

.download-panel {
  width: min(1040px, calc(100% - 48px));
  margin: clamp(72px, 8vw, 104px) auto;
  display: grid;
  grid-template-columns: minmax(350px, 410px) 1fr;
  align-items: center;
  gap: clamp(48px, 7vw, 80px);
}
.download-visual {
  width: 100%;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, .75fr);
  align-items: center;
  gap: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 52px rgba(21, 60, 61, .14);
}
.download-icon-shell {
  aspect-ratio: 1;
  padding: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
}
.download-icon-shell img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 22.5%;
  box-shadow: 0 14px 34px rgba(21, 60, 61, .18);
}
.download-qr-wrap {
  min-width: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  border-left: 1px solid var(--line);
  color: var(--slate);
  text-decoration: none;
}
.download-qr {
  width: 132px;
  height: 132px;
  max-width: 100%;
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  object-fit: contain;
  border-radius: 17px;
  background: var(--paper);
}
.download-qr-wrap span {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .62rem;
  line-height: 1.4;
  font-weight: 900;
}
.download-qr-wrap:hover span {
  color: var(--gold-deep);
}
.download-copy h2 { max-width: 560px; font-size: clamp(2.8rem, 4.6vw, 4.4rem); }
.download-copy > p:not(.section-label):not(.store-status) { margin: 25px 0 30px; color: var(--slate); font-size: 1.18rem; }
.download-copy .store-status { margin-top: 15px; max-width: none; }

.support { background: var(--cream-deep); padding: clamp(85px, 9vw, 125px) max(24px, calc((100vw - 1220px) / 2)); display: grid; grid-template-columns: 1.2fr .8fr; gap: 10vw; align-items: end; }
.support h2 { max-width: 700px; font-size: clamp(3rem, 5vw, 5rem); }
.support-copy > p:first-child { margin: 0 0 30px; color: var(--slate); line-height: 1.65; }
.support-link { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 21px 0; border-top: 1px solid var(--teal); border-bottom: 1px solid var(--teal); text-decoration: none; text-transform: uppercase; letter-spacing: .11em; font-size: .75rem; font-weight: 900; }
.support-link span { color: var(--gold-deep); font-size: 1.25rem; }
.support-link.is-placeholder { color: var(--slate); cursor: default; }
.config-note { margin: 18px 0 0; padding: 13px 15px; border-left: 3px solid var(--gold); color: var(--slate); background: rgba(255,255,255,.5); font-size: .82rem; line-height: 1.5; }
.config-note[hidden] { display: none; }

.site-footer { width: min(1220px, calc(100% - 48px)); min-height: 120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: var(--slate); }
.site-footer .brand { color: var(--teal-deep); }
.site-footer .brand img { width: 40px; height: 40px; border-radius: 10px; }
.site-footer p { margin: 0; font-size: .76rem; text-align: right; }

a:focus-visible, video:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 52px 0 68px; }
  .hero-copy { max-width: 700px; }
  .hero-art { width: min(390px, 88%); margin: 0 auto; justify-self: center; padding: 65px; }
  .section-heading, .support { grid-template-columns: 1fr; gap: 28px; }
  .pillar-grid, .video-grid { grid-template-columns: 1fr; }
  .pillar-grid article { min-height: auto; display: grid; grid-template-columns: minmax(180px, .7fr) 1fr; grid-template-rows: auto auto 1fr; column-gap: 28px; align-items: start; }
  .pillar-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .pillar-grid .number { grid-column: 1 / -1; }
  .pillar-visual { grid-column: 1; grid-row: 2 / 4; height: 280px; margin-bottom: 0; }
  .pillar-grid h3 { grid-column: 2; grid-row: 2; margin-top: 8px; }
  .pillar-grid article > p:last-child { grid-column: 2; grid-row: 3; }
  .video-card { width: min(100%, 380px); }
  .video-frame { aspect-ratio: 9 / 16; }
  .download-panel { grid-template-columns: minmax(330px, 390px) 1fr; gap: 46px; }
}

@media (max-width: 650px) {
  .site-header, .hero, .pillars, .download-panel, .site-footer { width: min(100% - 32px, 1220px); }
  .site-header { min-height: 78px; }
  .brand img { width: 40px; height: 40px; border-radius: 10px; }
  .brand span { font-size: .93rem; }
  nav a:not(.nav-download) { display: none; }
  .nav-download { font-size: 0; }
  .nav-download span { font-size: 1.35rem; }
  .hero { min-height: auto; padding: 42px 0 58px; gap: 20px; }
  h1 { font-size: clamp(3.45rem, 17vw, 5.2rem); }
  .hero-art { width: min(330px, 88vw); padding: 55px; }
  .story-strip { align-items: flex-start; flex-direction: column; gap: 9px; }
  .section-heading h2, .video-heading h2, .download-copy h2, .support h2 { font-size: clamp(3rem, 14.5vw, 4.5rem); }
  .pillar-grid article { padding: 24px 20px 32px; display: block; }
  .number { margin-bottom: 18px; }
  .pillar-visual { height: 280px; margin-bottom: 24px; }
  .download-panel { grid-template-columns: 1fr; }
  .download-visual { width: min(400px, 100%); margin: 0 auto; padding: 20px; gap: 18px; }
  .download-qr-wrap { padding-left: 18px; }
  .download-qr { width: 116px; height: 116px; }
  .site-footer { padding: 34px 0; flex-direction: column; align-items: flex-start; }
  .site-footer p { text-align: left; }
}

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