/* podcase.fm — v1 styles. No webfonts, no images, no JS. */

:root {
  --bg: #101418;
  --bg-soft: #141a20;
  --panel: #182028;
  --line: #26313c;
  --text: #e8ecef;
  --muted: #98a4ae;
  --accent: #f6a83c;
  --accent-soft: rgba(246, 168, 60, 0.12);
  --maxw: 62rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { color-scheme: dark; }

body {
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }

a { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- header ---------- */

.site-header {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.mark { color: var(--accent); flex: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-width: 0;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
}

.site-nav a:hover { color: var(--text); }

.site-nav .nav-cta {
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

.site-nav .nav-cta:hover { border-color: var(--accent); }

/* ---------- hero ---------- */

.hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 72px;
  margin-bottom: 2rem;
  min-width: 0;
}

.waveform i {
  width: 6px;
  height: var(--h, 40%);
  min-height: 6px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), #c97f1e);
  opacity: 0.85;
  animation: pulse 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.11s);
}

.waveform i:nth-child(3n)   { animation-duration: 4.1s; }
.waveform i:nth-child(4n)   { animation-duration: 2.7s; }
.waveform i:nth-child(5n+2) { animation-duration: 3.6s; }

@keyframes pulse {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.55); }
}

@media (prefers-reduced-motion: reduce) {
  .waveform i { animation: none; }
}

.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.1rem);
  font-weight: 800;
  margin: 0 auto 1rem;
  max-width: 21ch;
}

.subhead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 1.9rem;
}

.btn {
  display: inline-block;
  padding: 0.72rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #17130a;
}

.btn-primary:hover { background: #ffb851; }

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { font-size: 1.1rem; padding: 0.85rem 1.8rem; }

.status-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.status-strip .k { color: var(--muted); }
.status-strip .v { color: var(--text); font-weight: 600; }

/* ---------- hero screenshot ---------- */

.shot {
  max-width: 58rem;
  margin: 0 auto;
  padding-top: 0.6rem;
  min-width: 0;
}

.shot-frame {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  min-width: 0;
}

.shot-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.shot figcaption {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 0.75rem 0.4rem 0;
  text-align: center;
}

.shot figcaption a { color: var(--muted); }
.shot figcaption a:hover { color: var(--accent); }

/* ---------- sections ---------- */

section { padding: 2.6rem 0; }

section h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin-bottom: 1.4rem;
}

.what .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.3rem;
  min-width: 0;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
  color: var(--accent);
}

.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- open ---------- */

.open {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: none;
  padding: 2.6rem calc(50% - var(--maxw) / 2);
}

@media (max-width: 66rem) {
  .open { padding-left: 1.25rem; padding-right: 1.25rem; }
}

.open p {
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.open strong { color: var(--text); }

/* ---------- cta ---------- */

.cta { text-align: center; padding: 3rem 0; }

.cta p { color: var(--muted); margin: 0.4rem 0 1.6rem; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem 2.4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.foot-brand { color: var(--text); font-weight: 600; margin-bottom: 0.5rem; }

.foot-links { display: inline-flex; flex-wrap: wrap; gap: 0.45rem; }

.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }

.foot-note { margin-top: 1.1rem; font-size: 0.85rem; opacity: 0.85; }

/* ---------- small screens ---------- */

@media (max-width: 34rem) {
  .site-header { padding: 0.9rem 1.1rem; }
  .hero { padding: 2.4rem 0 2.2rem; }
  .waveform { height: 54px; }
  .hero-actions .btn { width: 100%; max-width: 20rem; }
}

