:root {
  --bg: #f2f3f1;
  --bg-2: #e5e7e4;
  --paper: #fbfbfa;
  --ink: #1c1b19;
  --mute: #6f6b64;
  --line: #d4d6d2;
  --navy: #24344a;
  --navy-2: #3b4d66;
  --wa: #1fa855;
  --wa-ink: #06351a;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }
.hidden { display: none !important; }

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.site { min-height: 100vh; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 243, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-meta {
  font-size: 13px;
  color: var(--mute);
}

.text-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 1px;
}

.hide-mobile { display: inline; }

/* Intro */
.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0 40px;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 16%;
  border-radius: 4px;
  background: var(--bg-2);
}

.portrait figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--mute);
  letter-spacing: 0.01em;
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-2);
  margin-bottom: 14px;
}

.intro-copy h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.lead {
  margin: 18px 0 28px;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.65;
  color: #4d4944;
}

.fine {
  margin-top: 14px;
  font-size: 13px;
  color: var(--mute);
}

.btn-wa {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 20px;
  background: var(--wa);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn-wa:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 13px; }

/* Facts */
.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 0;
}

.facts-row > div {
  padding: 0 20px;
  border-right: 1px solid var(--line);
}

.facts-row > div:first-child { padding-left: 0; }
.facts-row > div:last-child { border-right: 0; padding-right: 0; }

.facts-row span {
  display: block;
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 6px;
}

.facts-row strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

/* Panels */
.panel,
.note,
.join,
.ask {
  padding: 80px 0 8px;
}

.panel-head p {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-2);
  margin-bottom: 8px;
}

.panel-head h2,
.note .kicker + blockquote,
.close h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.panel-head h2 {
  font-size: clamp(32px, 4vw, 44px);
}

.topics {
  list-style: none;
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: topic;
}

.topics li {
  counter-increment: topic;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: baseline;
}

.topics li::before {
  content: counter(topic, decimal-leading-zero);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-2);
}

.topics b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.topics span { color: var(--mute); font-size: 15px; line-height: 1.45; }

/* Note */
.note {
  max-width: 820px;
}

.note blockquote {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.35;
  font-style: italic;
  font-weight: 400;
  margin: 8px 0 20px;
}

.note-by {
  color: var(--mute);
  line-height: 1.65;
  max-width: 560px;
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}

.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.steps span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.steps b {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.steps p { color: var(--mute); font-size: 14px; line-height: 1.5; }

/* FAQ */
.faq {
  margin-top: 28px;
  max-width: 720px;
  border-top: 1px solid var(--line);
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item button {
  width: 100%;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 600;
}

.faq-item .a {
  display: none;
  padding: 0 0 18px;
  color: var(--mute);
  line-height: 1.7;
}

.faq-item.open .a { display: block; }
.faq-item .chev {
  width: 16px;
  height: 16px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2;
}
.faq-item.open .chev { transform: rotate(45deg); }

/* Close */
.close {
  margin-top: 72px;
  background: var(--navy);
  color: #f4f1ea;
  padding: 72px 0;
}

.close-inner { text-align: center; }

.close-inner > p {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c5cdd8;
  margin-bottom: 12px;
}

.close h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 24px;
  color: #fff;
}

.close .btn-wa { background: var(--wa); color: #fff; }
.close small {
  display: block;
  margin-top: 14px;
  color: #b7c0cc;
}

/* Footer */
footer {
  text-align: center;
  color: var(--mute);
  font-size: 13px;
  padding: 36px 16px 48px;
}

footer .disc {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #8b867e;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

footer .footer-links a,
.legal-nav a {
  color: var(--navy);
}

/* Legal */
.page-bg.home { min-height: 100vh; background: var(--bg); }

.legal {
  padding: 48px 0 72px;
  max-width: 760px;
}

.legal h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 8px 0;
}

.legal h2 { margin-top: 28px; font-size: 18px; }
.legal p,
.legal li { color: #4d4944; line-height: 1.7; }
.legal ul { margin: 10px 0 0 18px; }
.legal-updated { color: var(--mute); font-size: 13px; margin-bottom: 18px; }
.legal-nav { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.back-home {
  display: inline-block;
  margin-top: 28px;
  color: var(--navy);
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}
.eyebrow {
  color: var(--navy-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Sticky bar */
.bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 30;
  padding: 0 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.bar.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.bar.gone { display: none; }

.bar-inner {
  width: min(640px, 100%);
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  box-shadow: 0 12px 32px rgba(28, 27, 25, 0.1);
}

.close-x {
  position: absolute;
  top: -10px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--mute);
  cursor: pointer;
}

.bar p { font-size: 13px; color: var(--mute); }
.bar strong { color: var(--ink); }

@media (max-width: 860px) {
  .hide-mobile { display: none; }
  .nav-meta { display: none; }

  .intro,
  .facts-row,
  .topics,
  .steps {
    grid-template-columns: 1fr;
  }

  .intro {
    padding: 28px 0 20px;
    gap: 28px;
  }

  .intro-copy { order: -1; }

  .topics li {
    grid-template-columns: 40px 1fr;
    padding: 18px 0;
  }

  .topics span { grid-column: 2; }

  .facts-row > div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts-row > div:last-child { border-bottom: 0; }

  .panel, .note, .join, .ask { padding-top: 56px; }

  .bar-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding-top: 22px;
  }

  .site { padding-bottom: 100px; }
}
