:root {
  --cl-bg: #FBF7F0;
  --cl-surface: #FFFDF8;
  --cl-surface-soft: #F6F0E5;
  --cl-border: #E5DBCA;
  --cl-border-soft: #F0E9DC;
  --cl-red: #B63A26;
  --cl-red-soft: #D96A50;
  --cl-red-muted: #9F321F;
  --cl-text: #655D50;
  --cl-text-strong: #3F3931;
  --cl-text-muted: #8B8171;
  --cl-shadow: rgba(92, 70, 45, 0.14);
  --serif: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --sans: "Inter", "IBM Plex Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  padding:
    max(36px, env(safe-area-inset-top))
    max(22px, env(safe-area-inset-right))
    max(40px, env(safe-area-inset-bottom))
    max(22px, env(safe-area-inset-left));
  font-family: var(--sans);
  color: var(--cl-text);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 18% 6%, rgba(255,255,255,0.72), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(255,255,255,0.52), transparent 26%),
    linear-gradient(180deg, #FFFDF8 0%, #FAF5EC 100%);
  background-attachment: fixed;
}

::selection { background: rgba(217,106,80,0.26); }

.wrap { max-width: 1080px; margin: 0 auto; }

img { display: block; }

a { color: inherit; }

/* ---- Header ---- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 4px 2px 0;
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand-tile {
  width: 58px; height: 58px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 9px 22px rgba(92,70,45,0.22);
}
.wordmark {
  display: block;
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.wm-casus { color: var(--cl-red); }
.wm-legal { color: var(--cl-text); }
.brand-sub {
  display: block;
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cl-text-muted);
}
.nav { display: flex; align-items: center; gap: 12px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 21px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--cl-red);
  color: #FFF7EA;
  border-color: rgba(120,40,24,0.2);
  box-shadow: 0 10px 22px rgba(182,58,38,0.22);
}
.btn-primary:hover { background: var(--cl-red-muted); }
.btn-ghost {
  background: var(--cl-surface);
  color: var(--cl-text-strong);
  border-color: var(--cl-border);
}
.btn-ghost:hover { background: var(--cl-surface-soft); border-color: var(--cl-red-soft); }
.btn-lg { font-size: 15px; padding: 14px 28px; }
.btn-block { width: 100%; padding: 13px; }

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding: 72px 12px 56px;
}
.hero-wordmark {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(56px, 11vw, 120px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.hero-sub {
  margin: 18px auto 0;
  font-family: var(--serif);
  font-size: clamp(20px, 3.2vw, 30px);
  font-weight: 500;
  color: var(--cl-text-strong);
  max-width: 720px;
}
.hero-lede {
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--cl-text-muted);
  max-width: 620px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

/* ---- Cards ---- */
.card {
  background: var(--cl-surface);
  border: 1px solid var(--cl-border-soft);
  border-radius: 24px;
  box-shadow: 0 18px 50px var(--cl-shadow);
  padding: 28px 30px;
}

/* ---- Stats strip ---- */
.statsbar {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 24px;
}
.stat {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1;
  color: var(--cl-text-strong);
  text-align: center;
}
.stat-num.accent { color: var(--cl-red); }
.stat-cap {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cl-text-muted);
  text-align: center;
}
.vline { width: 1px; background: var(--cl-border); margin: 6px 0; }

/* ---- Ornament ---- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--cl-red-soft);
  margin: 44px 0;
}
.ornament span { width: 92px; height: 1px; background: currentColor; opacity: 0.5; }
.ornament i {
  width: 9px; height: 9px;
  border: 1.7px solid currentColor;
  transform: rotate(45deg);
}

/* ---- Sections ---- */
.section { padding: 8px 2px; }
.section-title {
  margin: 0 0 6px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cl-text-strong);
  line-height: 1.05;
}
.section-sub {
  margin: 0 auto 28px;
  text-align: center;
  font-size: 13.5px;
  color: var(--cl-text-muted);
  max-width: 560px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

/* ---- Steps ---- */
.step { display: flex; flex-direction: column; gap: 10px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--cl-red);
  background: rgba(182,58,38,0.08);
  border: 1px solid var(--cl-border);
  border-radius: 50%;
}
.step-title {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  color: var(--cl-text-strong);
  line-height: 1.15;
}
.step-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cl-text-muted);
}

/* ---- Plans ---- */
.plan { display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan-featured {
  border-color: var(--cl-red-soft);
  box-shadow: 0 22px 56px rgba(182,58,38,0.16);
}
.plan-badge {
  position: absolute;
  top: 18px; right: 18px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(182,58,38,0.09);
  color: var(--cl-red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.plan-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--cl-text-strong);
}
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.plan-amount {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--cl-text-strong);
  line-height: 1;
}
.plan-per { font-size: 14px; color: var(--cl-text-muted); }
.plan-note {
  margin: 2px 0 14px;
  font-size: 13px;
  color: var(--cl-text-muted);
}
.plan-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
}
.plan-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--cl-text);
  border-top: 1px solid var(--cl-border-soft);
}
.plan-list li:first-child { border-top: none; }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 15px;
  width: 7px; height: 7px;
  border: 1.6px solid var(--cl-red-soft);
  transform: rotate(45deg);
}

/* ---- Footer ---- */
.footer { text-align: center; padding: 24px 12px 12px; }
.footer-brand { margin-bottom: 12px; }
.wordmark-sm { font-size: 26px; }
.footer-note {
  margin: 0 auto;
  font-size: 13px;
  color: var(--cl-text-muted);
  max-width: 560px;
}
.footer-copy {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--cl-text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .statsbar { padding: 18px 12px; }
  .vline { display: none; }
  .stat { min-width: 40%; }
}
@media (max-width: 520px) {
  .brand-tile { width: 48px; height: 48px; }
  .wordmark { font-size: 27px; }
  .hero { padding: 48px 8px 40px; }
  .ornament span { width: 56px; }
}
