:root {
  --ink: #0d0d0f;
  --panel: #17171a;
  --panel-soft: #202024;
  --cream: #f7f2ec;
  --paper: #fffdfa;
  --muted: #716a63;
  --line: #ded7cf;
  --orange: #ff6a00;
  --orange-light: #ff9f43;
  --green: #16794b;
  --red: #b42318;
  --shadow: 0 24px 70px rgba(17, 14, 12, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2070f3; outline-offset: 3px; }

.environment-banner {
  background: #fff0c2;
  border-bottom: 1px solid #e8c45a;
  color: #473500;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 18px;
  text-align: center;
}
.environment-banner[hidden] { display: none; }

.site-header {
  align-items: center;
  background: rgba(13, 13, 15, 0.96);
  color: #fff;
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  position: relative;
  z-index: 10;
}
.brand { font-size: 19px; font-weight: 950; letter-spacing: 6px; white-space: nowrap; }
.brand b { color: var(--orange); }
.site-header nav { align-items: center; display: flex; gap: 24px; font-size: 14px; }
.cart-pill { background: #fff; border-radius: 999px; color: #111; font-weight: 800; padding: 10px 16px; }

main { overflow: hidden; }
.hero {
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  min-height: 690px;
  padding: 90px max(24px, calc((100vw - 1180px) / 2));
  gap: 58px;
  align-items: center;
}
.founder-chip, .eyebrow {
  color: var(--orange);
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.founder-chip { border: 1px solid rgba(255, 106, 0, .55); border-radius: 999px; padding: 7px 11px; }
.hero h1 { font-size: clamp(54px, 7vw, 94px); letter-spacing: -.06em; line-height: .94; margin: 0 0 24px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-copy { color: #d8d0c8; font-size: clamp(18px, 2vw, 23px); max-width: 720px; }
.price-lockup { align-items: baseline; display: flex; gap: 12px; margin: 24px 0; }
.price-lockup strong { color: #fff; font-size: 52px; line-height: 1; }
.price-lockup span { color: #b9b1a8; }
.primary-button {
  align-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border: 0;
  border-radius: 999px;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  transition: transform .15s ease, filter .15s ease;
}
.primary-button:hover { filter: brightness(1.04); transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; filter: grayscale(.35); opacity: .7; }
.microcopy { color: #9f978f; font-size: 13px; }
.payment-logos { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.payment-logos img { background: #fff; border: 1px solid #e5e1dc; border-radius: 6px; height: 28px; max-height: 28px; object-fit: contain; padding: 4px 7px; width: auto; }
.hero-media { position: relative; }
.hero-media > img { aspect-ratio: 4 / 5; border-radius: 30px; object-fit: cover; width: 100%; }
.benefit-card { background: #fff; border-radius: 20px; bottom: 20px; box-shadow: var(--shadow); color: #111; display: grid; gap: 4px; left: 20px; padding: 18px; position: absolute; }
.benefit-card strong { color: var(--orange); font-size: 26px; }

.content-section { padding: 92px max(24px, calc((100vw - 1180px) / 2)); }
.content-section.dark { background: var(--ink); color: #fff; }
.section-heading { max-width: 850px; }
.section-heading h2, .cta-band h2 { font-size: clamp(38px, 5vw, 68px); letter-spacing: -.05em; line-height: 1.02; margin: 0 0 18px; }
.definition { border-left: 6px solid var(--orange); font-size: clamp(23px, 3vw, 36px); font-weight: 800; margin: 38px 0 0; max-width: 980px; padding: 8px 0 8px 28px; }
.price-grid, .rule-grid, .timeline-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 38px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); min-width: 0; padding: 22px; }
.dark .info-card { background: var(--panel); border-color: #35353a; color: #fff; }
.info-card small { color: var(--orange); font-weight: 900; }
.info-card h3 { font-size: 22px; line-height: 1.15; margin: 12px 0; }
.info-card > strong { color: var(--orange); font-size: 28px; }
.info-card p { color: #7d746b; }
.dark .info-card p { color: #aaa39b; }
.text-link { color: var(--orange); font-weight: 850; text-decoration: underline; text-underline-offset: 4px; }
.cta-band { align-items: center; background: #f2e6db; display: flex; justify-content: space-between; padding: 60px max(24px, calc((100vw - 1180px) / 2)); }

.site-footer, .checkout-footer { background: #111; color: #c8c1ba; }
.site-footer { padding: 54px max(24px, calc((100vw - 1180px) / 2)) 28px; }
.footer-top { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.footer-links { border-bottom: 1px solid #343438; display: flex; flex-wrap: wrap; gap: 24px; padding: 30px 0; }
.footer-bottom { color: #8e8881; font-size: 13px; padding-top: 24px; }

.progress { background: #fff; border-bottom: 1px solid var(--line); display: flex; gap: 46px; justify-content: center; padding: 18px 24px; }
.progress span { align-items: center; color: #8b847d; display: flex; font-size: 13px; font-weight: 800; gap: 8px; }
.progress i { background: #e8e3de; border-radius: 50%; display: grid; font-style: normal; height: 27px; place-items: center; width: 27px; }
.progress .active { color: var(--ink); }
.progress .active i { background: var(--orange); color: #111; }
.progress .done i { background: var(--green); color: #fff; }
.checkout-wrap { min-height: 65vh; padding: 56px max(24px, calc((100vw - 1080px) / 2)); }
.checkout-grid { align-items: start; display: grid; gap: 28px; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); }
.panel, .order-summary, .confirmation-card, .status-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}
.panel h1, .confirmation-card h1, .status-card h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.05em; line-height: 1; margin: 0 0 18px; }
.panel-intro { color: var(--muted); font-size: 17px; }
.cart-item { align-items: center; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: 120px 1fr auto; margin: 30px 0; padding: 22px 0; }
.cart-item img { aspect-ratio: 1; border-radius: 14px; object-fit: cover; }
.cart-item h2 { margin: 0 0 6px; }
.cart-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; }
.order-summary { position: sticky; top: 24px; }
.summary-product { align-items: center; display: grid; gap: 12px; grid-template-columns: 70px 1fr; margin: 12px 0 24px; }
.summary-product img { aspect-ratio: 1; border-radius: 10px; object-fit: cover; }
.summary-product div { display: grid; gap: 4px; }
.summary-product small, .summary-note { color: var(--muted); }
.summary-row { border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding: 13px 0; }
.summary-row.total { font-size: 19px; }
.field-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-full { grid-column: 1 / -1; }
label { display: grid; gap: 7px; }
label > span, legend { font-size: 13px; font-weight: 850; }
input, select { background: #fff; border: 1px solid #bdb5ad; border-radius: 11px; min-height: 48px; padding: 10px 12px; width: 100%; }
form.submitted input:invalid, form.submitted select:invalid { border-color: var(--red); }
fieldset { border: 0; margin: 28px 0 0; padding: 0; }
legend { margin-bottom: 14px; }
.consent-box { background: #f4eee8; border-radius: 16px; display: grid; gap: 13px; margin: 28px 0 18px; padding: 18px; }
.checkbox-field { align-items: start; display: grid; gap: 10px; grid-template-columns: 20px 1fr; }
.checkbox-field input { min-height: auto; margin-top: 3px; }
.checkbox-field a { text-decoration: underline; }
.checkout-legal { color: var(--muted); font-size: 13px; }
.form-submit { margin-top: 16px; width: 100%; }
.form-error { background: #fee4e2; border: 1px solid #fda29b; border-radius: 10px; color: var(--red); font-weight: 750; padding: 12px; }
.form-error[hidden] { display: none; }
.payment-method-card, .security-note { align-items: center; background: #f4eee8; border-radius: 16px; display: flex; justify-content: space-between; margin: 24px 0; padding: 18px; }
.payment-method-card > div:first-child { align-items: center; display: flex; gap: 12px; }
.payment-method-card small { display: block; color: var(--muted); }
.radio-dot { border: 6px solid var(--orange); border-radius: 50%; height: 20px; width: 20px; }
.payment-order-ref, .confirmation-details { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.payment-order-ref span, .confirmation-details span { color: var(--muted); font-size: 12px; }
.payment-order-ref strong { overflow-wrap: anywhere; }
.success-mark, .status-mark { align-items: center; background: #dff3e8; border-radius: 50%; color: var(--green); display: flex; font-size: 36px; height: 72px; justify-content: center; margin-bottom: 22px; width: 72px; }
.status-mark.pending { background: #fff0c2; color: #7a5a00; }
.status-mark.failed { background: #fee4e2; color: var(--red); }
.confirmation-details > div { background: #f4eee8; border-radius: 12px; display: grid; gap: 5px; padding: 14px; }
.next-steps { margin-top: 32px; }
.next-steps ol { display: grid; gap: 12px; list-style: none; padding: 0; }
.next-steps li { align-items: start; display: grid; gap: 12px; grid-template-columns: 32px 1fr; }
.next-steps li > span { background: var(--orange); border-radius: 50%; display: grid; font-weight: 900; height: 32px; place-items: center; }
.next-steps p { margin: 0; }
.next-steps p strong { display: block; }
.status-card { margin: 0 auto; max-width: 760px; }
.checkout-footer { padding: 36px max(24px, calc((100vw - 1080px) / 2)) 20px; }
.checkout-footer-inner { align-items: start; display: grid; gap: 26px; grid-template-columns: 1fr 1fr auto; }
.checkout-footer nav { display: grid; gap: 5px; }
.checkout-footer-bottom { border-top: 1px solid #343438; color: #8e8881; font-size: 12px; margin-top: 24px; padding-top: 18px; }

.policy-main { margin: 0 auto; max-width: 940px; padding: 70px 24px; }
.policy-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 55px); }
.policy-card h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -.05em; line-height: 1; }
.policy-card h2 { margin-top: 34px; }

@media (max-width: 900px) {
  .site-header nav > a:not(.cart-pill) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-media { max-width: 600px; }
  .price-grid, .rule-grid, .timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .checkout-footer-inner { grid-template-columns: 1fr 1fr; }
  .checkout-footer nav { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .site-header { min-height: 62px; padding-inline: 18px; }
  .brand { font-size: 16px; letter-spacing: 4px; }
  .cart-pill { font-size: 12px; padding: 8px 11px; }
  .hero, .content-section, .cta-band { padding-left: 18px; padding-right: 18px; }
  .hero { gap: 32px; min-height: auto; }
  .hero h1 { font-size: 52px; }
  .price-grid, .rule-grid, .timeline-grid { grid-template-columns: 1fr; }
  .cta-band { align-items: stretch; flex-direction: column; gap: 20px; }
  .progress { gap: 10px; justify-content: space-between; overflow-x: auto; padding: 12px; }
  .progress span { font-size: 0; gap: 0; }
  .progress i { font-size: 12px; }
  .checkout-wrap { padding: 28px 14px; }
  .panel, .order-summary, .confirmation-card, .status-card { border-radius: 18px; padding: 22px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .cart-item { grid-template-columns: 86px 1fr; }
  .cart-item > strong { grid-column: 2; }
  .payment-logos img { height: 25px; max-height: 25px; }
  .payment-method-card { align-items: stretch; flex-direction: column; gap: 14px; }
  .payment-order-ref, .confirmation-details { grid-template-columns: 1fr; }
  .footer-top, .checkout-footer-inner { grid-template-columns: 1fr; }
  .checkout-footer nav { grid-column: auto; grid-template-columns: repeat(2, 1fr); }
}

html, body { max-width: 100%; overflow-x: hidden; }
.checkout-grid, .panel, .order-summary, .field-grid > *, .summary-row > *, .checkbox-field > *, .cart-item > * { min-width: 0; }
.panel, .order-summary, .confirmation-card, .status-card { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .progress { width: 100%; }
  .progress span { flex: 1 1 25%; justify-content: center; min-width: 0; }
  .primary-button { max-width: 100%; white-space: normal; }
}
