:root {
  --paper: #f6eee8;
  --paper-strong: #f0e2d6;
  --white: #fcf8f3;
  --gold: #ba7a33;
  --gold-deep: #a1682b;
  --rose: #cfa09a;
  --rose-deep: #a96772;
  --taupe: #d8c7bd;
  --clay: #915b46;
  --ink: #6f5447;
  --ink-soft: #8a6a5b;
  --line: rgba(145, 91, 70, 0.16);
  --shadow: 0 26px 60px rgba(169, 103, 114, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(207, 160, 154, 0.28), transparent 24%),
    radial-gradient(circle at top left, rgba(186, 122, 51, 0.12), transparent 20%),
    linear-gradient(180deg, #fbf5ef 0%, var(--paper) 45%, #f8efe8 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: var(--gold);
  color: #fff;
}

.container,
.hero-inner,
.nav-inner,
.footer-inner {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.site-nav.is-scrolled {
  padding: 12px 0;
  background: rgba(249, 244, 236, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1 1 auto;
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links a {
  color: rgba(145, 91, 70, 0.86);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.brand,
.eyebrow,
.section-kicker,
.microcopy,
.footer-copy {
  font-family: Arial, sans-serif;
  text-transform: uppercase;
}

.brand {
  letter-spacing: 0.28em;
  font-size: 1rem;
  color: var(--gold);
}

.nav-cta {
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 154px 0 92px;
  overflow: clip;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(186, 122, 51, 0.28), transparent 18%),
    radial-gradient(circle at 85% 18%, rgba(169, 103, 114, 0.16), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow,
.section-kicker,
.microcopy {
  display: inline-block;
  letter-spacing: 0.24em;
}

.eyebrow,
.section-kicker {
  margin-bottom: 22px;
  font-size: 0.72rem;
  color: var(--rose);
}

.hero h1,
.text-column h2 {
  margin: 0;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.95;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-style: italic;
}

.hero-copy,
.story-flow p,
.section-support,
.stack-card p,
.offer-row p,
.application-step p,
.condition-row p,
.faq-answer p,
.closing-lead {
  font-family: Arial, sans-serif;
}

.hero-copy {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.8;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 18px 30px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  border: 0;
  box-shadow: var(--shadow);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 72px rgba(145, 91, 70, 0.14);
}

.microcopy {
  margin: 0;
  font-size: 0.64rem;
  color: rgba(145, 91, 70, 0.68);
}

.hero-strip {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(145, 91, 70, 0.78);
}

.section-shell {
  padding: 108px 0;
}

.text-column {
  max-width: 760px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.text-column h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.02;
}

.story {
  background: rgba(255, 255, 255, 0.34);
  border-top: 1px solid rgba(145, 91, 70, 0.08);
  border-bottom: 1px solid rgba(145, 91, 70, 0.08);
}

.story-flow {
  margin-top: 26px;
  display: grid;
  gap: 22px;
}

.story-flow p {
  margin: 0;
  font-size: clamp(1.18rem, 2.2vw, 1.52rem);
  line-height: 1.78;
}

.accent-line {
  color: var(--gold);
}

.manifesto {
  padding: 56px 0;
  background: linear-gradient(180deg, rgba(169, 103, 114, 0.92), rgba(145, 91, 70, 0.92));
  color: #fbf2ea;
}

.manifesto-inner {
  display: grid;
  gap: 12px;
  text-align: center;
}

.manifesto-inner p {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.35;
}

.mirror-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.mirror-card,
.stack-card,
.offer-row,
.application-step,
.condition-row,
.faq-item,
.closing-card {
  background: rgba(252, 250, 246, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mirror-card {
  padding: 30px;
  text-align: center;
}

.mirror-card-muted {
  background: rgba(240, 226, 214, 0.7);
}

.mirror-card h3,
.stack-card h3,
.offer-row h3,
.application-step h3,
.condition-row h3 {
  margin: 0;
  font-size: 1.34rem;
  font-weight: 400;
}

.mirror-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.mirror-card li,
.offer-row,
.stack-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.mirror-card li {
  font-family: Arial, sans-serif;
  line-height: 1.72;
  color: var(--ink-soft);
}

.mirror-card i,
.offer-row i {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: 0 0 auto;
}

.mirror-card i {
  color: var(--gold);
}

.mirror-card-muted i {
  color: var(--rose-deep);
}

.soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(240, 226, 214, 0.4));
}

.stacked-cards,
.offer-stack,
.application-flow,
.conditions-stack,
.faq-list {
  margin-top: 40px;
  display: grid;
  gap: 18px;
}

.stack-card,
.offer-row,
.condition-row {
  padding: 24px;
}

.stack-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  text-align: left;
}

.stack-card > div:last-child {
  text-align: left;
}

.stack-number,
.application-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(186, 122, 51, 0.3);
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.stack-card p,
.offer-row p,
.application-step p,
.condition-row p,
.faq-answer p,
.section-support,
.closing-lead {
  margin: 10px 0 0;
  line-height: 1.74;
  color: var(--ink-soft);
}

.offer-row i {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.offer-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  text-align: left;
}

.offer-row > div {
  text-align: left;
}

.dark {
  background: linear-gradient(180deg, rgba(174, 140, 140, 0.94), rgba(145, 91, 70, 0.92));
  color: #fbf3ea;
}

.dark .section-kicker,
.dark .application-step span {
  color: #f7e7da;
}

.dark .section-support {
  color: rgba(255, 247, 240, 0.94);
}

.application-flow {
  grid-template-columns: 1fr;
}

.application-step {
  padding: 26px;
  text-align: center;
  background: rgba(255, 248, 241, 0.2);
  border-color: rgba(255, 243, 236, 0.32);
}

.application-step h3 {
  margin-top: 18px;
  font-size: 1.28rem;
  color: #fffaf5;
}

.application-step p {
  color: rgba(255, 248, 242, 0.96);
}

.application-form-shell {
  margin-top: 34px;
  padding: 34px;
  background: rgba(255, 248, 241, 0.16);
  border: 1px solid rgba(255, 243, 236, 0.32);
  box-shadow: 0 26px 60px rgba(70, 40, 32, 0.12);
}

.application-form-intro {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.application-form-intro h3 {
  margin: 0;
  color: #fffaf5;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.12;
}

.application-form-intro p,
.application-form label,
.choice-group,
.form-status {
  font-family: Arial, sans-serif;
}

.application-form-intro p {
  margin: 14px auto 0;
  max-width: 650px;
  color: rgba(255, 248, 242, 0.92);
  line-height: 1.7;
}

.application-form {
  display: grid;
  gap: 24px;
}

.form-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.progress-step {
  min-height: 58px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 243, 236, 0.28);
  background: rgba(255, 248, 241, 0.1);
  color: rgba(255, 248, 242, 0.68);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.progress-step span {
  display: block;
  margin-top: 4px;
  letter-spacing: 0.08em;
}

.progress-step.is-active,
.progress-step.is-complete {
  background: rgba(255, 248, 241, 0.24);
  border-color: rgba(255, 243, 236, 0.58);
  color: #fffaf5;
}

.form-panel {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-panel.is-active {
  display: grid;
  gap: 18px;
}

.form-panel legend {
  margin-bottom: 18px;
  color: #fffaf5;
  font-size: 1.28rem;
  font-weight: 300;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-wide {
  grid-column: 1 / -1;
}

.application-form label,
.choice-group {
  display: grid;
  gap: 9px;
  color: rgba(255, 248, 242, 0.92);
  font-size: 0.9rem;
  line-height: 1.55;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 243, 236, 0.34);
  background: rgba(255, 250, 245, 0.92);
  color: var(--ink);
  font: 1rem Arial, sans-serif;
}

.application-form input,
.application-form select {
  min-height: 50px;
  padding: 0 14px;
}

.application-form textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  outline: 2px solid rgba(247, 231, 218, 0.72);
  outline-offset: 2px;
}

.application-form input[type="range"] {
  min-height: auto;
  padding: 0;
  accent-color: var(--gold);
}

.choice-group {
  padding: 18px;
  border: 1px solid rgba(255, 243, 236, 0.24);
  background: rgba(255, 248, 241, 0.1);
}

.choice-group p {
  margin: 0 0 4px;
  color: #fffaf5;
}

.choice-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.choice-group input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
  accent-color: var(--gold);
}

.range-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 248, 241, 0.2);
  color: #fffaf5;
  font-family: Arial, sans-serif;
}

.form-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 18px 28px;
  border: 1px solid rgba(255, 243, 236, 0.42);
  background: transparent;
  color: #fffaf5;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background-color 0.28s ease, opacity 0.28s ease;
}

.button-secondary:hover {
  background: rgba(255, 248, 241, 0.12);
}

.button-secondary:disabled,
.button-primary:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.is-hidden {
  display: none;
}

.form-status {
  min-height: 1.6em;
  margin: 0;
  text-align: center;
  color: #fffaf5;
  line-height: 1.6;
}

.application-form.is-submitted .form-progress,
.application-form.is-submitted .form-panel,
.application-form.is-submitted .form-actions {
  display: none;
}

.application-form.is-submitted .form-status {
  max-width: 680px;
  margin: 10px auto 0;
  padding: 24px;
  border: 1px solid rgba(255, 243, 236, 0.3);
  background: rgba(255, 248, 241, 0.12);
  font-size: 1.05rem;
}

.condition-row a {
  color: var(--gold-deep);
}

.faq-item {
  overflow: hidden;
  text-align: center;
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  cursor: pointer;
}

.faq-question span {
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  font-weight: 300;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  transition: transform 0.28s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px;
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
  padding-bottom: 24px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.closing {
  padding-top: 88px;
}

.closing-card {
  padding: 46px 30px;
  text-align: center;
  background: linear-gradient(180deg, rgba(252, 248, 243, 0.9), rgba(240, 226, 214, 0.7));
}

.price {
  margin-top: 8px;
  font-size: clamp(3.3rem, 8vw, 5.4rem);
  font-weight: 300;
  color: var(--gold);
}

.closing-lead {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.closing-question {
  margin: 28px auto 32px;
  max-width: 720px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.52;
}

.closing .button-primary {
  display: inline-flex;
}

.closing-card .microcopy {
  display: block;
  margin-top: 18px;
}

.site-footer {
  padding: 44px 0 56px;
}

.footer-brand {
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-logo {
  width: 216px;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-copy {
  margin: 0;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  color: rgba(145, 91, 70, 0.7);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(145, 91, 70, 0.8);
}

.footer-inner {
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .container,
  .hero-inner,
  .nav-inner,
  .footer-inner {
    width: min(100% - 32px, 100%);
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
    padding-bottom: 74px;
  }

  .section-shell {
    padding: 82px 0;
  }

  .mirror-grid {
    grid-template-columns: 1fr;
  }

  .mirror-card,
  .stack-card,
  .offer-row,
  .application-step,
  .application-form-shell,
  .condition-row,
  .closing-card {
    padding: 22px;
  }

  .form-progress,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .stack-card,
  .offer-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .stack-card > div:last-child,
  .offer-row > div {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .nav-inner {
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .nav-links {
    order: 3;
    flex: 0 0 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .footer-links {
    justify-content: center;
  }
}
