/* Copyright (c) 2026 Soundliminal LLC, trading as Sound Pro Academy. All rights reserved.
   Proprietary software. Copying, redistributing, decompiling or reverse engineering it is prohibited.
   This file carries a unique fingerprint that identifies its origin. Contact: a.administration@soundproacademy.com */
/*
 * The landing page. Same field, glass and gold as the app (styles.css), kept
 * in its own small file so the front door does not load the whole studio.
 */

:root {
  --void: #07080c;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);
  --edge: rgba(255, 255, 255, 0.10);
  --edge-hi: rgba(255, 255, 255, 0.20);
  --text: #eef0f4;
  --text-2: rgba(238, 240, 244, 0.72);
  --text-3: rgba(238, 240, 244, 0.50);
  --on-gold: #1a1405;
  --gold: #f0b429;
  --gold-2: #ffd071;
  --gold-soft: rgba(240, 180, 41, 0.12);
  --mint: #55e3b0;
  --danger: #ff8a84;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-card: 26px;
  --r-md: 16px;
  --e-2: 0 30px 70px rgba(0, 0, 0, 0.5);
  --e-gold: 0 10px 30px rgba(240, 180, 41, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

.aurora { position: absolute; inset: 0 0 auto 0; height: 1700px; overflow: hidden; pointer-events: none; z-index: 0; }
/* Soft glows drawn as radial gradients, not blurred shapes: filter: blur(120px) on
   elements this size made iPhone Safari drop tiles (blank page below the fold),
   stutter on scroll and miss taps (owner, 11 Oct 2026). Same look, no filter. */
.aurora i { position: absolute; border-radius: 50%; }
.aurora i:nth-child(1) { width: 1000px; height: 840px; top: -360px; left: -300px; background: radial-gradient(closest-side, rgba(58, 45, 107, 0.55), rgba(58, 45, 107, 0.22) 55%, rgba(58, 45, 107, 0) 100%); }
.aurora i:nth-child(2) { width: 920px; height: 800px; top: -300px; right: -320px; background: radial-gradient(closest-side, rgba(122, 90, 18, 0.45), rgba(122, 90, 18, 0.18) 55%, rgba(122, 90, 18, 0) 100%); }
.aurora i:nth-child(3) { width: 1100px; height: 800px; top: 760px; left: 12%; background: radial-gradient(closest-side, rgba(18, 74, 68, 0.35), rgba(18, 74, 68, 0.14) 55%, rgba(18, 74, 68, 0) 100%); }

.bar, main, .foot { position: relative; z-index: 1; }

/* ------------------------------------------------------------ chrome -- */

.bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.brand span { color: var(--text-3); }

main { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

section { padding: 72px 0; }

h1, h2 { margin: 0; letter-spacing: -0.02em; line-height: 1.08; }

h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 800;
  max-width: 18ch;
}
h1 em { font-style: normal; color: var(--gold); }

h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--dim { color: var(--text-3); }

.lede { margin: 22px 0 0; font-size: 1.15rem; color: var(--text-2); max-width: 58ch; }

/* ----------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 1.02rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--on-gold);
  box-shadow: var(--e-gold);
}
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 14px 38px rgba(240, 180, 41, 0.38); }
.btn--gold:disabled { opacity: 0.6; cursor: default; transform: none; }
.btn--ghost { background: var(--glass); border-color: var(--edge); color: var(--text); }
.btn--ghost:hover { background: var(--glass-2); border-color: var(--edge-hi); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }
.btn:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cta__note { margin: 0; color: var(--text-3); font-size: 0.9rem; }

/* A phone gets the "email me the link" form instead of the buttons. */
.phone { display: none; }
.is-phone .phone { display: block; }
.is-phone .desk { display: none; }

/* -------------------------------------------------------------- hero -- */

.hero { padding-top: 56px; }

.shot {
  margin: 0;
  border-radius: var(--r-card);
  border: 1px solid var(--edge);
  background: var(--glass);
  box-shadow: var(--e-2);
  overflow: hidden;
}
.shot--hero { margin-top: 56px; }

.facts {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.facts li {
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--edge);
  background: var(--glass);
}
.facts b { display: block; font-size: 1.05rem; }
.facts span { color: var(--text-2); font-size: 0.92rem; }

/* ------------------------------------------------------------- steps -- */

.steps ol {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps li {
  padding: 24px;
  border-radius: var(--r-card);
  border: 1px solid var(--edge);
  background: var(--glass);
}
.steps .num {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  margin-bottom: 14px;
  border-radius: 50%;
  border: 1px solid rgba(240, 180, 41, 0.42);
  color: var(--gold);
  font: 500 0.85rem/1 var(--mono);
}
.steps b { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.steps li > span:last-child { color: var(--text-2); font-size: 0.95rem; }

/* ---------------------------------------------------------- features -- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}
.feature--flip .feature__text { order: 2; }
.feature__text p:not(.eyebrow) { margin: 18px 0 0; color: var(--text-2); font-size: 1.05rem; }
.feature .shot { max-height: 560px; }
.feature .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.feature--flip .shot { justify-self: start; max-width: 520px; }
.feature--wide { grid-template-columns: 1fr; gap: 32px; }
.feature--wide .feature__text { max-width: 640px; }
.feature--wide .shot { max-height: none; }

/* ------------------------------------------------------------- plans -- */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan {
  padding: 32px;
  border-radius: var(--r-card);
  border: 1px solid var(--edge);
  background: var(--glass);
}
.plan--free { border-color: rgba(240, 180, 41, 0.42); background: linear-gradient(180deg, var(--gold-soft), var(--glass)); }
.plan h2 { font-size: 1.5rem; }
.plan ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 30px; color: var(--text-2); }
.plan li::before {
  content: "";
  position: absolute; left: 2px; top: 0.45em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%2307080c' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.plan:not(.plan--free) li::before { background-color: rgba(238, 240, 244, 0.5); }
.plan__note { margin: 20px 0 0; color: var(--text-3); font-size: 0.9rem; }

/* ---------------------------------------------------- privacy, closer -- */

.private { max-width: 760px; }
.private p { margin: 18px 0 0; color: var(--text-2); font-size: 1.05rem; }

.closer { text-align: center; padding-bottom: 96px; }
.closer .lede { margin-left: auto; margin-right: auto; }
.closer .cta { justify-content: center; }
.closer .sendlink { margin-left: auto; margin-right: auto; text-align: left; }

/* ------------------------------------------------------ phone sign-up -- */

.phone-cta .cta { margin-top: 34px; }

/* The panel the phone's call to action opens (home.js). */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); opacity: 0; transition: opacity 200ms var(--ease); }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 90dvh; overflow-y: auto;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  background: #121318; border-top: 1px solid var(--edge); border-radius: 22px 22px 0 0;
  transform: translateY(100%); transition: transform 220ms var(--ease);
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet .sendlink { max-width: none; margin: 18px 0 0; }
.sheet__close {
  position: absolute; top: 8px; right: 10px; width: 40px; height: 40px;
  border: 0; background: transparent; color: var(--text-2); font-size: 28px; line-height: 1; cursor: pointer;
}
.sheet-open, .sheet-open body { overflow: hidden; }
.sendlink {
  max-width: 520px;
  padding: 20px;
  border-radius: var(--r-card);
  border: 1px solid rgba(240, 180, 41, 0.42);
  background: linear-gradient(180deg, var(--gold-soft), var(--glass));
}
.sendlink__lead { margin: 0 0 14px; color: var(--text); font-weight: 600; }
.sendlink__row { display: grid; gap: 10px; }
.sendlink input[type=email] {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--edge-hi);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font: 400 1rem/1 var(--body);
}
.sendlink input::placeholder { color: var(--text-3); }
.sendlink__opt { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; color: var(--text-2); font-size: 0.88rem; line-height: 1.4; }
.sendlink__opt input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--gold); flex: 0 0 auto; }
.sendlink__msg { margin: 12px 0 0; min-height: 1.2em; font-size: 0.92rem; color: var(--text-2); word-break: break-word; }
.sendlink__msg:empty { display: none; }
.sendlink__msg[data-kind=ok] { color: var(--mint); }
.sendlink__msg[data-kind=error] { color: var(--danger); }
.sendlink__copy { margin-top: 14px; }
.sendlink--sent .sendlink__row, .sendlink--sent .sendlink__opt { display: none; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ footer -- */

.foot {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--edge);
  color: var(--text-3);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.foot nav { display: flex; gap: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot p { margin: 0; }

/* ------------------------------------------------------------ narrow -- */

@media (max-width: 860px) {
  section { padding: 52px 0; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature--flip .feature__text { order: 0; }
  .feature--flip .shot { max-width: none; }
  .steps ol, .plans { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .bar, main { padding-left: 16px; padding-right: 16px; }
  .foot { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 24px; }
  .shot--hero { margin-top: 36px; }
  .facts { grid-template-columns: 1fr; gap: 10px; }
  .plan { padding: 24px; }
  .lede { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

@media (max-width: 560px) {
  .brand { font-size: 0.66rem; letter-spacing: 0.16em; }
}

.nowrap { white-space: nowrap; }
