/* FMR — Functional Music Radio. Shared styles for soundwav.co/fmr */
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --card: #16161a;
  --card-2: #1c1c21;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --dim: #6e6e73;
  --teal: #2dd4bf;
  --amber: #f6b970;
  --red: #ff453a;
  --radius: 22px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

/* ---------- type ---------- */
.eyebrow {
  font: 600 13px/1 "Inter"; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
h1, h2, h3 { font-family: "Inter Display", "Inter", sans-serif; font-weight: 600; margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(44px, 7.4vw, 92px); line-height: 1.0; }
h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--dim); }
.teal { color: var(--teal); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 12, 0.72); backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.nav .brand { display: flex; align-items: center; gap: 10px; font: 600 15px "Inter"; letter-spacing: 0.02em; }
.nav .brand img { height: 26px; width: auto; }
.nav .links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav .links a:hover, .nav .links a[aria-current="page"] { color: var(--text); }
.nav .btn { padding: 9px 16px; font-size: 14px; }
.nav .menu { display: none; margin-left: auto; background: none; border: 0; color: var(--text); font: 500 15px "Inter"; cursor: pointer; padding: 8px 0; }
@media (max-width: 820px) {
  .nav .links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(10, 10, 12, 0.96); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav .links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav.open .links { display: flex; }
  .nav .menu { display: block; }
  .nav .cta-nav { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; font: 600 16px/1 "Inter"; cursor: pointer; border: 0;
  transition: transform .15s ease, background .2s ease, opacity .2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--text); color: #0a0a0c; }
.btn-primary:hover { background: #fff; }
.btn-teal { background: var(--teal); color: #04201c; }
.btn-teal:hover { background: #46e3cf; }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.arrow::after { content: "→"; font-weight: 400; }

/* ---------- pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-2); font: 600 13px/1 "Inter"; letter-spacing: 0.08em; text-transform: uppercase;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 69, 58, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 69, 58, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 69, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 69, 58, 0); } }

/* ---------- sections ---------- */
section { padding: 110px 0; }
section.tight { padding: 70px 0; }
.hero { padding: 120px 0 110px; position: relative; overflow: hidden; }
.hero.photo { min-height: 86vh; display: flex; align-items: center; }
.hero.photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.62) 55%, rgba(10,10,12,.35) 100%), url("img/sunset-blur.jpg") center/cover no-repeat;
}
.hero.photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--bg)); }
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 26px; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head h2 { margin-bottom: 18px; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- grid + cards ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) { .g4, .g5 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g2, .g4 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.card .foot { margin-top: auto; padding-top: 18px; font: 600 15px "Inter"; color: var(--text); display: flex; gap: 18px; flex-wrap: wrap; }
.card .foot a:hover { color: var(--teal); }
.card .tag { font: 600 12px/1 "Inter"; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
a.card { transition: border-color .2s ease, transform .2s ease, background .2s ease; }
a.card:hover { border-color: var(--line-2); background: var(--card-2); transform: translateY(-2px); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(45, 212, 191, .12); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 22px; }
.icon svg { width: 22px; height: 22px; }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- thumbnails ---------- */
.thumb { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.thumb-cap { font-size: 14px; color: var(--muted); margin-top: 10px; }
.thumb-cap b { color: var(--text); font-weight: 600; }

/* ---------- quote ---------- */
.quote { font-family: "Inter Display", "Inter"; font-weight: 600; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.18; letter-spacing: -0.025em; max-width: 900px; }
.quote .by { display: block; margin-top: 24px; font: 500 16px "Inter"; letter-spacing: 0; color: var(--muted); }

/* ---------- price box ---------- */
.buy {
  background: linear-gradient(180deg, #1a1a1f, #131317); border: 1px solid var(--line-2); border-radius: 26px; padding: 36px;
}
.buy .price { font-family: "Inter Display"; font-weight: 600; font-size: 54px; letter-spacing: -0.03em; line-height: 1; }
.buy .price small { font: 500 17px "Inter"; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.buy ul { list-style: none; padding: 0; margin: 24px 0 28px; }
.buy li { padding: 11px 0 11px 30px; border-top: 1px solid var(--line); position: relative; color: var(--muted); font-size: 16px; }
.buy li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.buy .btn { width: 100%; }
.buy .note { margin-top: 14px; font-size: 14px; color: var(--dim); text-align: center; }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.form .row { display: flex; gap: 12px; }
@media (max-width: 520px) { .form .row { flex-direction: column; } }
.form input[type=email], .form input[type=text] {
  flex: 1; min-width: 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .06); color: var(--text); font: 400 16px "Inter"; outline: none; transition: border-color .2s, background .2s;
}
.form input::placeholder { color: var(--dim); }
.form input:focus { border-color: var(--teal); background: rgba(255, 255, 255, .09); }
.form .btn { width: 100%; }
.form .fine { font-size: 13px; color: var(--dim); }
.form-done { display: none; padding: 22px 24px; border-radius: 16px; background: rgba(45, 212, 191, .1); border: 1px solid rgba(45, 212, 191, .35); max-width: 480px; }
.form-done b { display: block; font-size: 18px; margin-bottom: 4px; }
.sent .form { display: none; }
.sent .form-done { display: block; }

/* ---------- list rows ---------- */
.rows { border-top: 1px solid var(--line); }
.rows .r { display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rows .r .n { font: 600 14px "Inter"; color: var(--dim); letter-spacing: .06em; }
.rows .r .t { font-weight: 600; }
.rows .r .t span { font-weight: 400; color: var(--muted); }
.rows .r .x { color: var(--muted); font-size: 15px; text-align: right; }
@media (max-width: 640px) { .rows .r { grid-template-columns: 64px 1fr; } .rows .r .x { grid-column: 2; text-align: left; } }

/* ---------- steps ---------- */
.step .num { font: 600 15px "Inter"; color: var(--teal); margin-bottom: 18px; }

/* ---------- pages preview ---------- */
.pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pages img { border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
@media (max-width: 760px) { .pages { grid-template-columns: repeat(2, 1fr); } }
.cover { border-radius: 14px; box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1px var(--line); width: 100%; max-width: min(420px, 100%); margin: 0 auto; }

/* ---------- faq ---------- */
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
details summary { cursor: pointer; list-style: none; font: 600 18px "Inter"; display: flex; justify-content: space-between; gap: 20px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 14px 0 0; max-width: 720px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 64px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer h4 { margin: 0 0 14px; font: 600 13px "Inter"; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
footer a { display: block; padding: 4px 0; }
footer a:hover { color: var(--text); }
footer .brand img { height: 28px; width: auto; margin-bottom: 16px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr 1fr; } footer .about { grid-column: 1 / -1; } }

/* not-yet-linked buttons show softly while you set things up */
[data-link].unset { opacity: .55; }
