/* COPIED from LIVE SITE/css/chordal.css (main signalrecords.co.uk site) for the apps.signalrecords.co.uk landing page.
   Re-copy it whenever LIVE SITE/css/chordal.css changes (keep this header). Verbatim copy apart from this comment. */
/* Signal Records software pages (home, store, CHORDAL, legal) — builds on css/styles.css (site shell: header, footer, .btn, .container).
   Palette and shapes from chordal-SVELTE/BRAND-STYLE-GUIDE.md: flat #595959 page, #ffed68 text yellow,
   #e0d15e button yellow, #000 panels, radius ladder 50 / 35 / 12 / 8 / 4, ADLaM Display, no shadows. */

@font-face {
  font-family: 'ADLaM Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ADLaM-Display-Regular.ttf') format('truetype');
}

:root {
  --chordal-yellow: #ffed68;       /* text / glyph yellow */
  --chordal-yellow-fill: #e0d15e;  /* yellow surface */
  --chordal-panel: #000;
  --chordal-row: #3a3a3a;
  --chordal-border: #979797;
  --chordal-body: #d0d0d0;
  --chordal-blue: #5eb5e0;
  --chordal-red: #f06e6e;
  --chordal-green: #7dcc7d;
  --chordal-purple: #a893d8;
  --chordal-orange: #ffb366;
  --font-chordal: 'ADLaM Display', sans-serif;
}

body.chordal { overflow-x: hidden; }

/* The site header is fixed and transparent; give CHORDAL pages a solid strip so text never runs under it. */
body.chordal .site-header { background: rgba(89, 89, 89, 0.96); }

.chordal-main { padding-top: 110px; }

.wordmark {
  font-family: var(--font-chordal);
  color: var(--chordal-yellow);
  letter-spacing: 0;
  text-transform: none;
}
.wordmark-by {
  display: block;
  font-family: var(--font-chordal);
  font-size: var(--fs-s);
  color: #ffffbb99;
  letter-spacing: 0.05em;
}

/* ---------- Hero ---------- */
.chordal-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--spacing-lg) 16px var(--spacing-md);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--spacing-md);
  align-items: center;
}
.chordal-hero img.logo { width: 220px; height: 220px; }
.chordal-hero h1 {
  font-family: var(--font-chordal);
  font-size: var(--fs-hero);
  color: var(--chordal-yellow);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
}
.chordal-hero .tagline {
  font-size: var(--fs-l);
  color: #fff;
  margin: var(--spacing-sm) 0;
  font-weight: var(--font-weight-normal);
}
.chordal-hero .lede { color: var(--chordal-body); font-size: var(--fs-m); max-width: 620px; }

/* ---------- Buy panel (the launch-checkout.js block) ---------- */
.buy-panel {
  margin-top: var(--spacing-md);
  background: var(--chordal-panel);
  border-radius: 35px;
  padding: 22px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.buy-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.buy-price s { color: #999; font-size: var(--fs-l); }
.buy-price s:empty { display: none; }
.buy-price strong, .buy-price .price-static {
  font-family: var(--font-chordal);
  font-weight: 400;
  font-size: var(--fs-xxl);
  color: var(--chordal-yellow);
}
/* The static price shows until Paddle.PricePreview fills the localised one (and stays if Paddle can't load). */
[data-chordal-now]:not(:empty) ~ .price-static { display: none; }
.buy-note { color: #999; font-size: var(--fs-xs); width: 100%; }
.buy-launch { color: var(--chordal-yellow); font-size: var(--fs-s); width: 100%; }
.buy-launch span:empty { display: none; }
.buy-launch span + span::before { content: ' · '; color: #999; }
.buy-notice { color: var(--chordal-orange); font-size: var(--fs-s); width: 100%; }
.buy-notice:empty { display: none; }

/* Stadium button — the chord readout shape (brand §6.1) in button yellow. */
.btn-stadium {
  font-family: var(--font-chordal);
  font-size: var(--fs-xl);
  background: var(--chordal-yellow-fill);
  color: #595959;
  border: 1px solid var(--chordal-yellow-fill);
  border-radius: 50px;
  height: 64px;
  padding: 0 34px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}
.btn-stadium:hover { filter: brightness(1.1); opacity: 1; }
.btn-stadium:active { filter: brightness(1.4); }
.btn-stadium.ghost { background: transparent; color: var(--chordal-yellow); border-color: var(--chordal-border); }

/* ---------- Sections ---------- */
.chordal-section { max-width: 1000px; margin: 0 auto; padding: var(--spacing-md) 16px; }
.chordal-section > h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--spacing-sm);
}
.chordal-section > p { color: var(--chordal-body); max-width: 760px; margin-bottom: 12px; }

/* Pad-row motif: a row of small stadium pads in the functional chord colours. */
.pad-row { display: flex; gap: 8px; margin: 6px 0 var(--spacing-md); flex-wrap: wrap; }
.pad-row span { width: 22px; height: 36px; border-radius: 50px; display: block; }


/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.feature {
  background: var(--chordal-panel);
  border-radius: 35px;
  padding: 26px 28px;
}
.feature h3 {
  font-family: var(--font-chordal);
  text-transform: none;
  letter-spacing: 0;
  color: var(--chordal-yellow);
  font-size: var(--fs-xl);
  margin-bottom: 8px;
}
.feature p { color: var(--chordal-body); font-size: var(--fs-s); }
.feature ul { color: var(--chordal-body); font-size: var(--fs-s); padding-left: 18px; margin-top: 6px; }
.feature li { margin-bottom: 4px; }
.feature .dot { display: inline-block; width: 10px; height: 16px; border-radius: 50px; margin-right: 8px; vertical-align: -1px; }

.spec-table { width: 100%; border-collapse: collapse; color: var(--chordal-body); font-size: var(--fs-s); }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #444; vertical-align: top; }
.spec-table th { color: #fff; font-weight: var(--font-weight-normal); width: 32%; }

.faq details { background: var(--chordal-panel); border-radius: 12px; padding: 14px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; color: #fff; font-weight: var(--font-weight-normal); }
.faq details p { color: var(--chordal-body); margin-top: 8px; font-size: var(--fs-s); }

.cta-band { text-align: center; padding: var(--spacing-lg) 16px; }
.cta-band p { color: var(--chordal-body); margin-bottom: var(--spacing-sm); }

/* ---------- Legal / text pages ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: var(--spacing-md) 16px var(--spacing-lg); }
.doc h1 {
  font-size: var(--fs-title);
  margin-bottom: 6px;
}
.doc .last-updated { color: #999; font-size: var(--fs-xs); margin-bottom: var(--spacing-md); }
.doc h2 {
  font-size: var(--fs-xl);
  letter-spacing: 0.08em;
  margin: 30px 0 10px;
  color: #fff;
}
.doc h3 { font-size: var(--fs-m); color: #fff; margin: 20px 0 8px; letter-spacing: 0.06em; }
.doc p, .doc li { color: var(--chordal-body); margin-bottom: 10px; }
.doc ul, .doc ol { padding-left: 22px; margin-bottom: 12px; }
.doc a { color: var(--chordal-blue); text-decoration: underline; }
.doc strong { color: #fff; font-weight: var(--font-weight-normal); }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: var(--fs-s); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid #444; color: var(--chordal-body); }
.doc th { color: #fff; font-weight: var(--font-weight-normal); background: rgba(0,0,0,0.25); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.summary-box {
  background: var(--chordal-panel);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: var(--spacing-md);
}
.summary-box h2 { margin-top: 0; font-size: var(--fs-m); color: var(--chordal-yellow); }
.summary-box ul { margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.steps li {
  counter-increment: step;
  background: var(--chordal-panel);
  border-radius: 35px;
  padding: 18px 22px 18px 72px;
  position: relative;
  margin-bottom: 12px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--chordal-yellow-fill);
  color: #595959;
  font-family: var(--font-chordal);
  display: flex; align-items: center; justify-content: center;
}

.contact-card { background: var(--chordal-panel); border-radius: 35px; padding: 24px 28px; margin-bottom: 16px; }
.contact-card h2 { margin-top: 0 !important; color: var(--chordal-yellow) !important; font-family: var(--font-chordal); text-transform: none; letter-spacing: 0 !important; }


/* ---------- Footer legal links (every CHORDAL page) ---------- */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-bottom: var(--spacing-md);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal-links a { color: #ccc; border-bottom: 1px solid #777; padding-bottom: 2px; }
.legal-links a:hover { color: #fff; }

/* ---------- Phone width ---------- */
@media (max-width: 768px) {
  .chordal-main { padding-top: 92px; }
  .chordal-hero { grid-template-columns: 1fr; text-align: center; padding-top: var(--spacing-md); }
  .chordal-hero img.logo { width: 140px; height: 140px; margin: 0 auto; }
  .chordal-hero .lede { margin: 0 auto; }
  .buy-panel { justify-content: center; text-align: center; padding: 20px; border-radius: 35px; }
  .buy-price { justify-content: center; }
  .btn-stadium { width: 100%; max-width: 320px; }
  .spec-table th { width: 40%; }
  .steps li { padding: 16px 18px 16px 64px; }
  .logo-image { height: 44px; }
  .contact-email { font-size: var(--fs-xs); }
}
@media (max-width: 380px) {
  .contact-email { display: none; }
}
