:root {
  --bg: #f4efe7;
  --bg-deep: #e8e0d4;
  --surface: rgba(255, 251, 244, 0.88);
  --surface-strong: #fffaf2;
  --surface-muted: #efe6d8;
  --surface-dark: #1f2d28;
  --text: #18221d;
  --muted: #59665f;
  --line: rgba(24, 34, 29, 0.12);
  --line-strong: rgba(24, 34, 29, 0.2);
  --gold: #a77228;
  --gold-soft: rgba(167, 114, 40, 0.14);
  --olive: #355248;
  --olive-soft: rgba(53, 82, 72, 0.1);
  --clay: #c88d67;
  --shadow-soft: 0 18px 48px rgba(40, 32, 20, 0.08);
  --shadow-strong: 0 26px 70px rgba(31, 45, 40, 0.16);
  --radius-lg: 1.75rem;
  --radius-md: 1.05rem;
  --radius-sm: 0.8rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(255, 245, 229, 0.9) 0, rgba(255, 245, 229, 0) 34%),
    radial-gradient(circle at 88% 12%, rgba(200, 141, 103, 0.18) 0, rgba(200, 141, 103, 0) 26%),
    linear-gradient(180deg, #f8f2e8 0%, #f4efe7 44%, #f7f3ec 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(10px);
}

body::before {
  top: 8rem;
  right: -5rem;
  width: 19rem;
  height: 19rem;
  background: rgba(167, 114, 40, 0.08);
}

body::after {
  bottom: 5rem;
  left: -4rem;
  width: 16rem;
  height: 16rem;
  background: rgba(53, 82, 72, 0.08);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1,
h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  font-size: 1.14rem;
  line-height: 1.3;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

.section {
  padding-block: 5.4rem;
}

.section-wash {
  position: relative;
}

.section-wash::before {
  content: "";
  position: absolute;
  inset: 1.3rem 0;
  z-index: -1;
  background:
    linear-gradient(145deg, rgba(255, 251, 244, 0.78), rgba(239, 230, 216, 0.82)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  border-block: 1px solid rgba(24, 34, 29, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(248, 242, 232, 0.78);
  border-bottom: 1px solid rgba(24, 34, 29, 0.08);
}

.header-row {
  min-height: 5.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(167, 114, 40, 0.25);
  background:
    linear-gradient(145deg, rgba(255, 248, 237, 0.96), rgba(239, 230, 216, 0.92));
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.brand-name {
  font-family: "Instrument Serif", serif;
  font-size: 1.95rem;
  letter-spacing: 0.02em;
}

.desktop-nav,
.mobile-nav {
  align-items: center;
  gap: 1.4rem;
}

.desktop-nav {
  display: flex;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  text-decoration: none;
  color: rgba(24, 34, 29, 0.76);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.desktop-nav a::after,
.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--text);
}

.desktop-nav a:hover::after,
.mobile-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 250, 242, 0.82);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.26rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.16rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.mobile-nav {
  display: none;
  padding: 0 1.1rem 1rem;
  border-top: 1px solid rgba(24, 34, 29, 0.06);
  background: rgba(248, 242, 232, 0.96);
  flex-direction: column;
  align-items: flex-start;
}

.mobile-nav a {
  padding: 0.36rem 0;
}

.mobile-nav.is-hidden {
  display: none;
}

.hero {
  padding-top: 4.4rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy-wrap {
  max-width: 41rem;
}

.eyebrow,
.section-kicker,
.card-tag,
.step-label,
.modal-step,
.order-label,
.hero-note-label,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow {
  padding: 0.48rem 0.78rem;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(167, 114, 40, 0.2);
  border-radius: 999px;
  background: rgba(255, 248, 237, 0.78);
  color: var(--gold);
}

.hero-copy {
  margin-top: 1.3rem;
  max-width: 35rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.82rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--olive), #243a33);
  color: #fffdf8;
  box-shadow: var(--shadow-strong);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2b443c, #1c2c27);
}

.btn-secondary {
  border-color: rgba(24, 34, 29, 0.12);
  background: rgba(255, 250, 242, 0.72);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(167, 114, 40, 0.32);
  background: rgba(255, 250, 242, 0.96);
}

.proof-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.proof-card {
  padding: 1rem;
  border: 1px solid rgba(24, 34, 29, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 251, 244, 0.6);
  box-shadow: var(--shadow-soft);
}

.proof-card h3 {
  margin-bottom: 0.32rem;
  font-size: 0.98rem;
}

.proof-card p {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-stage {
  position: relative;
  min-height: 41rem;
  display: grid;
  align-items: end;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 5rem 0 2rem 2rem;
  border-radius: 2.2rem;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, rgba(53, 82, 72, 0.12), rgba(167, 114, 40, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
  height: 100%;
  margin: 0;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 36rem;
  object-fit: cover;
}

.hero-note,
.hero-float-card {
  position: absolute;
  z-index: 2;
  max-width: 18.5rem;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(24, 34, 29, 0.08);
  border-radius: 1.15rem;
  background: rgba(255, 251, 244, 0.94);
  box-shadow: var(--shadow-soft);
}

.hero-note {
  top: 1rem;
  left: -1rem;
  animation: float-card 7s ease-in-out infinite;
}

.hero-note strong,
.hero-float-card strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-note span,
.hero-float-card p {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.hero-float-card {
  right: -1rem;
  bottom: 1.7rem;
  animation: float-card 8.5s ease-in-out infinite reverse;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-kicker,
.card-tag,
.step-label,
.modal-step,
.order-label,
.hero-note-label,
.badge {
  color: var(--gold);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 1.5rem;
  align-items: end;
}

.section-intro {
  color: var(--muted);
  max-width: 36rem;
  font-size: 1rem;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 1.2rem;
  align-items: start;
}

.story-grid .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0.3rem;
}

.panel {
  border: 1px solid rgba(24, 34, 29, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 251, 244, 0.88), rgba(255, 249, 242, 0.74));
  box-shadow: var(--shadow-soft);
}

.story-panel {
  padding: 2rem;
}

.story-panel p {
  color: var(--muted);
  font-size: 1rem;
}

.story-panel p + p {
  margin-top: 1rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-card {
  min-height: 10.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem;
  border: 1px solid rgba(24, 34, 29, 0.08);
  border-radius: var(--radius-md);
  background:
    linear-gradient(160deg, rgba(255, 251, 244, 0.96), rgba(239, 230, 216, 0.62));
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--olive);
}

.stat-card span {
  max-width: 11ch;
  color: rgba(24, 34, 29, 0.72);
  font-size: 0.95rem;
}

.signature-grid,
.pricing-grid,
.benefit-grid,
.steps-grid {
  display: grid;
  gap: 1rem;
}

.signature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signature-card,
.benefit-card,
.step-card,
.price-card,
.quote-card {
  border: 1px solid rgba(24, 34, 29, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 251, 244, 0.82);
  box-shadow: var(--shadow-soft);
}

.signature-card {
  padding: 1.35rem;
}

.card-tag {
  margin-bottom: 0.7rem;
}

.signature-card p {
  color: var(--muted);
}

.signature-card p:not(.card-tag) {
  margin-top: 0.55rem;
}

.signature-card ul {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.signature-card li {
  position: relative;
  padding-left: 1.05rem;
  color: rgba(24, 34, 29, 0.78);
  font-size: 0.92rem;
}

.signature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(167, 114, 40, 0.68);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 1rem;
  align-items: stretch;
}

.experience-panel {
  padding: 1.9rem;
}

.benefit-grid {
  margin-top: 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
  padding: 1.2rem;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08)),
    rgba(255, 251, 244, 0.68);
}

.benefit-card p {
  margin-top: 0.42rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-card {
  position: relative;
  overflow: hidden;
  padding: 1.8rem;
  background:
    linear-gradient(180deg, rgba(53, 82, 72, 0.92), rgba(31, 45, 40, 0.98));
  color: #f7f1e7;
}

.quote-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.quote-mark {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 241, 214, 0.8);
}

.quote-copy {
  position: relative;
  z-index: 1;
  margin-top: 1.2rem;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.16;
}

.quote-meta {
  position: relative;
  z-index: 1;
  margin-top: 1.1rem;
  color: rgba(247, 241, 231, 0.76);
  font-size: 0.92rem;
}

.panel-contrast {
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(167, 114, 40, 0.14), rgba(167, 114, 40, 0) 24%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(244, 239, 231, 0.9));
}

.steps-grid {
  margin-top: 1.3rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  padding: 1.25rem;
}

.step-label {
  margin-bottom: 0.55rem;
}

.step-card p:not(.step-label) {
  margin-top: 0.5rem;
  color: var(--muted);
}

.pricing-section {
  position: relative;
}

.pricing-section::before {
  content: "";
  position: absolute;
  inset: 2rem 0 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(239, 230, 216, 0), rgba(239, 230, 216, 0.6));
}

.centered {
  text-align: center;
}

.centered.section-intro,
.section-intro.centered {
  margin-inline: auto;
}

.pricing-grid {
  margin-top: 1.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.45rem;
}

.price-card .btn {
  margin-top: auto;
}

.plan-subtitle {
  margin-top: 0.4rem;
  color: var(--muted);
  min-height: 2.7rem;
  font-size: 0.93rem;
}

.price-value {
  margin-top: 1rem;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--olive) !important;
}

.price-value span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(24, 34, 29, 0.62);
}

.price-card ul {
  list-style: none;
  margin: 1.1rem 0 1.5rem;
  display: grid;
  gap: 0.55rem;
}

.price-card li {
  position: relative;
  padding-left: 1.05rem;
  color: rgba(24, 34, 29, 0.78);
  font-size: 0.92rem;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(53, 82, 72, 0.62);
}

.price-card.featured {
  border-color: rgba(53, 82, 72, 0.28);
  background:
    linear-gradient(180deg, rgba(53, 82, 72, 0.08), rgba(255, 251, 244, 0.95));
  box-shadow: var(--shadow-strong);
}

.price-card.vip {
  background:
    linear-gradient(160deg, rgba(255, 247, 235, 0.92), rgba(239, 230, 216, 0.84));
}

.badge {
  margin-bottom: 0.65rem;
  align-self: flex-start;
  padding: 0.35rem 0.68rem;
  border-radius: 999px;
  background: rgba(167, 114, 40, 0.12);
  border: 1px solid rgba(167, 114, 40, 0.18);
}

.site-footer {
  margin-top: 1rem;
  border-top: 1px solid rgba(24, 34, 29, 0.08);
  background: rgba(255, 250, 242, 0.54);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 1.25rem;
  padding: 2.7rem 0 1.5rem;
}

.site-footer p,
.site-footer address {
  color: var(--muted);
}

.site-footer address {
  margin-top: 0.9rem;
  font-style: normal;
  line-height: 1.85;
}

.site-footer a {
  text-decoration: none;
  color: var(--olive);
  font-weight: 500;
}

.site-footer a:hover {
  color: var(--gold);
}

.legal-links {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.footer-bottom {
  border-top: 1px solid rgba(24, 34, 29, 0.08);
  padding: 0.95rem 0 1.35rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.84rem;
}

.legal-main {
  min-height: calc(100vh - 260px);
}

.legal-panel {
  max-width: 860px;
  padding: 2rem;
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
}

.legal-panel p + p {
  margin-top: 0.85rem;
}

.legal-panel section + section {
  margin-top: 1.2rem;
}

.legal-panel h1 {
  font-size: clamp(2.35rem, 4vw, 3.4rem);
}

.legal-panel h2 {
  margin-bottom: 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 700;
}

.legal-panel h3 {
  margin-top: 0.75rem;
}

.legal-panel ul {
  margin: 1rem 0 0 1.2rem;
}

.legal-panel li + li {
  margin-top: 0.35rem;
}

.back-link {
  display: inline-flex;
  margin-top: 1.5rem;
  text-decoration: none;
  color: var(--olive);
  font-weight: 700;
}

.back-link:hover {
  color: var(--gold);
}

body.modal-open {
  overflow: hidden;
}

.select-plan-btn {
  width: 100%;
}

.flow-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.flow-modal.is-hidden {
  display: none;
}

.flow-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 34, 29, 0.64);
}

.flow-modal-dialog {
  position: relative;
  width: min(100%, 640px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.55rem;
  border: 1px solid rgba(24, 34, 29, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 251, 244, 0.98);
  box-shadow: 0 32px 90px rgba(24, 34, 29, 0.22);
}

.flow-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(24, 34, 29, 0.08);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.92);
  color: rgba(24, 34, 29, 0.7);
  font-size: 1.22rem;
  line-height: 1;
  cursor: pointer;
}

.flow-modal-close:hover {
  color: var(--text);
  border-color: rgba(167, 114, 40, 0.26);
}

.modal-step {
  margin-bottom: 0.6rem;
}

.plan-summary {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(167, 114, 40, 0.18);
  border-radius: 1rem;
  background: rgba(255, 247, 235, 0.74);
}

.plan-summary strong {
  font-size: 1rem;
}

.plan-summary span {
  color: var(--olive);
  font-weight: 700;
}

.flow-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.flow-form label {
  color: rgba(24, 34, 29, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
}

.flow-form input {
  width: 100%;
  min-height: 3rem;
  padding: 0.78rem 0.92rem;
  border: 1px solid rgba(24, 34, 29, 0.12);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-size: 0.94rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.flow-form input:focus {
  outline: none;
  border-color: rgba(167, 114, 40, 0.35);
  box-shadow: 0 0 0 4px rgba(167, 114, 40, 0.1);
  background: #fffefb;
}

.flow-form input::placeholder {
  color: rgba(89, 102, 95, 0.62);
}

.form-note {
  margin-top: 0.12rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(167, 114, 40, 0.32);
  color: var(--muted);
  font-size: 0.84rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.22rem;
}

.check-row input[type="checkbox"] {
  width: 1rem;
  min-height: 1rem;
  margin-top: 0.25rem;
  padding: 0;
  border-radius: 0.25rem;
}

.check-row span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.check-row a {
  color: var(--olive);
  font-weight: 700;
}

.check-row a:hover {
  color: var(--gold);
}

.modal-submit-btn {
  margin-top: 0.5rem;
  width: 100%;
}

.modal-submit-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.75;
}

.modal-submit-btn.is-disabled-mode {
  background: linear-gradient(135deg, #66736d, #4f5e57);
}

.modal-submit-btn.is-disabled-mode:hover {
  background: linear-gradient(135deg, #66736d, #4f5e57);
  transform: none;
}

.payment-status-message {
  min-height: 1.2rem;
  margin-top: 0.35rem;
  color: #8b4b27;
  font-size: 0.84rem;
  font-weight: 700;
}

.checkout-modal-dialog,
.legal-modal-dialog {
  width: min(100%, 980px);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(250px, 0.88fr);
  gap: 1rem;
}

.checkout-placeholder-badge {
  margin-top: 0.45rem;
  display: inline-flex;
  padding: 0.34rem 0.7rem;
  border: 1px solid rgba(167, 114, 40, 0.18);
  border-radius: 999px;
  background: rgba(255, 247, 235, 0.74);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-security-line {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.payment-form {
  margin-top: 0.85rem;
}

.payment-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.card-brand-row {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.card-brand-row span {
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(24, 34, 29, 0.08);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  color: rgba(24, 34, 29, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
}

.order-summary {
  padding: 1.2rem;
  border: 1px solid rgba(24, 34, 29, 0.08);
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 247, 235, 0.9), rgba(255, 251, 244, 0.96));
}

.order-plan {
  margin-top: 0.16rem;
  color: var(--text) !important;
  font-size: 1rem;
  font-weight: 700;
}

.order-price {
  margin-top: 0.16rem;
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  color: var(--olive) !important;
}

.order-summary ul {
  list-style: none;
  margin-top: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.order-summary li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.order-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(53, 82, 72, 0.6);
}

.legal-modal-dialog iframe {
  width: 100%;
  min-height: 68vh;
  margin-top: 0.8rem;
  border: 1px solid rgba(24, 34, 29, 0.08);
  border-radius: 1rem;
  background: #fff;
}

.modal-submit-btn.is-processing {
  box-shadow: none;
}

.success-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top, rgba(255, 245, 229, 0.92), rgba(255, 245, 229, 0) 35%),
    linear-gradient(180deg, #f7f2e9 0%, #f4efe7 100%);
}

.success-card {
  width: min(100%, 760px);
  padding: 2.4rem 1.35rem;
  border: 1px solid rgba(24, 34, 29, 0.08);
  border-radius: 1.7rem;
  background: rgba(255, 251, 244, 0.96);
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.success-icon {
  width: 4.8rem;
  height: 4.8rem;
  margin: 0 auto 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--olive), #213630);
  color: #fffdf8;
  font-size: 2rem;
  font-weight: 700;
}

.success-card p {
  max-width: 36rem;
  margin-inline: auto;
  color: var(--muted);
}

.success-plan {
  margin-top: 0.9rem;
  color: var(--olive) !important;
  font-weight: 700;
}

.success-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .split-heading,
  .story-grid,
  .split-feature,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy-wrap {
    max-width: none;
  }

  .hero-stage {
    min-height: 34rem;
    padding-top: 2rem;
  }

  .hero-stage::before {
    inset: 4rem 1rem 1rem;
  }

  .hero-note {
    left: 1rem;
  }

  .hero-float-card {
    right: 1rem;
  }

  .stats-band,
  .benefit-grid,
  .steps-grid,
  .signature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav:not(.is-hidden) {
    display: flex;
  }

  .section {
    padding-block: 4.4rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .proof-grid,
  .stats-band,
  .benefit-grid,
  .steps-grid,
  .signature-grid,
  .pricing-grid,
  .footer-grid,
  .payment-inline-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
    gap: 1rem;
    padding-top: 0;
  }

  .hero-stage::before {
    display: none;
  }

  .hero-note,
  .hero-float-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    max-width: none;
    animation: none;
  }

  .hero-image-wrap img {
    min-height: 24rem;
  }

  .story-panel,
  .panel-contrast,
  .experience-panel,
  .legal-panel,
  .flow-modal-dialog {
    padding: 1.35rem;
  }
}

@media (max-width: 560px) {
  body::before,
  body::after {
    display: none;
  }

  .container {
    width: min(100%, calc(100vw - 1.5rem));
  }

  .brand-name {
    font-size: 1.55rem;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .btn {
    width: 100%;
  }

  .plan-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .flow-modal {
    padding: 0.55rem;
  }

  .success-card {
    padding: 2rem 1rem;
  }
}

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

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