/* Local concept / revision 06. Neutral charcoal UI and a quieter opening section. */
:root { --bg: #080808; --panel: #161616; --ink: #ededed; --muted: #a3a3a3; --accent: #c6c6c6; --line: #333; }
.frame { max-width: 1440px; }
p { font-size: 18px; }
h2 { font-size: clamp(40px, 4.4vw, 74px); letter-spacing: -.035em; }
h1, h2, h3 { font-weight: 400; }
.section { padding-block: 88px; }

.pill { border-radius: 0; min-height: 48px; padding: 13px 21px; background: transparent; color: var(--ink); border-color: #686763; }
.pill:hover { background: #171717; border-color: var(--ink); }
.pill.salmon { background: #dedede; color: #080808; border-color: #dedede; }
.pill.salmon:hover { background: #fff; border-color: #fff; }
.pill.outline:hover { background: #171717; border-color: var(--ink); }
.pill.small { min-height: 42px; padding: 10px 18px; }
.site-header { background: var(--bg); backdrop-filter: none; }
.header-inner { height: 80px; }
.desktop-nav { font-size: 14px; }
.brand { font-size: 21px; }

.hero { padding-top: 32px; }
.hero h1 { font-size: clamp(78px, 8.8vw, 148px); font-weight: 400; letter-spacing: -.05em; margin: 34px 0 40px; }
.hero h1 > span { color: var(--ink); }
.hero-intro .lead { font-size: clamp(25px, 2.15vw, 35px); letter-spacing: -.035em; }
.hero-intro > p:not(.lead):not(.micro) { font-size: 17px; }
.hero-actions { margin-top: 25px; gap: 15px; }
.hero-product > img { border: 0; border-radius: 0; box-shadow: none; }
.hero-facts { margin-top: 52px; padding-block: 25px; }
.hero-facts strong { font-size: 40px; }
.hero-facts .tiny-cross { color: var(--muted); font-size: 36px; }

.sound { margin-top: 76px; background: #111; }
.section-top { margin-bottom: 32px; }
.section-intro { margin-bottom: 46px; }
.engine-card { border-radius: 0; border-inline: 0; padding: 24px 23px 0; background: transparent; }
.engine-card:hover { border-color: #85837f; background: transparent; }
.round-arrow { border: 0; border-radius: 0; color: var(--ink); }
.engine-card:hover .round-arrow { color: var(--accent); }
.engine-card h3 { font-family: Mono, monospace; font-weight: 400; font-size: 39px; letter-spacing: -.045em; margin-top: 29px; }
.engine-description { font-size: 16px; }
.engine-crop { margin-block: 32px; }
.card-foot > span { color: var(--muted); }
.more-sound { align-items: start; gap: 36px 48px; padding-top: 0; margin-top: 42px; border-top: 0; }
.more-sound > article { border-top: 1px solid var(--line); padding-top: 24px; }
.more-sound h3 { font-family: Mono, monospace; font-size: 34px; margin: 16px 0 12px; }
.more-sound p:not(.micro):not(.overline) { font-size: 18px; }
.more-sound p.overline { font-size: 12px; }

.sequence-media, .arrangement figure img, .video { border-radius: 0; }
.feature-row { margin-top: 40px; }
.feature-row h3 { font-size: 23px; }
.arrangement { margin-top: 90px; padding-top: 68px; gap: 80px; }
.arrangement h2 { font-size: clamp(40px, 4vw, 65px); }
.arrangement p:not(.overline) { font-size: 18px; }
.learn { background: #131313; }
.try { background: #101010; }
.learn-grid h2 { font-size: clamp(38px, 3.55vw, 58px); }
.learn-grid p:not(.overline) { font-size: 18px; }
.play { width: 58px; height: 58px; padding: 0; border-radius: 0; border: 1px solid var(--ink); background: #080808; color: var(--ink); }
.play svg { display: block; pointer-events: none; }
.video:hover .play { border-color: var(--accent); color: var(--accent); }
.details-grid { margin-top: 46px; }
summary { font-size: 18px; padding-block: 21px; }
.community h2 .accent { color: var(--ink); }
.community .community-grid { align-items: start; }
.dev-notes { max-width: 46ch; min-width: 0; }
.dev-note-heading time { display: block; font: 12px/1.7 Mono, monospace; color: var(--muted); }
.dev-note-heading h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; margin: 24px 0; }
.dev-note + .dev-note { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 32px; }
.community p.dev-note-signature { font-family: Mono, monospace; font-size: 13px; line-height: 1.7; color: var(--ink); margin-top: 24px; }

.try > div > h2 { font-size: clamp(40px, 4.15vw, 68px); margin-bottom: 46px; }
.offer { border-radius: 0; border-inline: 0; background: transparent; padding: 32px 36px; }
.offer-heading .overline { color: var(--muted); }
.offer h3 { font-size: 58px; margin-top: 32px; }
.offer.paid h3 { font-size: 87px; line-height: 1.33; margin-top: 21px; }
.offer > p:not(.micro) { font-size: 17px; }
.offer ul { margin-block: 22px 30px; }
.updates { padding-block: 65px; }
.updates h2 { font-size: 33px; }
.email-row input { border-radius: 0; padding: 13px 17px; }
dialog { border-radius: 0; }
dialog::backdrop { backdrop-filter: none; }
.dialog-top button { border: 0; border-radius: 0; }
dialog h2 { font-size: 54px; }
dialog > p:not(.micro) { font-size: 18px; }

@media (min-width: 2200px) {
  .hero h1 { font-size: 152px; }
  .hero-intro > p:not(.lead):not(.micro) { font-size: 18px; }
  .section { padding-block: 100px; }
}
@media (max-width: 1200px) {
  .hero h1 { font-size: 9.3vw; }
  .hero-intro .lead { font-size: 28px; }
  .hero-intro > p:not(.lead):not(.micro) { font-size: 16px; }
  .hero-facts strong { font-size: 32px; }
  .engine-card { padding: 20px 18px 0; }
  .engine-card h3 { font-size: 36px; }
  .engine-description { font-size: 15px; }
  .arrangement { gap: 40px; }
  .offer { padding: 28px; }
}
@media (max-width: 850px) {
  .header-inner { height: 72px; }
  .hero-intro .lead { font-size: 34px; }
  .hero-facts { margin-top: 32px; }
  .section { padding-block: 60px; }
  .sound { margin-top: 48px; }
  .section-intro { margin-bottom: 32px; }
  .engine-card { padding: 18px 14px 0; }
  .engine-card h3 { font-size: 33px; margin-top: 24px; }
  .engine-description { font-size: 13px; }
  .engine-crop { margin-block: 26px; }
  .more-sound h3 { font-size: 28px; }
  .more-sound p:not(.micro):not(.overline) { font-size: 17px; }
  .arrangement { gap: 30px; margin-top: 62px; padding-top: 48px; }
  .arrangement p:not(.overline) { font-size: 17px; }
  .learn-grid h2 { font-size: 44px; }
  .offer h3 { font-size: 44px; }
  .offer.paid h3 { font-size: 66px; line-height: 1.33; margin-top: 21px; }
  .offer > p:not(.micro) { font-size: 16px; }
}
@media (max-width: 600px) {
  .header-inner { height: 68px; }
  .brand { font-size: 20px; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: clamp(59px, 15.6vw, 94px); margin-block: 30px; }
  .hero-intro .lead { font-size: 28px; }
  .hero-intro > p:not(.lead):not(.micro) { font-size: 17px; }
  .hero-facts { margin-top: 28px; padding-block: 22px; }
  .section { padding-block: 49px; }
  .section-top { margin-bottom: 25px; }
  h2 { font-size: 40px; }
  .engine-card { padding: 22px 20px 0; }
  .engine-card h3 { font-size: 42px; }
  .engine-description { font-size: 17px; }
  .more-sound { padding-top: 0; margin-top: 32px; gap: 28px; }
  .more-sound h3 { font-size: 30px; }
  .feature-row { margin-top: 28px; }
  .feature-row h3 { font-size: 25px; }
  .arrangement { margin-top: 40px; padding-top: 36px; }
  .arrangement h2 { font-size: 44px; }
  .learn-grid h2 { font-size: 38px; }
  .learn-grid p:not(.overline) { font-size: 17px; }
  .play { width: 50px; height: 50px; }
  .details-grid { margin-top: 32px; }
  summary { font-size: 17px; }
  .community h2 { font-size: 44px; }
  .try > div > h2 { font-size: 40px; margin-bottom: 30px; }
  .offer { padding: 25px 23px; }
  .offer h3 { font-size: 48px; margin-top: 27px; }
  .offer.paid h3 { font-size: 74px; line-height: 1.04; margin-top: 27px; }
  .offer > p:not(.micro) { font-size: 17px; }
  .updates { padding-block: 48px; }
  .updates h2 { font-size: 31px; }
  .mobile-chapters button { border: 0; border-radius: 0; }
  dialog h2 { font-size: 42px; }
  dialog > p:not(.micro) { font-size: 17px; }
}

/* Draw arrows as vectors so phone emoji fonts cannot replace them. */
.icon-arrow { width: 16px; height: 16px; display: inline-block; vertical-align: -.2em; flex: 0 0 16px; pointer-events: none; }
.pill > span, .underlink > span, .footer-inner a > span { display: inline-flex; align-items: center; }
.round-arrow .icon-arrow { width: 19px; height: 19px; }
.bus-map .icon-arrow { width: 18px; height: 18px; }

/* Shared footer: document flow on desktop, one persistent mobile bar. */
body { min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 11px/1.4 'Mono', monospace; color: var(--muted); }
.footer-inner nav { display: flex; gap: 28px; }
.footer-inner a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; }
.footer-inner a:hover { color: var(--ink); }
.footer-inner a:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.maker-mark { color: var(--ink); }
@media(max-width:600px) {
  body { --footer-height: 64px; padding-bottom: calc(var(--footer-height) + env(safe-area-inset-bottom)); }
  body:has(.mobile-chapters) { --footer-height: 110px; }
  .site-footer { position: fixed; z-index: 15; inset: auto 0 0; background: var(--bg); padding: 6px 0 calc(8px + env(safe-area-inset-bottom)); }
  .footer-inner { min-height: 48px; gap: 12px; font-size: 10px; }
  .footer-inner nav { gap: 16px; }
  .footer-inner a { gap: 5px; }
  .footer-inner .icon-arrow { width: 12px; height: 12px; flex-basis: 12px; }
  .site-footer .mobile-chapters { position: static; padding: 0; width: calc(100% - var(--gutter)*2); margin: 0 auto; min-height: 46px; border: 0; background: transparent; }
  .site-footer .mobile-chapters > div { gap: 8px; }
  .site-footer .mobile-chapters button { width: 52px; height: 46px; padding: 10px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 0; touch-action: manipulation; color: var(--ink); }
  .site-footer .mobile-chapters button .icon-arrow { width: 22px; height: 22px; flex-basis: 22px; }
  .site-footer .mobile-chapters button:active { background: #252525; }
  body:has(dialog[open]) .site-footer,
  body:has(.mobile-menu:not([hidden])) .site-footer,
  body:has(input:focus) .site-footer { visibility: hidden; }
}

/* The opening uses the same heading rhythm as the following sections. */
#start { padding-top: 48px; }
#start .hero-heading { margin: 40px 0 46px; align-items: start; }
#start h1 { font-size: clamp(40px, 4.4vw, 74px); line-height: 1.02; letter-spacing: -.035em; margin: 0; }
#start h1 > span { display: inline; color: var(--muted); }
#start .hero-intro { display: block; }
#start .hero-intro > p:not(.micro) { font-size: 18px; max-width: 44ch; }
#start .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; margin-top: 23px; gap: 16px 24px; }
#start .hero-actions .pill { width: auto; max-width: none; }
#start .hero-product { max-width: 1040px; width: 100%; margin: 0 auto; }
#start .hero-specs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; font-size: 10px; }
#start .hero-specs > span { color: #666; }
@media(max-width:850px) {
  #start .hero-heading { gap: 25px; }
  #start .hero-intro > p:not(.micro) { max-width: 55ch; }
}
@media(max-width:600px) {
  #start { padding-top: 28px; }
  #start .hero-heading { margin: 28px 0 32px; }
  #start h1 { font-size: 40px; }
  #start .hero-intro > p:not(.micro) { font-size: 17px; }
  #start .hero-actions .pill { width: 100%; }
  #start .hero-specs { gap: 8px 12px; margin-top: 19px; font-size: 8px; }
}

/* Align desktop engine artwork and copy with the section frame. */
@media (min-width: 851px) {
  .engine-card { padding-inline: 0; }
}
