/* Fast Ear site styles, copied from the approved direction A mockup (site section). */
*{box-sizing:border-box}
html,body{margin:0}
body{
  background:var(--ground); color:var(--label);
  font:15px/1.4 -apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",system-ui,"Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased; -webkit-text-size-adjust:100%; text-size-adjust:100%;
}
a{color:inherit; text-decoration:none}
picture{display:contents}
.page{--gutter:64px; max-width:1280px; min-height:100vh; min-height:100svh; margin:0 auto; display:flex; flex-direction:column; overflow-x:clip}

.nav{display:flex; align-items:center; gap:10px; padding:22px var(--gutter); font-size:15px; font-weight:600; letter-spacing:-.01em}
.nav a{display:flex; align-items:center; gap:10px}
.nav img{width:28px; height:28px; border-radius:7px}

.hero{display:grid; grid-template-columns:minmax(300px,1fr) minmax(0,720px); align-items:center; gap:16px; padding:56px 40px 56px var(--gutter); flex:1}
.copy .icon{width:112px; height:112px; border-radius:25px; display:block}
.copy .icon img{display:block; width:100%; height:100%; border-radius:25px}
.copy h1{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",system-ui,sans-serif;
  font-size:72px; line-height:1.02; font-weight:700; letter-spacing:-.022em; margin:30px 0 12px}
.copy .line{text-wrap:balance; font-size:26px; line-height:1.25; font-weight:500; letter-spacing:-.015em; color:var(--label-2); margin:0; max-width:15em}
.copy .cta{display:flex; margin-top:36px}
.copy .badge img{display:block; height:48px; width:auto}
.feature{display:grid; grid-template-columns:minmax(300px,1fr) minmax(0,720px); align-items:center; gap:16px; padding:24px 40px 96px var(--gutter)}
.feature .copy{order:-1}
.copy .kicker{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",system-ui,sans-serif; font-size:34px; line-height:1.15; font-weight:700; letter-spacing:-.022em; color:var(--label); margin:0 0 10px}

/* glass slab with phone */
.stage{position:relative; height:800px; display:flex; align-items:center; justify-content:center}
.slab{position:absolute; left:0; right:0; top:50%; height:320px; margin-top:-160px; border-radius:32px; overflow:hidden; isolation:isolate}
.wave{position:absolute; inset:0; padding:0 24px; display:flex; align-items:center; justify-content:center; gap:6px}
.wave i{display:block; flex:none; width:10px; border-radius:5px; background:var(--accent); opacity:.55}
.glass{position:absolute; inset:0; border-radius:inherit; background:var(--glass-bg);
  -webkit-backdrop-filter:blur(6px) saturate(1.6); backdrop-filter:blur(6px) saturate(1.6);
  box-shadow:inset 0 1px 0 var(--glass-hi), inset 0 0 0 1px var(--glass-edge)}
.device{position:relative; width:340px; border-radius:56px; padding:12px;
  background:var(--phone-bezel); box-shadow:inset 0 0 0 1.5px var(--phone-edge),0 40px 80px -20px var(--device-shadow),0 10px 24px rgba(0,0,0,.12)}
.device img{display:block; width:100%; height:auto; aspect-ratio:660/1435; border-radius:44px}
.device::after{content:""; position:absolute; top:24px; left:50%; width:92px; height:27px; margin-left:-46px; border-radius:20px; background:#000}

.foot{display:flex; gap:22px; align-items:center; padding:22px 0 28px; font-size:13px; color:var(--label-3); border-top:1px solid var(--separator); margin:0 var(--gutter)}
.foot a:hover{color:var(--label)}

/* sub pages */
.sub .doc{flex:1; padding:48px var(--gutter) 96px}
.sub .text{max-width:34em}
.sub h1{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",system-ui,sans-serif; font-size:34px; letter-spacing:-.025em; font-weight:700; margin:0 0 14px}
.sub p{font-size:17px; line-height:1.5; color:var(--label-2); margin:0}
.sub .mail{display:block; margin:0; font-size:17px; font-weight:600; color:var(--accent-text)}
.sub .home{display:inline-block; font-size:17px; font-weight:600; color:var(--accent-text)}

@media (prefers-color-scheme:dark){
  .nav img, .copy .icon img{box-shadow:0 0 0 1px var(--hairline)}
}

/* wide: 42 bars, heights from SlabWaveform.heights starting at 17, x1.3 */
.wave i:nth-child(1){height:73px}
.wave i:nth-child(2){height:135px}
.wave i:nth-child(3){height:96px}
.wave i:nth-child(4){height:57px}
.wave i:nth-child(5){height:107px}
.wave i:nth-child(6){height:65px}
.wave i:nth-child(7){height:44px}
.wave i:nth-child(8){height:29px}
.wave i:nth-child(9){height:31px}
.wave i:nth-child(10){height:60px}
.wave i:nth-child(11){height:91px}
.wave i:nth-child(12){height:49px}
.wave i:nth-child(13){height:120px}
.wave i:nth-child(14){height:78px}
.wave i:nth-child(15){height:156px}
.wave i:nth-child(16){height:109px}
.wave i:nth-child(17){height:68px}
.wave i:nth-child(18){height:182px}
.wave i:nth-child(19){height:125px}
.wave i:nth-child(20){height:83px}
.wave i:nth-child(21){height:218px}
.wave i:nth-child(22){height:143px}
.wave i:nth-child(23){height:94px}
.wave i:nth-child(24){height:172px}
.wave i:nth-child(25){height:114px}
.wave i:nth-child(26){height:73px}
.wave i:nth-child(27){height:135px}
.wave i:nth-child(28){height:96px}
.wave i:nth-child(29){height:57px}
.wave i:nth-child(30){height:107px}
.wave i:nth-child(31){height:65px}
.wave i:nth-child(32){height:44px}
.wave i:nth-child(33){height:29px}
.wave i:nth-child(34){height:31px}
.wave i:nth-child(35){height:60px}
.wave i:nth-child(36){height:91px}
.wave i:nth-child(37){height:49px}
.wave i:nth-child(38){height:120px}
.wave i:nth-child(39){height:78px}
.wave i:nth-child(40){height:156px}
.wave i:nth-child(41){height:109px}
.wave i:nth-child(42){height:68px}
/* narrow: 27 bars starting at 10, x1 */
@media (max-width:720px){
  .wave i:nth-child(1){height:96px}
  .wave i:nth-child(2){height:64px}
  .wave i:nth-child(3){height:168px}
  .wave i:nth-child(4){height:110px}
  .wave i:nth-child(5){height:72px}
  .wave i:nth-child(6){height:132px}
  .wave i:nth-child(7){height:88px}
  .wave i:nth-child(8){height:56px}
  .wave i:nth-child(9){height:104px}
  .wave i:nth-child(10){height:74px}
  .wave i:nth-child(11){height:44px}
  .wave i:nth-child(12){height:82px}
  .wave i:nth-child(13){height:50px}
  .wave i:nth-child(14){height:34px}
  .wave i:nth-child(15){height:22px}
  .wave i:nth-child(16){height:24px}
  .wave i:nth-child(17){height:46px}
  .wave i:nth-child(18){height:70px}
  .wave i:nth-child(19){height:38px}
  .wave i:nth-child(20){height:92px}
  .wave i:nth-child(21){height:60px}
  .wave i:nth-child(22){height:120px}
  .wave i:nth-child(23){height:84px}
  .wave i:nth-child(24){height:52px}
  .wave i:nth-child(25){height:140px}
  .wave i:nth-child(26){height:96px}
  .wave i:nth-child(27){height:64px}
  .wave i:nth-child(n+28){display:none}
}
/* Party: runs of bars per player, Sam (player 1) holds most */
.wave.party i{background:var(--p1); opacity:.85}
.wave.party i:nth-child(18n+6){background:var(--p2)}
.wave.party i:nth-child(18n+7){background:var(--p2)}
.wave.party i:nth-child(18n+12){background:var(--p3)}
.wave.party i:nth-child(18n+13){background:var(--p3)}
.wave.party i:nth-child(18n+17){background:var(--p4)}
.wave.party i:nth-child(18n+18){background:var(--p4)}

/* narrow layout: what a phone sees */
@media (max-width:720px){
  .page{--gutter:20px}
  .hero{grid-template-columns:minmax(0,1fr); padding:40px var(--gutter) 24px; gap:8px}
  .copy .icon{width:88px; height:88px; border-radius:20px}
  .copy .icon img{border-radius:20px}
  .copy h1{font-size:44px; margin:20px 0 8px}
  .copy .line{font-size:20px; max-width:13em}
  .copy .cta{margin-top:24px}
  .copy .badge img{height:44px}
  .feature{grid-template-columns:minmax(0,1fr); gap:8px; padding:24px var(--gutter) 48px}
  .copy .kicker{font-size:28px; margin-bottom:6px}
  .stage{height:580px; margin-top:24px}
  .slab{height:280px; margin-top:-140px}
  .wave{gap:4px; padding:0 20px}
  .wave i{width:7px; border-radius:3.5px}
  .device{width:240px; border-radius:42px; padding:9px}
  .device img{border-radius:33px}
  .device::after{top:17px; width:66px; height:19px; margin-left:-33px}
  .foot{padding:18px 0 24px}
  .sub .doc{padding:32px var(--gutter) 56px}
}
