:root {
  --vellum: #EAE6DC;
  --vellum-deep: #DED8CA;
  --ink: #23201B;
  --ink-soft: #57503F;
  --garnet: #6E1E28;
  --garnet-soft: #8A3A44;
  --gold: #A98643;
  --gold-deep: #71551F;
  --line: #CBC3B2;
  --white: #F8F5EE;
  --shadow: 0 24px 80px rgba(35, 32, 27, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--vellum);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(113, 85, 31, 0.18);
  background: rgba(234, 230, 220, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  color: var(--garnet);
  transform: rotate(45deg);
  font-family: Georgia, serif;
  font-size: 0.9rem;
}

.brand-mark::first-letter { transform: rotate(-45deg); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.nav a:hover, .footer-links a:hover { color: var(--garnet); }

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { width: min(780px, calc(100% - 40px)); }

.hero {
  min-height: 730px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  padding: 80px 0 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1, .manifesto h2, .method h2, .content-section h2, .testing h2, .principles blockquote {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: 0.95;
}

.hero-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover:not(.disabled) { transform: translateY(-2px); }
.button-primary { background: var(--garnet); color: var(--white); }
.button-primary:hover { background: #5E1721; }
.button-secondary { border-color: var(--gold-deep); color: var(--gold-deep); }
.button-secondary:hover { background: rgba(169, 134, 67, 0.1); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.trust-row span::before {
  content: "·";
  margin-right: 8px;
  color: var(--gold);
}

.phone-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 570px;
}

.halo {
  position: absolute;
  width: 480px;
  height: 480px;
  max-width: 95%;
  border: 1px solid rgba(169, 134, 67, 0.3);
  border-radius: 50%;
}

.halo::before, .halo::after {
  content: "";
  position: absolute;
  inset: 46px;
  border: 1px solid rgba(169, 134, 67, 0.16);
  border-radius: 50%;
}

.halo::after { inset: 100px; }

.phone {
  position: relative;
  z-index: 2;
  width: 310px;
  min-height: 610px;
  padding: 11px;
  border: 1px solid rgba(35, 32, 27, 0.26);
  border-radius: 34px;
  background: #1E1B18;
  box-shadow: var(--shadow);
  transform: rotate(2.5deg);
}

.phone-topline {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 88px;
  height: 5px;
  border-radius: 10px;
  background: #37312C;
  transform: translateX(-50%);
  z-index: 3;
}

.app-screen {
  min-height: 588px;
  padding: 38px 22px 18px;
  border-radius: 26px;
  background: var(--vellum);
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.app-kicker, .session-label {
  color: var(--gold-deep);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.app-day {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.app-rule {
  height: 1px;
  margin: 18px 0 22px;
  background: var(--line);
}

.app-quote {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.16rem;
  font-style: italic;
  line-height: 1.45;
}

.app-ref {
  margin: 8px 0 24px;
  color: var(--gold-deep);
  font-size: 0.69rem;
}

.session-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--vellum-deep);
}

.session-card h2 {
  margin: 6px 0 8px;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.1;
}

.session-card p:not(.session-label) {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.5;
}

.session-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
  font-size: 0.67rem;
  color: var(--ink-soft);
}

.session-stats strong {
  display: block;
  color: var(--garnet);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.mock-button {
  display: block;
  padding: 10px;
  border-radius: 5px;
  background: var(--garnet);
  color: #fff;
  text-align: center;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.app-nav {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 25px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.61rem;
}

.app-nav .active { color: var(--garnet); font-weight: 700; }

.manifesto {
  padding: 115px 0;
  background: var(--vellum-deep);
  text-align: center;
}

.manifesto h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 4.4rem);
  line-height: 1.05;
}

.manifesto p:last-child {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.16rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 96px 0;
  background: var(--line);
}

.feature-card {
  min-height: 305px;
  padding: 30px;
  background: var(--vellum);
}

.feature-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.9rem;
}

.feature-card h3 {
  margin: 52px 0 12px;
  font-family: var(--serif);
  font-size: 1.55rem;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.method {
  padding: 110px 0;
  background: var(--ink);
  color: var(--white);
}

.method-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 9vw, 130px);
}

.method .eyebrow { color: #D8BA78; }
.method h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 1; }
.method-intro > p:last-child { color: #C7BFB2; max-width: 470px; }
.method-steps { margin: 0; padding: 0; list-style: none; }
.method-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(234, 230, 220, 0.18);
}
.method-steps li:last-child { border-bottom: 1px solid rgba(234, 230, 220, 0.18); }
.method-steps > li > span {
  color: #D8BA78;
  font-family: var(--serif);
  font-size: 1.2rem;
}
.method-steps h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 1.35rem; }
.method-steps p { margin: 0; color: #BDB4A7; font-size: 0.9rem; }

.content-section { padding: 110px 0; }
.content-section > div:first-child { max-width: 650px; }
.content-section h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1; }
.content-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; margin-top: 48px; }
.content-card {
  min-height: 235px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 245, 238, 0.34);
}
.content-card.accent { background: var(--garnet); color: #fff; border-color: var(--garnet); }
.content-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-deep); }
.content-card.accent .content-label { color: #E6CB94; }
.content-card p { margin: 62px 0 5px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; }
.content-card small { color: var(--ink-soft); font-size: 0.77rem; }
.content-card.accent small { color: #E8DDE0; }

.testing {
  padding: 100px 0;
  background: var(--garnet);
  color: #fff;
}
.testing-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.testing .light { color: #E9D1A4; }
.testing h2 { margin: 0 0 24px; font-size: clamp(2.35rem, 4vw, 4.3rem); line-height: 1; }
.testing p { color: #E8DDE0; }
.testing-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: #E9D1A4;
  box-shadow: 0 0 0 6px rgba(233,209,164,0.1);
}
.testing-status { display: inline; color: #fff !important; font-weight: 700; }
.button-light { width: 100%; margin-top: 14px; border-color: rgba(255,255,255,0.55); color: #fff; }
.disabled { opacity: 0.7; cursor: default; }

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(42px, 8vw, 110px);
  padding: 110px 0;
  border-top: 1px solid var(--line);
}
.faq-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1;
}
.faq-intro > p:last-child {
  max-width: 470px;
  color: var(--ink-soft);
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 22px 40px 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--garnet);
  font-family: var(--sans);
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: -5px 40px 24px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.not-found {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}
.not-found-inner { max-width: 660px; }
.not-found h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--garnet);
  line-height: 0.9;
}
.not-found h2 {
  margin: 24px 0 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.not-found p { color: var(--ink-soft); }
.not-found .button { margin-top: 18px; }

.principles { padding: 120px 0; text-align: center; }
.principles blockquote { max-width: 800px; margin: 0 auto; color: var(--garnet); font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: 1.02; }
.quote-ref { margin-top: 22px; color: var(--gold-deep); font-family: var(--serif); font-style: italic; }
.principles-copy { max-width: 640px; margin: 34px auto 0; color: var(--ink-soft); }

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 0.8fr auto; gap: 28px; align-items: end; }
.footer-brand { margin-bottom: 10px; }
.footer p { margin: 0; color: var(--ink-soft); font-size: 0.82rem; }
.footer-links { display: grid; gap: 5px; color: var(--ink-soft); font-size: 0.82rem; }
.copyright { white-space: nowrap; }

.legal-page { min-height: 100vh; }
.legal-header { position: static; }
.legal-main { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 120px; }
.legal-main h1 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; }
.legal-main .updated { color: var(--gold-deep); font-size: 0.78rem; }
.legal-main section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-main section:first-of-type { margin-top: 48px; }
.legal-main h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.55rem; }
.legal-main p, .legal-main li { color: var(--ink-soft); }
.legal-main ul { padding-left: 1.2rem; }
.back-link { color: var(--garnet); font-weight: 700; }

@media (max-width: 980px) {
  .nav a:not(:last-child) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .phone-wrap { min-height: 630px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .method-grid, .testing-inner, .faq { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .content-card { min-height: auto; }
  .content-card p { margin-top: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-header { padding: 15px 20px; }
  .nav { gap: 16px; }
  .nav a { font-size: 0.8rem; }
  .hero { min-height: 0; padding: 56px 0 70px; gap: 34px; }
  .hero h1 { font-size: clamp(3.1rem, 17vw, 5rem); }
  .hero-lead { font-size: 1.12rem; }
  .hero-actions .button { width: 100%; }
  .phone-wrap { min-height: 560px; overflow: hidden; }
  .phone { width: 285px; min-height: 570px; transform: none; }
  .app-screen { min-height: 548px; }
  .halo { width: 420px; height: 420px; }
  .manifesto { padding: 78px 0; }
  .features { grid-template-columns: 1fr; padding: 70px 0; }
  .feature-card { min-height: 250px; }
  .feature-card h3 { margin-top: 32px; }
  .method, .content-section, .testing, .principles { padding: 78px 0; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
