/* EveryGig: the public page. Plain CSS, phone first.
   The yellow, the black and the blue and purple squares are the app's own colors
   (yellow = band show, purple = practice, blue = sound job). */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --yellow: #f5c518;
  --on-yellow: #14110b;
  --on-yellow-soft: #3b3006;
  --k-practice: #b79cf0;
  --k-sound: #6ea8fe;

  --bg: #ffffff;
  --ink: #14110b;
  --muted: #5c5548;
  --line: #ded6c6;
  --rule: #14110b;
  --panel: #f6f2e8;
  --shot-edge: #14110b;
  --paper-edge: #cfc6b3;
  --focus: #14110b;

  --display: "Archivo", "HelveticaNeue-CondensedBold", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 16px;
  --section: 72px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0c0a;
    --ink: #f4ecdd;
    --muted: #b5aa95;
    --line: #2f2920;
    --rule: #f4ecdd;
    --panel: #17140f;
    --shot-edge: #3a3227;
    --paper-edge: #3a3227;
    --focus: #f5c518;
  }
}
@media (min-width: 700px) { :root { --gutter: 32px; --section: 104px; } }
@media (min-width: 1000px) { :root { --section: 136px; } }

*, *::before, *::after { box-sizing: border-box; }
/* The yellow behind the page is what shows when a phone lets you pull past the top. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; background: var(--yellow); }
@media (pointer: fine) { html { overscroll-behavior: none; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; -webkit-tap-highlight-color: rgba(245, 197, 24, .35); touch-action: manipulation; }
a:hover { text-decoration-thickness: 3px; }
button, input, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(20, 17, 11, .2); }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }

.skip { position: absolute; left: 8px; top: -80px; z-index: 5; background: var(--on-yellow); color: var(--yellow); padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 8px; }

/* ---------- Top and hero: one yellow poster ---------- */
.top { background: var(--yellow); color: var(--on-yellow); padding-top: max(18px, env(safe-area-inset-top)); }
.top-row { display: flex; align-items: center; gap: 12px; }
.wordmark { font: 900 1.75rem/1 var(--display); font-stretch: 68%; letter-spacing: -.01em; }
.beta-tag { font-size: .8125rem; font-weight: 600; line-height: 1; padding: 6px 10px 5px; border: 2px solid var(--on-yellow); border-radius: 999px; }

.hero { background: var(--yellow); color: var(--on-yellow); overflow: hidden; }
.hero :focus-visible, .top :focus-visible, .news :focus-visible { outline-color: var(--on-yellow); }
.hero-grid { display: grid; gap: 36px; padding-top: 36px; }
.hero h1 { font: 900 clamp(3.9rem, 18.6vw, 5.6rem)/.86 var(--display); font-stretch: 62%; letter-spacing: -.012em; word-spacing: .09em; }
.hero h1 span { display: block; }
.hero-lead { margin-top: 22px; font-size: 1.1875rem; line-height: 1.45; max-width: 34em; font-weight: 500; }
.cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 26px;
  background: var(--on-yellow); color: var(--yellow); border: 0; border-radius: 14px;
  font: 700 1.125rem/1.2 var(--body); text-decoration: none; cursor: pointer;
}
.btn:hover { background: #2a2416; }
.btn:active { transform: translateY(1px); }
.cta-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.hero-fine { margin-top: 14px; font-size: .9375rem; color: var(--on-yellow-soft); max-width: 30em; }

.hero-shot { display: grid; gap: 14px; justify-self: start; width: 100%; max-width: 400px; }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9375rem; font-weight: 600; }
.key li { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--on-yellow); flex: none; }
.swatch-band { background: var(--yellow); }
.swatch-practice { background: var(--k-practice); }
.swatch-sound { background: var(--k-sound); }
/* The screen stands on the bottom edge of the poster and is cut off there. */
.hero-screen { max-height: 680px; overflow: hidden; border-radius: 26px 26px 0 0; border: 3px solid var(--on-yellow); border-bottom: 0; background: #0e0c0a; }
.hero-screen img { width: 100%; }

@media (min-width: 560px) {
  .hero h1 { font-size: clamp(5.6rem, 15vw, 7.5rem); }
}
@media (min-width: 900px) {
  .top { padding-top: 26px; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: end; padding-top: 48px; }
  .hero-copy { padding-bottom: 72px; align-self: center; }
  .hero h1 { font-size: clamp(6rem, 10.4vw, 8.6rem); }
  .hero-lead { font-size: 1.3125rem; margin-top: 28px; }
  .cta { margin-top: 32px; }
  .hero-shot { justify-self: end; max-width: 380px; }
  .hero-screen { max-height: 716px; }
}

/* ---------- The four parts of the app ---------- */
.feature { padding-top: var(--section); }
.feature-grid { display: grid; gap: 28px; }
.feature-copy { border-top: 4px solid var(--rule); padding-top: 14px; }
.feature h2, .who h2, .how h2, .faq h2, .news h2 { font: 900 clamp(3.25rem, 15vw, 4.5rem)/.9 var(--display); font-stretch: 62%; letter-spacing: -.01em; word-spacing: .09em; }
.lead { margin-top: 14px; font-size: 1.375rem; line-height: 1.25; font-weight: 600; max-width: 20em; }
.feature-copy p + p { margin-top: 12px; max-width: 34em; }
.feature-copy p:not(.lead) { color: var(--muted); }

.shots { display: grid; gap: 28px; justify-items: start; }
.shot { display: grid; gap: 10px; width: 100%; max-width: 390px; }
.shot img { width: 100%; border-radius: 22px; border: 1px solid var(--shot-edge); background: #0e0c0a; }
.shot figcaption { font-size: .9375rem; color: var(--muted); max-width: 30em; }
.shot-paper img { border-radius: 10px; border-color: var(--paper-edge); background: #fff; }
.shot-wide { max-width: 700px; }

@media (min-width: 700px) {
  .shots-pair, .shots-sound { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 28px 24px; }
  .shot-wide { grid-column: 1 / -1; }
  .feature h2, .who h2, .how h2, .faq h2, .news h2 { font-size: clamp(4.5rem, 9vw, 6rem); }
}
@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .feature-copy { position: sticky; top: 28px; }
  .shots { padding-top: 4px; }
  .shots-pair, .shots-sound { gap: 32px 28px; }
}

/* ---------- Who it's for ---------- */
.who { margin-top: var(--section); background: var(--panel); padding: 56px 0 60px; }
.who-grid { display: grid; gap: 28px; margin-top: 30px; }
.who-item h3, .step h3, .qa h3 { font: 800 1.75rem/1.05 var(--display); font-stretch: 70%; letter-spacing: -.005em; word-spacing: .08em; }
.who-item p { margin-top: 8px; color: var(--muted); max-width: 30em; }
.maker { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; max-width: 34em; }
@media (min-width: 800px) {
  .who { padding: 88px 0 92px; }
  .who-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 44px; }
  .maker { margin-top: 52px; }
}

/* ---------- How the beta works: numbered like the app's date tiles ---------- */
.how { padding-top: var(--section); }
.steps { display: grid; gap: 26px; margin-top: 30px; }
.step { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 18px; align-items: start; }
.step-n { display: grid; place-items: center; width: 60px; height: 72px; background: var(--yellow); color: var(--on-yellow); border-radius: 14px; font: 900 2.75rem/1 var(--display); font-stretch: 70%; }
.step p { margin-top: 8px; color: var(--muted); max-width: 30em; }
.step a, .qa a { color: var(--ink); font-weight: 600; }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 44px; }
  .step { grid-template-columns: 1fr; gap: 20px; align-content: start; }
}

/* ---------- Questions ---------- */
.faq { padding-top: var(--section); padding-bottom: var(--section); }
.qa { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.faq h2 + .qa { margin-top: 28px; }
.qa-a { color: var(--muted); max-width: 36em; }
.qa-a p + p { margin-top: 10px; }
.qa-a strong { color: var(--ink); font-weight: 600; }
@media (min-width: 800px) {
  .qa { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 28px 0; }
  .faq h2 + .qa { margin-top: 44px; }
}

/* ---------- The form: the poster's yellow again ---------- */
.news { background: var(--yellow); color: var(--on-yellow); padding: 56px 0 60px; color-scheme: light; }
.news-grid { display: grid; gap: 28px; }
.news-copy p { margin-top: 16px; font-size: 1.1875rem; font-weight: 500; line-height: 1.45; max-width: 26em; }
.news form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.opt { font-weight: 400; color: var(--on-yellow-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 400 1.0625rem/1.4 var(--body);
  color: #14110b; background-color: #fffdf6; border: 2px solid var(--on-yellow); border-radius: 12px; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select option { background-color: #fffdf6; color: #14110b; }
.field select {
  padding-right: 44px; background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 5.5 8 11l5.5-5.5' fill='none' stroke='%2314110b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--on-yellow); outline-offset: 2px; border-radius: 12px; }
.btn-send { justify-self: start; min-width: 140px; margin-top: 4px; }
.btn-send[disabled] { opacity: .7; cursor: default; }
.form-status { font-weight: 700; font-size: 1.1875rem; line-height: 1.35; }
.form-status:empty { display: none; }
.form-status.bad { margin-top: 14px; padding: 12px 14px; border: 2px solid var(--on-yellow); border-radius: 12px; background: #fffdf6; font-size: 1.0625rem; }
.form-note { margin-top: 16px; font-size: .9375rem; color: var(--on-yellow-soft); }
@media (min-width: 800px) {
  .news { padding: 96px 0 100px; }
  .news-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .news-form { max-width: 520px; }
}

/* ---------- Foot ---------- */
.foot { background: #0a0806; color: #b5aa95; padding: 14px 0 max(14px, env(safe-area-inset-bottom)); font-size: .9375rem; }
.foot p, .sent-foot p { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; min-height: 44px; }
.foot a, .sent-foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.foot :focus-visible { outline-color: #f5c518; }

/* ---------- Privacy and Terms: the same poster top, then plain reading ---------- */
a.wordmark { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.top-back { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; font-weight: 600; text-align: right; }
.doc-head { background: var(--yellow); color: var(--on-yellow); padding: 26px 0 40px; }
.doc-head :focus-visible { outline-color: var(--on-yellow); }
.doc-head h1 { font: 900 clamp(3.9rem, 18.6vw, 5.6rem)/.86 var(--display); font-stretch: 62%; letter-spacing: -.012em; word-spacing: .09em; }
.doc-date { margin-top: 18px; font-size: .9375rem; font-weight: 600; }
.doc-intro { margin-top: 12px; font-size: 1.1875rem; line-height: 1.45; font-weight: 500; max-width: 34em; }
.doc { padding: 12px 0 var(--section); }
.doc section { padding-top: 40px; max-width: 38em; }
.doc h2 { font: 800 2rem/1.05 var(--display); font-stretch: 68%; letter-spacing: -.005em; word-spacing: .08em; border-top: 4px solid var(--rule); padding-top: 12px; }
.doc section p { margin-top: 14px; }
.doc ul { margin-top: 14px; padding-left: 1.15em; list-style: disc; }
.doc li + li { margin-top: 10px; }
.doc li::marker { color: var(--muted); }
.doc strong { font-weight: 700; }
.doc a { font-weight: 600; }
.doc-end { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.doc-end .btn { color: var(--on-yellow); background: var(--yellow); font-weight: 700; }
.doc-end .btn:hover { background: #ffd43a; }
.doc-other { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 560px) { .doc-head h1 { font-size: clamp(5.6rem, 15vw, 7.5rem); } }
@media (min-width: 900px) {
  .doc-head { padding: 40px 0 56px; }
  .doc-head h1 { font-size: clamp(6rem, 10.4vw, 8.6rem); }
  .doc-intro { font-size: 1.3125rem; }
  .doc h2 { font-size: 2.25rem; }
}

/* The short "sent" page */
.sent-page { background: var(--yellow); color: var(--on-yellow); min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; }
.sent-page main { align-self: center; }
.sent-foot { width: 100%; font-size: .9375rem; padding-top: 0; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
.sent-page main.wrap { width: 100%; padding-top: 48px; padding-bottom: 48px; }
.sent-page h1 { font: 900 clamp(4rem, 19vw, 8rem)/.86 var(--display); font-stretch: 62%; letter-spacing: -.012em; word-spacing: .09em; margin-top: 28px; }
.sent-page main p { margin-top: 20px; font-size: 1.1875rem; font-weight: 500; max-width: 26em; }
.sent-page .btn { margin-top: 28px; }
.sent-page :focus-visible { outline-color: var(--on-yellow); }

@media print {
  .btn, .news form { display: none; }
}
