:root {
  --ink: #171713;
  --paper: #f4f0e7;
  --cream: #fffaf0;
  --rust: #bd4a28;
  --rust-dark: #8f321b;
  --gold: #d5a84b;
  --line: rgba(23, 23, 19, .17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.site-header { height: 74px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--cream); font: italic 600 1.25rem/1 Playfair Display, serif; }
.header-note { font-size: .82rem; color: #625f57; }

.hero { position: relative; min-height: 700px; display: flex; align-items: center; overflow: hidden; background: #242422; color: #fff; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(12,12,11,.92) 0%, rgba(12,12,11,.77) 35%, rgba(12,12,11,.08) 74%); }
.hero-content { position: relative; z-index: 1; width: min(680px, 92%); padding: 84px 0 74px clamp(22px, 7vw, 110px); }
.eyebrow, .kicker, .modal-step { display: block; text-transform: uppercase; letter-spacing: .17em; font-size: .75rem; font-weight: 800; }
.eyebrow { color: #e6bb66; }
h1, h2 { font-family: Playfair Display, serif; letter-spacing: -.035em; margin: 0; }
h1 { max-width: 660px; margin-top: 22px; font-size: clamp(3.2rem, 6.2vw, 6.2rem); line-height: .96; }
.hero-content > p { max-width: 570px; margin: 28px 0 32px; color: rgba(255,255,255,.76); font-size: 1.1rem; line-height: 1.7; }
.primary-button { border: 0; border-radius: 999px; padding: 17px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; font-weight: 800; transition: transform .2s, background .2s; }
.primary-button { background: var(--rust); color: #fff; box-shadow: 0 12px 35px rgba(118,33,14,.28); }
.primary-button:hover { transform: translateY(-2px); background: #d25531; }
.primary-button:disabled, .primary-button:disabled:hover { cursor: not-allowed; transform: none; background: #b8b6b1; color: #ecebe8; box-shadow: none; }
.primary-button.light { background: var(--cream); color: var(--ink); box-shadow: none; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 38px; color: rgba(255,255,255,.62); font-size: .83rem; }
.hero-meta span::before { content: "✓"; margin-right: 8px; color: var(--gold); }

.proof { padding: 88px clamp(22px, 7vw, 110px); }
.proof-intro { display: flex; align-items: flex-start; gap: 28px; }
.section-number { font-size: .75rem; font-weight: 800; padding-top: 10px; color: var(--rust); }
.proof h2, .how-it-works h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.kicker { margin: 0 0 10px; color: #69655d; }
.category-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 54px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-strip article { padding: 32px 24px; border-right: 1px solid var(--line); }
.category-strip article:first-child { padding-left: 0; }
.category-strip article:last-child { border-right: 0; }
.category-strip strong { display: block; font: 600 3.2rem/1 Playfair Display, serif; color: var(--rust); }
.category-strip span { display: block; margin-top: 8px; font-size: .87rem; color: #69655d; }

.how-it-works { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; padding: 100px clamp(22px, 7vw, 110px); background: #e6dfd2; }
.how-copy > p:not(.kicker) { max-width: 550px; color: #5d594f; line-height: 1.75; }
.text-button { border: 0; border-bottom: 1px solid var(--ink); padding: 10px 0; background: transparent; font-weight: 800; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 25px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.steps > li > span { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: .82rem; }
.steps strong { font-size: 1.05rem; }
.steps p { margin: 6px 0 0; color: #6b665d; }

.final-cta { padding: 110px 24px; text-align: center; background: var(--rust-dark); color: var(--cream); }
.final-cta .kicker { color: #edc28c; }
.final-cta h2 { margin: 18px auto 32px; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.05; }
footer { padding: 28px clamp(22px, 5vw, 76px); display: flex; justify-content: space-between; gap: 24px; color: #716d64; font-size: .78rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(12,12,11,.72); backdrop-filter: blur(8px); animation: fade-in .2s ease-out; }
.modal-backdrop.is-leaving { animation: fade-out .2s ease forwards; }
.modal-panel { position: relative; width: min(680px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: clamp(28px, 5vw, 52px); border-radius: 24px; background: var(--cream); box-shadow: 0 34px 90px rgba(0,0,0,.35); animation: panel-in .28s ease-out; }
.modal-close { position: absolute; right: 18px; top: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #ede7dc; font-size: 1.5rem; }
.modal-step { margin: 0 0 12px; color: var(--rust); }
.modal-panel h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.02; }
.modal-lead { margin: 16px 0 26px; color: #625e55; line-height: 1.6; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.category-option { position: relative; min-height: 92px; display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid #d9d2c5; border-radius: 14px; cursor: pointer; transition: .2s; }
.category-option:first-child { grid-column: 1 / -1; }
.category-option:hover, .category-option.is-selected { border-color: var(--rust); background: #fff4eb; }
.category-option input { position: absolute; opacity: 0; pointer-events: none; }
.category-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.category-option strong, .category-option small { display: block; }
.category-option small { margin-top: 4px; color: #817b70; }
.radio-mark { margin-left: auto; width: 18px; height: 18px; border: 1px solid #aaa397; border-radius: 50%; }
.is-selected .radio-mark { border: 5px solid var(--rust); }
.modal-submit { width: 100%; margin-top: 20px; }
.loading-panel { text-align: center; }
.pattern-loader { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; }
.pattern-loader span { width: 28px; height: 38px; background: var(--rust); clip-path: polygon(20% 0,80% 0,100% 20%,88% 100%,12% 100%,0 20%); animation: stitch 1s ease-in-out infinite; }
.pattern-loader span:nth-child(2) { animation-delay: .15s; background: var(--gold); }
.pattern-loader span:nth-child(3) { animation-delay: .3s; background: var(--ink); }
.loading-label { color: #69645b; }
.progress-track { height: 7px; margin: 27px 0 15px; overflow: hidden; border-radius: 99px; background: #ddd5c7; }
.progress-track span { display: block; height: 100%; width: 0; background: var(--rust); animation: progress 2.25s ease-in-out forwards; }
.loading-status { color: #777166; font-size: .86rem; }
.delivery-points { display: grid; gap: 9px; margin: 24px 0; }
.delivery-points > div { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 13px 15px; border-radius: 12px; background: #f0eadf; }
.point-number { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--rust); color: #fff; font-size: .82rem; font-weight: 800; }
.delivery-points strong { display: block; font-size: .95rem; line-height: 1.4; }
.inline-icon-title { display: inline-flex !important; align-items: center; flex-wrap: wrap; gap: .38em; }
.title-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; vertical-align: middle; }
.title-icon svg { width: 30px; height: 30px; display: block;  }

@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes stitch { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes progress { 0% { width: 7%; } 35% { width: 43%; } 75% { width: 78%; } 100% { width: 100%; } }

@media (max-width: 760px) {
  .site-header { height: 62px; }
  .header-note { display: none; }
  .hero { min-height: 690px; align-items: flex-end; }
  .hero-image { object-position: 68% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(12,12,11,.97) 0%, rgba(12,12,11,.73) 58%, rgba(12,12,11,.1) 100%); }
  .hero-content { padding: 72px 22px 42px; }
  h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .hero-meta { gap: 12px; flex-direction: column; }
  .category-strip { grid-template-columns: 1fr 1fr; }
  .category-strip article { padding: 24px 14px; border-bottom: 1px solid var(--line); }
  .category-strip article:nth-child(2) { border-right: 0; }
  .how-it-works { grid-template-columns: 1fr; gap: 52px; }
  footer { flex-direction: column; }
  .category-grid { grid-template-columns: 1fr; }
  .category-option:first-child { grid-column: auto; }
  .modal-panel { padding: 32px 20px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.legal-page { min-height: 100vh; }
.legal-content { width: min(780px, calc(100% - 44px)); margin: 0 auto; padding: 82px 0 110px; }
.legal-content h1 { margin: 12px 0 34px; font-size: clamp(3rem, 7vw, 5rem); color: var(--ink); }
.legal-content h2 { margin: 34px 0 10px; font: 700 1.25rem/1.3 Manrope, sans-serif; letter-spacing: -.02em; }
.legal-content p { color: #5f5a52; line-height: 1.75; }
.legal-content .text-button { display: inline-block; margin-top: 28px; text-decoration: none; color: var(--ink); }
