/* The website's shared look (Round 4, Concept B; website redesign Stage 3).
   One set of tokens and pieces for every public page. Our story uses it
   first; the homepage, pricing and the other pages move onto it in their
   own stages, so nothing here changes them until they link this file.
   The page sets the fonts: Barlow, and Big Shoulders Display 800/900. */
:root {
  /* Surfaces, darkest to lightest (the app's Stage theme) */
  --sunken: #0D0A06; --stage: #16120E; --card: #1E1912; --raised: #242018; --bezel: #2A241D;
  --line: rgba(237,232,224,.09); --line-2: rgba(237,232,224,.16);
  /* Text on dark: never below --text-3 for anything people must read */
  --text: #EDE8E0; --text-2: rgba(237,232,224,.72); --text-3: rgba(237,232,224,.62);
  /* Gold means "you can tap this" or "now"; on paper it is amber */
  --gold: #E8A020; --gold-hover: #F0AE36;
  --paper: #FBF5E6; --ink: #1E1912; --ink-2: rgba(30,25,18,.76); --amber: #8F5A06; --paper-line: rgba(30,25,18,.16);
  --display: 'Big Shoulders Display', 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --r-s: 8px; --r-m: 12px; --r-l: 16px; --r-device: 28px;
  --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --device-shadow: 0 1px 0 rgba(237,232,224,.10) inset, 0 0 0 1px rgba(0,0,0,.55), 0 28px 56px -24px rgba(0,0,0,.85);
  color-scheme: dark;
}

/* Base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--stage); color: var(--text); font: 400 19px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
.paper :focus-visible { outline-color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 20; background: var(--gold); color: var(--ink); font-weight: 700; padding: var(--s3) var(--s4); border-radius: var(--r-m); }
.skip:focus { top: var(--s4); }

/* Go-live switch (public/bandstack.js applyGoLive): data-mode="live" parts
   show only once sign-ups are open; data-mode="waitlist" parts hide then. */
body:not(.signups-open) [data-mode="live"] { display: none !important; }
body.signups-open [data-mode="waitlist"] { display: none !important; }

/* Layout: one wrapper, a reading column (about 64 characters) and a wide one */
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.col { max-width: 680px; margin-inline: auto; }
.wide { max-width: 1040px; margin-inline: auto; }

/* Header and main navigation */
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 68px; }
.home { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.logo { height: 22px; width: auto; }
.links { display: flex; align-items: center; gap: 4px; }
.links a:not(.btn) { text-decoration: none; color: var(--text-2); font-weight: 500; font-size: 15px; min-height: 44px; padding: 0 var(--s3); display: inline-flex; align-items: center; white-space: nowrap; }
.links a:not(.btn):hover, .links a[aria-current="page"] { color: var(--text); }
.links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.links .btn { margin-left: var(--s2); }

/* Buttons: gold for the one main action, an outline for the second */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--s5); border-radius: var(--r-m); border: 1px solid transparent; font: 700 17px/1 var(--body); text-decoration: none; white-space: nowrap; }
.btn-md { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hover); }
.btn-line { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-line:hover { border-color: rgba(237,232,224,.32); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
/* Shown only where the menu's own button is hidden (see the 560px rule) */
.phone-only { display: none; }

/* Photos (warm black and white, 16px corners, caption below, no text on
   them) and app screens in a device frame */
figure { margin: 0; }
.photo { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--sunken); border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ratio-wide { aspect-ratio: 2.2 / 1; }
.ratio-wide img { object-position: 100% 50%; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-169 { aspect-ratio: 16 / 9; }
figcaption { margin-top: var(--s3); font-size: 15px; line-height: 1.5; color: var(--text-3); }
.device { border-radius: var(--r-device); padding: 7px; background: var(--bezel); border: 1px solid var(--line-2); box-shadow: var(--device-shadow); max-width: 300px; margin-inline: auto; }
.device img { border-radius: 21px; outline: 1px solid rgba(0,0,0,.6); }

/* Paper: the gig bill and the pricing card's surface */
.paper { background: var(--paper); color: var(--ink); border-radius: var(--r-l); border: 1px solid var(--paper-line); overflow: hidden; }

/* Editorial pages (Our story): opening, chapters, a pull quote, a close */
.open { padding-block: clamp(32px, 7vw, 88px) var(--s7); }
.kicker { font-weight: 600; font-size: 16px; color: var(--gold); }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 8vw, 104px); line-height: .92; margin: var(--s3) 0 0; text-wrap: balance; }
.stand { margin-top: var(--s5); font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--text-2); max-width: 36ch; text-wrap: pretty; }
.byline { margin-top: var(--s5); font-size: 16px; color: var(--text-3); }
.byline b { color: var(--text); font-weight: 600; }
.chapter { padding-block: clamp(56px, 8vw, 104px) 0; }
.chapter h2 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.6vw, 56px); line-height: .98; margin: 0; text-wrap: balance; }
.chapter p { margin-top: var(--s5); text-wrap: pretty; }
.chapter p + p { margin-top: var(--s4); }
.media { margin-top: var(--s7); }
.pull { margin: clamp(56px, 8vw, 96px) auto 0; padding-block: var(--s6); border-block: 1px solid var(--line-2); text-align: center; }
.pull blockquote { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.02; text-wrap: balance; }
.pull cite { display: block; margin-top: var(--s4); font-style: normal; font-size: 15px; color: var(--text-3); }
.close { padding-block: clamp(72px, 10vw, 128px); }
.close h2 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6vw, 76px); line-height: .95; margin: 0; }
.close p { margin-top: var(--s5); }
.sign { margin-top: var(--s5); font-family: var(--display); font-weight: 800; font-size: 32px; color: var(--gold); }

/* A short sequence: the starting point, then numbered steps */
.steps { list-style: none; margin: var(--s7) auto 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1.5px solid var(--text-3); }
.steps li { position: relative; padding: var(--s4) var(--s4) 0 0; }
.steps li + li { padding-left: var(--s4); border-left: 1px solid var(--line); }
.steps .step { font-size: 15px; font-weight: 600; color: var(--text-3); }
.steps b { display: block; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.05; margin-top: 4px; }
.steps span:last-child { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.steps li.start b { color: var(--text-2); }
.steps li.now .step { color: var(--gold); }
.steps li.now::before { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 3px; background: var(--gold); }

/* Tags: a short list of things, side by side */
.tags { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.tags li { font-size: 16px; font-weight: 500; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); color: var(--text-2); }

/* A ruled list on paper, two across */
.ruled { margin-top: var(--s6); }
.ruled ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ruled li { padding: var(--s4) var(--s5); border-top: 1px solid var(--paper-line); font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.ruled li:nth-child(-n+2) { border-top: 0; }
.ruled li:nth-child(odd) { border-right: 1px solid var(--paper-line); }
.ruled li b { display: block; color: var(--ink); font-weight: 700; font-size: 17px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: var(--s6) var(--s7); font-size: 15px; color: var(--text-3); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); }
.foot nav { display: flex; flex-wrap: wrap; }
.foot nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; }
.foot nav a:hover { color: var(--text); }

@media (max-width: 860px) {
  .links a.hide-s:not(.btn) { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li:nth-child(4) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+4) { margin-top: var(--s5); border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .ruled ul { grid-template-columns: minmax(0, 1fr); }
  .ruled li:nth-child(2) { border-top: 1px solid var(--paper-line); }
  .ruled li:nth-child(odd) { border-right: 0; }
}
@media (max-width: 560px) {
  body { font-size: 18px; }
  .links a.hide-xs:not(.btn), .links .btn { display: none; }
  .phone-only { display: flex; }
  .ratio-wide { aspect-ratio: 1.5 / 1; }
  .ratio-wide img { object-position: 70% 50%; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: var(--s4) 0 0; border-left: 0; }
  .steps li + li { margin-top: var(--s4); border-top: 1px solid var(--line); }
  .steps li.now::before { top: -1px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
