/* ============================================================
   The Reset Folio — shared stylesheet
   Palette: warm cream, deep ink green, antique gold
   Type: Fraunces (display serif) + Inter (sans)
   ============================================================ */

:root {
  --cream: #FAF6EF;
  --cream-deep: #F3ECDD;
  --paper: #FFFDF8;
  --ink: #14231C;
  --ink-soft: #2E4238;
  --ink-mute: #5C6B62;
  --gold: #C9A227;
  --gold-deep: #A8861B;
  --gold-soft: #EFE3BC;
  --line: #E4DCC8;
  --shadow-soft: 0 18px 40px -18px rgba(20, 35, 28, 0.22);
  --shadow-card: 0 10px 30px -14px rgba(20, 35, 28, 0.18);
  --radius: 14px;
  --maxw: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

a { color: var(--ink); }

img, svg { max-width: 100%; }

.container {
  width: min(var(--maxw), 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section--tint {
  background: var(--cream-deep);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  margin-bottom: 1rem;
  max-width: 22ch;
}

.section-lede {
  color: var(--ink-soft);
  max-width: 58ch;
  margin-bottom: 2.5rem;
}

.section-cta { margin-top: 2rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold-deep);
  color: var(--ink);
}

.btn--gold:hover { background: var(--gold-deep); color: var(--paper); }

.btn--outline {
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover { background: var(--ink); color: var(--cream); }

.btn--light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.btn--light:hover { background: var(--gold); border-color: var(--gold-deep); }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand .brand-mark { color: var(--gold-deep); }

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.nav-cta { display: none; }

.nav-toggle {
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.nav-links.is-open {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 1.25rem 1.4rem;
}

@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    position: static;
    padding: 0;
    border: none;
    background: none;
  }
  .nav-cta { display: inline-block; padding: 0.6rem 1.25rem; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  margin-bottom: 1.3rem;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-deep);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-mute);
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ---------- Folio visual (pure CSS binder) ---------- */

.folio-scene {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem 0 0.5rem;
}

.folio {
  position: relative;
  width: min(340px, 82vw);
  aspect-ratio: 3 / 3.9;
  background: linear-gradient(150deg, #1D3328 0%, var(--ink) 55%, #0D1A14 100%);
  border-radius: 10px 18px 18px 10px;
  box-shadow: var(--shadow-soft);
  padding: 2.4rem 2rem 2rem 3rem;
  color: var(--cream);
}

.folio::before {
  /* spine */
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 26px;
  background: rgba(0, 0, 0, 0.28);
  border-right: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 10px 0 0 10px;
}

.folio-ring {
  position: absolute;
  left: 19px;
  width: 14px;
  height: 14px;
  border: 2.5px solid var(--gold);
  border-radius: 50%;
  background: transparent;
}

.folio-ring--1 { top: 18%; }
.folio-ring--2 { top: 48%; }
.folio-ring--3 { top: 78%; }

.folio-frame {
  border: 1.5px solid rgba(201, 162, 39, 0.75);
  border-radius: 6px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem 0.8rem;
  gap: 0.55rem;
}

.folio-frame .folio-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.folio-frame .folio-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: 600;
}

.folio-frame .folio-rule {
  width: 44px;
  height: 2px;
  background: var(--gold);
}

.folio-frame .folio-tag {
  font-size: 0.82rem;
  color: rgba(250, 246, 239, 0.78);
  max-width: 20ch;
}

.folio-tab {
  position: absolute;
  right: -14px;
  width: 58px;
  padding: 0.35rem 0.4rem 0.35rem 0.7rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.folio-tab--1 { top: 16%; background: var(--gold-soft); }
.folio-tab--2 { top: 38%; background: #DCE5D8; }
.folio-tab--3 { top: 60%; background: #EFE3BC; }
.folio-tab--4 { top: 82%; background: #E4D9C3; }

.badge-30 {
  position: absolute;
  top: -14px;
  right: 6%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--gold-deep);
  box-shadow: var(--shadow-card);
  transform: rotate(4deg);
  z-index: 2;
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 720px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 720px) and (max-width: 979px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.card p { color: var(--ink-soft); font-size: 0.98rem; }

.card .card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.card .card-format {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 1.4rem;
  counter-reset: step;
}

@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  border-top: 3px solid var(--gold);
  padding-top: 1.3rem;
}

.step .step-word {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.step .step-word::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero) " — ";
  color: var(--gold-deep);
  font-size: 1.05rem;
  vertical-align: middle;
}

.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Waitlist / form panel ---------- */

.panel {
  background: var(--ink);
  color: var(--cream);
  border-radius: 20px;
  padding: 2.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 820px) {
  .panel { padding: 3.2rem 3rem; }
}

.panel h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin-bottom: 0.8rem;
  max-width: 26ch;
}

.panel p { color: rgba(250, 246, 239, 0.82); max-width: 56ch; }

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.6rem;
  max-width: 520px;
}

@media (min-width: 560px) {
  .waitlist-form { flex-direction: row; }
}

.waitlist-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(250, 246, 239, 0.4);
  background: rgba(250, 246, 239, 0.08);
  color: var(--cream);
  font: inherit;
  font-size: 1rem;
  min-width: 0;
}

.waitlist-form input[type="email"]::placeholder { color: rgba(250, 246, 239, 0.55); }

.waitlist-form button {
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid var(--gold-deep);
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.waitlist-form button:hover { background: var(--gold-deep); color: var(--paper); }

.form-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(250, 246, 239, 0.6);
}

/* ---------- Articles ---------- */

.article-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}

.article-card:hover { border-color: var(--gold); }

.article-card .article-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.8rem;
}

.article-card h3 { font-size: 1.3rem; }

.article-card .article-more {
  margin-top: auto;
  padding-top: 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-deep);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
}

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

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

.faq-item summary {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style-position: outside;
}

.faq-item p {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- Folio page specifics ---------- */

.page-hero {
  padding: 3.5rem 0 1rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  margin-bottom: 1rem;
  max-width: 18ch;
}

.page-hero .lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.component-row {
  display: grid;
  gap: 1.2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 820px) {
  .component-row { grid-template-columns: 1fr 2fr; gap: 2.5rem; }
}

.component-row h3 { font-size: 1.45rem; }

.component-row .component-format {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.4rem;
}

.component-row p { color: var(--ink-soft); }

.component-row ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.component-row li { margin-bottom: 0.3rem; }

.receive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .receive-list { grid-template-columns: repeat(2, 1fr); }
}

.receive-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-card);
  font-size: 0.98rem;
}

.receive-list strong { display: block; margin-bottom: 0.2rem; }

.fit-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 820px) {
  .fit-grid { grid-template-columns: 1fr 1fr; }
}

.fit-box {
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.fit-box--no { background: var(--cream-deep); }

.fit-box h3 { font-size: 1.3rem; margin-bottom: 1rem; }

.fit-box ul { margin: 0; padding-left: 1.2rem; color: var(--ink-soft); }

.fit-box li { margin-bottom: 0.5rem; }

.price-panel {
  text-align: center;
  background: var(--paper);
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  padding: 2.8rem 1.8rem;
  box-shadow: var(--shadow-card);
}

.price-panel .price-status {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.7rem;
}

.price-panel p {
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 1.6rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2.8rem;
  margin-top: 1rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.footer-links a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.footer-legal {
  margin-top: 1.6rem;
  font-size: 0.88rem;
  color: var(--ink-mute);
  max-width: 70ch;
}
