/* Builds on tokens.css (font-face, colors, spacing, container, form-panel, focus, breakpoints). */

.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:var(--s4);top:-80px;z-index:100;background:var(--lime);color:var(--ink);padding:var(--s3) var(--s4);border-radius:var(--radius-control);font-weight:650}
.skip-link:focus{top:var(--s4)}
img{max-width:100%;display:block}
h1,h2,h3,p{margin:0}
a{color:inherit}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--s2);min-height:var(--button-height);padding:0 var(--s6);background:var(--lime);color:var(--ink);border:0;border-radius:var(--radius-control);font-size:16px;font-weight:650;line-height:1.25;letter-spacing:-.01em;text-decoration:none;cursor:pointer;transition:background var(--transition),transform var(--transition)}
.btn:hover{background:var(--lime-hover)}
.btn:active{transform:translateY(1px)}
.btn[disabled],.btn[aria-disabled=true]{opacity:.7;cursor:progress}
.btn-small{min-height:44px;padding:0 var(--s4);font-size:14px}
/* Header CTA is secondary: outlined ivory, so "Plan my station" stays the one solid-lime action */
.btn.header-cta{background:transparent;color:var(--ivory);border:1px solid rgba(245,243,235,.45)}
.btn.header-cta:hover{background:rgba(245,243,235,.1);border-color:var(--ivory)}
.btn.header-cta:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
.btn-block{width:100%}
.btn-ghost{background:transparent;color:var(--text-dark);border:1px solid var(--border-light)}
.btn-ghost:hover{background:#ebe9df}
.icon-arrow{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}
.icon{width:24px;height:24px;fill:none;stroke:var(--ivory);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}

.eyebrow{font-size:12px;font-weight:650;line-height:1.4;letter-spacing:.12em;text-transform:uppercase}
.meta{font-size:14px;color:var(--text-muted-light)}
.wordmark{font-size:12px;font-weight:500;line-height:1.2;letter-spacing:.28em;text-transform:uppercase}

/* Header */
.site-header{position:absolute;inset:0 0 auto 0;z-index:10;height:80px;border-bottom:1px solid var(--border-dark)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:100%}
.brand{display:flex;align-items:center;gap:var(--s4);text-decoration:none}
.brand-mark{width:auto;height:28px}

/* Hero */
.hero{position:relative;min-height:640px;padding:144px 0 80px;overflow:hidden}
.hero-media{position:absolute;inset:0}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:68% 45%}
/* Desktop: render the studio photo ~10% smaller and lower so the mic head sits level with the headline.
   The photo stays right-anchored and larger than the hero, so no empty edges show; its left edge is feathered. */
@media(min-width:1024px){
  .hero-media{--hero-photo-w:max(90vw,1160px)}
  .hero-media img{position:absolute;right:0;width:var(--hero-photo-w);height:auto;max-width:none;top:calc(244px - var(--hero-photo-w) * .2213);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%);mask-image:linear-gradient(90deg,transparent 0,#000 14%)}
}
.hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,15,13,.95) 0%,rgba(8,15,13,.8) 40%,rgba(8,15,13,0) 75%),linear-gradient(180deg,rgba(8,15,13,0) 65%,var(--ink) 100%),linear-gradient(180deg,rgba(8,15,13,.8) 0,rgba(8,15,13,.55) 80px,rgba(8,15,13,0) 150px)}
.hero-inner{position:relative;display:grid;grid-template-columns:52% 1fr;gap:var(--s8);align-items:end;min-height:416px}
.hero-copy{min-width:0;max-width:620px}
.hero-lede{margin:var(--s6) 0 var(--s8);max-width:48ch;font-size:20px;line-height:1.5;letter-spacing:-.01em}
.hero-copy .meta{margin-top:var(--s4)}
.station-preview{justify-self:end;width:324px;padding:var(--s5);background:rgba(8,15,13,.88);border:1px solid rgba(255,255,255,.16);border-radius:var(--radius-panel)}
.preview-head{display:flex;justify-content:space-between;gap:var(--s4);color:var(--text-muted-light)}
.preview-tag{color:#98a39b}
.wave{display:flex;align-items:center;gap:3px;height:48px;margin-top:var(--s4)}
.wave span{flex:1;min-width:2px;border-radius:2px;background:#6b766f}
.wave span:nth-child(odd){background:rgba(181,255,74,.5)}

/* Hero headline marker highlight: decorative pseudo-element behind real text, sized in em so it scales with the word */
.mark{position:relative;isolation:isolate;display:inline-block;color:var(--ink)}
.mark::before{content:"";position:absolute;z-index:-1;inset:.1em -.075em -.01em -.08em;transform:rotate(-1.2deg);background:url("assets/marker-highlight.svg") 0 0/100% 100% no-repeat;pointer-events:none}

/* Legal pages */
.legal-page .site-header{position:relative}
.legal{max-width:760px;padding:var(--s16) 0 var(--s20)}
.legal-title{font-size:44px;font-weight:750;line-height:1.12;letter-spacing:-.035em;margin-bottom:var(--s2)}
.legal h2{margin:var(--s10) 0 var(--s3);font-size:22px;font-weight:650;letter-spacing:-.02em}
.legal p,.legal li{max-width:68ch;line-height:1.6;color:var(--text-muted-light)}
.legal p{margin:0 0 var(--s4)}
.legal ul{margin:0 0 var(--s4);padding-left:var(--s6)}
.legal li{margin-bottom:var(--s2)}
.legal strong{color:var(--ivory);font-weight:650}
.legal a{color:var(--lime)}

/* Benefits */
.benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s8);padding:var(--s8) 0 var(--s12)}
.benefit{display:flex;gap:var(--s4);align-items:flex-start;min-width:0}
.benefit p{font-size:14px;color:var(--text-muted-light)}
.benefit-title{font-size:16px;font-weight:650;letter-spacing:-.01em;line-height:1.4}
.benefit+.benefit{padding-left:var(--s8);border-left:1px solid var(--border-dark)}

/* Form */
.form-section{padding-bottom:var(--s16)}
.form-panel{max-width:100%}
.form-title{font-size:44px;font-weight:750;line-height:1.12;letter-spacing:-.035em;outline-offset:6px}
.form-intro{margin-top:var(--s2);max-width:48ch;font-size:18px;color:var(--text-muted-dark)}
.progress-wrap{margin:var(--s8) 0 var(--s10)}
.progress-compact{display:none;font-size:14px;font-weight:650;color:var(--text-muted-dark)}
.progress{display:flex;align-items:center;gap:var(--s4);list-style:none;margin:0;padding:0}
.progress li{display:flex;align-items:center;gap:var(--s3);color:var(--text-muted-dark);font-size:16px;white-space:nowrap}
.progress li:not(:last-child){flex:1}
.progress li:not(:last-child)::after{content:"";flex:1;height:1px;margin-left:var(--s2);background:var(--border-light)}
.progress .dot{display:grid;place-items:center;width:36px;height:36px;flex:none;border:1.5px solid var(--border-light);border-radius:50%;font-size:13px;font-weight:650;background:var(--ivory)}
.progress [aria-current=step]{color:var(--text-dark);font-weight:650}
.progress [aria-current=step] .dot{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.progress .done .dot{background:var(--forest);border-color:var(--forest);color:var(--lime)}
.progress .dot svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

@keyframes step-in{from{opacity:0}to{opacity:1}}
.fade-in{animation:step-in 120ms ease}
.step{border:0;margin:0;padding:0;min-width:0}
.field{min-width:0}
.field[hidden]{display:none}
.field>label,.field>.label{display:block;margin-bottom:var(--s2);font-size:16px;font-weight:500;line-height:1.4;letter-spacing:-.01em}
.req{color:var(--error)}
.helper{margin-top:var(--s2);font-size:14px;color:var(--text-muted-dark)}
.field-error{margin-top:var(--s2);font-size:14px;color:var(--error);font-weight:500}
.field-error:empty{display:none}
.control{display:block;width:100%;min-height:var(--control-height);padding:0 14px;background:#fff;color:var(--text-dark);border:1px solid var(--border-light);border-radius:var(--radius-control);font-size:16px;line-height:1.5}
textarea.control{min-height:112px;padding:14px;resize:vertical}
select.control{appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111713' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:20px}
select.control:invalid{color:#5f6b63}
.control::placeholder{color:#5f6b63;opacity:1}
.control[aria-invalid=true]{border-color:var(--error);box-shadow:0 0 0 1px var(--error)}
.counter{display:block;margin-top:var(--s2);font-size:14px;color:var(--text-muted-dark);text-align:right}

.choice-group{border:0;margin:0;padding:0;min-width:0}
.choice-group legend{padding:0;margin-bottom:var(--s2);font-size:16px;font-weight:500;line-height:1.4;letter-spacing:-.01em}
.choice-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:var(--s3)}
.choice{display:flex;align-items:center;gap:var(--s3);min-height:var(--control-height);padding:0 14px;background:#fff;border:1px solid var(--border-light);border-radius:var(--radius-control);cursor:pointer}
.choice input{width:20px;height:20px;margin:0;accent-color:var(--forest);flex:none}
.choice:has(input:checked){background:var(--selected);border-color:var(--focus-on-light)}
.choice:has(input:focus-visible){outline:2px solid var(--focus-on-light);outline-offset:3px}
.choice-group[data-invalid] .choice{border-color:var(--error)}
.field>label.checkbox-row{display:flex;gap:var(--s4);align-items:flex-start;min-height:44px;margin:var(--s2) 0 0;padding:var(--s2) 0;font-weight:400;cursor:pointer}
.checkbox-row input:focus-visible{outline:2px solid var(--focus-on-light);outline-offset:3px}
.checkbox-row input{width:22px;height:22px;margin:1px 0 0;accent-color:var(--forest);flex:none}

.chips{display:flex;flex-wrap:wrap;gap:var(--s3)}
.chip{display:inline-flex;align-items:center;gap:var(--s2);min-height:44px;padding:0 var(--s4);background:#fff;color:var(--text-dark);border:1px solid var(--border-light);border-radius:999px;font-size:15px;cursor:pointer;transition:background var(--transition)}
.chip:hover{background:#ebf1de}
.chip[aria-pressed=true]{background:var(--selected);border-color:var(--focus-on-light);font-weight:500}
.chip[aria-pressed=true]::after{content:"×";font-size:18px;line-height:1}
.chip[aria-pressed=false]::before{content:"+";font-size:18px;line-height:1;color:var(--text-muted-dark)}
.chip[disabled]{opacity:.5;cursor:not-allowed}

.error-summary{margin-bottom:var(--s6);padding:var(--s4) var(--s5);border:1px solid var(--error);border-radius:var(--radius-control);background:#fbeeee;color:#5f1414}
.error-summary h3{font-size:16px;font-weight:650;margin-bottom:var(--s2)}
.error-summary ul{margin:0;padding-left:var(--s5)}
.error-summary a{color:#5f1414;font-weight:500}
.submit-error{margin-top:var(--s6);padding:var(--s4) var(--s5);border:1px solid var(--error);border-radius:var(--radius-control);background:#fbeeee;color:#5f1414}

.form-actions{display:flex;gap:var(--s4);margin-top:var(--s8)}
.form-actions .btn-ghost{flex:none}
.form-actions [hidden]{display:none}
.upcoming{margin-top:var(--s8);padding-top:var(--s8);border-top:1px solid var(--border-light)}
.upcoming:empty{display:none}
.upcoming-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s4)}
.upcoming-card{display:flex;gap:var(--s4);padding:var(--s4) var(--s5);border:1px solid var(--border-light);border-radius:var(--radius-control)}
.upcoming-card .dot{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;background:#e4e3da;font-size:13px;font-weight:650}
.upcoming-card h3{font-size:12px;font-weight:650;letter-spacing:.12em;text-transform:uppercase}
.upcoming-card p{margin-top:var(--s1);font-size:14px;color:var(--text-muted-dark)}
.upcoming-note{margin-top:var(--s4);font-size:14px;color:var(--text-muted-dark)}

.success{padding:var(--s8) 0;max-width:56ch}
.success p{margin-top:var(--s4);font-size:18px;color:var(--text-muted-dark)}

/* Process */
.process{position:relative;padding:var(--s12) 0}
.process-waves{position:absolute;inset:50% 0 auto;transform:translateY(-50%);width:100%;height:auto;opacity:.35;pointer-events:none}
.process-list{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s8);list-style:none;margin:0;padding:0}
.process-list li{display:flex;gap:var(--s4);min-width:0}
.step-num{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid var(--ivory);border-radius:50%;font-weight:500;background:var(--ink)}
.process-list h3{font-size:16px;font-weight:650;letter-spacing:-.01em}
.process-list p{margin-top:var(--s1);font-size:14px;color:var(--text-muted-light);max-width:34ch}

/* Closing */
.closing{position:relative;min-height:240px;padding:var(--s12) 0;overflow:hidden;border-top:1px solid var(--border-dark)}
.closing-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:72% 50%}
.closing::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,15,13,.95) 0%,rgba(8,15,13,.7) 50%,rgba(8,15,13,.15) 100%)}
.closing-inner{position:relative;z-index:1}
.closing-title{margin-bottom:var(--s6);font-size:40px;font-weight:750;line-height:1.12;letter-spacing:-.03em}

/* Footer */
.site-footer{border-top:1px solid var(--border-dark)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:var(--s4);min-height:72px}
.footer-link{font-size:14px;color:var(--text-muted-light)}

.only-mobile{display:none}
.progress-bar{display:none}

/* Tablet */
@media(max-width:1023px){
  .form-title{font-size:36px}
  .closing-title{font-size:36px}
  .hero-lede{font-size:18px}
  .hero-inner{grid-template-columns:1fr}
  .station-preview{display:none}
  .wordmark{font-size:11px}
  .hero{padding-top:128px}
  .progress li span.label{display:none}
  .progress [aria-current=step] span.label{display:inline}
}

/* Mobile */
@media(max-width:767px){
  .only-desktop{display:none}
  .only-mobile{display:inline}

  /* Header: logo + wordmark only */
  .site-header{position:relative;height:68px;background:var(--ink)}
  .site-header .container{width:100%;padding-inline:var(--s6)}
  .header-cta{display:none}
  .brand{gap:var(--s3)}
  .brand-mark{height:24px}
  .wordmark{font-size:10px}

  /* Page order: hero, form, then benefits */
  main{display:flex;flex-direction:column}
  .hero{order:1}
  .form-section{order:2}
  .benefits{order:3}
  .process{order:4}
  .closing{order:5}

  /* Hero */
  .hero{display:flex;flex-direction:column;min-height:0;padding:0}
  .hero-inner{order:1;display:block;min-height:0;padding:var(--s12) 0 var(--s8)}
  .hero-title{font-size:clamp(38px,calc((100vw - 40px) * .135),56px);line-height:1.14}
  .mark::before{inset:.16em -.075em .03em -.08em}
  .hero-lede{margin:28px 0;font-size:17px;line-height:1.6}
  .hero-copy .btn{width:100%;min-height:52px}
  .hero-copy .meta{margin-top:12px}
  .hero-media{position:relative;inset:auto;order:2;height:190px;margin-bottom:var(--s10)}
  .hero-media::after{background:linear-gradient(180deg,var(--ink) 0%,rgba(8,15,13,0) 30%,rgba(8,15,13,0) 70%,var(--ink) 100%)}

  /* Form */
  .form-section{padding-bottom:var(--s10)}
  .form-panel{border-radius:14px}
  .form-title{font-size:28px}
  .form-intro{font-size:16px}
  .progress-wrap{margin:var(--s6) 0 28px}
  .progress-compact{display:block;font-size:15px}
  .progress-bar{display:block;height:4px;margin-top:var(--s3);background:#dcdbd1;border-radius:2px;overflow:hidden}
  .progress-bar span{display:block;height:100%;width:33.333%;background:var(--forest);border-radius:2px;transition:width var(--transition)}
  .progress-bar[data-step="2"] span{width:66.667%}
  .progress-bar[data-step="3"] span{width:100%}
  .progress{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .form-grid{row-gap:var(--s8)}
  .chips{gap:10px}
  .chip{padding:0 14px;gap:6px}
  .choice-list{grid-template-columns:1fr;gap:10px}
  .choice{min-height:52px}
  textarea.control{min-height:120px}
  .form-actions{flex-direction:column-reverse}
  .form-actions .btn{min-height:52px}
  .upcoming-cards{grid-template-columns:1fr}

  /* Benefits (now below the form) */
  .benefits{grid-template-columns:1fr;gap:var(--s6);padding:0 0 var(--s10)}
  .benefit+.benefit{padding-left:0;border-left:0}

  .process{padding:var(--s10) 0}
  .process-waves{display:none}
  .process-list{grid-template-columns:1fr;gap:var(--s6)}
  .closing{min-height:280px;padding:var(--s10) 0}
  .closing-title{font-size:30px}
  .closing::after{background:linear-gradient(90deg,rgba(8,15,13,.92),rgba(8,15,13,.6))}
  .footer-inner{flex-wrap:wrap;padding:var(--s6) 0}
}