/* The product page. Builds on style.css. */
body.home main { padding: 0; }
.home .wide { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.home section { position: relative; }
.eyebrow { font: 600 15px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text3); margin: 0 0 18px; }
.big { font-size: clamp(40px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 0; color: var(--text); }
.mid { font-size: clamp(32px, 5vw, 60px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; margin: 0 0 18px; color: var(--text); }
.sheen { background: linear-gradient(180deg, #ffffff 20%, #9d9da6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; color: var(--text2); max-width: 34em; margin: 22px auto 0; }
.center { text-align: center; }
.btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.pill { display: inline-block; padding: 13px 24px; border-radius: 99px; font-weight: 600; font-size: 17px; text-decoration: none; }
.pill.solid { background: var(--accent); color: #0a0a0c; }
.pill.solid:hover { background: #fff; color: #0a0a0c; }
.pill.line { color: var(--accent); border: 1px solid var(--raised); }
.pill.line:hover { border-color: var(--text2); color: #fff; }
.section-pad { padding: 140px 0; }

/* Hero */
.hero { padding: 92px 0 0; overflow: hidden; }
.hero-stage { position: relative; height: min(78vh, 720px); min-height: 440px; margin-top: 10px; }
#vase { width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
#vase:active { cursor: grabbing; }
.hero-readout { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 22px;
  font: 500 14px var(--mono); color: var(--text3); background: rgba(18,18,22,.75); border: 1px solid var(--line);
  border-radius: 99px; padding: 9px 18px; white-space: nowrap; }
.hero-readout b { color: var(--text); font-weight: 600; }
.hero-glow { position: absolute; inset: auto 0 0 0; height: 60%; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 85%, rgba(228,228,231,.09), transparent 70%); }
.hint-drag { position: absolute; right: 22px; top: 12px; font-size: 13px; color: var(--text3); }

/* Statement, lit word by word on scroll */
.statement { padding: 180px 0 160px; }
.statement p { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.16; letter-spacing: -.025em; font-weight: 700;
  margin: 0; max-width: 20em; color: var(--text); }
.statement .w { color: #2f2f37; transition: color .35s; }
.statement .w.lit { color: var(--text); }
.statement .w.lit.dim { color: var(--text2); }

/* Story: a phone that stays put while the steps change */
.story { height: 420vh; }
.story-sticky { position: sticky; top: 60px; height: calc(100vh - 60px); display: grid;
  grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.steps-text { position: relative; height: 320px; }
.step { position: absolute; inset: 0; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s; pointer-events: none; }
.step.on { opacity: 1; transform: none; pointer-events: auto; }
.step .num { font: 600 14px var(--mono); color: var(--text3); letter-spacing: .1em; }
.step h3 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.025em; margin: 12px 0 14px; color: var(--text); }
.step p { font-size: 19px; max-width: 26em; }
.progress { display: flex; gap: 8px; margin-top: 26px; }
.progress i { width: 26px; height: 4px; border-radius: 4px; background: var(--raised); transition: background .3s, width .3s; }
.progress i.on { background: var(--accent); width: 44px; }
.phone { justify-self: center; position: relative; height: min(calc(100vh - 140px), 700px); width: auto; aspect-ratio: 1206 / 2622; border-radius: 54px;
  padding: 12px; background: linear-gradient(145deg, #3a3a42, #17171b 40%, #2b2b32); box-shadow: 0 40px 120px rgba(0,0,0,.6),
  inset 0 0 0 1.5px #4a4a53; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 43px; overflow: hidden; background: #000; }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03);
  transition: opacity .6s, transform .8s; }
.phone img.on { opacity: 1; transform: none; }
.phone .island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 31%; height: 3.6%;
  background: #000; border-radius: 99px; z-index: 2; }

/* Layer explorer */
.explorer { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin-top: 56px; }
.layer-card { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 18px; }
#layer { width: 100%; aspect-ratio: 1; display: block; border-radius: 18px; background: #101014; }
.controls { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.controls input[type=range] { flex: 1; accent-color: var(--accent); }
.round { all: unset; cursor: pointer; width: 42px; height: 42px; border-radius: 99px; background: var(--raised);
  display: grid; place-items: center; color: var(--text); flex: none; }
.round:hover { background: #45454f; }
.round:focus-visible { outline: 2px solid var(--accent); }
.readout { display: flex; gap: 22px; font: 500 15px var(--mono); color: var(--text3); margin-top: 14px; flex-wrap: wrap; }
.readout b { color: var(--text); font-weight: 600; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 4px; margin-top: 22px; flex-wrap: wrap; }
.seg button { all: unset; cursor: pointer; padding: 8px 16px; border-radius: 99px; font-size: 15px; color: var(--text2); }
.seg button[aria-pressed=true] { background: var(--raised); color: var(--text); }
.seg button:focus-visible { outline: 2px solid var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 15px; color: var(--text2); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; background: var(--c); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 28px; min-height: 230px;
  display: flex; flex-direction: column; }
.tile svg { width: 44px; height: 44px; color: var(--accent); margin-bottom: auto; }
.tile h3 { font-size: 21px; margin: 26px 0 6px; color: var(--text); }
.tile p { margin: 0; font-size: 16px; }
.tile.span2 { grid-column: span 2; }
.tile .stat { font-size: 64px; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-bottom: auto; color: var(--text); }

/* Checks */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 10px; }
.check-list { list-style: none; margin: 0; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; }
.check-list li { display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-bottom: 1px solid var(--line);
  color: var(--text2); opacity: .25; transition: opacity .4s; }
.check-list li:last-child { border-bottom: 0; }
.check-list li.on { opacity: 1; }
.check-list .dot { width: 24px; height: 24px; border-radius: 99px; flex: none; display: grid; place-items: center;
  background: rgba(143,214,160,.14); color: var(--good); font-size: 14px; font-weight: 700; }
.check-list li.warn .dot { background: rgba(255,190,90,.14); color: #ffc46b; }
.check-list li.warn { color: var(--text); }

/* Send */
.send-art { margin: 56px auto 0; max-width: 760px; }
.send-art svg { width: 100%; height: auto; display: block; }
.send-art .wire { stroke: var(--raised); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; fill: none; }
.send-art .packet { fill: var(--accent); }
.chips-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.chips-row span { border: 1px solid var(--line); background: var(--panel); border-radius: 99px; padding: 9px 18px; color: var(--text); font-size: 16px; }

/* Devices + CTA */
.cta { padding: 150px 0 170px; text-align: center; background: radial-gradient(60% 60% at 50% 100%, rgba(228,228,231,.07), transparent 70%); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* Every screen */
.lineup { position: relative; max-width: 760px; margin: 64px auto 0; padding-right: 120px; }
.tablet { position: relative; width: 100%; max-width: 560px; aspect-ratio: 2064 / 2752; border-radius: 38px; padding: 14px;
  background: linear-gradient(145deg, #3a3a42, #17171b 40%, #2b2b32); box-shadow: 0 40px 120px rgba(0,0,0,.6), inset 0 0 0 1.5px #4a4a53; }
.tablet .screen { width: 100%; height: 100%; border-radius: 25px; overflow: hidden; background: #000; }
.tablet img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lineup .phone.small { position: absolute; right: 0; bottom: -30px; height: auto; width: 230px; border-radius: 40px; padding: 9px; }
.lineup .phone.small .screen { border-radius: 32px; }
.lineup .phone.small .island { top: 14px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 90px; }
.trio h3 { font-size: 24px; margin: 0 0 8px; color: var(--text); }
.trio p { margin: 0; font-size: 17px; }
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; margin-top: 56px; }
.key { display: flex; align-items: center; gap: 6px; }
.key span { margin-left: 6px; color: var(--text2); font-size: 15px; }
kbd { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 9px;
  font: 600 17px -apple-system, BlinkMacSystemFont, system-ui, sans-serif; color: var(--text);
  background: linear-gradient(180deg, #2c2c34, #1d1d23); border: 1px solid #3a3a44; box-shadow: 0 3px 0 #0b0b0e, 0 4px 10px rgba(0,0,0,.4);
  transition: transform .12s, box-shadow .12s, background .12s; }
kbd.wide-key { min-width: 110px; font-size: 14px; }
kbd.down { transform: translateY(3px); box-shadow: 0 0 0 #0b0b0e, 0 1px 4px rgba(0,0,0,.4); background: linear-gradient(180deg, #3a3a44, #2a2a31); }
@media (max-width: 860px) {
  .lineup { padding-right: 70px; margin-top: 44px; }
  .lineup .phone.small { width: 130px; border-radius: 24px; padding: 5px; bottom: -20px; }
  .lineup .phone.small .screen { border-radius: 20px; }
  .lineup .phone.small .island { top: 8px; }
  .tablet { border-radius: 24px; padding: 8px; }
  .tablet .screen { border-radius: 17px; }
  .trio { grid-template-columns: 1fr; gap: 22px; margin-top: 64px; }
  .keys { justify-content: flex-start; gap: 12px 18px; }
}

@media (max-width: 860px) {
  .section-pad { padding: 96px 0; }
  .story { height: 400vh; }
  .story-sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 18px; align-content: center; padding-top: 12px; }
  .phone { height: min(calc(100vh - 360px), 440px); border-radius: 34px; padding: 8px; order: -1; }
  .phone .screen { border-radius: 27px; }
  .phone .island { top: 12px; }
  .steps-text { height: 230px; text-align: center; }
  .step p { margin: 0 auto; font-size: 17px; }
  .step h3 { font-size: 28px; margin: 8px 0 10px; }
  .progress { justify-content: center; margin-top: 16px; }
  .explorer, .checks { grid-template-columns: 1fr; gap: 32px; }
  .grid { grid-template-columns: 1fr; }
  .tile.span2 { grid-column: auto; }
  .tile { min-height: 0; }
  .hero-readout { gap: 14px; font-size: 12px; }
  .hint-drag { display: none; }
  .statement { padding: 110px 0; }
  .hero { padding-top: 48px; }
  .sub { margin-top: 16px; }
  .btns { gap: 10px; margin-top: 24px; }
  .pill { padding: 11px 18px; font-size: 16px; }
  .hero-stage { height: 60vh; min-height: 360px; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .step, .phone img, .statement .w, .check-list li { transition: none; }
}
