:root {
  --product-black: #0c0c0d;
  --product-white: #ffffff;
  --product-soft: #f4f4f6;
  --product-mid: #e5e5e8;
  --product-muted: #69696f;
  --product-line: rgba(12, 12, 13, .1);
  --product-shadow: 0 28px 80px rgba(12, 12, 13, .12);
}

html { scroll-behavior: smooth; }
body.product-page { margin: 0; overflow-x: hidden; background: var(--product-white); color: var(--product-black); }
.product-page *, .product-page *::before, .product-page *::after { box-sizing: border-box; }
.product-page .shell { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }

.product-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(12, 12, 13, .06);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.product-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.product-page .brand { min-height: 44px; display: inline-flex; gap: 10px; align-items: center; color: var(--product-black); text-decoration: none; font-size: 20px; font-weight: 780; letter-spacing: -.04em; }
.product-page .brand img { border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a, .product-footer a { color: var(--product-black); text-decoration: none; font-size: 14px; font-weight: 640; }
.nav-links .nav-cta { padding: 12px 18px; border-radius: 999px; background: var(--product-black); color: white; }

.product-hero {
  min-height: calc(100vh - 78px);
  padding-block: clamp(64px, 8vw, 106px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  align-items: center;
  gap: clamp(54px, 8vw, 120px);
}
.hero-copy { max-width: 710px; }
.eyebrow { margin: 0 0 20px; color: var(--product-muted); font-size: 13px; line-height: 1.3; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy h1 { margin: 0; max-width: 760px; font-size: clamp(58px, 7.25vw, 92px); line-height: .96; letter-spacing: -.067em; font-weight: 800; }
.hero-lede { max-width: 640px; margin: 30px 0 0; color: #55555b; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; letter-spacing: -.02em; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 54px; padding: 0 24px; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 740; letter-spacing: -.015em; }
.button-primary { background: var(--product-black); color: white; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--product-black); font-weight: 700; text-decoration: none; }
.hero-note { max-width: 500px; margin: 22px 0 0; color: var(--product-muted); font-size: 13px; line-height: 1.55; }

.hero-stage {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 44px;
  background: var(--product-soft);
  isolation: isolate;
}
.hero-glow { display: none; }
.hero-screenshot { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.section { padding-block: clamp(92px, 12vw, 150px); }
.section-heading { max-width: 820px; margin-bottom: 58px; }
.section-heading h2, .story h2, .final-cta h2 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -.06em; }
.section-heading > p:last-child { max-width: 650px; margin: 24px 0 0; color: var(--product-muted); font-size: 19px; line-height: 1.55; }

.essentials { border-top: 1px solid var(--product-line); }
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.feature-card { overflow: hidden; border: 1px solid var(--product-line); border-radius: 30px; background: var(--product-soft); }
.screenshot-wrap { aspect-ratio: 941 / 1672; overflow: hidden; background: #ececee; }
.screenshot-wrap img { width: 100%; height: 100%; object-fit: contain; object-position: top center; transition: transform 550ms cubic-bezier(.23, 1, .32, 1); }
.feature-copy { min-height: 250px; padding: 28px 26px 32px; background: white; }
.feature-copy > span { color: #898990; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.feature-copy h3 { margin: 12px 0 0; font-size: 27px; line-height: 1.08; letter-spacing: -.045em; }
.feature-copy p { margin: 14px 0 0; color: var(--product-muted); font-size: 16px; line-height: 1.55; }

.app-tour { background: var(--product-soft); }
.tour-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr); align-items: end; gap: 52px; }
.tour-heading > p:last-child { margin: 0 0 6px; }
.tour-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.tour-card { grid-column: span 4; margin: 0; overflow: hidden; border: 1px solid var(--product-line); border-radius: 30px; background: #fff; }
.tour-card-wide { grid-column: span 8; display: grid; grid-template-columns: minmax(0, .82fr) minmax(240px, .68fr); align-items: center; }
.tour-image { position: relative; min-height: 0; overflow: hidden; background: #fafafa; }
.tour-card:not(.tour-card-wide) .tour-image { aspect-ratio: 941 / 1500; }
.tour-image img { width: 100%; height: 100%; object-fit: contain; object-position: top center; }
.tour-card-wide .tour-image { height: 660px; }
.tour-card-dark { background: #111; border-color: #111; color: #fff; }
.tour-card-dark .tour-image { background: #111; }
.tour-card figcaption { display: grid; gap: 9px; padding: 25px 25px 29px; }
.tour-card figcaption span { color: var(--product-muted); font-size: 12px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.tour-card-dark figcaption span { color: #a3a3aa; }
.tour-card figcaption strong { max-width: 360px; font-size: 20px; line-height: 1.25; letter-spacing: -.025em; }

.story { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(58px, 9vw, 130px); align-items: center; }
.story-visual { aspect-ratio: 1; position: relative; overflow: hidden; border-radius: 50%; background: var(--product-black); }
.story-visual span { position: absolute; left: 50%; width: 17%; height: 64%; top: 18%; border-radius: 999px; background: white; transform-origin: center; }
.story-visual span:nth-child(1) { transform: translateX(-50%) rotate(0deg); }
.story-visual span:nth-child(2) { transform: translateX(-50%) rotate(60deg); }
.story-visual span:nth-child(3) { transform: translateX(-50%) rotate(120deg); }
.story-copy p:not(.eyebrow) { max-width: 660px; margin: 26px 0 0; color: var(--product-muted); font-size: 18px; line-height: 1.62; }
.story-copy .text-link { margin-top: 30px; }

.final-cta { padding-block: 95px; background: var(--product-black); color: white; }
.final-cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.final-cta .eyebrow { color: #a7a7ad; }
.final-cta h2 { max-width: 840px; }
.button-light { flex: 0 0 auto; background: white; color: var(--product-black); }
.product-footer { min-height: 140px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.product-footer p { margin: 0; color: var(--product-muted); font-size: 13px; }
.product-footer > div { display: flex; justify-content: flex-end; gap: 22px; }
.product-footer > div a { font-size: 13px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button, .nav-cta, .text-link { transition: transform 180ms ease, opacity 180ms ease; }
  .button:hover, .nav-cta:hover { transform: translateY(-2px); }
  .text-link:hover { opacity: .58; }
  .feature-card:hover .screenshot-wrap img { transform: scale(1.025); }
}

@media (max-width: 1000px) {
  .tour-card { grid-column: span 6; }
  .tour-card-wide { grid-column: span 12; }
}

@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-stage { min-height: 640px; }
  .story { grid-template-columns: 1fr; }
  .story-visual { width: min(500px, 100%); }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .product-page .shell { width: min(100% - 32px, 1220px); }
  .product-nav { min-height: 68px; }
  .nav-links { gap: 0; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .product-hero { min-height: auto; padding-block: 64px 72px; gap: 54px; }
  .hero-copy h1 { font-size: clamp(50px, 15vw, 68px); }
  .hero-stage { min-height: 560px; border-radius: 30px; }
  .three-grid { grid-template-columns: 1fr; }
  .feature-card { width: min(100%, 520px); margin-inline: auto; }
  .feature-copy { min-height: 0; }
  .tour-heading { grid-template-columns: 1fr; gap: 22px; }
  .tour-card, .tour-card-wide { grid-column: span 12; }
  .tour-card-wide { display: block; }
  .tour-card-wide .tour-image, .tour-card:not(.tour-card-wide) .tour-image { height: auto; aspect-ratio: 941 / 1500; }
  .product-footer { padding-block: 38px; grid-template-columns: 1fr; }
  .product-footer > div { justify-content: flex-start; flex-wrap: wrap; gap: 8px 18px; }
}

@media (max-width: 430px) {
  .product-page .shell { width: min(100% - 24px, 1220px); }
  .nav-links .nav-cta { padding-inline: 14px; }
  .product-hero { padding-top: 50px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-stage { min-height: 500px; }
  .section { padding-block: 82px; }
  .tour-grid { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
