/* Honey Diffusion episode hub - one stylesheet, no frameworks, no webfonts, no icon libs.
   Palette = the logo (site/static/brand/, generated by site/make_brand.py): near-black ground,
   honey-amber accents and buttons, cream text. Mobile-first: 2-col episode grid <768px,
   3-col 768-1200px, 4-col above.
   ⛔ Never name a class with an "ad-"/"ad_" prefix: the operator's ad blocker hides those. */

:root {
  --bg: #0b0b10;
  --bg-2: #121118;
  --bg-3: #1a1820;
  --line: #2a2630;
  --line-warm: rgba(240, 165, 27, .28);
  --fg: #f6ead2;
  --fg-dim: #b8ab99;
  --fg-faint: #7f7568;
  --accent: #f0a51b;
  --accent-hi: #ffbb45;
  --accent-ink: #1a1206;
  --accent-deep: #7e5f3a;
  --error: #f28b82;
  --radius: 14px;
  --pad: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* Any class below that sets its own `display` (`.yc-btn`'s inline-flex, `.yc-pill`'s inline-flex,
   etc.) silently beats the browser's own [hidden]{display:none} - author rules always win over
   the user-agent sheet even at equal selector weight. Without this, JS setting `el.hidden = true`
   (push.js's push button, sheet.js's sheet panel) would be ignored and the element would stay
   visibly on-screen. Confirmed by a real Playwright run 2026-10-05 - one global rule closes the
   whole bug class instead of patching each display-setting class one at a time. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection { background: var(--accent); color: var(--accent-ink); }

.yc-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- age gate ---------- */

.yc-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  background: rgba(7, 7, 10, 0.97);
  backdrop-filter: blur(8px);
}
html.yc-age-ok .yc-gate { display: none; }
html.yc-age-pending body { overflow: hidden; }

.yc-gate-panel {
  width: 100%;
  max-width: 440px;
  padding: 30px 22px 24px;
  border: 1px solid var(--line-warm);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #16141b, var(--bg-2));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(240, 165, 27, .05) inset;
  text-align: center;
}
.yc-gate-mark { width: 56px; height: auto; margin: 0 auto 18px; }
.yc-gate-title { margin: 0 0 12px; font-size: 23px; line-height: 1.25; letter-spacing: -.01em; }
.yc-gate-copy { margin: 0 0 22px; color: var(--fg-dim); font-size: 14.5px; }
.yc-gate-actions { display: grid; gap: 10px; }
.yc-gate-bye { margin: 18px 0 0; color: var(--accent); font-size: 14px; }
.yc-gate.is-refused .yc-gate-actions { opacity: .35; pointer-events: none; }
.yc-gate-fine { margin: 22px 0 0; font-size: 12px; color: var(--fg-faint); }
.yc-gate-fine a { color: var(--fg-dim); }

/* ---------- buttons ---------- */

.yc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
}
.yc-btn:active { transform: scale(.98); }
.yc-btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 22px rgba(240, 165, 27, .18);
}
.yc-btn-primary:hover { background: var(--accent-hi); }
.yc-btn-ghost { background: transparent; border-color: var(--line-warm); color: var(--fg); }
.yc-btn-ghost:hover { border-color: var(--accent); }
.yc-btn-sm { min-height: 36px; padding: 7px 14px; font-size: 13.5px; box-shadow: none; }
.yc-btn-lg { padding: 15px 26px; font-size: 17px; width: 100%; max-width: 380px; }
.yc-btn[disabled] { opacity: .45; cursor: default; }

/* ---------- header / footer ---------- */

.yc-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--pad);
  padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(11, 11, 16, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.yc-wordmark { display: block; text-decoration: none; min-width: 0; }
.yc-wordmark img { height: 34px; width: auto; }

.yc-main { padding-bottom: 40px; }

.yc-footer {
  border-top: 1px solid var(--line);
  padding: 32px var(--pad) 44px;
  color: var(--fg-faint);
  font-size: 13px;
  text-align: center;
}
.yc-footer-mark { width: 34px; height: auto; margin: 0 auto 14px; opacity: .9; }
.yc-disclosure { margin: 0 auto 8px; max-width: 52ch; color: var(--fg-dim); font-size: 14px; }
.yc-footer-contact { margin: 0 0 10px; }
.yc-footer-tg { margin: 0 0 14px; }
.yc-footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; margin-bottom: 14px; }
.yc-footer a { color: var(--fg-dim); text-underline-offset: 3px; }
.yc-footer a:hover { color: var(--accent); }
.yc-copyright { margin: 0; }

/* ---------- section furniture ---------- */

.yc-section-title {
  margin: 34px var(--pad) 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.yc-eyebrow {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.yc-crumb { padding: 16px 0 0; font-size: 14px; }
.yc-crumb a { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-dim); text-decoration: none; }
.yc-crumb img { width: 18px; height: auto; }

/* ---------- media + placeholder ---------- */

.yc-media { position: relative; width: 100%; aspect-ratio: 16 / 10; background: var(--bg-3); overflow: hidden; }
.yc-media img, .yc-media video { width: 100%; height: 100%; object-fit: cover; }

/* Ken Burns drift for poster-ONLY cards (no loop/idle video asset at all — build.py's
   yc-poster-drift class, media_block()'s poster-only branch). Guarded behind
   prefers-reduced-motion so a user who opted out never gets an infinite animation. */
@media (prefers-reduced-motion: no-preference) {
  .yc-poster-drift img {
    animation: yc-ken-burns 14s ease-in-out infinite alternate;
    transform-origin: center;
  }
}
@keyframes yc-ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* ---------- peel (2026-10-05): a clothed loop/dressed clip on top, a more-revealing tease clip
   underneath — swipe (touch) or hover (mouse) peels the top layer back, static/js/peel.js. By
   default the top layer is fully opaque (the custom properties below default to "no reveal"), so
   an episode with no JS (or a build with no tease asset) just shows the clothed loop, unchanged.
   Touch: --yc-peel-l/-r drive a clip-path inset from whichever side the finger started on.
   Mouse: --yc-peel-x/-y/-r-mouse drive a soft-edged circular mask that follows the cursor. */
.yc-peel {
  --yc-peel-l: 0%;
  --yc-peel-r: 0%;
  --yc-peel-x: 50%;
  --yc-peel-y: 50%;
  --yc-peel-r-mouse: 0px;
  touch-action: pan-y;
  /* No z-index here: on phones .yc-hero-body (z-index 2) overlaps the bottom ~118px of the hero
     media and its title must stay ON TOP of the video (a z-index: 3 here hid the title, caught
     2026-10-06). The hint chip therefore sits at the TOP of the media, clear of that strip. */
}
.yc-peel-tease { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yc-peel-top {
  position: absolute; inset: 0; width: 100%; height: 100%;
  clip-path: inset(0 var(--yc-peel-r) 0 var(--yc-peel-l));
}
.yc-peel-top.is-animating { transition: clip-path .25s ease-out; }
.yc-peel.is-mouse .yc-peel-top {
  clip-path: none;
  -webkit-mask-image: radial-gradient(circle var(--yc-peel-r-mouse) at var(--yc-peel-x) var(--yc-peel-y),
    transparent 0%, transparent 70%, #000 100%);
  mask-image: radial-gradient(circle var(--yc-peel-r-mouse) at var(--yc-peel-x) var(--yc-peel-y),
    transparent 0%, transparent 70%, #000 100%);
}
.yc-peel-edge {
  position: absolute; top: 0; bottom: 0; left: 0; width: 46px; margin-left: -23px;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,0) 100%);
  opacity: 0; pointer-events: none;
}
.yc-peel-hint {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 2;
  margin: 0; padding: 7px 14px; border-radius: 999px;
  background: rgba(11,11,16,.72); color: var(--fg); font-size: 13px; font-weight: 600;
  white-space: nowrap; pointer-events: none;
}
.yc-peel.is-touch .yc-peel-hint-mouse,
.yc-peel.is-mouse .yc-peel-hint-touch { display: none; }
@media (prefers-reduced-motion: reduce) {
  .yc-peel-top.is-animating { transition: none; }
}

.yc-placeholder {
  display: flex;
  align-items: flex-end;
  padding: 14px;
  width: 100%;
  height: 100%;
}
.yc-placeholder span {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 15px;
  color: var(--fg);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
/* No poster yet: a faint brand mark instead of a blank gradient. In grid cards the title
   already sits right under the tile, so the tile's own label is dropped (at two columns on a
   phone it overflowed under the badge). */
.yc-placeholder { position: relative; }
.yc-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/static/brand/mark-compact.svg") center 42% / auto 34% no-repeat;
  opacity: .22;
  pointer-events: none;
}
.yc-card .yc-placeholder span { display: none; }
/* /go teaser tiles keep their bottom-aligned title: the mark moves up out of its way. */
.yc-teaser-strip .yc-placeholder::after { background-position: center 14%; background-size: auto 18%; }

/* ---------- join block: THE call to action (opens the hub) ---------- */

.yc-join {
  position: relative;
  margin: 16px var(--pad) 8px;
  padding: 30px 20px 26px;
  border: 1px solid var(--line-warm);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(240, 165, 27, .16), rgba(240, 165, 27, 0) 62%),
    var(--bg-2);
  text-align: center;
  overflow: hidden;
}
.yc-join-mark { width: 132px; height: auto; margin: 0 auto 16px; }
.yc-join-title {
  margin: 0 auto 10px;
  max-width: 20ch;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -.015em;
  font-weight: 750;
}
.yc-join-copy { margin: 0 auto 20px; max-width: 40ch; color: var(--fg-dim); font-size: 15px; }

/* ---------- sign-up module: "Follow on Sheer" primary + alerts/email backup row ----------
   Shared shape for partials/join.html (/go, centered — this section's own text-align:center
   does the centering) and partials/sheet.html (hub/episode notify sheet, 2026-10-06 — its own
   rules live in the "notify pill + sheet" section below). follow_cta/backup_label/push_cta/
   prefer_email_link (build.py) gate what actually renders; static/js/push.js toggles the native
   `hidden` attribute to pick ONE control per device — no CSS is needed for that part, only for
   how each piece looks once shown. */
.yc-signup { display: flex; flex-direction: column; gap: 10px; }
.yc-join .yc-signup { max-width: 420px; margin: 0 auto; }
/* yc-btn-lg caps the Sheer button narrower than the 420px module (join.html only — the sheet's
   follow button gets its own spacing via .yc-sheet .yc-follow-btn instead); align-items:stretch's
   own flex-start fallback would otherwise hug it left. */
.yc-join .yc-follow-btn { align-self: center; }
.yc-signup-label {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  color: var(--fg-faint);
}
.yc-push-btn { width: 100%; }
.yc-push-note { margin: 0; font-size: 13px; color: var(--fg-dim); }
.yc-email-wrap { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.yc-push-prefer {
  align-self: center;
  margin: 0;
  padding: 4px;
  border: none;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--fg-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.yc-push-prefer:hover { color: var(--accent); }

.yc-capture {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}
.yc-capture-input {
  width: 100%;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid var(--line-warm);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 16px; /* >=16px: iOS Safari does not zoom the page on focus */
  text-align: center;
}
.yc-capture-input::placeholder { color: var(--fg-faint); }
.yc-capture-input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(240, 165, 27, .2); }
.yc-capture-btn { width: 100%; min-height: 50px; font-size: 16px; }
/* Honeypot: off-screen (NOT display:none, which some bots skip), out of tab order + a11y tree. */
.yc-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.yc-capture-note { margin: 12px 0 0; font-size: 14px; color: var(--fg-dim); }
.yc-capture-note.is-error { color: var(--error); }
.yc-capture-done {
  max-width: 420px;
  margin: 0 auto;
  padding: 18px 16px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(240, 165, 27, .08);
  outline: none;
}
.yc-capture-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-bottom: 8px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-weight: 800; font-size: 18px;
}
.yc-capture-done-title { margin: 0 0 4px; font-size: 19px; font-weight: 700; color: var(--fg); }
.yc-capture-done-copy { margin: 0; font-size: 14.5px; color: var(--fg-dim); }
.yc-join-fine { margin: 16px auto 0; max-width: 46ch; font-size: 12px; color: var(--fg-faint); }
.yc-join-fine a { color: var(--fg-dim); }

/* ---------- notify pill + sheet (2026-10-06) ----------
   One small outline pill (promoted to a big button when the page has no Watch button — empty
   hero, coming-soon episode page) opens a bottom sheet on phone / popover on desktop (768px
   override below) holding the "Follow on Sheer" button + the email fallback. The pill/promoted
   button is a real <a href> to the Sheer profile first (works with no JS at all); sheet.js
   intercepts the click to open the sheet instead. */

.yc-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 16px;
  border: 1px solid var(--line-warm);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-dim);
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.yc-pill:hover { border-color: var(--accent); color: var(--fg); }

.yc-sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.yc-sheet-backdrop { position: absolute; inset: 0; background: rgba(6, 6, 9, .68); }
.yc-sheet-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 26px 20px calc(22px + env(safe-area-inset-bottom));
  border: 1px solid var(--line-warm);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  background: linear-gradient(180deg, #16141b, var(--bg-2));
  box-shadow: 0 -18px 60px rgba(0, 0, 0, .55);
}
.yc-sheet-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--fg-faint);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.yc-sheet-close:hover { color: var(--fg); }
.yc-sheet .yc-follow-btn { display: block; margin: 0 auto 18px; }
.yc-notify-link {
  align-self: center;
  margin: 0;
  padding: 4px;
  border: none;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--fg-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.yc-notify-link:hover { color: var(--accent); }
.yc-privacy-line { margin: 10px 0 0; text-align: center; font-size: 11.5px; color: var(--fg-faint); }
.yc-privacy-line a { color: var(--fg-dim); }
body.yc-sheet-open { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .yc-sheet-panel { animation: yc-sheet-up .22s ease; }
}
@keyframes yc-sheet-up {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---------- hero (featured / newest live episode): the FIRST thing a visitor sees ---------- */
/* Phone (2026-10-05): the autoplaying 4:5 loop runs edge to edge and the title sits over its
   lower edge, so one screen = the moving picture + the watch button + the email strip below. */

.yc-hero { position: relative; padding: 0 0 4px; }
.yc-hero-media { position: relative; overflow: hidden; background: var(--bg-3); }
.yc-hero .yc-media { aspect-ratio: 4 / 5; max-height: 72vh; }
.yc-hero-body {
  position: relative;
  z-index: 2;
  margin-top: -118px;
  padding: 40px var(--pad) 0;
  background: linear-gradient(180deg, rgba(11, 11, 16, 0), rgba(11, 11, 16, .82) 46%, var(--bg) 96%);
  pointer-events: none;
}
.yc-hero-body > * { pointer-events: auto; }
.yc-hero-title {
  margin: 0 0 6px;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -.005em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .65);
}
.yc-hero .yc-eyebrow { margin-bottom: 4px; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.yc-hero-hook { margin: 0 0 12px; color: var(--fg-dim); }
.yc-hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 12px; }
.yc-hero .yc-card-meta { margin: 0; }

/* ---------- coming soon: swipe strip on phones, one row of 4 on wider screens ---------- */

.yc-soon { margin-top: 30px; }
.yc-soon .yc-section-title { margin-top: 0; margin-bottom: 4px; }
.yc-soon-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 70%;
  gap: 12px;
  padding: 0 var(--pad) 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--pad);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.yc-soon-strip::-webkit-scrollbar { display: none; }
.yc-soon-card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  text-decoration: none;   /* whole tile is one <a> (same as .yc-card) */
}
.yc-soon-card .yc-media { aspect-ratio: 4 / 5; }
.yc-soon-body { display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 12px; flex: 1; }
.yc-soon-title { margin: 0 0 auto; font-size: 14px; line-height: 1.3; }
.yc-capture-done.is-mini { margin: 0; max-width: none; padding: 10px 12px; text-align: left; }
.yc-capture-done.is-mini .yc-capture-tick { width: 26px; height: 26px; margin-bottom: 4px; font-size: 14px; }
.yc-capture-done.is-mini .yc-capture-done-title { font-size: 15px; }
.yc-capture-done.is-mini .yc-capture-done-copy { font-size: 13px; }

/* ---------- empty state (no live episode yet) ---------- */

.yc-empty-state {
  margin: 22px var(--pad) 8px;
  padding: 38px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(240, 165, 27, .05), rgba(240, 165, 27, 0) 70%),
    var(--bg);
  text-align: center;
}
.yc-empty-headline { margin: 0 0 10px; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.yc-empty-copy { margin: 0 auto; max-width: 44ch; color: var(--fg-dim); font-size: 15px; }
.yc-empty-state .yc-btn-lg { margin-top: 20px; }

/* ---------- episode grid ---------- */

.yc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 var(--pad);
}
.yc-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  text-decoration: none;   /* the whole card is one <a>: no underline on its title/date */
  transition: border-color .15s ease;
}
.yc-card:hover { border-color: var(--line-warm); }
/* Episode art is cut 4:5 portrait (phone-first, site/assets/<slug>/poster.webp + loops). */
.yc-card .yc-media { aspect-ratio: 4 / 5; }
.yc-card-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 12px; flex: 1; }
.yc-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  color: var(--fg-faint);
}
.yc-chip {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--fg-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.yc-card-title { margin: 0; font-size: 15px; line-height: 1.25; }

/* ---------- support strip ---------- */

.yc-support { margin: 34px var(--pad); text-align: center; }
.yc-support .yc-section-title { margin: 0 0 6px; }
.yc-support-line { margin: 0 0 14px; color: var(--fg-dim); font-size: 14px; }
.yc-support-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- /go (tube-facing capture landing) ---------- */

.yc-go-hero { padding: 30px var(--pad) 6px; text-align: center; }
.yc-go-title { margin: 0 0 10px; font-size: 30px; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; }
.yc-go-pitch { margin: 0 auto; max-width: 40ch; color: var(--fg-dim); font-size: 16px; }

.yc-teasers { margin: 30px 0 0; }
.yc-teaser-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 var(--pad);
}
.yc-teaser {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  text-decoration: none;
}
.yc-teaser .yc-media { aspect-ratio: 4 / 5; }
.yc-teaser-title {
  display: block;
  padding: 8px 10px 10px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
}
.yc-teaser-fine {
  margin: 14px var(--pad) 0;
  text-align: center;
  font-size: 12px;
  color: var(--fg-faint);
}

/* ---------- legal pages ---------- */

.yc-legal { max-width: 68ch; margin: 0 auto; padding: 0 var(--pad) 30px; }
.yc-legal-flag {
  margin: 16px 0;
  padding: 10px 12px;
  border: 1px solid var(--line-warm);
  border-radius: 8px;
  background: rgba(240, 165, 27, .06);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.yc-legal-title { margin: 0 0 4px; font-size: 27px; letter-spacing: -.01em; }
.yc-legal-updated { margin: 0 0 22px; color: var(--fg-faint); font-size: 13px; }
.yc-legal h2 { margin: 28px 0 8px; font-size: 16px; color: var(--fg); }
.yc-legal p, .yc-legal li { color: var(--fg-dim); font-size: 15px; }
.yc-legal a { color: var(--accent); text-underline-offset: 3px; }
.yc-legal code { background: var(--bg-3); padding: 1px 5px; border-radius: 4px; font-size: 13px; }
.yc-legal-note { color: var(--fg-faint); font-style: italic; font-size: 13px; }

/* ---------- breakpoints ---------- */

@media (max-width: 359px) {
  .yc-wordmark img { height: 28px; }
  .yc-btn-sm { padding: 6px 11px; font-size: 12.5px; }
}

@media (min-width: 560px) {
  .yc-capture { flex-direction: row; }
  .yc-capture-input { flex: 1 1 auto; text-align: left; }
  .yc-capture-btn { width: auto; flex: 0 0 auto; padding-left: 26px; padding-right: 26px; }
}

@media (min-width: 768px) {
  :root { --pad: 28px; }
  .yc-wordmark img { height: 40px; }
  .yc-join { margin-top: 28px; padding: 46px 36px 36px; }
  .yc-join-mark { width: 168px; }
  .yc-join-title { font-size: 36px; }
  .yc-join-copy { font-size: 16px; }
  .yc-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .yc-hero {
    display: grid;
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 26px var(--pad) 6px;
  }
  .yc-hero-media { border-radius: var(--radius); border: 1px solid var(--line); }
  .yc-hero .yc-media { max-height: none; }
  .yc-hero-body { margin-top: 0; padding: 0; background: none; }
  .yc-hero-title { font-size: 34px; line-height: 1.15; text-shadow: none; }
  .yc-hero .yc-eyebrow { text-shadow: none; }
  .yc-hero-actions { margin-top: 18px; }
  .yc-soon-strip {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    overflow: visible;
  }
  .yc-go-title { font-size: 42px; }
  .yc-go-hero { padding: 48px var(--pad) 8px; }
  .yc-teaser-strip { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .yc-empty-state { padding: 54px 30px; }
  .yc-empty-headline { font-size: 30px; }
  .yc-card-title { font-size: 16px; }
  /* Notify sheet becomes a small popover anchored near the top-right instead of a bottom sheet. */
  .yc-sheet { align-items: flex-start; justify-content: flex-end; padding: 90px 28px 0 0; }
  .yc-sheet-backdrop { background: rgba(6, 6, 9, .35); }
  .yc-sheet-panel {
    width: 380px;
    max-width: 380px;
    max-height: calc(100vh - 120px);
    border-radius: var(--radius);
    padding: 24px 22px 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .yc-sheet-panel { animation: yc-sheet-pop .18s ease; }
}
@keyframes yc-sheet-pop {
  from { transform: translateY(-6px) scale(.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@media (min-width: 1200px) {
  .yc-grid { grid-template-columns: repeat(4, 1fr); }
  /* GO_TEASER_MAX is 6, so the strip is exactly one row at this width. */
  .yc-teaser-strip { grid-template-columns: repeat(6, 1fr); }
  .yc-main { max-width: 1240px; margin-left: auto; margin-right: auto; }
  /* Header bar stays full-bleed; only its content aligns to the 1240px column. */
  .yc-header {
    padding-left: max(var(--pad), calc((100% - 1240px) / 2 + var(--pad)));
    padding-right: max(var(--pad), calc((100% - 1240px) / 2 + var(--pad)));
  }
  .yc-card:hover .yc-media { filter: brightness(1.06); }
  .yc-teaser:hover .yc-media { filter: brightness(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .yc-btn, .yc-card { transition: none; }
}
