/* AirParty — pop editorial: brand red, party yellow, heavy grotesk, script only for the logo and The Feed */
:root {
  --red: #D6291B;
  --red-dark: #B0231A;
  --ink: #17131F;
  --ink-2: #3A3140;
  --muted: #6B5F68;
  --paper: #FFFFFF;
  --blush: #F7F0EE;
  --yellow: #FFC93C;
  --blue: #2D5BE3;
  --green: #1E8F62;

  --display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --script: 'Yellowtail', 'Brush Script MT', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--red); }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.band > .wrap { padding-block: 104px; }
.band-blush { background: var(--blush); }
.band-red { background: var(--red); color: var(--paper); }
.band-yellow { background: var(--yellow); }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-light { color: var(--paper); }
.lead { margin: 0; font-size: 20px; line-height: 1.55; max-width: 34em; color: var(--ink-2); }
.lead-light { color: var(--paper); max-width: 32em; }
.fine { margin: 0; font-size: 14px; color: var(--muted); }
.fine-ink { color: var(--ink-2); }
.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Buttons */
.pill, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.pill { padding: 12px 20px; font-size: 15px; }
.btn { height: 56px; padding: 0 28px; font-size: 17px; }
.btn:hover, .pill:hover { transform: translateY(-1px); }
.pill-red, .btn-red { background: var(--red); color: var(--paper); }
.pill-red:hover, .btn-red:hover { background: var(--red-dark); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2C2436; color: var(--paper); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 20px;
}
.nav-logo img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a:not(.pill) { text-decoration: none; }

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
  padding-block: 48px 96px;
}
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 4px; }

.signup { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.signup label { font-weight: 600; font-size: 14px; }
.signup-row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input {
  flex: 1 1 240px;
  min-width: 0;
  height: 56px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font: inherit;
  font-size: 17px;
  background: var(--paper);
  color: var(--ink);
}

/* Phone */
.hero-phone { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.switcher { display: flex; align-items: center; gap: 14px; width: 324px; max-width: 100%; }
.switch-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.switch-btn:hover { background: var(--ink); color: var(--paper); }
.switch-btn:active { transform: scale(0.94); }
.switch-label { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.switch-name { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.015em; line-height: 1.1; }
.switch-count { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.screen { touch-action: pan-y; }
.phone {
  width: 300px;
  max-width: 100%;
  background: var(--ink);
  border-radius: 48px;
  padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(23, 19, 31, 0.45);
  transform: rotate(2deg);
}
.screen {
  background: #FFE4DE;
  border-radius: 37px;
  padding: 28px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 560px;
  transition: background-color .25s ease;
}
.screen-head { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; }
.screen-kicker, .rule-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rule-kicker { color: var(--red-dark); font-size: 10.5px; }
.screen-role { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.screen-fact { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); margin-top: 2px; }
.rule-link { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--red-dark); text-decoration: none; }
.rule-link:hover { text-decoration: underline; }
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 8px; }
.app { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.app-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
}
.app-name { font-size: 11px; font-weight: 600; line-height: 1.2; text-align: center; }
.app-empty { min-height: 54px; }
.rule { background: var(--paper); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.4; font-weight: 500; }
.dock { margin-top: auto; background: rgba(255, 255, 255, 0.6); border-radius: 26px; padding: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; justify-items: center; }
.dock span { width: 50px; height: 50px; border-radius: 14px; }
.dock .dock-white { background: var(--paper); border: 2px solid var(--ink); }
.phone-caption { margin: 0; font-size: 14px; color: var(--muted); text-align: center; max-width: 30em; }

/* Questions */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head .h2 { flex: 1 1 520px; }
.section-sub { margin: 0; flex: 0 1 380px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.qcard {
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 280px;
  transition: transform .15s ease;
}
.qcard:hover { color: var(--ink); transform: translateY(-3px); }
.tag { align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; }
.tag-yellow { background: var(--yellow); color: var(--ink); }
.tag-blue { background: var(--blue); color: var(--paper); }
.tag-red { background: var(--red); color: var(--paper); }
.tag-green { background: var(--green); color: var(--paper); }
.qcard-text { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.12; letter-spacing: -0.02em; }
.qcard-foot { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--muted); }

/* Guide modal */
.modal {
  width: min(520px, calc(100vw - 32px));
  border: 0;
  border-radius: 28px;
  padding: 36px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(23, 19, 31, 0.5);
}
.modal[open] { display: flex; flex-direction: column; gap: 18px; }
.modal::backdrop { background: rgba(23, 19, 31, 0.55); backdrop-filter: blur(3px); }
.modal-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.08; letter-spacing: -0.025em; }
.modal-text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.modal .signup { max-width: none; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--blush);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal-close:hover { background: var(--ink); color: var(--paper); }
@media (prefers-reduced-motion: no-preference) {
  .modal[open] { animation: modal-in .22s ease-out; }
  @keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
}
@media (max-width: 480px) { .modal { padding: 28px 22px; } .modal-title { font-size: 25px; padding-right: 36px; } }

/* The Feed */
.feed { display: flex; flex-wrap: wrap; gap: 64px; }
.feed-intro { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.feed-title {
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(72px, 9vw, 128px);
  line-height: 0.9;
  transform: rotate(-4deg);
  transform-origin: left center;
}
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.35); }
.steps li { display: flex; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.steps li > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.steps strong { font-size: 18px; }
.step-n { font-family: var(--mono); font-size: 13px; }
.episodes { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ep {
  text-decoration: none;
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  transition: transform .15s ease;
}
.ep:hover { color: var(--ink); transform: translateX(4px); }
.ep-thumb { flex: 0 0 176px; max-width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--ink); }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-body { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-right: 8px; }
.ep-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ep-title { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.15; letter-spacing: -0.01em; }
.ep-quote { font-size: 15px; line-height: 1.4; font-style: italic; color: var(--ink-2); }
.feed-all { align-self: flex-start; margin-top: 8px; color: var(--paper); font-weight: 700; font-size: 17px; text-underline-offset: 5px; }
.feed-all:hover { color: var(--yellow); }

/* Guests */
.guests { padding-block: 104px 0; display: flex; flex-direction: column; gap: 24px; }
.guest-list { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3vw, 40px); line-height: 1.3; letter-spacing: -0.02em; }
.guest-list span { white-space: nowrap; }
.guest-list span:not(:last-child)::after { content: " ·"; color: var(--red); }

/* Principles */
.principles { padding-block: 104px; display: flex; flex-direction: column; gap: 40px; }
.principle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.principle { display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--ink); padding-top: 22px; }
.principle h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.025em; }
.principle p { margin: 0; line-height: 1.55; color: var(--ink-2); }

/* About */
.about-wrap { padding-bottom: 104px; }
.about { border: 2px solid var(--ink); border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.about-badge { flex: 0 0 112px; height: 112px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-family: var(--script); font-size: 48px; color: var(--red); }
.about-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.about-quote { margin: 0; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; }
.about-sig { margin: 0; font-size: 16px; color: var(--ink-2); }
.about-link { font-weight: 700; text-underline-offset: 5px; }

/* CTA */
.cta { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 48px; }
.cta-title { margin: 0; flex: 1 1 520px; min-width: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.4vw, 76px); line-height: 0.98; letter-spacing: -0.035em; }
.cta-form { flex: 1 1 380px; min-width: 0; }

/* Footer */
.footer { padding-block: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer img { height: 48px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; font-weight: 600; }
.footer-links a { text-decoration: none; }

@media (max-width: 640px) {
  .band > .wrap { padding-block: 72px; }
  .nav-links { gap: 18px; }
  .nav-logo img { height: 48px; }
  .hero { padding-block: 24px 72px; gap: 48px; }
  .phone { transform: none; }
  .about { padding: 28px; }
  .guests { padding-top: 72px; }
  .principles { padding-block: 72px; }
}
@media (max-width: 480px) {
  .nav { flex-wrap: nowrap; }
  .nav-links a:not(.pill) { display: none; }
}
