@import url("/css/home-editorial.css");

body.editorial-page .site-header nav a.active {
  color: var(--ink);
  background: var(--paper-2);
}

body.editorial-page .editorial-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

body.editorial-page .editorial-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 56px;
  align-items: start;
}

body.editorial-page .editorial-hero h1 {
  max-width: 14ch;
  margin-bottom: 22px;
  font-size: clamp(40px, 5.8vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

body.editorial-page .editorial-hero .lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.58;
}

body.editorial-page .editorial-hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.editorial-page .editorial-hero .meta-row strong {
  color: var(--ink);
}

body.editorial-page .hero-side-note {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  box-shadow: var(--shadow-1);
}

body.editorial-page .hero-side-note .mini-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.editorial-page .hero-side-note h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.08;
}

body.editorial-page .hero-side-note p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
}

body.editorial-page .hero-side-note ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

body.editorial-page .hero-side-note li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

body.editorial-page .hero-side-note li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

body.editorial-page .section-nav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

body.editorial-page .section-nav-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: padding-left 0.25s, background 0.25s;
}

body.editorial-page .section-nav-row:last-child {
  border-bottom: none;
}

body.editorial-page .section-nav-row:hover {
  padding-left: 16px;
  background: color-mix(in oklab, var(--accent) 5%, transparent);
}

body.editorial-page .section-nav-num {
  min-width: 52px;
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

body.editorial-page .section-nav-title {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

body.editorial-page .section-nav-tag,
body.editorial-page .section-nav-time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.editorial-page .content-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

body.editorial-page .content-section.alt {
  background: var(--paper-2);
}

body.editorial-page .content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 44px;
  align-items: start;
}

body.editorial-page .content-grid.reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
}

body.editorial-page .content-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}

body.editorial-page .content-copy p {
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.75;
}

body.editorial-page .content-copy p:last-child {
  margin-bottom: 0;
}

body.editorial-page .callout-box,
body.editorial-page .prompt-example,
body.editorial-page .compare-box,
body.editorial-page .info-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
}

body.editorial-page .callout-box {
  padding: 22px 24px;
}

body.editorial-page .callout-box .label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.editorial-page .callout-box ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.editorial-page .callout-box li {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

body.editorial-page .eyebrow-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
}

body.editorial-page .prompt-example {
  overflow: hidden;
}

body.editorial-page .prompt-example-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--paper-2) 50%, var(--paper));
}

body.editorial-page .prompt-example-head .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

body.editorial-page .prompt-example-head .r { background: #e8584c; }
body.editorial-page .prompt-example-head .y { background: #f0bf3b; }
body.editorial-page .prompt-example-head .g { background: #2db073; }

body.editorial-page .prompt-example-head .title {
  margin-left: 6px;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
}

body.editorial-page .prompt-example-body {
  padding: 22px 24px;
  color: var(--ink-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13.5px;
  line-height: 1.85;
}

body.editorial-page .prompt-example-body .pk {
  color: var(--accent);
  font-weight: 700;
}

body.editorial-page .prompt-example-body .pv {
  padding: 1px 4px;
  border-radius: 3px;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  font-style: italic;
}

body.editorial-page .prompt-example-body .pcm {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12.5px;
  font-style: italic;
}

body.editorial-page .stack-list,
body.editorial-page .compare-list,
body.editorial-page .detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.editorial-page .info-card,
body.editorial-page .compare-box {
  padding: 18px 20px;
}

body.editorial-page .info-card h4,
body.editorial-page .compare-box h4 {
  margin-bottom: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.editorial-page .info-card p,
body.editorial-page .compare-box p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
}

body.editorial-page .cards-2,
body.editorial-page .cards-3 {
  display: grid;
  gap: 18px;
}

body.editorial-page .cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

body.editorial-page .cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

body.editorial-page .mini-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

body.editorial-page .mini-card h4 {
  margin-bottom: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

body.editorial-page .mini-card p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
}

body.editorial-page .checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.editorial-page .check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

body.editorial-page .check-item .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

body.editorial-page .check-item h4 {
  margin-bottom: 4px;
  font-family: "Playfair Display", serif;
  font-size: 20px;
}

body.editorial-page .check-item p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
}

body.editorial-page .stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

body.editorial-page .stat-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

body.editorial-page .stat-card .num {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

body.editorial-page .stat-card p {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}

body.editorial-page .quote-panel {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  box-shadow: var(--shadow-1);
}

body.editorial-page .quote-panel p {
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-style: italic;
  line-height: 1.2;
}

body.editorial-page .quote-panel .quote-meta {
  display: inline-flex;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.editorial-page .list-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
}

body.editorial-page .list-card h4 {
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.editorial-page .list-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.editorial-page .list-card li {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

body.editorial-page .list-card.good h4,
body.editorial-page .list-card.good li::before {
  color: var(--teal);
}

body.editorial-page .list-card.bad h4,
body.editorial-page .list-card.bad li::before {
  color: #b64b1f;
}

body.editorial-page .list-card li {
  position: relative;
  padding-left: 16px;
}

body.editorial-page .list-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  font-weight: 700;
}

body.editorial-page .list-card.good li::before {
  color: var(--teal);
}

body.editorial-page .list-card.bad li::before {
  color: #b64b1f;
}

body.editorial-page .editorial-cta-pdf {
  padding: 88px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(14, 107, 98, 0.08), transparent 28%),
    linear-gradient(180deg, color-mix(in oklab, var(--paper) 80%, white 20%), var(--paper));
}

body.editorial-page .editorial-cta-pdf .pdf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: start;
}

body.editorial-page .editorial-cta-pdf .pdf-ey {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.editorial-page .editorial-cta-pdf h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.04;
}

body.editorial-page .editorial-cta-pdf .pdf-grid > div > p {
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.65;
}

body.editorial-page .editorial-cta-pdf .pdf-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.editorial-page .editorial-cta-pdf .pdf-bullets li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

body.editorial-page .editorial-cta-pdf .pdf-bullets li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

body.editorial-page .editorial-cta-pdf .pdf-box,
body.editorial-page .editorial-cta-ag .ag-box {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
}

body.editorial-page .editorial-cta-pdf .pdf-box h3,
body.editorial-page .editorial-cta-ag .ag-box h2 {
  margin-bottom: 10px;
  color: var(--ink);
}

body.editorial-page .editorial-cta-pdf .pdf-box > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

body.editorial-page .editorial-cta-pdf .pdf-cta-link {
  width: 100%;
  justify-content: center;
}

body.editorial-page .editorial-cta-pdf .pdf-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

body.editorial-page .editorial-cta-ag {
  padding: 88px 0 110px;
  background: color-mix(in oklab, var(--paper) 72%, white 28%);
}

body.editorial-page .editorial-cta-ag .ag-box {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

body.editorial-page .editorial-cta-ag .ag-logo {
  display: block;
  width: auto;
  height: 46px;
  margin: 0 auto 18px;
}

body.editorial-page .editorial-cta-ag .ag-box > p {
  max-width: 700px;
  margin: 0 auto 22px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}

body.editorial-page .editorial-cta-ag .ag-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

body.editorial-page .editorial-cta-ag .ag-chip {
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}

body.editorial-page .editorial-cta-ag .ag-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

body.editorial-page .success-hero,
body.editorial-page .unsubscribe-hero {
  border-bottom: 1px solid var(--line);
}

body.editorial-page .success-note {
  background:
    radial-gradient(circle at top right, rgba(14, 107, 98, 0.08), transparent 35%),
    color-mix(in oklab, var(--paper-2) 78%, white 22%);
}

body.editorial-page .success-actions {
  padding-top: 72px;
}

body.editorial-page .success-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in oklab, var(--paper-2) 72%, white 28%);
  box-shadow: var(--shadow-1);
}

body.editorial-page .success-panel-copy h2 {
  margin-bottom: 10px;
}

body.editorial-page .success-panel-copy p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}

body.editorial-page .success-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

body.editorial-page .unsubscribe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 42px;
  align-items: start;
}

body.editorial-page .legal-shell {
  padding: 80px 0 110px;
}

body.editorial-page .legal-wrap {
  max-width: 920px;
  margin: 0 auto;
}

body.editorial-page .legal-intro {
  margin-bottom: 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in oklab, var(--paper-2) 72%, white 28%);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

body.editorial-page .legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

body.editorial-page .legal-section:first-of-type {
  border-top: none;
}

body.editorial-page .legal-section h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
}

body.editorial-page .legal-section p,
body.editorial-page .legal-section li {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.8;
}

body.editorial-page .legal-section ul {
  margin: 10px 0 0 18px;
}

body.editorial-page .legal-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
}

body.editorial-page .legal-card p + p {
  margin-top: 10px;
}

body.editorial-page .legal-meta {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

body.editorial-page .legal-tag {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  body.editorial-page .editorial-hero-grid,
  body.editorial-page .content-grid,
  body.editorial-page .content-grid.reverse {
    grid-template-columns: 1fr;
  }

  body.editorial-page .editorial-hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 880px) {
  body.editorial-page .cards-2,
  body.editorial-page .cards-3,
  body.editorial-page .stat-strip,
  body.editorial-page .success-panel,
  body.editorial-page .unsubscribe-grid {
    grid-template-columns: 1fr;
  }

  body.editorial-page .editorial-cta-pdf .pdf-grid {
    grid-template-columns: 1fr;
  }

  body.editorial-page .section-nav-row {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  body.editorial-page .success-panel-actions {
    justify-content: flex-start;
  }

  body.editorial-page .section-nav-tag,
  body.editorial-page .section-nav-time {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  body.editorial-page .editorial-hero,
  body.editorial-page .content-section,
  body.editorial-page .editorial-cta-pdf,
  body.editorial-page .editorial-cta-ag,
  body.editorial-page .legal-shell {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  body.editorial-page .editorial-hero h1,
  body.editorial-page .content-copy h2,
  body.editorial-page .legal-section h2 {
    font-size: clamp(30px, 10vw, 44px);
  }

  body.editorial-page .editorial-hero .lead,
  body.editorial-page .content-copy p,
  body.editorial-page .legal-section p,
  body.editorial-page .legal-section li,
  body.editorial-page .editorial-cta-ag .ag-box > p {
    font-size: 16px;
  }

  body.editorial-page .editorial-hero .meta-row {
    gap: 10px 16px;
  }

  body.editorial-page .hero-side-note,
  body.editorial-page .callout-box,
  body.editorial-page .compare-box,
  body.editorial-page .info-card,
  body.editorial-page .legal-intro,
  body.editorial-page .legal-card,
  body.editorial-page .editorial-cta-pdf .pdf-box,
  body.editorial-page .editorial-cta-ag .ag-box {
    padding: 20px;
  }

  body.editorial-page .prompt-example-body {
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.7;
  }

  body.editorial-page .section-nav-row {
    gap: 10px 14px;
    padding: 18px 0;
  }

  body.editorial-page .section-nav-num {
    min-width: 40px;
    font-size: 26px;
  }

  body.editorial-page .section-nav-title {
    font-size: 24px;
  }

  body.editorial-page .hero-side-note h3 {
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  body.editorial-page .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  body.editorial-page .section-nav-title {
    font-size: 21px;
  }

  body.editorial-page .section-nav-tag,
  body.editorial-page .section-nav-time,
  body.editorial-page .editorial-hero .meta-row {
    font-size: 11px;
  }

  body.editorial-page .quote-panel,
  body.editorial-page .eyebrow-note {
    padding: 16px 18px;
  }
}
