/* presentation page around the prototype */
html { scroll-behavior: smooth; background: #000; }
body { background: #000; color: var(--text); font-family: var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.shot-mode { background: #000; width: 390px; height: 844px; overflow: hidden; }
a { color: inherit; text-decoration: none; }

.site-top { position: fixed; inset: 0 0 auto 0; height: 72px; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; background: linear-gradient(180deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0)); }
.brand { display: flex; align-items: center; gap: 16px; }
.brand span { font-family: var(--display); font-size: 9.5px; letter-spacing: .3em; color: var(--text-3); text-transform: uppercase; padding-left: 16px; border-left: 1px solid var(--line-2); }
.links { display: flex; gap: 30px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.links a { transition: color .25s; }
.links a:hover { color: var(--lime); }

.hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 560px) auto; justify-content: center; align-items: center; gap: 8vw; padding: 96px 5vw 40px; overflow: hidden; }
.hero-bg { position: absolute; top: 0; bottom: 0; right: 0; width: 66%; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; opacity: .78; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 30%, rgba(0, 0, 0, .05) 65%, rgba(0, 0, 0, .35) 100%), linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 28%); }
.hero-copy { position: relative; z-index: 2; max-width: 560px; }
.kicker { font-family: var(--display); font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--text-2); }
.kicker span { color: var(--lime); margin-left: 8px; }
.hero h1 { font-size: clamp(38px, 3.9vw, 56px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 22px 0 18px; }
.hero p { font-size: 16.5px; line-height: 1.55; color: var(--text-2); max-width: 440px; }
.screen-list { list-style: none; margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; max-width: 470px; }
.screen-list button { width: 100%; display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-radius: 14px; font-size: 14px; font-weight: 700; color: var(--text-2); border: 1px solid transparent; transition: all .3s var(--ease); text-align: left; }
.screen-list button .n { font-family: var(--display); font-size: 9px; color: var(--text-3); letter-spacing: .1em; transition: color .3s; }
.screen-list button:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.screen-list button.on { color: var(--text); border-color: rgba(141, 198, 63, .45); background: rgba(141, 198, 63, .08); }
.screen-list button.on .n { color: var(--lime); }
.screen-list button:active { transform: scale(.97); }

.device-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.device { --s: 1; width: 418px; height: 872px; border-radius: 66px; padding: 14px; background: linear-gradient(145deg, #2a2c30, #0c0d0e 40%, #1c1e21); box-shadow: 0 0 0 1.5px #3a3d42, 0 60px 120px -30px rgba(0, 0, 0, .9), 0 0 120px -20px rgba(141, 198, 63, .25); position: relative; transform: scale(var(--s)); transform-origin: top center; margin-bottom: calc(872px * (var(--s) - 1)); }
.device-screen { width: 390px; height: 844px; border-radius: 52px; overflow: hidden; position: relative; background: #000; }
.island { position: absolute; top: 25px; left: 50%; transform: translateX(-50%); width: 120px; height: 34px; border-radius: 20px; background: #000; z-index: 60; }
.device-screen .os-bar { padding-top: 10px; }
.device-hint { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); }
.tapdot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); animation: pulse 1.6s infinite; }

.sec { padding: 120px 7vw 40px; position: relative; }
.sec-hd { display: grid; grid-template-columns: 70px 1fr; column-gap: 20px; max-width: 900px; margin-bottom: 48px; }
.sec-hd .num { font-family: var(--display); font-size: 12px; color: var(--lime); letter-spacing: .2em; padding-top: 14px; grid-row: span 2; }
.sec-hd h2 { font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.03em; font-weight: 700; line-height: 1.05; }
.sec-hd p { color: var(--text-2); font-size: 16px; margin-top: 12px; max-width: 620px; line-height: 1.55; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }
.g-item { text-align: left; transition: transform .45s var(--ease); }
.g-item img { width: 100%; height: auto; border-radius: 30px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); background: #000; transition: border-color .3s, box-shadow .3s; }
.g-item span { display: flex; gap: 12px; align-items: baseline; margin-top: 14px; font-size: 15px; font-weight: 700; }
.g-item span b { font-family: var(--display); font-size: 9.5px; color: var(--lime); letter-spacing: .14em; font-weight: 400; }
.g-item:hover { transform: translateY(-6px); }
.g-item:hover img { border-color: rgba(141, 198, 63, .6); box-shadow: 0 40px 70px -30px rgba(141, 198, 63, .35); }

.states { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.st-grid { display: grid; grid-template-columns: 120px repeat(3, 1fr); gap: 18px 18px; align-items: center; padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.st-h { font-family: var(--display); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-3); }
.st-l { font-size: 13px; font-weight: 700; color: var(--text-2); }
.st-grid .row { display: flex; gap: 14px; align-items: center; }
.st-ib { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.pressed-demo { position: relative; }
.finger { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: rgba(255, 255, 255, .22); border: 1.5px solid rgba(255, 255, 255, .7); pointer-events: none; }
.finger::before, .finger::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1.5px solid rgba(141, 198, 63, .7); }
.finger::after { inset: -24px; border-color: rgba(141, 198, 63, .3); }
.st-side { display: flex; flex-direction: column; gap: 16px; }
.haptics { padding: 22px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.hp { display: flex; gap: 16px; align-items: center; font-size: 13.5px; color: var(--text-2); }
.hp b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }
.hp-ic { width: 54px; height: 40px; border-radius: 12px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; gap: 4px; flex: none; }
.hp-ic i { width: 4px; height: 16px; border-radius: 2px; background: var(--lime); }
.hp-ic.two i { height: 22px; }
.hp-ic.long i { width: 28px; height: 6px; border-radius: 3px; }
.try { padding: 22px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 14px; }

.ds { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ds-col { padding: 30px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.sw-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.sw-row.small { grid-template-columns: repeat(5, 1fr); }
.swatch i { display: block; height: 92px; border-radius: 18px; margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.sw-row.small .swatch i { height: 56px; border-radius: 14px; }
.swatch b { display: block; font-size: 13.5px; }
.swatch small { font-size: 11.5px; color: var(--text-2); }
.type-spec { padding: 18px 0; border-bottom: 1px solid var(--line); }
.tf.disp { font-family: var(--display); font-size: 34px; letter-spacing: .26em; }
.tf.ui { font-size: 40px; font-weight: 700; letter-spacing: -.03em; }
.tmeta { font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.sig-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.foot { padding: 100px 7vw calc(70px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin-top: 100px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; color: var(--text-2); font-size: 14px; }
.foot .credit { font-size: 12.5px; color: var(--text-3); }
.foot .credit a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.to-top { position: fixed; right: 28px; bottom: 28px; z-index: 70; width: 48px; height: 48px; border-radius: 16px; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(141, 198, 63, .7); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:active { transform: scale(.92); background: var(--lime-press); }

.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.gallery .g-item:nth-child(4n+2) { transition-delay: .06s; }
.gallery .g-item:nth-child(4n+3) { transition-delay: .12s; }
.gallery .g-item:nth-child(4n+4) { transition-delay: .18s; }

@media (max-width: 1180px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .states, .ds { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .site-top { padding: 0 16px; height: 60px; }
  .links { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 80px 16px 30px; gap: 26px; }
  .device-wrap { width: 100%; min-width: 0; }
  .device-hint { text-align: center; }
  .hero-bg { width: 100%; height: 520px; }
  .hero-copy { max-width: none; }
  .screen-list { grid-template-columns: 1fr 1fr; }
  .sec { padding: 80px 16px 20px; }
  .sec-hd { grid-template-columns: 1fr; }
  .sec-hd .num { padding: 0 0 8px; }
  .st-grid { grid-template-columns: 1fr; padding: 20px; }
  .st-h { display: none; }
  .sw-row { grid-template-columns: repeat(2, 1fr); }
  .sw-row.small { grid-template-columns: repeat(3, 1fr); }
  .ds-col { padding: 20px; }
  .foot { padding: 60px 16px calc(90px + env(safe-area-inset-bottom)); }
  .to-top { left: 16px; right: auto; bottom: 18px; }
}
@media (max-width: 560px) {
  .gallery { gap: 22px 12px; }
  .g-item img { border-radius: 18px; }
  .hero h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }
