/* AlreadyFluent — shared styles. Warm editorial: paper, ink, seal-red accent. */
:root {
  --paper: #FAF6EF;
  --paper-2: #F3ECE0;
  --card: #FFFFFF;
  --ink: #201B16;
  --ink-soft: #574E45;
  --ink-faint: #877C6E;
  --seal: #C2402E;       /* 朱砂 seal red — primary accent */
  --seal-dark: #A2331F;
  --jade: #2E6E5E;       /* secondary accent */
  --gold: #C2992F;
  --line: rgba(32, 27, 22, 0.12);
  --line-strong: rgba(32, 27, 22, 0.22);
  --shadow: 0 1px 2px rgba(32,27,22,.06), 0 8px 28px rgba(32,27,22,.08);
  --radius: 14px;
  --maxw: 720px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--seal-dark); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.section-tight { padding: 40px 0; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.18; letter-spacing: -0.01em; font-weight: 600; }
h1 { font-size: clamp(30px, 7.5vw, 46px); margin: 0 0 18px; }
h2 { font-size: clamp(24px, 5.5vw, 32px); margin: 0 0 16px; }
h3 { font-size: 20px; margin: 0 0 8px; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(18px, 4.4vw, 21px); color: var(--ink-soft); }
.zh { font-family: var(--serif); }
.kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--seal);
  margin: 0 0 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-size: 17px; font-weight: 650;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
  line-height: 1.1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--seal); color: #fff; box-shadow: 0 6px 18px rgba(194,64,46,.28); }
.btn-primary:hover { background: var(--seal-dark); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); background: rgba(32,27,22,.03); }
.btn-block { width: 100%; }
.btn-lg { font-size: 18px; padding: 17px 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { padding-top: 52px; padding-bottom: 48px; }
.hero .sub { margin-top: 2px; }
.hero-zh { color: var(--seal); font-weight: 600; }
.img-placeholder {
  margin-top: 34px;
  border: 1.5px dashed var(--line-strong);
  background:
    repeating-linear-gradient(45deg, rgba(32,27,22,.02) 0 12px, transparent 12px 24px),
    var(--paper-2);
  border-radius: var(--radius);
  min-height: 230px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--ink-faint); font-size: 13.5px;
  padding: 24px; font-style: italic;
}

/* ---------- Lists / "sound familiar" ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 22px; }
.check-list li {
  position: relative; padding: 14px 0 14px 38px; border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 6px; top: 21px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--seal); opacity: .85;
}
.callout {
  background: var(--paper-2); border-left: 4px solid var(--seal);
  padding: 20px 22px; border-radius: 0 12px 12px 0; font-weight: 600; color: var(--ink);
  font-size: 18px;
}

/* ---------- Method steps ---------- */
.steps { display: grid; gap: 18px; margin-top: 8px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow);
}
.step .num {
  font-family: var(--serif); color: var(--seal); font-size: 15px; font-weight: 700;
  letter-spacing: .04em; display: inline-block; margin-bottom: 6px;
}

/* ---------- Cohort table ---------- */
.table-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.cohort { width: 100%; border-collapse: collapse; font-size: 16px; }
table.cohort th, table.cohort td { text-align: left; padding: 14px 16px; vertical-align: top; }
table.cohort thead th { background: var(--paper-2); font-family: var(--sans); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); }
table.cohort tbody tr + tr td { border-top: 1px solid var(--line); }
table.cohort td:first-child { white-space: nowrap; color: var(--seal); font-weight: 650; font-variant-numeric: tabular-nums; width: 78px; }
.cohort-note { margin-top: 18px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow); text-align: center;
}
.price-card .planned { color: var(--ink-faint); font-size: 15px; }
.price-card .founding-tag {
  display: inline-block; background: rgba(194,64,46,.1); color: var(--seal-dark);
  font-weight: 700; font-size: 13px; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; margin: 10px 0 4px;
}
.price-amount { font-family: var(--serif); font-size: 46px; font-weight: 600; margin: 6px 0 2px; }
.price-amount small { font-size: 18px; color: var(--ink-faint); font-weight: 400; }
.perks { list-style: none; padding: 0; margin: 18px auto 22px; max-width: 460px; text-align: left; }
.perks li { padding: 9px 0 9px 30px; position: relative; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.perks li:last-child { border-bottom: 0; }
.perks li::before { content: "✓"; position: absolute; left: 2px; top: 8px; color: var(--jade); font-weight: 800; }
.price-foot { font-size: 14.5px; color: var(--ink-faint); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 12px; background: var(--card);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 0; font-weight: 650; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--seal); font-size: 24px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 14px 0 18px; color: var(--ink-soft); }

/* ---------- Founder ---------- */
.founder { background: var(--paper-2); }
.founder blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(19px, 4.6vw, 23px);
  line-height: 1.5; color: var(--ink);
}
.founder .sig { font-family: var(--sans); font-size: 15px; color: var(--ink-faint); margin-top: 14px; font-style: normal; }
.todo-flag {
  border: 2px dashed var(--seal); background: rgba(194,64,46,.06);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 18px;
}
.todo-flag .tag {
  display: inline-block; background: var(--seal); color: #fff; font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; padding: 4px 9px; border-radius: 5px; margin-bottom: 10px;
}

/* ---------- Form ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 7px; }
.field input[type=text], .field input[type=email], .field select {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23877C6E' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--seal); box-shadow: 0 0 0 3px rgba(194,64,46,.15); }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); margin: 4px 0 18px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--seal); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--seal-dark); font-size: 14.5px; margin-top: 10px; min-height: 1px; }
.form-divider { text-align: center; color: var(--ink-faint); font-size: 14px; margin: 18px 0; position: relative; }
.form-divider::before, .form-divider::after { content: ""; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--line); }
.form-divider::before { left: 0; } .form-divider::after { right: 0; }

/* ---------- Thanks page ---------- */
.thanks { min-height: 70vh; display: flex; align-items: center; }
.thanks-card { text-align: center; }
.thanks .badge { font-size: 54px; line-height: 1; margin-bottom: 8px; }
.founding-box {
  margin-top: 30px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow);
}
.founding-box .founding-tag {
  display: inline-block; background: rgba(194,64,46,.1); color: var(--seal-dark);
  font-weight: 700; font-size: 13px; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}

/* ---------- Footer ---------- */
footer { padding: 34px 0 44px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 14px; text-align: center; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.brandmark { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); }
.brandmark .seal-char { color: var(--seal); }

/* ---------- Sticky mini nav ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; background: rgba(250,246,239,.88);
  backdrop-filter: saturate(180%) blur(8px); -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.topbar .btn { padding: 9px 18px; font-size: 14.5px; }

/* ---------- Legal page ---------- */
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(26px, 6vw, 34px); }
.legal h2 { font-size: 21px; margin-top: 30px; }
.legal p, .legal li { color: var(--ink-soft); }

@media (min-width: 680px) {
  .steps { grid-template-columns: 1fr; }
  .img-placeholder { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
