:root {
  --ink: #10231b;
  --ink-2: #173126;
  --green: #2f5d4a;
  --leaf: #3fa06b;
  --gold: #e8b04a;
  --gold-2: #f3c56a;
  --paper: #f6f5f1;
  --paper-2: #fffcf7;
  --text: #1c2b24;
  --muted: #5d6e66;
  --line: #e4e0d6;
  --white: #fff;
  --shadow: 0 10px 30px rgba(16, 35, 27, .08);
  --radius: 1.15rem;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
h1, h2, h3, h4 {
  letter-spacing: -.035em;
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 .5em;
  color: inherit;
}
p { margin: 0 0 1em; }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo img, .logo svg { width: 36px; height: 36px; }
.logo span { color: var(--gold); font-weight: 800; }
.nav {
  display: flex; align-items: center; gap: 26px;
  margin-left: auto;
}
.nav a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .925rem;
  font-weight: 500;
}
.nav a:hover { color: #fff; }
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1;
  padding: 11px 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.btn-ghost {
  border-color: rgba(255,255,255,.28);
  color: #fff !important;
  background: transparent;
}
.btn-ghost:hover { background: #fff; color: var(--ink) !important; }
.btn-solid {
  background: var(--green);
  color: #fff !important;
}
.btn-solid:hover { background: var(--leaf); }
.btn-gold {
  background: var(--gold);
  color: var(--ink) !important;
}
.btn-gold:hover { background: var(--gold-2); }
.btn-light {
  background: #fff;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.btn-light:hover { border-color: var(--green); color: var(--green) !important; }

/* Hero */
.hero {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 48px 24px 128px;
  position: relative;
}
.hero-mascot {
  width: 168px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.35));
}
.kicker {
  display: inline-block;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0 0 18px;
  max-width: 34em;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.7rem);
  letter-spacing: -.045em;
  line-height: 1.02;
  max-width: 18ch;
  margin: 0 auto 18px;
}
.hero h1 .accent { display: block; }
.hero h1 .accent {
  background: linear-gradient(90deg, #e8b04a 0%, #b7e0b4 55%, #3fa06b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  color: rgba(255,255,255,.72);
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 36em;
  margin: 0 auto 28px;
}
.signup-wrap { max-width: 540px; margin: 0 auto; }
.signup-embed {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  min-height: 72px;
}
.signup-embed iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;
  border: 0;
}
.signup-fallback {
  margin: 12px 0 0;
  text-align: center;
  font-weight: 700;
}
.signup-fallback a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.signup-echo .signup-fallback a { color: var(--gold-2); }
.sheet .signup-fallback a { color: var(--green); }
.signup-fallback[hidden] { display: none !important; }
.signup {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
}
.signup label.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
.signup input[type=email] {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  padding: 12px 20px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  min-width: 0;
  border-radius: 999px;
}
.signup button {
  border: 0;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.signup button:hover { background: var(--leaf); }
.fine {
  color: rgba(255,255,255,.62);
  font-size: .82rem;
  margin: 14px 0 0;
}
.ok {
  color: #b7e0b4;
  font-weight: 700;
  margin: 16px 0 0;
}
.ok[hidden], .signup[hidden] { display: none !important; }

/* Light sheet over hero */
.sheet {
  background: var(--paper);
  color: var(--text);
  border-radius: 2rem 2rem 0 0;
  margin-top: -72px;
  position: relative;
  padding: 72px 24px 24px;
}
.wrap { max-width: var(--max); margin: 0 auto; }

.section { padding: 28px 0 64px; }
.section-head { text-align: center; margin: 0 auto 40px; max-width: 36em; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.85rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Feed */
.feed {
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 28px;
  align-items: start;
}
.feed-side { display: grid; gap: 28px; }
.issue-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.issue-card .thumb {
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 10;
}
.issue-card .thumb picture {
  display: block;
  width: 100%;
  height: 100%;
}
.issue-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.issue-card h2,
.issue-card h3 {
  font-size: 1.45rem;
  margin: 16px 0 6px;
  letter-spacing: -.03em;
}
.issue-card.small h2,
.issue-card.small h3 { font-size: 1.15rem; margin-top: 12px; }
.issue-card .teaser { color: var(--muted); margin: 0; font-size: 1rem; }
.issue-card .meta {
  color: var(--muted);
  font-size: .85rem;
  font-weight: 500;
  margin-top: 10px;
}
.issue-card:hover h2,
.issue-card:hover h3 { color: var(--green); }
.badge {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}
.view-all { text-align: center; margin: 44px 0 0; }

/* Three points */
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.point {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 26px 24px;
}
.point .n {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.point h3 { font-size: 1.15rem; margin: 0 0 8px; }
.point p { margin: 0; color: var(--muted); }

/* Q&A */
.worry-title { text-align: center; }
.worry-title h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); max-width: 18ch; margin-left: auto; margin-right: auto; }
.worry-title p { color: var(--muted); font-size: 1.1rem; }
.qa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.qa article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 24px 24px 22px;
  border-left: 5px solid var(--leaf);
}
.qa h3 { font-size: 1.05rem; margin: 0 0 8px; letter-spacing: -.02em; }
.qa p { margin: 0; color: var(--muted); }

/* Issue outline */
.outline {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 36px 40px;
  max-width: 740px;
  margin: 0 auto;
}
.outline h2 { font-size: 1.7rem; margin-bottom: 18px; }
.outline ol { margin: 0; padding: 0; list-style: none; }
.outline li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 12px;
}
.outline li:first-child { border-top: 0; padding-top: 0; }
.outline b { color: var(--green); }

/* Head start */
.ahead {
  background: var(--green);
  color: var(--paper);
  border-radius: 1.6rem;
  text-align: center;
  padding: 52px 28px;
  max-width: 860px;
  margin: 0 auto;
}
.ahead h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin-bottom: 12px; }
.ahead p { font-size: 1.1rem; max-width: 36em; margin: 0 auto 22px; color: rgba(246,245,241,.88); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 48px 24px 36px;
  font-size: .9rem;
}
.site-footer .wrap { display: grid; gap: 10px; }
.site-footer .brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: -.02em;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.site-footer .brand img { width: 28px; height: 28px; }
.site-footer a { color: var(--gold); }

/* Inner pages */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 48px 24px 112px;
  text-align: center;
}
.page-hero.slim { padding: 4px 24px 88px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.7); margin: 0 auto; max-width: 34em; font-size: 1.1rem; }

/* Issue article */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 0 40px;
  font-size: 1.075rem;
}
.article .meta-row {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  align-items: center;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.article-cover {
  margin: 0 0 22px;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--ink);
}
.article-cover picture,
.article-cover img {
  display: block;
  width: 100%;
  height: auto;
}
.article h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  margin: 0 0 16px;
  letter-spacing: -.04em;
}
.article .dek { font-size: 1.2rem; color: var(--muted); margin: 0 0 32px; }
.article h2 {
  font-size: 1.45rem;
  margin: 2.1em 0 .55em;
  letter-spacing: -.03em;
}
.article ul, .article ol { margin: 0 0 1.1em; padding-left: 1.2em; }
.article li { margin: .35em 0; }
.prompt {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: .92rem;
  line-height: 1.55;
  white-space: pre-wrap;
  margin: 0 0 1.2em;
  color: var(--text);
}
.article-nav {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 36px;
}
.article-nav a { font-weight: 700; text-decoration: none; }
.article-nav a:hover { text-decoration: underline; }
.signup-echo {
  background: var(--ink);
  color: #fff;
  border-radius: 1.4rem;
  padding: 32px 28px;
  text-align: center;
  margin: 48px 0 8px;
}
.signup-echo h2 { font-size: 1.5rem; margin-bottom: 8px; }
.signup-echo p { color: rgba(255,255,255,.7); margin: 0 0 18px; }
.signup-echo .fine { color: rgba(255,255,255,.5); }
.signup-echo .ok { color: #b7e0b4; }

/* Archive grid */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
}

@media (max-width: 860px) {
  .nav .hide-sm { display: none; }
  .feed, .points, .qa, .archive-grid { grid-template-columns: 1fr; }
  .outline li { grid-template-columns: 1fr; gap: 4px; }
  .hero { padding-top: 28px; }
  .hero-mascot { width: 130px; }
  .sheet { padding-top: 48px; }
}
@media (max-width: 560px) {
  .signup { flex-direction: column; border-radius: 18px; }
  .signup input[type=email], .signup button { border-radius: 12px; }
  .signup-embed { border-radius: 12px; }
  .site-header .bar { padding: 0 14px; gap: 10px; }
  .logo { font-size: .95rem; gap: 8px; }
  .logo img, .logo svg { width: 32px; height: 32px; }
  .nav { gap: 14px; }
  .btn-pill { padding: 10px 13px; font-size: .82rem; }
  .hero h1 { font-size: clamp(2.15rem, 9vw, 3.2rem); }
}


/* Form states */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  color: #c45c4a;
  font-weight: 600;
  font-size: .9rem;
  margin: 12px 0 0;
}
.hero .form-error, .signup-echo .form-error { color: #ffb4a8; }
.form-error[hidden] { display: none !important; }
.signup button[disabled] { opacity: .7; cursor: default; }

/* Breadcrumbs, AEO summary, FAQ */
.crumbs {
  font-size: .85rem;
  color: var(--muted);
  margin: 0 0 18px;
}
.crumbs a { color: var(--green); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.direct-answer {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--leaf);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 28px;
  font-size: 1.05rem;
}
.faq-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 8px 24px 20px;
  margin: 2em 0;
}
.faq-block h2 { margin-top: 1em; }
.qa h2 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}

/* Footer links + social placeholders */
.footer-links, .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 8px 0 4px;
  padding: 0;
  list-style: none;
}
.footer-links a, .social-links a { color: var(--gold); text-decoration: none; font-weight: 600; }
.footer-links a:hover, .social-links a:hover { text-decoration: underline; }
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
  opacity: .9;
}
.soon-tag {
  font-style: normal;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  padding: 2px 6px;
  line-height: 1.2;
}
.hero-community {
  margin: 16px 0 0;
  color: rgba(255,255,255,.62);
  font-size: .88rem;
}
.hero-community a { color: var(--gold); font-weight: 700; text-decoration: none; }
.hero-community a:hover { text-decoration: underline; }

/* Legal + 404 */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0 48px;
  font-size: 1.05rem;
}
.legal h2 { font-size: 1.3rem; margin: 2em 0 .5em; }
.legal h3 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.legal .updated { color: var(--muted); font-size: .92rem; margin-bottom: 1.6em; }
.placeholder {
  display: inline;
  background: #fff3cc;
  border-radius: 4px;
  padding: 0 .25em;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: .92em;
  font-weight: 500;
}
.notfound { text-align: center; padding: 24px 0 80px; max-width: 36em; margin: 0 auto; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.unsub-result { text-align: center; padding: 12px 0 80px; max-width: 34em; margin: 0 auto; }

@media (max-width: 860px) {
  .footer-links, .social-links { gap: 8px 14px; }
}
