@import url("base.css");

/* 2026.07 editorial redesign — smaller type, article-first guides, aligned mockups */
:root {
  --container: 1140px;
  --editorial: 760px;
  --paper: #fbfafc;
  --warm: #ff7658;
}

body {
  font-size: 15.5px;
}

.desktop-nav a {
  padding-inline: 0.72rem;
  font-size: 0.84rem;
}

.display {
  max-width: 690px;
  font-size: clamp(2.8rem, 5.8vw, 5.15rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-copy {
  max-width: 590px;
  font-size: clamp(1rem, 1.45vw, 1.14rem);
}

.page-hero h1,
.work-hero h1,
.detail-hero h1,
.partnership-hero h1,
.waitlist-hero h1,
.about-hero h1,
.article-hero h1 {
  font-size: clamp(2.7rem, 5.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.section-head h2,
.category-panel h2,
.about-copy h2,
.program-teaser h2,
.about-intro h2,
.about-cta h2,
.waitlist-panel h2 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero-compact {
  min-height: 39rem;
  padding-block: clamp(3.6rem, 8vw, 6rem) 4rem;
}

.hero-visual-straight {
  min-height: 31rem;
}

.portrait-card-straight {
  transform: none;
  inset: 0.6rem 1rem 1.2rem 1.2rem;
}

.hero-visual-straight .floating-card.one {
  transform: none;
}

.hero-visual-straight .floating-card.two {
  transform: none;
}

.home-guide-list {
  border-top: 1px solid var(--line);
}

.home-guide-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  min-height: 9rem;
  padding: 1.35rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding 180ms ease;
}

.home-guide-row:hover {
  padding-inline: 1rem;
  background: rgba(102, 87, 232, 0.045);
}

.home-guide-index {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.home-guide-row > span:nth-child(2) {
  display: grid;
  gap: 0.35rem;
}

.home-guide-row small {
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-guide-row strong {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.home-guide-row em {
  color: var(--muted);
  font-size: 0.83rem;
  font-style: normal;
}

.home-guide-row > b {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 0.85rem;
  transition: transform 180ms ease;
}

.home-guide-row:hover > b {
  transform: translate(2px, -2px);
}

.program-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(2.2rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(102, 87, 232, 0.15);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f5f1ff, #ffffff 65%);
  box-shadow: var(--shadow-sm);
}

.program-teaser p {
  max-width: 610px;
  color: var(--muted);
}

.program-orbit {
  position: relative;
  min-height: 18rem;
  border: 1px solid rgba(102, 87, 232, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 28%, transparent 29%), linear-gradient(135deg, rgba(102, 87, 232, 0.1), rgba(40, 120, 255, 0.04));
}

.program-orbit::before,
.program-orbit::after {
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(102, 87, 232, 0.24);
  border-radius: 50%;
  content: "";
}

.program-orbit::after {
  inset: 30%;
}

.program-orbit strong,
.program-orbit span {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-style: normal;
}

.program-orbit strong {
  inset: 50% auto auto 50%;
  width: 4rem;
  height: 4rem;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
}

.program-orbit span {
  padding: 0.5rem 0.75rem;
}

.program-orbit span:nth-child(1) { top: 8%; left: 42%; }
.program-orbit span:nth-child(2) { top: 47%; right: 3%; }
.program-orbit span:nth-child(3) { bottom: 7%; left: 28%; }

/* Guide library */
.page-hero-narrow {
  max-width: 820px;
  padding-block: clamp(4rem, 9vw, 7rem) 3.4rem;
}

.page-hero-narrow > p:last-child {
  max-width: 650px;
  font-size: 1.05rem;
}

.guide-library {
  max-width: 940px;
  margin: 0 auto;
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.guide-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
}

.guide-search {
  position: relative;
  display: block;
}

.guide-search input {
  width: 100%;
  height: 3.25rem;
  padding: 0 3rem 0 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.88);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(18,19,24,0.04);
}

.guide-search > span:last-child {
  position: absolute;
  top: 50%;
  right: 1rem;
  color: var(--muted);
  font-size: 1.2rem;
  transform: translateY(-50%);
}

.guide-sort {
  display: grid;
  gap: 0.25rem;
}

.guide-sort > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.guide-sort select {
  height: 3.25rem;
  min-width: 8.3rem;
  padding: 0 2.2rem 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 2rem;
}

.filter-chip {
  min-height: 2.35rem;
  padding: 0.45rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 120ms ease;
}

.filter-chip:hover,
.filter-chip.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.guide-list-head {
  display: flex;
  justify-content: space-between;
  padding: 0 0.25rem 0.75rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.article-list {
  border-top: 1px solid var(--line-strong);
}

.article-row {
  display: grid;
  width: 100%;
  grid-template-columns: 9rem minmax(0, 1fr) 2.5rem;
  gap: 1.45rem;
  align-items: start;
  padding: 1.55rem 0.35rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, padding 160ms ease;
}

.article-row:hover {
  padding-inline: 0.9rem;
  background: rgba(102,87,232,0.045);
}

.article-row[hidden] {
  display: none;
}

.article-row-meta {
  display: grid;
  gap: 0.28rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.article-row-meta em {
  color: var(--accent-strong);
  font-style: normal;
  font-weight: 750;
}

.article-row-copy {
  display: grid;
  gap: 0.48rem;
}

.article-row-copy strong {
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.28;
  letter-spacing: -0.024em;
}

.article-row-copy small {
  max-width: 650px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
}

.article-tags i {
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 700;
}

.article-row > b {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 0.78rem;
}

/* Single-column guide articles */
.longform-article {
  width: min(calc(100% - 2.5rem), var(--editorial));
  margin: 0 auto;
  padding-bottom: 7rem;
}

.article-hero {
  padding: clamp(4.2rem, 10vw, 7.5rem) 0 3.2rem;
  border-bottom: 1px solid var(--line);
}

.article-back {
  display: inline-block;
  margin-bottom: 3.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.article-hero h1 {
  max-width: 760px;
  margin: 0;
}

.article-dek {
  max-width: 680px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.article-byline img {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  object-fit: cover;
}

.article-byline span,
.article-byline strong,
.article-byline small {
  display: block;
}

.article-byline strong { font-size: 0.84rem; }
.article-byline small { color: var(--muted); font-size: 0.72rem; }

.article-prose {
  padding-top: 2.5rem;
}

.article-prose > section,
.article-prose > aside {
  margin-top: clamp(3.8rem, 8vw, 6.2rem);
}

.article-prose h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.6vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.article-prose h3 {
  letter-spacing: -0.025em;
}

.article-prose p,
.article-prose li {
  color: #4f5159;
  font-size: 1rem;
  line-height: 1.85;
}

.article-lead {
  margin: 0;
  color: var(--ink) !important;
  font-size: clamp(1.18rem, 2.5vw, 1.45rem) !important;
  line-height: 1.68 !important;
  letter-spacing: -0.018em;
}

.compact-prompt pre {
  min-height: auto;
}

.prompt-box {
  position: relative;
}

.prompt-box .button {
  margin-top: 0.85rem;
}

.clean-list {
  padding-left: 1.2rem;
}

.category-index,
.command-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.category-index > span,
.command-list > span {
  display: grid;
  min-height: 4rem;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.category-index b {
  color: var(--accent);
  font-size: 0.72rem;
}

.category-index em {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
}

.command-list > span {
  grid-template-columns: 1fr auto;
}

.command-list code {
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 800;
}

.command-list em {
  color: var(--muted);
  font-size: 0.77rem;
  font-style: normal;
}

.article-note {
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: var(--accent-soft);
}

.article-note strong {
  color: var(--accent-strong);
}

.article-note p {
  margin-bottom: 0;
}

.article-steps {
  border-top: 1px solid var(--line);
}

.article-steps > div {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.article-steps b {
  color: var(--accent);
  font-size: 0.78rem;
}

.article-steps strong {
  font-size: 1.05rem;
}

.article-steps p {
  margin: 0.25rem 0 0;
}

.pdf-download-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 5vw, 3.2rem);
  align-items: center;
  margin-top: 1.6rem;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  overflow: hidden;
  border: 1px solid rgba(102,87,232,0.17);
  border-radius: 26px;
  background: linear-gradient(145deg, #f2edff, #fff 70%);
}

.pdf-preview {
  position: relative;
  min-height: 18rem;
}

.pdf-sheet {
  position: absolute;
  inset: 0.5rem 1rem 0.5rem 0;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid rgba(18,19,24,0.1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(57,43,120,0.15);
}

.pdf-sheet-back {
  inset: 1.1rem 0 0 1rem;
  background: #e3ddf9;
  box-shadow: none;
}

.pdf-sheet small {
  color: var(--accent);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pdf-sheet strong {
  margin-top: 2.2rem;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.pdf-sheet b {
  margin-top: auto;
  color: var(--accent);
  font-size: 3.6rem;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.pdf-sheet em {
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 750;
}

.file-kicker {
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pdf-download-copy h3 {
  margin: 0.55rem 0 0.55rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.pdf-download-copy p {
  margin-top: 0;
}

.article-end {
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

/* Waitlist */
.waitlist-hero {
  display: grid;
  min-height: 43rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 7rem) 5rem;
}

.waitlist-hero > div:first-child > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.waitlist-hero > div:first-child > small {
  display: block;
  max-width: 570px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(102,87,232,0.2);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 800;
}

.system-board {
  padding: 1.2rem;
  border: 1px solid rgba(255,255,255,0.82);
  border-radius: 30px;
  background: rgba(255,255,255,0.58);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px) saturate(160%);
}

.system-window {
  min-height: 28rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.window-dots {
  display: flex;
  gap: 0.32rem;
  margin-bottom: 3.5rem;
}

.window-dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #d7d5dc;
}

.system-window > small {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.system-window h2 {
  margin: 0.7rem 0 2rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.system-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.8rem;
  border-radius: 14px;
  background: var(--soft);
  font-size: 0.73rem;
}

.system-flow span {
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
}

.system-flow b {
  color: var(--muted);
}

.system-progress {
  height: 0.5rem;
  margin-top: 1.8rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--accent-soft);
}

.system-progress i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.system-window > em {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.reason-grid article {
  min-height: 15rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.reason-grid article > span,
.lane-list article > span,
.info-boundary article > span,
.credential-grid article > span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.reason-grid h3 {
  margin: 3.4rem 0 0.55rem;
  font-size: 1.12rem;
}

.reason-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.lane-list {
  border-top: 1px solid var(--line-strong);
}

.lane-list article {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) minmax(220px, 0.75fr);
  gap: 1.4rem;
  align-items: baseline;
  padding: 1.6rem 0.25rem;
  border-bottom: 1px solid var(--line);
}

.lane-list h3 {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.lane-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.fit-panel,
.info-boundary,
.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}

.fit-panel > div,
.info-boundary article,
.credential-grid article {
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.fit-panel ul,
.info-boundary ul,
.credential-grid ul {
  margin: 1.3rem 0 0;
  padding-left: 1.15rem;
}

.fit-panel li,
.info-boundary li,
.credential-grid li {
  margin: 0.55rem 0;
  color: var(--muted);
}

.waitlist-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(2rem, 6vw, 4.6rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
}

.waitlist-panel .eyebrow { color: #a99dff; }
.waitlist-panel p,
.waitlist-panel small { color: rgba(255,255,255,0.68); }
.waitlist-panel small { display: block; margin-top: 1rem; font-size: 0.73rem; }
.waitlist-panel form { display: grid; gap: 0.9rem; }
.waitlist-panel label { color: rgba(255,255,255,0.76); }
.waitlist-panel input,
.waitlist-panel select { border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.1); color: #fff; }
.waitlist-panel option { color: var(--ink); }
.waitlist-panel .button { justify-self: start; }

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

.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { padding: 1.25rem 0.25rem; font-size: 1.03rem; font-weight: 750; cursor: pointer; }
.faq-section details p { max-width: 760px; margin: 0 0 1.35rem; color: var(--muted); }

/* About */
.about-hero {
  display: grid;
  min-height: 42rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 7rem) 4.5rem;
}

.about-hero > div > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.1rem;
}

.about-portrait {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 32px;
  background: #e9e4f7;
  box-shadow: var(--shadow-lg);
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: 50% 25%;
}

.about-portrait figcaption {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: #fff;
}

.about-portrait figcaption strong,
.about-portrait figcaption span {
  font-size: 0.78rem;
}

.about-portrait figcaption span { color: var(--muted); }

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-block: 1px solid var(--line);
}

.about-stat-grid > div {
  padding: 1.35rem;
  border-right: 1px solid var(--line);
}

.about-stat-grid > div:first-child { padding-left: 0; }
.about-stat-grid > div:last-child { border-right: 0; }
.about-stat-grid strong,
.about-stat-grid span { display: block; }
.about-stat-grid strong { font-size: 1.4rem; letter-spacing: -0.04em; }
.about-stat-grid span { color: var(--muted); font-size: 0.72rem; }

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
}

.about-intro > div:last-child p {
  margin-top: 0;
  color: #4f5159;
  font-size: 1rem;
  line-height: 1.85;
}

.story-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 2.2rem;
  border-left: 1px solid var(--line-strong);
}

.story-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 2rem;
  padding: 0 0 4.5rem;
}

.story-timeline article::before {
  position: absolute;
  top: 0.35rem;
  left: -2.55rem;
  width: 0.68rem;
  height: 0.68rem;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(102,87,232,0.25);
  content: "";
}

.story-date {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.story-timeline h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  letter-spacing: -0.03em;
}

.story-timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.credential-grid h3,
.info-boundary h3 { margin: 2rem 0 0.5rem; font-size: 1.35rem; }

.about-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
}

.about-cta p { color: rgba(255,255,255,0.65); }
.about-cta .eyebrow { color: #a99dff; }

/* Partnership mockup */
.partnership-hero {
  display: grid;
  min-height: 46rem;
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.96fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 7rem) 5rem;
}

.partnership-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.06rem;
}

.partnership-copy > small {
  display: block;
  max-width: 580px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.media-mockup {
  position: relative;
  min-height: 36rem;
}

.mockup-deck {
  position: absolute;
  inset: 1rem 5.5rem 1rem 0;
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 26px;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-lg);
}

.mockup-top,
.mockup-profile,
.mockup-stats,
.mockup-tags {
  display: flex;
  align-items: center;
}

.mockup-top { justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.mockup-top span { color: var(--accent); font-size: 0.58rem; font-weight: 850; letter-spacing: 0.1em; }
.mockup-top b { font-size: 0.82rem; }
.mockup-profile { gap: 0.7rem; margin-top: 1.5rem; }
.mockup-profile img { width: 3.7rem; height: 3.7rem; border-radius: 50%; object-fit: cover; }
.mockup-profile strong,
.mockup-profile small { display: block; }
.mockup-profile small { color: var(--muted); font-size: 0.67rem; }
.mockup-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-top: 1.5rem; }
.mockup-stats > span { padding: 0.9rem; border-radius: 14px; background: var(--soft); }
.mockup-stats strong,
.mockup-stats small { display: block; }
.mockup-stats strong { font-size: 1.3rem; letter-spacing: -0.04em; }
.mockup-stats small { color: var(--muted); font-size: 0.62rem; }
.mockup-tags { flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.mockup-tags i { padding: 0.35rem 0.52rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 0.62rem; font-style: normal; font-weight: 750; }
.mockup-deck > p { margin-top: 4rem; color: var(--muted); font-size: 0.75rem; }

.mockup-phone {
  position: absolute;
  top: 5rem;
  right: 0;
  width: 12.3rem;
  padding: 0.55rem;
  border-radius: 30px;
  background: #17171b;
  box-shadow: 0 22px 50px rgba(18,19,24,0.22);
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 50%;
  width: 3rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  transform: translateX(-50%);
}

.phone-screen {
  display: flex;
  min-height: 23rem;
  flex-direction: column;
  padding: 2.1rem 0.8rem 0.8rem;
  border-radius: 24px;
  background: linear-gradient(155deg, #ddd6ff, #fff 52%, #cfe2ff);
}

.phone-screen > small { color: #50505a; font-size: 0.57rem; font-weight: 750; }
.phone-screen > strong { margin-top: 4rem; font-size: 1.55rem; line-height: 1.04; letter-spacing: -0.05em; }
.phone-screen > em { margin-top: 0.6rem; color: var(--accent); font-size: 0.58rem; font-style: normal; font-weight: 850; }
.phone-caption { margin-top: auto; padding: 0.7rem; border-radius: 13px; background: rgba(255,255,255,0.84); }
.phone-caption b,
.phone-caption span { display: block; }
.phone-caption b { font-size: 0.66rem; }
.phone-caption span { margin-top: 0.25rem; color: var(--muted); font-size: 0.58rem; }

.boundary-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 1060px) {
  .desktop-nav a { padding-inline: 0.55rem; font-size: 0.78rem; }
  .partnership-hero { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr); }
  .reason-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .reason-grid article { min-height: 12rem; }
}

@media (max-width: 900px) {
  .desktop-nav,
  .nav-action { display: none; }
  .menu-button { display: flex; flex-direction: column; }
  .program-teaser,
  .waitlist-hero,
  .about-hero,
  .about-intro,
  .partnership-hero,
  .waitlist-panel { grid-template-columns: 1fr; }
  .program-orbit { width: min(100%, 25rem); margin: 0 auto; }
  .system-board { width: min(100%, 31rem); margin: 0 auto; }
  .about-portrait { width: min(100%, 31rem); margin-inline: auto; }
  .media-mockup { width: min(100%, 34rem); margin: 0 auto; }
  .about-cta { align-items: flex-start; flex-direction: column; }
  .lane-list article { grid-template-columns: 6rem minmax(0,1fr); }
  .lane-list article p { grid-column: 2; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .display { font-size: clamp(2.65rem, 12vw, 4rem); }
  .page-hero h1,
  .partnership-hero h1,
  .waitlist-hero h1,
  .about-hero h1,
  .article-hero h1 { font-size: clamp(2.45rem, 11vw, 3.8rem); }
  .hero-compact { padding-top: 3.5rem; }
  .home-guide-row { grid-template-columns: 2rem minmax(0,1fr) auto; gap: 0.8rem; }
  .guide-search-row { grid-template-columns: 1fr; }
  .guide-sort { width: 100%; }
  .guide-sort select { width: 100%; }
  .article-row { grid-template-columns: 1fr 2.4rem; gap: 0.8rem; }
  .article-row-meta { grid-column: 1; display: flex; gap: 0.6rem; }
  .article-row-copy { grid-column: 1; }
  .article-row > b { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .pdf-download-card { grid-template-columns: 1fr; }
  .pdf-preview { width: min(100%, 15rem); min-height: 19rem; margin-inline: auto; }
  .reason-grid,
  .fit-panel,
  .info-boundary,
  .credential-grid,
  .about-stat-grid { grid-template-columns: 1fr; }
  .about-stat-grid > div { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .story-timeline article { grid-template-columns: 1fr; gap: 0.5rem; }
  .media-mockup { min-height: 34rem; }
  .mockup-deck { right: 4rem; }
  .mockup-phone { width: 11rem; }
  .lane-list article { grid-template-columns: 1fr; gap: 0.5rem; }
  .lane-list article p { grid-column: 1; }
}

@media (max-width: 520px) {
  .container,
  .longform-article { width: min(calc(100% - 1.5rem), var(--container)); }
  .category-index,
  .command-list { grid-template-columns: 1fr; }
  .home-guide-row { grid-template-columns: 1fr auto; }
  .home-guide-index { display: none; }
  .program-teaser { padding: 1.5rem; }
  .program-orbit { min-height: 15rem; }
  .reason-grid { grid-template-columns: 1fr; }
  .reason-grid article { min-height: 10rem; }
  .about-portrait figcaption { align-items: flex-start; flex-direction: column; gap: 0.2rem; }
  .media-mockup { min-height: 30rem; }
  .mockup-deck { inset: 0 2.5rem 0 0; }
  .mockup-phone { top: 5.5rem; width: 9.2rem; }
  .phone-screen { min-height: 19rem; }
  .mockup-deck > p { display: none; }
  .waitlist-panel { padding: 1.5rem; }
}

@media (prefers-reduced-transparency: reduce) {
  .system-board,
  .mockup-deck { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  .article-row,
  .home-guide-row,
  .reason-grid article,
  .category-index > span,
  .command-list > span { border-color: var(--line-strong); }
}

/* 폼 전송 상태 — 봇 차단용 숨김칸과 전송 완료 안내 */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  margin: 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

button[type="submit"][disabled] {
  opacity: 0.55;
  cursor: progress;
}

/* 2026-10-09: 한국어는 단어 단위로 줄바꿈 */
html { word-break: keep-all; overflow-wrap: break-word; line-break: strict; }

/* 2026-10-09: 상단 메뉴 — 배경 알약 없이 글자와 점으로만 */
.desktop-nav a { position: relative; background: none; transition: color .18s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: none; color: var(--ink); }
.desktop-nav a[aria-current="page"] { font-weight: 800; }
.desktop-nav a::after { content: ""; position: absolute; left: 50%; bottom: .32rem; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); transform: translateX(-50%) scale(0); transition: transform .18s ease; }
.desktop-nav a:hover::after { transform: translateX(-50%) scale(1); opacity: .35; }
.desktop-nav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); opacity: 1; }

/* 2026-10-09: 메인 소개 칸은 사진 없이 글만 */
.about-panel { grid-template-columns: 1fr; }

/* 2026-10-09: 보라 버튼 호버 때 흰 배경에 흰 글자로 안 보이던 문제 */
.button-accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }

/* 2026-10-09: 소개(about)와 브랜드 협업(work-with-me) 공통 규칙 — 숫자 줄·카드·하단 검은 칸을 한 모양으로 */
.about-stat-grid strong, .proof-item strong { font-size: 2.4rem; font-weight: 770; line-height: 1.15; letter-spacing: -0.045em; }
.about-stat-grid span, .proof-item span { font-size: 0.82rem; color: var(--muted); }
.about-stat-grid, .proof-strip { padding-block: 1.35rem; }
.credential-grid > *, .service-card, .reason-grid > *, .info-boundary > * { padding: 1.9rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: none; }
.credential-grid h3, .service-card h3, .reason-grid h3, .info-boundary h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.35; }
.about-cta, .contact-panel { background: #15161a; border-radius: 34px; padding: 4rem; }
.about-cta h2, .contact-copy h2 { font-size: clamp(2.4rem, 4.4vw, 3.5rem); letter-spacing: -0.055em; line-height: 1.05; }
@media (max-width: 760px) {
  .about-stat-grid strong, .proof-item strong { font-size: 1.9rem; }
  .credential-grid > *, .service-card, .reason-grid > *, .info-boundary > * { padding: 1.4rem; }
  .about-cta, .contact-panel { padding: 2rem 1.4rem; border-radius: 26px; }
}

/* 2026-10-09: 메인 '지금 필요한 것부터' 타일 · 프로그램 예고 띠 (home_sections.py) */
.cat-lead { max-width: 22rem; color: var(--muted); }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cat-tile { position: relative; display: flex; flex-direction: column; gap: .9rem; min-height: 15.5rem; padding: 1.5rem 1.4rem 1.3rem; border-radius: 24px; overflow: hidden; color: inherit; text-decoration: none; isolation: isolate; transition: transform .22s ease, box-shadow .22s ease; }
.cat-tile::after { content: ""; position: absolute; width: 170px; height: 170px; right: -60px; bottom: -70px; border-radius: 50%; z-index: -1; opacity: .6; transition: transform .3s ease; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(18, 19, 24, .08); }
.cat-tile:hover::after { transform: scale(1.15); }
.cat-tile-top { display: flex; flex-direction: column; gap: .35rem; }
.cat-tile-top strong { font-size: 1.45rem; font-weight: 850; letter-spacing: -.045em; line-height: 1.15; }
.cat-tile-top em { font-style: normal; font-size: .8rem; font-weight: 700; opacity: .75; }
.cat-tile-sub { font-size: .86rem; opacity: .8; }
.cat-tile ul { margin: auto 0 0; padding: .8rem 0 0; list-style: none; border-top: 1px solid currentColor; border-top-color: rgba(0, 0, 0, .08); display: grid; gap: .35rem; }
.cat-tile li { font-size: .82rem; line-height: 1.4; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.cat-tile > b { position: absolute; right: 1.1rem; top: 1.1rem; font-size: .95rem; }
.cat-tile.t-c1 { background: #efe8fb; color: #4a2a9c; } .cat-tile.t-c1::after { background: #c9b4f5; }
.cat-tile.t-c2 { background: #e5f0ec; color: #1f5c48; } .cat-tile.t-c2::after { background: #a9dcc8; }
.cat-tile.t-c3 { background: #fbe8ef; color: #8e2753; } .cat-tile.t-c3::after { background: #f5b3cd; }
.cat-tile.t-c4 { background: #fdf1df; color: #8a4a10; } .cat-tile.t-c4::after { background: #f7cd94; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-tile { min-height: 0; }
}

/* 2026-10-09: 메인·소개·협업·프로그램은 스크롤하면 한 화면(섹션)씩 넘어간다. 가이드 페이지는 제외. */
html.snap-page { scroll-snap-type: y proximity; }
.snap-page :is(.hero, .about-hero, .partnership-hero, .waitlist-hero) { scroll-snap-align: start; min-height: calc(100svh - 12rem); display: grid; align-content: center; }
.snap-page main .section { scroll-snap-align: start; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.snap-page .site-footer { scroll-snap-align: end; }
/* PC 휠은 main.js 가 한 섹션씩 넘긴다(CSS mandatory 는 짧은 휠에 제자리로 되돌아가서 쓰지 않음). */

/* 2026-10-09 리디자인: 메인·소개·협업 — 한 화면에 한 섹션이 비거나 넘치지 않게 */
.snap-page main .section { padding-block: 5.5rem 2.5rem; }
.snap-page main .section-head { margin-bottom: 2rem; }

/* 메인 · 최신 가이드 카드 3개 (home_sections.py 가 채움) */
.hg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hg-card { display: flex; flex-direction: column; gap: .8rem; color: inherit; text-decoration: none; }
.hg-thumb { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 3; padding: 1.2rem 1.3rem 1.4rem; border-radius: 24px; overflow: hidden; isolation: isolate; transition: transform .22s ease, box-shadow .22s ease; }
.hg-thumb::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.hg-thumb::after { content: ""; position: absolute; width: 230px; height: 230px; right: -70px; bottom: -95px; border-radius: 50%; z-index: -1; opacity: .55; transition: transform .3s ease; }
.hg-card:hover .hg-thumb { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(18, 19, 24, .09); }
.hg-card:hover .hg-thumb::after { transform: scale(1.12); }
.hg-tool { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 5px 11px 5px 6px; border-radius: 999px; background: rgba(255, 255, 255, .78); font-size: .8rem; font-weight: 700; }
.hg-tool img { width: 20px; height: 20px; border-radius: 6px; object-fit: contain; }
.hg-hook { font-weight: 900; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.02; letter-spacing: -.055em; }
.hg-meta { display: flex; gap: .6rem; align-items: center; font-size: .82rem; color: var(--muted); }
.hg-meta em { font-style: normal; font-weight: 700; color: var(--accent-strong); }
.hg-card strong { font-size: 1.12rem; line-height: 1.4; letter-spacing: -.03em; }
.hg-card:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.hg-thumb.t-c1 { background: #efe8fb; color: #4a2a9c; } .hg-thumb.t-c1::after { background: #c9b4f5; }
.hg-thumb.t-c2 { background: #e5f0ec; color: #1f5c48; } .hg-thumb.t-c2::after { background: #a9dcc8; }
.hg-thumb.t-c3 { background: #fbe8ef; color: #8e2753; } .hg-thumb.t-c3::after { background: #f5b3cd; }
.hg-thumb.t-c4 { background: #fdf1df; color: #8a4a10; } .hg-thumb.t-c4::after { background: #f7cd94; }
.hg-thumb.t-c5 { background: #e6ebfb; color: #2a3f9c; } .hg-thumb.t-c5::after { background: #b4c3f5; }
.hg-thumb.t-v1::before { background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px); background-size: 26px 26px; opacity: .07; }
.hg-thumb.t-v2::before { background: repeating-radial-gradient(circle at 100% 0, transparent 0 22px, currentColor 22px 23px); opacity: .1; }
.hg-thumb.t-v3::before { background: repeating-linear-gradient(135deg, transparent 0 14px, currentColor 14px 15px); opacity: .07; }
.hg-thumb.t-v4::before { background-image: radial-gradient(currentColor 1.2px, transparent 1.4px); background-size: 16px 16px; opacity: .14; }

/* 메인 · 카테고리: 왼쪽 제목, 오른쪽 2×2 타일 */
.home-cat-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.home-cat-copy h2 { margin: .45rem 0 1rem; font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 770; line-height: 1.03; letter-spacing: -.055em; }
.home-cat-copy p:not(.eyebrow) { max-width: 22rem; margin: 0 0 1.8rem; color: var(--muted); }
.home-cat .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-cat .cat-tile { min-height: 15rem; }

/* 메인 · 마지막 화면: 프로그램 예고 + 지후 소개 */
.home-bento { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.25rem; }
.bento-program, .bento-about { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; min-height: min(34rem, 64vh); padding: clamp(1.8rem, 3.5vw, 3rem); border-radius: 34px; overflow: hidden; isolation: isolate; }
.bento-program { background: linear-gradient(140deg, #15161a 0%, #2a2350 100%); color: #fff; }
.bento-program .eyebrow { color: #a99dff; }
.bento-program h2, .bento-about h2 { margin: .5rem 0 .9rem; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 770; line-height: 1.08; letter-spacing: -.05em; }
.bento-program p:not(.eyebrow) { max-width: 26rem; margin: 0 0 1.6rem; color: rgba(255, 255, 255, .68); }
.bento-orb { position: absolute; z-index: -1; width: 26rem; height: 26rem; right: -7rem; top: -8rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8b7dff, #4f3ed8 55%, transparent 70%); opacity: .55; filter: blur(6px); }
.bento-about { background: var(--accent-soft); }
.bento-about p:not(.eyebrow) { margin: 0 0 1.6rem; color: #4d4f58; }

/* 소개 · 첫 화면에 사진과 숫자 줄이 같이 들어오게 */
.page-about .about-hero { min-height: calc(100svh - 15rem); padding-block: 2.5rem 2rem; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .8fr); }
.page-about .about-portrait { width: 100%; max-width: 400px; justify-self: end; }
.page-about .about-portrait img { aspect-ratio: 4 / 4.4; max-height: 52vh; }

/* 소개 · 짧은 소개: 제목과 본문을 한 판에 */
.intro-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 34px; background: linear-gradient(135deg, #f1edff 0%, #fbfafc 55%, #fdeff5 100%); }
.intro-panel h2 { margin: .5rem 0 0; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 770; line-height: 1.08; letter-spacing: -.05em; }
.intro-body p { margin: 0; padding: 1.1rem 0; border-top: 1px solid var(--line-strong); color: #3d3f47; font-size: 1.04rem; line-height: 1.75; }
.intro-body p:first-child { padding-top: 0; border-top: 0; }
.intro-body p:last-child { padding-bottom: 0; }

/* 소개 · 이력: 가로 4칸 */
.story-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin: 0; padding: 2rem 0 0; list-style: none; counter-reset: story; }
.story-track::before { content: ""; position: absolute; top: .45rem; left: 1.6rem; right: 1.6rem; height: 1px; background: var(--line-strong); }
.story-track li { position: relative; display: flex; flex-direction: column; min-height: 23rem; padding: 1.8rem 1.6rem; border: 1px solid var(--line); border-radius: 24px; background: #fff; counter-increment: story; }
.story-track li::before { content: ""; position: absolute; top: -1.85rem; left: 1.6rem; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.story-track li::after { content: "0" counter(story); margin-top: auto; padding-top: 1.5rem; font-size: 4.2rem; font-weight: 900; line-height: .9; letter-spacing: -.06em; color: var(--accent-soft); }
.story-step { color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.story-track h3 { margin: .8rem 0 .6rem; font-size: 1.22rem; line-height: 1.35; letter-spacing: -.035em; }
.story-track p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.story-track li:last-child { background: #15161a; border-color: #15161a; color: #fff; }
.story-track li:last-child .story-step { color: #a99dff; }
.story-track li:last-child p { color: rgba(255, 255, 255, .62); }
.story-track li:last-child::after { color: rgba(255, 255, 255, .1); }

/* 소개 · 강의 + 마지막 문의를 한 화면에 */
.about-teach .about-cta { align-items: center; margin-top: 1.1rem; padding: 2.2rem 2.8rem; }
.about-teach .about-cta h2 { margin: .4rem 0 .5rem; font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.about-teach .about-cta p { margin: 0; }
.about-teach .credential-grid h3 { margin: .7rem 0 0; }
.about-teach .credential-grid ul { margin-top: .8rem; }
.about-teach .credential-grid li { margin: .4rem 0; }

/* 협업 · 왜 지후: 검은 판 */
.why-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2rem, 5vw, 4.2rem); border-radius: 34px; background: #15161a; color: #fff; }
.why-copy .eyebrow { color: #a99dff; }
.why-copy h2 { margin: .5rem 0 1rem; font-size: clamp(2rem, 3.3vw, 2.9rem); font-weight: 770; line-height: 1.06; letter-spacing: -.05em; }
.why-copy p:not(.eyebrow) { margin: 0; color: rgba(255, 255, 255, .62); }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.why-grid article { padding: 1.6rem; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: rgba(255, 255, 255, .06); }
.why-grid span { display: block; margin-bottom: 1.5rem; color: #a99dff; font-size: 2.2rem; font-weight: 850; line-height: 1; letter-spacing: -.05em; }
.why-grid h3 { margin: 0 0 .45rem; font-size: 1.2rem; letter-spacing: -.03em; }
.why-grid p { margin: 0; color: rgba(255, 255, 255, .6); font-size: .92rem; }

/* 협업 · 협업 형식: 색 카드 2×2 */
.format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.format-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 13.5rem; padding: 1.9rem 2rem; border-radius: 26px; overflow: hidden; }
.format-card b { position: absolute; top: 1.1rem; right: 1.5rem; font-size: 5.5rem; font-weight: 900; line-height: 1; letter-spacing: -.06em; opacity: .14; }
.format-card span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.format-card h3 { margin: .4rem 0 .45rem; font-size: 1.45rem; letter-spacing: -.04em; }
.format-card p { max-width: 30rem; margin: 0; color: #3d3f47; font-size: .94rem; }
.format-card.f-1 { background: #efe8fb; color: #4a2a9c; }
.format-card.f-2 { background: #fbe8ef; color: #8e2753; }
.format-card.f-3 { background: #e5f0ec; color: #1f5c48; }
.format-card.f-4 { background: #fdf1df; color: #8a4a10; }

/* 협업 · 진행 방식 + 공개 범위 */
.flow-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.flow-process h2 { margin: .45rem 0 1.6rem; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 770; line-height: 1.06; letter-spacing: -.05em; }
.flow-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.flow-steps li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line-strong); }
.flow-steps li:last-child { border-bottom: 1px solid var(--line-strong); }
.flow-steps span { padding-top: .3rem; color: var(--accent-strong); font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.flow-steps h3 { margin: 0 0 .2rem; font-size: 1.2rem; letter-spacing: -.03em; }
.flow-steps p { margin: 0; color: var(--muted); font-size: .93rem; }
.flow-boundary-title { margin: .45rem 0 1.4rem; font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.18; letter-spacing: -.045em; }
.flow-boundary .info-boundary { gap: .9rem; }
.flow-boundary .info-boundary h3 { margin: 1.2rem 0 0; font-size: 1.2rem; }
.flow-boundary .info-boundary ul { margin-top: .8rem; }
.flow-boundary .info-boundary li { margin: .4rem 0; font-size: .92rem; }
.info-boundary article.is-dark { background: #15161a; border-color: #15161a; color: #fff; }
.info-boundary article.is-dark > span { color: #a99dff; }
.info-boundary article.is-dark li { color: rgba(255, 255, 255, .65); }

/* 협업 · 문의 폼이 한 화면에 들어오게 */
.brand-contact .contact-panel { gap: 3.5rem; padding: 3rem 3.2rem; }
.brand-contact .contact-copy h2 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); }
.brand-contact .form-grid { gap: .65rem .85rem; }
.brand-contact .field input, .brand-contact .field select { min-height: 2.75rem; padding-block: .55rem; }
.brand-contact .field textarea { min-height: 5.5rem; }

@media (max-width: 960px) {
  .hg-grid { grid-template-columns: 1fr; }
  .hg-card { flex-direction: row; align-items: center; gap: 1rem; }
  .hg-card .hg-thumb { flex: none; width: 9.5rem; aspect-ratio: 4 / 3.4; padding: .7rem .8rem; border-radius: 16px; }
  .hg-card .hg-hook { font-size: 1.35rem; }
  .hg-card .hg-tool { font-size: .66rem; padding: 3px 7px 3px 4px; } .hg-card .hg-tool img { width: 14px; height: 14px; }
  .hg-card > .hg-meta { display: none; }
  .hg-card strong { font-size: 1rem; }
  .home-cat-layout, .home-bento, .intro-panel, .why-panel, .flow-layout { grid-template-columns: 1fr; }
  .bento-program, .bento-about { min-height: 0; }
  .story-track { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; }
  .story-track::before, .story-track li::before { display: none; }
  .story-track li { min-height: 0; }
  .story-track li::after { font-size: 2.6rem; }
  .page-about .about-hero { grid-template-columns: 1fr; }
  .page-about .about-portrait { justify-self: start; }
}
@media (max-width: 560px) {
  .story-track, .why-grid, .format-grid, .flow-boundary .info-boundary { grid-template-columns: 1fr; }
  .about-teach .about-cta { flex-direction: column; align-items: flex-start; padding: 2rem 1.4rem; }
  .brand-contact .contact-panel { padding: 2rem 1.4rem; gap: 2rem; }
  .format-card { min-height: 0; padding: 1.5rem; }
  .format-card b { font-size: 3.6rem; }
  .flow-steps li { grid-template-columns: 1fr; gap: .3rem; }
}
@media (max-width: 760px) {
  .snap-page main .section { min-height: 0; padding-block: 4rem 2rem; }
}
/* 노트북처럼 세로가 낮은 화면(≈720px)에서도 섹션이 한 화면에 들어오게 */
@media (min-width: 900px) and (max-height: 820px) {
  .snap-page main .section { padding-block: 4.8rem 1.6rem; }
  .snap-page main .section-head { margin-bottom: 1.4rem; }
  .snap-page .partnership-hero { min-height: calc(100svh - 12rem); padding-block: 2rem; }
  .why-panel { padding: 2.6rem 3rem; }
  .why-grid article { padding: 1.25rem 1.4rem; }
  .why-grid span { margin-bottom: .9rem; font-size: 1.9rem; }
  .format-card { min-height: 11.5rem; padding: 1.6rem 1.8rem; }
  .about-teach .credential-grid article { padding: 1.4rem 1.8rem; }
  .about-teach .credential-grid li { margin: .25rem 0; }
  .about-teach .about-cta { margin-top: .8rem; padding: 1.5rem 2.4rem; }
  .about-teach .credential-grid ul { margin-top: .5rem; }
  .brand-contact .contact-panel { padding: 2.2rem 2.8rem; }
  .brand-contact .field textarea { min-height: 4.2rem; }
  .brand-contact .field input, .brand-contact .field select { min-height: 2.5rem; }
}

/* 2026-10-09: 프로그램 페이지(/programs/ai/) — 모바일 우선. 인스타 DM 유입이 대부분 폰이라
   기본값을 폰 기준으로 두고, 넓은 화면에서만 칸을 늘린다. body.page-program 안에서만 적용. */
.page-program .pg-text-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.25em; }
.page-program .section-head { margin-bottom: 1.4rem; }
.page-program .section-head h2 { font-size: clamp(1.9rem, 8vw, 3.4rem); }

/* 첫 화면: 폰에서는 글과 버튼만. 장식 카드는 넓은 화면에서만 */
.page-program .pg-hero { min-height: 0; padding-block: 2.5rem 1rem; gap: 2rem; }
.page-program .pg-hero h1 { font-size: clamp(2.3rem, 10.5vw, 4.6rem); }
.page-program .pg-hero > div:first-child > p:not(.eyebrow) { margin: 1rem 0 0; font-size: 1.05rem; line-height: 1.6; }
.page-program .pg-hero .button-row { display: grid; gap: 0.4rem; margin-top: 1.6rem; }
.page-program .pg-hero .button-primary { width: 100%; min-height: 3.25rem; justify-content: center; }
.page-program .pg-hero .pg-text-link { justify-self: center; font-size: 0.9rem; }
.page-program .pg-hero small { margin-top: 0.8rem; line-height: 1.6; }
.page-program .pg-hero .system-board { display: none; }

/* 왜: 폰에서는 한 줄짜리 카드 3개 */
.pg-why { display: grid; gap: 0.5rem; }
.pg-why article { display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: baseline; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.pg-why span,
.pg-lanes span { color: var(--accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; }
.pg-why h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.pg-why p { grid-column: 2; }
.pg-why p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.5; }

/* 갈래 + 결과물 예시 */
.pg-lanes { display: grid; gap: 0.6rem; }
.pg-lanes article { padding: 1.15rem 1.1rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.pg-lanes h3 { margin: 0.35rem 0 0.8rem; font-size: 1.1rem; }
.pg-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0; font-size: 0.84rem; }
.pg-flow b { padding: 0.4rem 0.6rem; border-radius: 10px; background: var(--soft); font-weight: 650; }
.pg-flow i { color: var(--accent); font-style: normal; font-weight: 800; }
.pg-note { display: block; margin-top: 0.9rem; color: var(--muted); font-size: 0.78rem; }

/* 무료 가이드: 탭하기 쉬운 줄 4개 */
.pg-try { display: grid; margin-bottom: 0.6rem; border-top: 1px solid var(--line-strong); }
.pg-try a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 0.8rem; align-items: center; min-height: 4rem; padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--line); }
.pg-try span { grid-column: 1; color: var(--accent); font-size: 0.7rem; font-weight: 800; }
.pg-try b { grid-column: 1; font-size: 0.98rem; }
.pg-try i { grid-column: 2; grid-row: 1 / span 2; color: var(--muted); font-style: normal; }

/* 만드는 사람 */
.pg-maker h2 { margin: 0 0 0.8rem; font-size: clamp(1.9rem, 8vw, 3.4rem); letter-spacing: -0.05em; line-height: 1.08; }
.pg-maker > p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.6; }
.pg-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin: 1.4rem 0 0.4rem; }
.pg-stats > div { padding: 0.9rem 0.7rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.pg-stats strong,
.pg-stats span { display: block; }
.pg-stats strong { font-size: 1.3rem; letter-spacing: -0.04em; }
.pg-stats span { color: var(--muted); font-size: 0.72rem; }

/* 맞는 사람 */
.pg-fit ul { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.pg-fit li { position: relative; padding: 0.75rem 0.9rem 0.75rem 2.3rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 0.95rem; }
.pg-fit li::before { position: absolute; left: 0.9rem; font-weight: 800; }
.pg-fit .is-yes li::before { content: "✓"; color: var(--accent); }
.pg-fit .is-no li { background: transparent; color: var(--muted); }
.pg-fit .is-no li::before { content: "✕"; color: var(--muted); }
.pg-fit h3 { margin: 1.6rem 0 0.7rem; font-size: 1.05rem; }

/* 신청 */
.page-program .pg-join { gap: 1.6rem; padding: 1.6rem 1.25rem; }
.page-program .pg-join h2 { font-size: clamp(1.8rem, 7.5vw, 3rem); }
.page-program .pg-join form { gap: 1rem; }
.page-program .pg-join input[type="email"] { min-height: 3.25rem; font-size: 1rem; }
.page-program .pg-join input::placeholder { color: rgba(255,255,255,0.35); }
.page-program .pg-join .button { justify-self: stretch; justify-content: center; min-height: 3.25rem; }
.page-program .pg-join form small { margin-top: 0; line-height: 1.6; }
.waitlist-panel small a { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }

.choice-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-group legend { margin-bottom: 0.5rem; padding: 0; color: rgba(255,255,255,0.76); font-size: 0.78rem; font-weight: 650; }
.choice-group legend > span { margin-left: 0.3rem; color: rgba(255,255,255,0.45); font-size: 0.72rem; font-weight: 600; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-grid label > span { display: inline-flex; align-items: center; min-height: 2.6rem; margin: 0; padding: 0 0.95rem; border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.82); font-size: 0.86rem; font-weight: 650; }
.choice-grid input:checked + span { border-color: #a99dff; background: rgba(169,157,255,0.24); color: #fff; }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(169,157,255,0.55); outline-offset: 2px; }

.page-program .faq-section summary { padding-block: 1.05rem; font-size: 0.98rem; }

/* 폰에서 따라다니는 신청 버튼. 첫 화면과 신청 칸이 보일 때는 숨긴다(main.js). */
.pg-sticky-cta {
  position: fixed;
  z-index: 40;
  right: 1rem;
  bottom: calc(0.9rem + env(safe-area-inset-bottom));
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(102,87,232,0.35);
  color: #fff;
  font-weight: 800;
}
.pg-sticky-cta[hidden] { display: none; }

/* 넓은 화면 */
@media (min-width: 761px) {
  .pg-sticky-cta { display: none !important; }
  .page-program .pg-hero { min-height: calc(100svh - 12rem); padding-block: clamp(4rem, 9vw, 7rem) 5rem; }
  .page-program .pg-hero .system-board { display: block; }
  .page-program .pg-hero .button-row { display: flex; align-items: center; gap: 1rem; }
  .page-program .pg-hero .button-primary { width: auto; }
  .pg-why { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
  .pg-why article { display: block; padding: 1.4rem; }
  .pg-why h3 { margin: 2.4rem 0 0.35rem; font-size: 1.2rem; }
  .pg-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
  .pg-lanes article { padding: 1.5rem; }
  .pg-try { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .pg-maker { max-width: 640px; }
  .pg-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .pg-fit .is-yes { grid-column: 1; grid-row: 1 / span 2; }
  .pg-fit h3 { grid-column: 2; grid-row: 1; margin-top: 0; }
  .pg-fit .is-no { grid-column: 2; }
  .page-program .pg-join { padding: clamp(2rem, 6vw, 4.6rem); }
  .page-program .pg-join .button { justify-self: start; }
}

/* 2026-10-09: 메뉴 — 패드·PC(641px 이상)는 항상 펼쳐 둔다. 폰(640px 이하)은 햄버거로 연다(누나 요청). */
@media (min-width: 641px) {
  .menu-button,
  .mobile-nav { display: none !important; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .desktop-nav { display: flex; }
  .nav-shell > .nav-action { display: inline-flex; }
}

/* 패드·폰: 섹션에 맞춰 멈출 때 상단 바 높이만큼 띄운다. 안 그러면 첫 화면의 '준비 중' 줄 등이 상단 바에 가린다.
   PC(901px 이상)는 main.js 가 섹션 단위로 넘기므로 건드리지 않는다. */
@media (max-width: 900px) {
  html.snap-page { scroll-padding-top: 5.75rem; }
}
