:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --paper: rgba(255, 255, 255, 0.76);
  --paper-strong: rgba(255, 255, 255, 0.94);
  --ink: #05070a;
  --text: #18212d;
  --muted: #6b7481;
  --line: rgba(32, 45, 60, 0.13);
  --shadow: 0 22px 60px rgba(38, 53, 72, 0.11);
  --blue: #2f78ff;
  --amber: #e99122;
  --green: #4c9163;
  --cyan: #18b9ff;
  --magenta: #ff5891;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(180deg, #f7f9fc 0%, #edf2f8 48%, #f8fafc 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(60, 76, 94, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 76, 94, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 70%);
}

a {
  color: inherit;
}

.site-header {
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 44px;
  align-items: center;
  gap: 28px;
  padding: 0 52px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 760;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-logo {
  width: 60px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
}

.top-nav a {
  color: #303946;
  font-size: 16px;
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--ink);
}

.round-link,
.panel-arrow {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #212a35;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.64);
}

.round-link {
  width: 28px;
  height: 28px;
  justify-self: end;
  font-size: 12px;
}

main {
  overflow: hidden;
}

.hero-home {
  position: relative;
  min-height: 448px;
  display: grid;
  align-items: center;
  padding: 70px 6.1vw 92px;
  background:
    linear-gradient(90deg, rgba(247, 249, 252, 0.98) 0%, rgba(247, 249, 252, 0.87) 28%, rgba(247, 249, 252, 0.23) 58%, rgba(247, 249, 252, 0) 100%),
    url("./assets/hero/spectrum-prism-lab-original.png") center right / cover no-repeat;
}

.hero-home::after {
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  content: "";
  background: linear-gradient(180deg, rgba(245, 247, 250, 0), rgba(245, 247, 250, 0.95));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 1.14;
  font-weight: 820;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 560px;
  margin-bottom: 36px;
  color: #4a5565;
  font-size: 22px;
  line-height: 1.7;
}

.spectrum-line {
  width: 58px;
  height: 2px;
  background: linear-gradient(90deg, #2f78ff, #20d4ff, #ffce3a, #ff3a45);
}

.audiences {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.92fr 0.92fr;
  gap: 18px;
  width: calc(100vw - 104px);
  margin: -58px auto 84px;
}

.audience-panel,
.product-card,
.detail-card,
.screenshot-card,
.empty-shot,
.fact-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.audience-panel {
  position: relative;
  min-height: 376px;
  padding: 28px 30px 24px;
}

.panel-arrow {
  position: absolute;
  top: 36px;
  right: 32px;
  width: 40px;
  height: 40px;
  font-size: 28px;
  line-height: 1;
}

.panel-index {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 720;
}

.blue {
  color: var(--blue);
}

.amber {
  color: var(--amber);
}

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

.audience-panel h2 {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.16;
}

.panel-desc {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.tool-pill {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(47, 120, 255, 0.2);
  border-radius: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 680;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.66);
}

.amber-pill {
  border-color: rgba(233, 145, 34, 0.44);
}

.green-pill {
  border-color: rgba(76, 145, 99, 0.34);
}

.tool-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-block;
}

.waveform-mini {
  background:
    linear-gradient(90deg, transparent 6%, var(--blue) 6% 10%, transparent 10% 18%, var(--blue) 18% 23%, transparent 23% 31%, var(--blue) 31% 35%, transparent 35% 45%, var(--blue) 45% 52%, transparent 52% 61%, var(--blue) 61% 66%, transparent 66% 74%, var(--blue) 74% 79%, transparent 79%),
    linear-gradient(var(--blue), var(--blue));
  background-size: 100% 22px, 100% 2px;
  background-position: center, center;
  background-repeat: no-repeat;
}

.film-mini {
  border: 2px solid #202a35;
  border-radius: 3px;
}

.film-mini::before,
.film-mini::after {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 3px;
  content: "";
  background: repeating-linear-gradient(to bottom, #202a35 0 3px, transparent 3px 7px);
}

.film-mini::before {
  left: 4px;
}

.film-mini::after {
  right: 4px;
}

.sun-mini {
  border: 2px solid var(--amber);
  border-radius: 50%;
  transform: scale(0.72);
  box-shadow: 0 -17px 0 -13px var(--amber), 0 17px 0 -13px var(--amber), 17px 0 0 -13px var(--amber), -17px 0 0 -13px var(--amber);
}

.lantern-mini::before {
  position: absolute;
  left: 9px;
  top: 3px;
  width: 12px;
  height: 20px;
  border: 2px solid #8d642c;
  border-radius: 8px 8px 6px 6px;
  content: "";
  background: #fff1c6;
}

.lantern-mini::after {
  position: absolute;
  left: 11px;
  bottom: 2px;
  width: 8px;
  height: 3px;
  border-radius: 8px;
  content: "";
  background: #8d642c;
}

.mini-grid {
  display: grid;
  gap: 10px;
}

.content-grid {
  grid-template-columns: 0.9fr 1.08fr 1.1fr;
}

.photo-grid,
.life-grid {
  grid-template-columns: 1.25fr 0.92fr;
}

.mini-card {
  min-height: 176px;
  overflow: hidden;
  border: 1px solid rgba(32, 45, 60, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.audio-card {
  position: relative;
  padding: 18px 16px;
}

.audio-card::before {
  display: block;
  width: 90px;
  height: 2px;
  margin-bottom: 28px;
  content: "";
  background: #e2e8ef;
  box-shadow: 0 10px 0 #edf2f6;
}

.audio-lines {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.audio-lines span {
  width: 3px;
  border-radius: 6px;
  background: var(--blue);
}

.audio-lines span:nth-child(1) { height: 14px; }
.audio-lines span:nth-child(2) { height: 38px; }
.audio-lines span:nth-child(3) { height: 24px; }
.audio-lines span:nth-child(4) { height: 48px; }
.audio-lines span:nth-child(5) { height: 30px; }
.audio-lines span:nth-child(6) { height: 44px; }
.audio-lines span:nth-child(7) { height: 20px; }
.audio-lines span:nth-child(8) { height: 34px; }

.time {
  position: absolute;
  left: 18px;
  bottom: 22px;
  color: #667180;
  font-size: 12px;
}

.play {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--ink);
  font-size: 13px;
}

.transcript-card {
  padding: 16px 14px;
}

.text-badge {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-bottom: 16px;
  border: 1px solid #8b95a3;
  border-radius: 5px;
  color: #6c7785;
  font-weight: 700;
}

.transcript-card p {
  margin-bottom: 10px;
  color: #586574;
  font-size: 11px;
  line-height: 1.3;
  border-bottom: 1px dotted #d7dfe8;
}

.timeline-card {
  position: relative;
  padding: 22px 16px;
}

.timeline-scale {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: #8b96a5;
  font-size: 10px;
}

.timeline-row {
  position: relative;
  height: 30px;
  border-bottom: 1px solid #dce4ed;
}

.timeline-row span {
  position: absolute;
  left: 0;
  top: 10px;
  width: 18px;
  height: 12px;
  border-radius: 3px;
  background: #eef3f8;
}

.clip {
  position: absolute;
  top: 8px;
  height: 19px;
  border-radius: 4px;
}

.blue-clip { left: 28px; width: 86px; background: #3c7df2; }
.purple-clip { left: 104px; width: 94px; background: linear-gradient(90deg, #6474e7, #9f5fe3); }
.green-clip { left: 62px; width: 96px; background: #55bbb5; }

.playhead {
  position: absolute;
  top: 38px;
  left: 42%;
  width: 2px;
  height: 120px;
  background: #303a46;
}

.playhead::before {
  position: absolute;
  top: -5px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: #303a46;
}

.sunpath-card svg,
.memory-card svg {
  width: 100%;
  height: 100%;
  padding: 18px;
}

.sunpath-card text {
  fill: #596574;
  font-size: 15px;
}

.watch-card {
  display: grid;
  place-items: center;
  padding: 10px;
}

.watch-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lantern-card {
  display: grid;
  place-items: center;
}

.lantern-art {
  position: relative;
  width: 126px;
  height: 150px;
}

.lantern-art .handle {
  position: absolute;
  left: 34px;
  top: 0;
  width: 58px;
  height: 54px;
  border: 3px solid #b0792b;
  border-bottom: 0;
  border-radius: 36px 36px 0 0;
}

.lantern-art .body {
  position: absolute;
  left: 20px;
  bottom: 18px;
  width: 86px;
  height: 96px;
  border: 3px solid #b0792b;
  border-radius: 44px 44px 28px 28px;
  background: radial-gradient(circle at 50% 62%, #fff8dd 0%, #ffe6a4 45%, #fff5d7 72%, rgba(255, 255, 255, 0.8) 100%);
  box-shadow: 0 18px 34px rgba(224, 153, 44, 0.22), inset 0 0 28px rgba(255, 184, 72, 0.45);
}

.lantern-art .base {
  position: absolute;
  left: 22px;
  bottom: 12px;
  width: 82px;
  height: 16px;
  border-radius: 50%;
  background: #5a534a;
}

.lantern-art i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f0b35f;
}

.lantern-art i:nth-child(4) { right: 4px; top: 38px; }
.lantern-art i:nth-child(5) { left: 2px; top: 74px; }
.lantern-art i:nth-child(6) { right: 14px; bottom: 38px; }

.section-head,
.product-grid,
.footer {
  width: calc(100vw - 104px);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 42px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 84px;
}

.product-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 22px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 14px 26px rgba(38, 53, 72, 0.16);
}

.product-kicker {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 740;
}

.product-card h3,
.detail-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.28;
}

.product-card p,
.detail-card p,
.fact-row p,
.empty-shot p {
  color: var(--muted);
  line-height: 1.7;
}

.card-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.card-actions a,
.button,
.text-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 13px;
  color: #344153;
  font-size: 13px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
}

.button.primary,
.card-actions a:hover,
.button:hover {
  color: var(--ink);
  border-color: rgba(47, 120, 255, 0.24);
  background: #ffffff;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: #7c8795;
  font-size: 13px;
}

.product-hero {
  width: calc(100vw - 104px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1fr);
  gap: 46px;
  align-items: center;
  margin: 0 auto;
  padding: 74px 0 66px;
}

.product-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.product-title-row .app-icon {
  width: 82px;
  height: 82px;
}

.product-title-row .eyebrow {
  margin-bottom: 0;
}

.product-hero h1 {
  max-width: 720px;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.08;
}

.product-visual {
  min-height: 430px;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at top, rgba(47, 120, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
}

.phone-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
}

.phone-shot {
  width: clamp(118px, 14vw, 168px);
  max-height: 390px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(38, 53, 72, 0.2);
}

.phone-shot:nth-child(2) {
  transform: translateY(-18px);
}

.garmin-shot {
  max-width: min(260px, 34%);
  max-height: 390px;
  object-fit: contain;
  border-radius: 16px;
}

.product-sections {
  width: calc(100vw - 104px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 14px;
  margin: 0 auto 80px;
}

.detail-card {
  padding: 24px;
}

.fact-list {
  display: grid;
  gap: 10px;
}

.fact-row {
  padding: 16px;
}

.fact-row strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
}

.shot-grid {
  width: calc(100vw - 104px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto 84px;
}

.screenshot-card {
  overflow: hidden;
  min-height: 280px;
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.empty-shot {
  min-height: 230px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.empty-shot strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--ink);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
    height: auto;
    padding: 18px 24px;
  }

  .top-nav {
    gap: 18px;
  }

  .round-link {
    display: none;
  }

  .audiences,
  .product-grid,
  .product-hero,
  .product-sections,
  .shot-grid,
  .section-head,
  .footer {
    width: calc(100vw - 36px);
  }

  .audiences,
  .product-grid,
  .product-hero,
  .product-sections,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .hero-home {
    padding: 56px 24px 96px;
  }

  .content-grid,
  .photo-grid,
  .life-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 18px;
  }

  .top-nav {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .audiences {
    margin-top: -34px;
  }

  .audience-panel {
    padding: 22px;
  }

  .product-card {
    grid-template-columns: 58px 1fr;
  }

  .product-card .app-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .card-actions {
    grid-column: 1 / -1;
  }

  .phone-shot {
    width: 30%;
    border-radius: 18px;
  }

  .footer {
    flex-direction: column;
  }
}
