@import "tailwindcss";

:root {
  --ink: #1d1d1f;
  --muted: #6d6a68;
  --paper: #f4f0e8;
  --pink: #ff89c2;
  --white: #fbfbfa;
  --line: rgba(29, 29, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
}

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #f8f8f7;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(251, 251, 250, 0.18) 0%, transparent 43%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
  object-position: center top;
}

.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2.7rem 3.7vw;
}

.brand {
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
}

.brand sup {
  position: relative;
  top: -0.42em;
  margin-left: 0.08em;
  font-size: 0.48em;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(2rem, 3.2vw, 4rem);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.5vw, 3rem);
}

.locale-switch {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.7rem;
}

.locale-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 0.7rem;
}

.locale-switch button.active {
  color: var(--ink);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-underline-offset: 0.28rem;
}

nav a,
.scroll-cue,
.section-label {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.17em;
}

nav a {
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 3px rgba(255, 255, 255, 0.95);
  transition: border-color 180ms ease, color 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: #000;
  border-color: var(--pink);
  outline: none;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 31%;
  left: 3.7vw;
  width: min(39vw, 710px);
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-family: var(--font-geist-mono, Arial), Arial, sans-serif;
  font-size: clamp(4.6rem, 6.4vw, 7.6rem);
  font-weight: 650;
  letter-spacing: -0.09em;
  line-height: 0.82;
}

h1 span {
  display: block;
  white-space: nowrap;
  transform: scaleX(1.12);
  transform-origin: left center;
}

h1 span + span {
  margin-top: 0.23em;
}

html[lang^="zh"] h1 {
  font-family: var(--font-geist-sans, Arial), "PingFang TC", "PingFang SC", sans-serif;
  font-weight: 680;
  letter-spacing: 0.025em;
  line-height: 0.88;
}

.intro {
  margin: 2.15rem 0 1.7rem;
  font-size: clamp(0.96rem, 1.12vw, 1.25rem);
  line-height: 1.25;
}

.subscribe-form {
  display: flex;
  width: min(100%, 420px);
  min-height: 48px;
}

.subscribe-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(29, 29, 31, 0.42);
  border-right: 0;
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.78);
  padding: 0 1.15rem;
  color: var(--ink);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.subscribe-form input:focus {
  border-color: var(--pink);
  box-shadow: inset 0 0 0 1px var(--pink);
}

.subscribe-form input[aria-invalid="true"] {
  border-color: #b52f5f;
}

.subscribe-form button {
  min-width: 172px;
  border: 1px solid var(--pink);
  border-radius: 0;
  background: var(--pink);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  transition: background 180ms ease, color 180ms ease;
}

.business-hero-copy {
  top: 24%;
}

.business-hero-copy .intro {
  max-width: 590px;
  font-size: clamp(0.94rem, 1.04vw, 1.15rem);
  line-height: 1.55;
}

.business-hero-copy h1 {
  font-size: clamp(4.3rem, 5.7vw, 6.9rem);
}

.hero-secondary {
  margin-top: 0.8rem;
}

.hero-secondary a {
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.trust-line {
  margin: 1rem 0 0;
  font-size: 0.68rem;
  font-weight: 650;
}

.value-section {
  padding: 7rem 3.7vw 8rem;
  background: var(--paper);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.value-grid article {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-grid article > span {
  font-family: var(--font-geist-mono, monospace);
  font-size: 0.72rem;
}

.value-grid h3 {
  margin: auto 0 1.2rem;
  font-size: clamp(2rem, 3vw, 3.6rem);
  font-weight: 560;
  letter-spacing: -0.055em;
}

.value-grid p {
  margin: 0 0 2rem;
  color: #44413f;
  line-height: 1.65;
}

.value-grid a {
  align-self: flex-start;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 82vh;
  background: var(--white);
}

.story-visual {
  min-height: 720px;
  overflow: hidden;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 8rem);
}

.story-copy h2,
.newsletter-rich h2,
.follow-section h2 {
  margin: 0 0 2rem;
  font-size: clamp(3rem, 5.6vw, 6.7rem);
  font-weight: 570;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.story-copy > p:not(.page-kicker) {
  margin: 0 0 1.35rem;
  max-width: 680px;
  line-height: 1.75;
}

.story-copy .text-link {
  margin-top: 1rem;
}

.newsletter-rich {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 6rem;
  align-items: end;
  padding: 8rem 3.7vw;
  background: var(--pink);
}

.newsletter-rich > div > p:not(.page-kicker) {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.newsletter-rich .subscribe-form {
  width: 100%;
  flex-wrap: wrap;
}

.newsletter-rich .form-status {
  flex-basis: 100%;
}

.privacy-note {
  font-size: 0.76rem !important;
}

.follow-section {
  padding: 8rem 3.7vw;
  background: var(--white);
}

.follow-section > p:not(.page-kicker) {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.follow-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.follow-links a {
  border: 1px solid var(--ink);
  padding: 0.9rem 1.2rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.follow-links a:hover {
  background: var(--ink);
  color: white;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem 3.7vw;
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 2rem;
}

.subscribe-form button:hover,
.subscribe-form button:focus-visible {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  outline: none;
}

.form-status {
  min-height: 1rem;
  margin: 0.65rem 0 0;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.form-status.success {
  color: #375b41;
}

.form-status.error {
  color: #9b1747;
}

.signal {
  position: absolute;
  z-index: 2;
  right: 4.7vw;
  bottom: 4.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.3rem;
  border: 1px solid rgba(29, 29, 31, 0.3);
}

.signal img {
  filter: brightness(0.1);
}

.signal p {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1.45;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
}

.scroll-cue span {
  color: var(--pink);
}

.library {
  padding: 7rem 3.7vw 8rem;
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: end;
  padding-bottom: 4rem;
}

.section-heading p {
  margin: 0;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.section-heading h2,
.newsletter h2 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(2.5rem, 5vw, 5.7rem);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.note-list {
  border-top: 1px solid var(--ink);
}

.note {
  display: grid;
  grid-template-columns: 0.5fr 3.2fr 1.3fr 0.8fr 0.55fr;
  gap: 1.5rem;
  align-items: center;
  min-height: 132px;
  border-bottom: 1px solid var(--line);
}

.note-index {
  font-family: var(--font-geist-mono), monospace;
  font-size: 1.6rem;
}

.note h3,
.note p,
.note time {
  margin: 0;
}

.note h3 {
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 560;
}

.note p,
.note time,
.note a {
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.note a {
  justify-self: end;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.25rem;
}

.manifesto {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5rem 3.7vw;
  background: var(--pink);
}

.manifesto-copy {
  align-self: flex-end;
  margin: 0;
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 570;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.newsletter {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  padding: 8rem 3.7vw;
  background: var(--white);
}

.newsletter .section-label {
  margin: 0 0 2rem;
}

.newsletter a {
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  padding: 1rem 1.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 180ms ease, color 180ms ease;
}

.newsletter a:hover,
.newsletter a:focus-visible {
  background: var(--ink);
  color: white;
  outline: none;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 2rem;
  min-height: 220px;
  padding: 3rem 3.7vw;
  background: var(--ink);
  color: var(--paper);
}

footer p {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

footer p:last-child {
  text-align: right;
}

@media (max-width: 900px) {
  .hero {
    min-height: 900px;
  }

  .hero-image {
    object-position: 58% top;
    opacity: 0.93;
  }

  .site-header {
    padding: 1.7rem 1.25rem;
  }

  nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-copy {
    top: auto;
    bottom: 5.5rem;
    left: 1.25rem;
    width: calc(100% - 2.5rem);
    padding: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .business-hero-copy {
    bottom: 2.2rem;
  }

  .business-hero-copy h1 {
    font-size: clamp(3.2rem, 14vw, 4.8rem);
  }

  .hero-copy h1,
  .hero-copy .intro {
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.95), 0 0 5px rgba(255, 255, 255, 0.95);
  }

  .eyebrow {
    display: none;
  }

  h1 {
    font-size: clamp(3.5rem, 15vw, 5.5rem);
  }

  .intro {
    margin: 1.7rem 0 1.25rem;
  }

  .signal,
  .scroll-cue {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .note {
    grid-template-columns: 0.5fr 3fr auto;
    padding: 1.5rem 0;
  }

  .note p,
  .note time {
    display: none;
  }

  .manifesto {
    min-height: 60vh;
  }

  .value-grid,
  .story-section,
  .newsletter-rich {
    grid-template-columns: 1fr;
  }

  .value-section {
    padding: 5rem 1.25rem;
  }

  .value-grid article {
    min-height: 310px;
  }

  .story-visual {
    min-height: 520px;
  }

  .story-copy,
  .newsletter-rich,
  .follow-section {
    padding: 5rem 1.25rem;
  }

  .newsletter-rich {
    gap: 3rem;
  }

  .site-footer {
    flex-direction: column;
    padding: 3rem 1.25rem;
  }

  .site-footer nav {
    display: flex;
    flex-wrap: wrap;
  }

  .newsletter {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Private video resource pages */
.private-resource-page {
  background: #f8f6f1;
}

.private-resource-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(29,29,31,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,31,.035) 1px, transparent 1px);
  background-size: 54px 54px;
}

.private-resource-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  margin: 0 3.7vw;
  border-bottom: 1px solid rgba(29,29,31,.3);
}

.private-header-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-geist-mono, monospace);
  font-size: .62rem;
  letter-spacing: .12em;
}

.private-resource-hero {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(460px,1.08fr);
  gap: clamp(2rem,5vw,7rem);
  min-height: 740px;
  padding: 4.5rem 3.7vw 0;
  border-bottom: 44px solid var(--pink);
}

.private-hero-copy {
  align-self: center;
  padding-bottom: 5rem;
}

.private-hero-copy h1 {
  display: block;
  max-width: 740px;
  font-family: var(--font-geist-sans, Arial), "PingFang TC", "PingFang SC", sans-serif;
  font-size: clamp(3.2rem,5.4vw,6.4rem);
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: .98;
}

.private-hero-copy h1 > span,
.resource-section-heading h2 > span,
.community-intro h2 > span,
.private-newsletter h2 > span {
  display: inline;
  white-space: normal;
  transform: none;
}

.private-deck {
  max-width: 610px;
  margin: 2.3rem 0;
  font-size: clamp(1rem,1.25vw,1.3rem);
  line-height: 1.65;
}

.private-meta-list {
  display: grid;
  gap: .7rem;
  margin: 2.6rem 0 0;
}

.private-meta-list div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  font-size: .78rem;
}

.private-meta-list dt { color: var(--muted); }
.private-meta-list dd { margin: 0; font-weight: 700; }

.private-hero-visual {
  position: relative;
  align-self: end;
  min-height: 650px;
}

.private-hero-visual > img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px 28px 0 0;
}

.video-replay-card {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(29,29,31,.22);
  border-radius: 18px;
  background: rgba(251,251,250,.94);
  backdrop-filter: blur(18px);
}

.video-replay-card span,
.module-index,
.console-topbar {
  font-family: var(--font-geist-mono, monospace);
  font-size: .58rem;
  letter-spacing: .1em;
}

.video-replay-card strong { display: block; max-width: 390px; margin-top: .45rem; font-size: .9rem; line-height: 1.45; }
.video-replay-card a { flex: 0 0 auto; border: 1px solid var(--ink); border-radius: 999px; padding: .85rem 1rem; font-size: .7rem; font-weight: 750; }
.video-replay-card a:hover { background: var(--ink); color: white; }

.private-resource-content,
.private-steps {
  padding: 7rem 3.7vw;
}

.resource-section-heading {
  display: grid;
  grid-template-columns: .58fr 1.25fr .8fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.resource-section-heading h2 {
  margin: 0;
  font-size: clamp(2.3rem,4.6vw,5.2rem);
  font-weight: 620;
  letter-spacing: -.06em;
  line-height: .98;
}

.resource-section-heading > p:last-child { margin: 0; color: var(--muted); line-height: 1.65; }

.private-prompt-module {
  display: grid;
  grid-template-columns: minmax(280px,.78fr) minmax(460px,1.22fr);
  overflow: hidden;
  border: 1px solid rgba(29,29,31,.32);
  border-radius: 28px;
  background: rgba(251,251,250,.76);
}

.prompt-explainer { padding: clamp(2rem,4vw,4rem); }
.prompt-explainer h3 { margin: 3.5rem 0 1rem; font-size: clamp(2rem,3vw,3.4rem); letter-spacing: -.05em; line-height: 1; }
.prompt-explainer > p { color: var(--muted); line-height: 1.7; }

.local-fields { display: grid; gap: 1rem; margin-top: 2.2rem; }
.local-fields label { display: grid; gap: .5rem; font-size: .72rem; font-weight: 700; }
.local-fields input { width: 100%; min-height: 46px; border: 1px solid rgba(29,29,31,.28); border-radius: 12px; background: white; padding: 0 .9rem; font-size: .78rem; }
.local-fields input:focus { border-color: var(--pink); outline: 2px solid rgba(255,137,194,.22); }

.prompt-console { align-self: stretch; margin: 1.5rem; overflow: hidden; border-radius: 22px; background: #1d1d1f; color: #f4f0e8; }
.console-topbar { display: flex; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.15); color: #bbb6af; }
.prompt-console pre { min-height: 390px; margin: 0; padding: 2rem; white-space: pre-wrap; font-family: var(--font-geist-mono, monospace); font-size: .78rem; line-height: 1.75; }
.private-copy-button { width: calc(100% - 3rem); min-height: 50px; margin: 0 1.5rem 1.5rem; border: 0; border-radius: 12px; background: var(--pink); color: var(--ink); cursor: pointer; font-weight: 750; }
.private-copy-button:hover { background: white; }

.private-steps { background: var(--paper); }
.compact-heading { grid-template-columns: .58fr 1.25fr .8fr; }
.private-step-grid { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.private-step-grid li { min-height: 260px; padding: 2rem; border-right: 1px solid var(--line); }
.private-step-grid li:last-child { border-right: 0; }
.private-step-grid span { font-family: var(--font-geist-mono, monospace); color: #b73975; font-size: .7rem; }
.private-step-grid h3 { margin: 5rem 0 1rem; font-size: 1.4rem; }
.private-step-grid p { margin: 0; color: var(--muted); line-height: 1.6; }

.private-community {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(3rem, 8vw, 9rem);
  padding: 7rem 3.7vw;
  border-bottom: 1px solid var(--line);
  background: #fbfbfa;
}

.community-intro h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  font-weight: 620;
  letter-spacing: -.065em;
  line-height: .95;
}

.community-intro > p:last-child {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}

.community-groups { display: grid; gap: 2.5rem; }
.community-group { display: grid; gap: 1rem; }
.community-label { font-family: var(--font-geist-mono, monospace); font-size: .62rem; letter-spacing: .12em; }
.community-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.compact-community-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.community-link {
  position: relative;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  border: 1px solid rgba(29,29,31,.26);
  border-radius: 20px;
  background: var(--paper);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.community-link:hover,
.community-link:focus-visible {
  transform: translateY(-3px);
  border-color: var(--pink);
  background: #fff;
  outline: none;
}

.community-link span { font-family: var(--font-geist-mono, monospace); font-size: .66rem; letter-spacing: .08em; }
.community-link strong { max-width: 190px; font-size: 1.05rem; line-height: 1.3; }
.community-link i { position: absolute; top: 1.2rem; right: 1.3rem; font-style: normal; }
.community-link[data-social-placeholder] { cursor: default; }

.tool-guide-hero { border-bottom-color: var(--ink); }
.tool-guide-hero .private-hero-copy h1 { font-size: clamp(3rem,4.8vw,5.8rem); }
.tool-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.primary-tool-action, .secondary-tool-action { padding: 1rem 1.2rem; border: 1px solid var(--ink); border-radius: 999px; font-size: .72rem; font-weight: 750; }
.primary-tool-action { background: var(--pink); border-color: var(--pink); }
.secondary-tool-action { background: rgba(255,255,255,.7); }
.primary-tool-action:hover, .secondary-tool-action:hover { background: var(--ink); border-color: var(--ink); color: white; }
.tool-badge-row { position: absolute; right: 1.5rem; bottom: 1.5rem; left: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tool-badge-row span { padding: .65rem .8rem; border: 1px solid rgba(29,29,31,.2); border-radius: 999px; background: rgba(251,251,250,.92); font-family: var(--font-geist-mono,monospace); font-size: .58rem; letter-spacing: .08em; }
.tool-facts { display: grid; grid-template-columns: .65fr 1.35fr; gap: 5rem; padding: 6rem 3.7vw; background: var(--pink); }
.tool-facts h2, .airi-settings h2 { margin: 0; font-size: clamp(2.5rem,4.7vw,5.3rem); line-height: .95; letter-spacing: -.06em; }
.tool-fact-grid { display: grid; grid-template-columns: repeat(2,1fr); margin: 0; border-top: 1px solid var(--ink); border-left: 1px solid rgba(29,29,31,.25); }
.tool-fact-grid div { min-height: 140px; padding: 1.4rem; border-right: 1px solid rgba(29,29,31,.25); border-bottom: 1px solid rgba(29,29,31,.25); }
.tool-fact-grid dt { margin-bottom: 2.5rem; font-family: var(--font-geist-mono,monospace); font-size: .6rem; letter-spacing: .08em; }
.tool-fact-grid dd { margin: 0; font-weight: 700; line-height: 1.4; }
.tool-prep, .tool-walkthrough, .airi-settings { padding: 7rem 3.7vw; }
.prep-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--ink); }
.prep-grid article { min-height: 270px; padding: 2rem; border-right: 1px solid var(--line); }
.prep-grid span { color: #b73975; font-family: var(--font-geist-mono,monospace); font-size: .65rem; }
.prep-grid h3 { margin: 5rem 0 1rem; font-size: 1.45rem; }
.prep-grid p { color: var(--muted); line-height: 1.6; }
.tool-walkthrough { background: var(--paper); }
.walkthrough-list { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.walkthrough-list li { display: grid; grid-template-columns: .2fr 1fr .35fr; gap: 2rem; align-items: start; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.walkthrough-number, .walkthrough-tip { font-family: var(--font-geist-mono,monospace); font-size: .62rem; letter-spacing: .1em; }
.walkthrough-list h3 { margin: 0 0 .7rem; font-size: clamp(1.45rem,2.5vw,2.6rem); letter-spacing: -.04em; }
.walkthrough-list p { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.65; }
.walkthrough-tip { justify-self: end; color: var(--muted); }
.airi-settings { display: grid; grid-template-columns: .7fr 1.3fr; gap: 6rem; }
.settings-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.settings-grid article { min-height: 240px; padding: 1.8rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.settings-grid span { font-family: var(--font-geist-mono,monospace); color: #b73975; font-size: .6rem; }
.settings-grid h3 { margin: 4rem 0 1rem; font-size: 1.35rem; }
.settings-grid p { color: var(--muted); line-height: 1.6; }

.private-newsletter {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(3rem,8vw,9rem);
  align-items: center;
  margin: 6rem 3.7vw;
  padding: clamp(2.3rem,4vw,4.2rem);
  border: 1px solid rgba(29,29,31,.32);
  border-radius: 28px;
  background: rgba(251,251,250,.82);
}

.private-newsletter h2 { margin: 0 0 1rem; font-size: clamp(2.1rem,4vw,4.5rem); letter-spacing: -.06em; line-height: 1; }
.private-newsletter p:not(.page-kicker) { color: var(--muted); line-height: 1.6; }
.private-newsletter .subscribe-form { width: 100%; }
.private-newsletter small { display: block; margin-top: .8rem; color: var(--muted); font-size: .65rem; }

.private-resource-footer {
  display: flex;
  justify-content: space-between;
  min-height: 150px;
  padding: 3rem 3.7vw;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.home-content-feed,
.public-blog-feed { padding: 7rem 3.7vw; }
.home-content-feed { background: var(--white); }
.public-blog-feed { background: var(--paper); }
.content-tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.content-tabs button { border: 1px solid var(--ink); border-radius: 999px; background: transparent; padding: .8rem 1rem; cursor: pointer; font-size: .68rem; font-weight: 700; }
.content-tabs button.active, .content-tabs button:hover { background: var(--ink); color: white; }
.instagram-video-grid, .public-blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.instagram-video-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.instagram-video-card img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.instagram-video-card div { padding: 1.4rem; }
.instagram-video-card span, .public-blog-grid > article > span { font-family: var(--font-geist-mono,monospace); font-size: .6rem; letter-spacing: .09em; }
.instagram-video-card h3, .public-blog-grid h3 { margin: 1.3rem 0 .7rem; font-size: 1.45rem; letter-spacing: -.04em; }
.instagram-video-card p, .public-blog-grid p { color: var(--muted); line-height: 1.6; }
.instagram-video-card strong, .public-blog-grid a { display: inline-block; margin-top: 1rem; border-bottom: 1px solid var(--ink); padding-bottom: .25rem; font-size: .68rem; }
.public-blog-grid article { min-height: 300px; padding: 2rem; border: 1px solid var(--line); background: var(--white); }

@media (max-width: 900px) {
  .private-resource-header { min-height: 76px; margin-inline: 1.25rem; }
  .private-header-meta > span { display: none; }
  .private-resource-hero { grid-template-columns: 1fr; gap: 0; min-height: auto; padding: 4rem 1.25rem 0; }
  .private-hero-copy { padding-bottom: 3rem; }
  .private-hero-copy h1 { font-size: clamp(3rem,13vw,5.5rem); }
  .private-hero-visual { min-height: 620px; }
  .resource-section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .private-prompt-module { grid-template-columns: 1fr; }
  .private-resource-content, .private-steps { padding: 5rem 1.25rem; }
  .private-step-grid { grid-template-columns: 1fr; }
  .private-step-grid li { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .private-step-grid h3 { margin-top: 2rem; }
  .private-newsletter { grid-template-columns: 1fr; margin: 4rem 1.25rem; }
  .private-community { grid-template-columns: 1fr; padding: 5rem 1.25rem; }
  .tool-facts, .airi-settings { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.25rem; }
  .tool-prep, .tool-walkthrough { padding: 5rem 1.25rem; }
  .home-content-feed, .public-blog-feed { padding: 5rem 1.25rem; }
  .instagram-video-grid, .public-blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .private-resource-page { overflow-x: hidden; }
  .private-resource-header { margin-inline: 1rem; }
  .private-resource-header .brand { font-size: 1.35rem; }
  .private-resource-hero { padding-inline: 1rem; }
  .private-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13vw, 3.55rem);
    letter-spacing: -.045em;
    line-height: .98;
    overflow-wrap: anywhere;
  }
  .private-deck { font-size: 1rem; }
  .private-meta-list div { grid-template-columns: 86px minmax(0,1fr); }
  .private-resource-hero { border-bottom-width: 28px; }
  .private-hero-visual { min-height: 500px; }
  .video-replay-card { right: .75rem; bottom: .75rem; left: .75rem; display: grid; gap: 1rem; }
  .video-replay-card a { justify-self: start; }
  .prompt-console { margin: .75rem; }
  .prompt-console pre { min-height: 460px; padding: 1.25rem; font-size: .68rem; }
  .private-copy-button { width: calc(100% - 2rem); margin: 0 1rem 1rem; }
  .private-newsletter { padding: 2rem 1.25rem; }
  .community-links,
  .compact-community-links { grid-template-columns: 1fr; }
  .community-link { min-height: 118px; }
  .tool-guide-hero .private-hero-copy h1 { font-size: 2.8rem; }
  .tool-fact-grid, .prep-grid, .settings-grid { grid-template-columns: 1fr; }
  .prep-grid article { min-height: auto; border-bottom: 1px solid var(--line); }
  .prep-grid h3 { margin-top: 2rem; }
  .walkthrough-list li { grid-template-columns: 42px 1fr; gap: 1rem; }
  .walkthrough-tip { display: none; }
  .instagram-video-grid, .public-blog-grid { grid-template-columns: 1fr; }
  .resource-section-heading h2 { font-size: 2.65rem; }
  .prompt-explainer { padding: 2rem 1.25rem; }
  .prompt-explainer h3 { font-size: 2.35rem; }
  .private-newsletter .subscribe-form { display: grid; }
  .private-newsletter .subscribe-form input { min-height: 48px; border-right: 1px solid rgba(29,29,31,.42); }
  .private-newsletter .subscribe-form button { min-height: 48px; }
  .private-resource-footer { min-height: 120px; padding: 2rem 1.25rem; }
}

@media (max-width: 560px) {
  .hero {
    min-height: 820px;
  }

  .hero-image {
    object-position: 58% top;
  }

  .hero-copy {
    bottom: 2rem;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 4.5rem);
  }

  .subscribe-form {
    min-height: 46px;
  }

  .subscribe-form button {
    min-width: 112px;
    font-size: 0.64rem;
  }

  .subscribe-form input {
    padding-inline: 0.75rem;
    font-size: 0.62rem;
  }

  .library,
  .newsletter {
    padding: 5rem 1.25rem;
  }

  .note {
    gap: 0.8rem;
  }

  .note-index {
    font-size: 1.1rem;
  }

  .note a {
    font-size: 0.58rem;
  }

  .manifesto {
    padding: 3rem 1.25rem;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 3rem 1.25rem;
  }

  footer p:last-child {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Inner pages */
.inner-page {
  min-height: 100vh;
  background: var(--white);
}

.inner-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 3.7vw;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 250, 0.93);
  backdrop-filter: blur(14px);
}

.inner-header nav a[aria-current="page"] {
  border-color: var(--pink);
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  min-height: 58vh;
  padding: 7rem 3.7vw 5rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.visual-page-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 78vh;
  background: #f8f8f7;
}

.page-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.prompts-hero .page-hero-image,
.resources-hero .page-hero-image,
.journal-hero .page-hero-image,
.about-hero .page-hero-image {
  object-position: center center;
}

.visual-page-intro > div {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 54vw;
}

.visual-page-intro .page-intro-copy {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: end;
  margin: 0 1rem 2rem 0;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  text-shadow: 0 0 16px rgba(255,255,255,0.98), 0 0 5px rgba(255,255,255,0.98);
}

.visual-page-intro h1 {
  max-width: 650px;
  font-size: clamp(3.4rem, 5.4vw, 6.2rem);
}

.about-hero h1 {
  font-size: clamp(3.6rem, 5.8vw, 6.8rem);
}

.about-article {
  max-width: 980px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.about-article > p {
  margin: 0 0 2rem;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.9;
}

.about-article blockquote {
  margin: 5rem 0;
  padding: 0;
  border: 0;
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  font-weight: 570;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.about-list {
  margin: 5rem 0;
  padding: 3rem;
  background: var(--paper);
}

.about-list h2 {
  margin: 0 0 2rem;
  font-size: 2rem;
}

.about-list li {
  margin: 1rem 0;
  line-height: 1.6;
}

.compact-newsletter {
  align-items: center;
}

.compact-newsletter .text-link {
  justify-self: end;
}

.page-kicker {
  margin: 0 0 1.5rem;
  font-family: var(--font-geist-mono, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.page-intro h1 {
  display: block;
  max-width: 900px;
  font-family: var(--font-geist-sans, Arial), "PingFang TC", "PingFang SC", sans-serif;
  font-size: clamp(4rem, 7.5vw, 8.5rem);
  font-weight: 620;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.page-intro-copy {
  align-self: end;
  margin: 0;
  max-width: 420px;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.55;
}

.content-section {
  padding: 5rem 3.7vw 7rem;
}

.content-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ink);
}

.content-toolbar h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  font-weight: 560;
}

.content-toolbar p {
  margin: 0;
  font-family: var(--font-geist-mono, monospace);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}

.resource-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 2.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.resource-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-family: var(--font-geist-mono, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.resource-card h2,
.resource-card h3 {
  margin: auto 0 1rem;
  max-width: 630px;
  font-size: clamp(1.6rem, 2.6vw, 3.2rem);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1;
}

.resource-card > p {
  margin: 0 0 1.8rem;
  color: var(--muted);
  line-height: 1.55;
}

.text-link,
.copy-button,
.channel-link {
  align-self: flex-start;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0.8rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.text-link:hover,
.copy-button:hover,
.channel-link:hover {
  background: var(--ink);
  color: white;
}

.prompt-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.prompt-card {
  display: grid;
  grid-template-columns: 0.8fr 1.7fr;
  gap: 3rem;
  padding: 3rem;
  background: var(--white);
}

.prompt-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  font-weight: 560;
  letter-spacing: -0.045em;
}

.prompt-body pre {
  margin: 0 0 1.5rem;
  white-space: pre-wrap;
  font-family: var(--font-geist-mono, monospace);
  font-size: 0.8rem;
  line-height: 1.75;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 72vh;
}

.about-portrait {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% top;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem;
  background: var(--paper);
}

.about-copy h1 {
  margin: 0 0 2.5rem;
  font-size: clamp(3.5rem, 6vw, 7rem);
  font-weight: 580;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.about-copy > p {
  max-width: 620px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.inner-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 4rem 3.7vw;
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 900px) {
  .inner-header {
    padding: 1.25rem;
  }

  .inner-header nav {
    display: none;
  }

  .page-intro,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .page-intro {
    min-height: auto;
    gap: 4rem;
    padding: 5rem 1.25rem 4rem;
  }

  .visual-page-intro {
    min-height: 760px;
    align-content: end;
  }

  .visual-page-intro > div {
    max-width: 100%;
  }

  .visual-page-intro .page-intro-copy {
    justify-self: start;
    margin: 0;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    padding: 0;
    text-shadow: 0 0 16px white;
  }

  .page-hero-image {
    object-position: 58% top;
  }

  .prompts-hero .page-hero-image,
  .resources-hero .page-hero-image,
  .journal-hero .page-hero-image,
  .about-hero .page-hero-image {
    object-position: 68% center;
  }

  .about-article {
    padding: 5rem 1.25rem;
  }

  .about-list {
    padding: 2rem 1.25rem;
  }

  .compact-newsletter .text-link {
    justify-self: start;
  }

  .page-intro h1 {
    font-size: clamp(3.6rem, 16vw, 6rem);
  }

  .content-section {
    padding: 4rem 1.25rem 5rem;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .prompt-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
  }

  .about-copy {
    padding: 4rem 1.25rem;
  }

  .about-portrait {
    min-height: 520px;
  }

  .inner-footer {
    padding: 3rem 1.25rem;
  }
}
