/* The Founder's First Draft — site styles
   Palette and motifs taken from the show cover (Cover A):
   peach paper, navy type, red underline swoosh, sticky note. */
:root {
  --navy: #032253;
  --navy-soft: #3a4d72;
  --paper: #fae4d4;
  --paper-light: #fdf2ea;
  --white: #ffffff;
  --red: #d51218;
  --teal: #0b98ba;
  --note: #cbdee1;
  --tape: #74b9c8;
  --line: #ead2c2;
  --measure: 66ch;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;
  --swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20' preserveAspectRatio='none'%3E%3Cpath d='M4 14 C 120 4, 280 4, 396 9' fill='none' stroke='%23d51218' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: var(--navy); color: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-block: 10px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.nav { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.nav a { color: var(--paper); text-decoration: none; font-size: .95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--red); }

/* Type */
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: clamp(1.15rem, 2vw, 1.3rem); line-height: 1.5; color: var(--navy-soft); }

/* Signature: the red hand-drawn underline from the cover */
.rule { display: block; width: min(440px, 85%); height: 18px; background: var(--swoosh) no-repeat center / 100% 100%; margin: 6px 0 24px; }
.rule.short { width: 120px; height: 14px; margin: 4px 0 18px; }

/* Hero */
.hero { background: var(--paper); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; padding-block: 64px; }
.hero h1 { text-transform: uppercase; line-height: 1.02; }
.hero h1 .the { display: block; font-size: .42em; letter-spacing: .08em; margin-bottom: .1em; }
.hero h1 .light { font-weight: 400; }
.hero-photo { position: relative; justify-self: end; }
.hero-photo img { width: 100%; max-width: 360px; max-height: 480px; object-fit: cover; object-position: 50% 20%; border-radius: 6px; box-shadow: 0 1px 0 var(--line); }

/* Sticky note (cover motif) */
.launch { display: inline-block; font-family: var(--hand); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--navy); background: var(--note); padding: 18px 22px 16px; margin: 4px 0 26px; transform: rotate(-2deg); position: relative; box-shadow: 2px 3px 0 rgba(3,34,83,.08); max-width: 26ch; }
.launch::before { content: ""; position: absolute; top: -10px; left: 50%; width: 64px; height: 18px; margin-left: -32px; background: var(--tape); opacity: .8; transform: rotate(3deg); }
.page-head .launch { transform: none; font-size: 1.05rem; }

/* Listen buttons */
.listen { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; font-weight: 700; font-size: .98rem; text-decoration: none; border-radius: 6px; border: 2px solid transparent; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--red); color: var(--white); }
.btn-ghost, .btn-dark { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover, .btn-dark:hover { background: var(--navy); color: var(--white); }
.section.dark .btn-primary { background: var(--paper); color: var(--navy); }
.section.dark .btn-primary:hover { background: var(--white); color: var(--navy); }

/* Sections */
.section { padding-block: 72px; }
.section.mist { background: var(--paper-light); }
.section.dark { background: var(--navy); color: var(--paper); }
.section.dark h2 { color: var(--white); }
.section.dark p { color: var(--paper); }

.for-you { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.3; font-weight: 600; max-width: 30ch; margin: 0; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 36px; }
.three h3 { border-top: 4px solid var(--red); padding-top: 14px; }
.three p { color: var(--navy-soft); }

.host { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
.host img { width: 240px; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 50%; border-radius: 50%; }

.signup { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.note { font-size: .92rem; color: var(--navy-soft); }

.player { width: 100%; max-width: 720px; border: 0; border-radius: 12px; }

/* Interior pages */
.page-head { background: var(--paper); padding-block: 56px 40px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.prose { padding-block: 56px 72px; }
.prose h2 { margin-top: 1.6em; }
.prose .wrap > h2:first-child, .prose .wrap > div > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { max-width: var(--measure); padding-left: 1.2em; }
.prose .listen { padding-left: 0; }
.prose li { margin-bottom: .5em; }
.steps { counter-reset: s; list-style: none; padding: 0; max-width: var(--measure); }
.prose .steps { padding-left: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 22px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--display); font-weight: 800; display: grid; place-items: center; }
.about-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.about-grid img { width: 100%; height: auto; border-radius: 6px; }
.callout { background: var(--paper-light); border-left: 6px solid var(--teal); padding: 22px 24px; max-width: var(--measure); margin: 28px 0; }
.callout p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--navy); color: var(--paper); padding-block: 44px; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer a { color: var(--white); }
.site-footer p { margin: 0 0 .4em; max-width: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 44px; gap: 32px; }
  .hero-photo { justify-self: start; }
  .hero-photo img { max-width: 220px; max-height: 280px; }
  .three { grid-template-columns: 1fr; gap: 24px; }
  .host { grid-template-columns: 1fr; gap: 24px; }
  .host img { width: 160px; }
  .signup { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { max-width: 280px; }
  .section { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
