/* Nomarus landing. Dark only, graphite and paper, with one warm accent (the dot of the N). */

:root {
  color-scheme: dark;
  --bg: #0c0e12;
  --bg-2: #11141a;
  --surface: #161a21;
  --surface-2: #1c2129;
  --line: #262b35;
  --line-2: #333a46;
  --text: #f1f3f6;
  --muted: #a3aab6;
  --faint: #6f7785;
  --accent: #ff8f5a;
  --accent-2: #ffc37a;
  --accent-ink: #1a0f08;
  --ok: #6ee7a8;
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 32px);
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: hidden makes body a scroll container and breaks position: sticky. */
  overflow-x: clip;
}

/* A faint grid behind the whole page, fading out toward the bottom of the first screen. */
body::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1100px;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

p {
  margin: 0;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}

.skip:focus {
  top: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 38rem;
  text-wrap: pretty;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn svg {
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgb(255 143 90 / 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgb(255 143 90 / 0.75);
}

.btn-ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: rgb(255 255 255 / 0.02);
}

.btn-ghost:hover {
  border-color: var(--muted);
  background: rgb(255 255 255 / 0.05);
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions.is-center {
  justify-content: center;
}

/* Header */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled,
.header.is-open {
  background: rgb(12 14 18 / 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

/* Open, the header drops its blur: backdrop-filter would make it the containing block of the
   fixed mobile menu, which then collapses to the header's height. */
.header.is-open {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.wordmark strong {
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.95rem;
}

.nav a:not(.btn) {
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:not(.btn):hover,
.nav a[aria-current='page'] {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 72px 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 32px;
    background: var(--bg);
    font-size: 1.4rem;
    font-family: var(--display);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }

  .header.is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a:not(.btn) {
    color: var(--text);
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 28px;
    min-height: 54px;
    font-size: 1.05rem;
    font-family: var(--body);
  }
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(120px, 18vw, 180px) 0 clamp(64px, 9vw, 110px);
  z-index: 1;
  /* The glow bleeds past the right edge; without this the page scrolls sideways on phones. */
  overflow-x: clip;
}

.hero-glow {
  position: absolute;
  top: -120px;
  right: -10%;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgb(255 143 90 / 0.22), rgb(255 195 122 / 0.06) 45%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.hero-title {
  font-size: clamp(2.9rem, 8.2vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-title.is-long {
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  line-height: 1.02;
}

.hero-title .line {
  display: block;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-2), var(--accent) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-notes svg {
  color: var(--ok);
}

/* The live flow card */

.flow {
  position: relative;
  background: linear-gradient(180deg, rgb(28 33 41 / 0.92), rgb(17 20 26 / 0.92));
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 22px;
  box-shadow:
    0 40px 80px -30px rgb(0 0 0 / 0.7),
    inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.flow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgb(255 143 90 / 0.55), transparent 35%, transparent 70%, rgb(255 195 122 / 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.flow-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ok);
  background: rgb(110 231 168 / 0.1);
  border: 1px solid rgb(110 231 168 / 0.25);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgb(110 231 168 / 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgb(110 231 168 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(110 231 168 / 0);
  }
}

.flow-steps {
  list-style: none;
  margin: 0;
  padding: 18px 0 6px;
  display: grid;
  gap: 4px;
  position: relative;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 8px;
  border-radius: 12px;
  position: relative;
  animation: step-in 0.6s var(--ease) both;
  animation-delay: calc(0.35s + var(--i) * 0.12s);
}

/* The rail that joins each step's dot with the next one. */
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 34px;
  bottom: -14px;
  width: 2px;
  background: var(--line-2);
}

.flow-step.is-done:not(:last-child)::after {
  background: linear-gradient(var(--ok), rgb(110 231 168 / 0.35));
}

.flow-step.is-live {
  background: rgb(255 143 90 / 0.08);
  border: 1px solid rgb(255 143 90 / 0.22);
  padding: 9px 7px;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.flow-dot {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.is-done .flow-dot {
  background: var(--ok);
  color: #06210f;
}

.is-live .flow-dot {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgb(255 143 90 / 0.2);
  animation: live 1.6s ease-in-out infinite;
}

.is-next .flow-dot {
  border: 2px dashed var(--line-2);
  background: var(--bg-2);
}

@keyframes live {
  50% {
    box-shadow: 0 0 0 9px rgb(255 143 90 / 0.05);
  }
}

.flow-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.flow-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.is-next .flow-label {
  color: var(--muted);
}

.flow-detail {
  color: var(--faint);
  font-size: 0.82rem;
}

.flow-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.flow-metric strong {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 520px;
  }
}

/* Marquee strip */

.strip {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.strip-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.strip-row {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 22px 0;
}

.strip-row li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--muted);
  white-space: nowrap;
}

.strip-row li svg {
  color: var(--faint);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */

.section {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
  z-index: 1;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 64px);
  max-width: 44rem;
}

.section-head.is-center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s;
}

.service:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgb(255 143 90 / 0.1);
  border: 1px solid rgb(255 143 90 / 0.2);
  margin-bottom: 6px;
}

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

.ticks {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticks svg {
  color: var(--ok);
  flex: none;
}

@media (max-width: 960px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .services {
    grid-template-columns: 1fr;
  }

  .service {
    padding: 24px;
  }
}

/* Creator offers: the digital product and the podcast card */

.creator-offers {
  display: grid;
  gap: clamp(56px, 8vw, 96px);
}

.creators .product-copy > .ticks {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin-bottom: 8px;
}

@media (max-width: 560px) {
  .creators .product-copy > .ticks {
    grid-template-columns: 1fr;
  }
}

.offer-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  letter-spacing: -0.025em;
}

.product {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, rgb(255 143 90 / 0.1), transparent 70%),
    var(--surface);
  border: 1px solid var(--line-2);
}

.product-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-tag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.product-tag strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.product-tag span {
  color: var(--accent);
  border: 1px solid rgb(255 143 90 / 0.3);
  background: rgb(255 143 90 / 0.08);
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 600;
}

.product h3 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  letter-spacing: -0.025em;
}

.product-text {
  color: var(--muted);
}

.product .ticks {
  margin-top: 4px;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.product .ticks li {
  align-items: flex-start;
}

.product .ticks svg {
  margin-top: 3px;
}

.product-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.player {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 16px;
}

.player-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-head > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.player-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.player-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.player-sub {
  color: var(--faint);
  font-size: 0.8rem;
}

.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 56px;
}

.wave span {
  flex: 1;
  height: var(--h);
  border-radius: 99px;
  background: var(--line-2);
  transform-origin: center;
}

/* The bars before the playhead, like the part of the episode already played. */
.wave span.is-lit {
  background: linear-gradient(var(--accent-2), var(--accent));
}

.wave.is-playing span {
  animation: wave 1.4s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.13s);
}

@keyframes wave {
  to {
    transform: scaleY(0.45);
  }
}

.player-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.player-track {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--line-2);
  overflow: hidden;
}

.player-track span {
  display: block;
  width: 41%;
  height: 100%;
  background: var(--accent);
}

.product-price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
  margin-top: 4px;
}

.product-note {
  color: var(--faint);
  font-size: 0.8rem;
  text-align: center;
  margin-top: -4px;
}

@media (max-width: 960px) {
  .product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .product .ticks {
    grid-template-columns: 1fr;
  }
}

/* Creators */

.creators {
  background:
    radial-gradient(ellipse 60% 50% at 85% 40%, rgb(255 143 90 / 0.08), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.creators-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.creator-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.creator-points li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.creator-points .num {
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  padding-top: 2px;
}

.creator-points h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.creator-points p {
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.98rem;
}

.deal {
  position: relative;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 28px;
  background: linear-gradient(160deg, #20252e, #14171d);
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8);
}

.deal > svg {
  color: var(--text);
}

.deal h3 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.deal p {
  color: var(--muted);
}

.deal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0;
}

.deal-stats div {
  background: rgb(0 0 0 / 0.25);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}

.deal-stats dt {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.deal-stats dd {
  margin: 4px 0 0;
  color: var(--faint);
  font-size: 0.78rem;
  line-height: 1.3;
}

@media (max-width: 960px) {
  .creators-grid {
    grid-template-columns: 1fr;
  }
}

/* Process */

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.process li {
  position: relative;
  padding: 28px 24px 28px 0;
  border-top: 1px solid var(--line-2);
}

/* The progress line over each step's border. */
.process li::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.process-num {
  display: block;
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  margin-bottom: 18px;
}

.process p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.98rem;
}

@media (max-width: 960px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
  }
}

@media (max-width: 560px) {
  .process {
    grid-template-columns: 1fr;
  }

  .process li {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 8px;
    padding: 24px 0;
  }

  .process-num {
    grid-row: span 2;
    font-size: 2.6rem;
    margin: 0;
  }

  .process p {
    margin-top: 4px;
  }
}

/* Principles */

.principles {
  padding-top: 0;
}

.principles-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.principles .section-head {
  margin-bottom: 0;
  position: sticky;
  top: 120px;
}

.principle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.principle-list li {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.principle-list p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.96rem;
}

@media (max-width: 960px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principles .section-head {
    position: static;
  }
}

@media (max-width: 560px) {
  .principle-list {
    grid-template-columns: 1fr;
  }
}

/* FAQ */

.faq-section {
  padding-top: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.faq-grid .section-head {
  margin-bottom: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex: none;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s;
}

.faq details[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq details p {
  color: var(--muted);
  padding: 0 40px 24px 0;
}

@media (max-width: 860px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact */

.contact-section {
  padding-top: 0;
}

.contact {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 64px);
  border-radius: 32px;
  /* A soft warm glow rising from the bottom edge, drawn in the background itself. */
  background:
    radial-gradient(70% 60% at 50% 115%, rgb(255 143 90 / 0.22), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact h2 {
  max-width: 16ch;
}

.contact .lead {
  margin-bottom: 8px;
}

.contact-mail {
  color: var(--faint);
  font-size: 0.9rem;
}

.contact-mail a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact form */

.contact-form {
  position: relative;
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  margin: 28px auto 0;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--muted);
}

.form-field span {
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgb(12 14 18 / 0.6);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field textarea {
  resize: vertical;
  min-height: 96px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--faint);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(255 143 90 / 0.2);
}

.contact-form .btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-status {
  margin: 0;
  min-height: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-status.is-success {
  color: var(--ok);
}

.contact-status.is-error {
  color: var(--accent);
}

.contact-form .contact-mail {
  margin: 0;
  text-align: center;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  color: var(--faint);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
}

.footer .wordmark {
  color: var(--text);
  font-size: 1.15rem;
}

/* Podcast page: the week card */

.week {
  display: grid;
  gap: 0;
}

.week .flow-head {
  margin-bottom: 18px;
}

.week-source {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.week-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--text);
}

/* A short dashed line joining one stage of the card with the next. */
.week-arrow {
  width: 2px;
  height: 22px;
  margin: 4px auto;
  background: repeating-linear-gradient(var(--accent) 0 4px, transparent 4px 8px);
  opacity: 0.7;
}

.week-output {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.week-output li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  border-radius: 14px;
  background: rgb(255 143 90 / 0.08);
  border: 1px solid rgb(255 143 90 / 0.22);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  animation: step-in 0.6s var(--ease) both;
  animation-delay: calc(0.35s + var(--i) * 0.12s);
}

.week-output li svg {
  color: var(--accent-2);
}

.week-wave {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.week-wave .wave {
  height: 44px;
}

.week .flow-metric {
  flex-wrap: wrap;
}

.week-result {
  font-size: 1rem !important;
  letter-spacing: 0 !important;
}

/* Podcast page: three steps instead of four */

.process.is-three {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .process.is-three {
    grid-template-columns: 1fr;
  }

  .process.is-three li {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 8px;
    padding: 24px 0;
  }

  .process.is-three .process-num {
    grid-row: span 2;
    font-size: 2.6rem;
    margin: 0;
  }
}

/* Podcast page: what is included */

.included-section {
  padding-top: 0;
}

.included {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.included li {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.included h3 {
  font-size: 1.05rem;
}

.included p {
  color: var(--muted);
  font-size: 0.93rem;
}

@media (max-width: 960px) {
  .included {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .included {
    grid-template-columns: 1fr;
  }

  .included li {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 14px;
  }

  .included .service-icon {
    margin: 0;
  }

  .included h3 {
    flex: 1;
  }

  .included p {
    flex-basis: 100%;
  }
}

/* Podcast page: real episodes */

.shows-section {
  background:
    radial-gradient(ellipse 60% 50% at 15% 40%, rgb(255 143 90 / 0.08), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.shows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.episode {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line-2);
}

.episode-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.episode-art {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--surface-2);
}

.episode-show {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
}

.episode-show strong {
  font-family: var(--display);
  font-size: 1.2rem;
}

.episode-show > span:last-child {
  color: var(--faint);
  font-size: 0.86rem;
}

.episode-lang {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.episode-body {
  display: grid;
  gap: 8px;
}

.episode-date {
  color: var(--faint);
  font-size: 0.82rem;
}

.episode-summary {
  color: var(--muted);
  font-size: 0.95rem;
}

.episode-player {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  margin-top: auto;
}

.play {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 10px 30px -10px rgb(255 143 90 / 0.6);
  transition: transform 0.25s var(--ease);
}

.play:hover {
  transform: scale(1.05);
}

.episode-track {
  flex: 1;
  min-width: 0;
  position: relative;
  display: grid;
  gap: 6px;
}

.episode-track .wave {
  height: 40px;
  gap: 3px;
}

.episode-times {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.episode audio {
  display: none;
}

.episode-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 860px) {
  .shows {
    grid-template-columns: 1fr;
  }
}

/* Podcast page: audience and price */

.audience-section .section-head {
  position: sticky;
  top: 120px;
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .audience-section .section-head {
    position: static;
  }
}

.plan-section .section-head {
  margin-bottom: 40px;
}

.plan {
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgb(255 143 90 / 0.14), transparent 70%),
    linear-gradient(160deg, #20252e, #14171d);
  border: 1px solid var(--line-2);
  display: grid;
  gap: 24px;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8);
}

.plan-top {
  text-align: center;
  display: grid;
  gap: 8px;
}

.plan-name {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
}

.plan-price strong {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
}

.plan-summary {
  color: var(--muted);
}

.plan .ticks {
  margin: 0;
  gap: 12px;
  font-size: 0.95rem;
}

.plan .ticks li {
  align-items: flex-start;
}

.plan .ticks svg {
  margin-top: 4px;
}

.plan-note {
  text-align: center;
  color: var(--faint);
  font-size: 0.85rem;
  margin-top: -8px;
}

/* Scroll reveal: hidden only once the script has run (html.js-reveal). */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
