:root {
  --black: #000000;
  --ink: #111111;
  --brown: #221a19;
  --cream: #f7f3ee;
  --white: #ffffff;
  --panel: #f2f2f1;
  --muted: #6b6b6b;
  --muted-2: #8a8a8a;
  --line: #e7e2db;
  --gold: #c8a448;
  --gold-text: #c9a24a;
  --gold-soft: #f6f0e4;
  --tip: #f3eee6;
  --green-a: #577f67;
  --green-b: #097032;
  --trust: #00b67a;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
  --font: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }

.site-header {
  background: var(--white);
  padding: 18px 24px;
}
.site-header .logo { display: inline-block; }
.site-header .logo img { height: 18px; width: auto; }

/* Hero */
.hero {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 0;
  display: grid;
  gap: 32px;
}
.hero-copy { max-width: 520px; position: relative; z-index: 2; }
.hero-copy h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.hero-copy .lede {
  margin: 22px 0 28px;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.5;
  color: #d8d8d8;
  font-weight: 400;
  letter-spacing: 0;
}
.hero-visual { margin: 0 -24px -20px auto; max-width: 720px; }
.hero-visual img { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 14px;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-green {
  color: var(--white);
  background: linear-gradient(90deg, var(--green-a), var(--green-b));
}
.btn-dark {
  color: var(--white);
  background: var(--brown);
}
.btn-wide { width: 100%; max-width: 520px; padding: 18px 28px; font-size: 16px; }

.features {
  list-style: none;
  margin: 28px auto 0;
  padding: 40px 24px 72px;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  text-align: center;
  color: var(--white);
}
.features li { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.feature-icon {
  width: 104px;
  height: 104px;
  display: block;
}
.feature-icon img { width: 100%; height: 100%; }
.features h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
  font-weight: 800;
}

/* Business + FAQ */
.section { padding: 72px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.business-panel {
  background: var(--panel);
  border-radius: 28px;
  padding: 48px 32px;
  display: grid;
  gap: 32px;
  align-items: center;
}
.business-copy h2 { font-size: clamp(36px, 6vw, 56px); max-width: 11ch; }
.business-copy p {
  margin: 18px 0 28px;
  max-width: 360px;
  color: #333;
  line-height: 1.5;
}
.business-visual { display: flex; justify-content: center; }
.business-visual img { width: min(100%, 460px); }

.faq { padding-top: 24px; }
.faq h2 { text-align: center; font-size: clamp(32px, 5vw, 48px); margin-bottom: 36px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ececec; }
.faq-item button {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 20px 28px 20px 0;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  font-weight: 400;
}
.faq-item button::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #111;
  border-bottom: 1.5px solid #111;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item.is-open button::after { transform: translateY(-20%) rotate(225deg); }
.faq-item .faq-a {
  display: none;
  padding: 0 8px 20px 0;
  color: #444;
  line-height: 1.55;
  font-size: 15px;
}
.faq-item.is-open .faq-a { display: block; }

/* Checkout */
.checkout {
  background: var(--cream);
  padding: 64px 20px 96px;
}
.checkout-intro { text-align: center; margin-bottom: 36px; }
.checkout-intro h2 { font-size: clamp(32px, 5vw, 52px); }
.checkout-intro p { color: var(--muted); margin: 10px 0 0; }
.checkout-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.preview-col { order: -1; }
.steps { display: grid; gap: 22px; }
.card {
  background: #fbfaf7;
  border: 1px solid rgba(200, 164, 72, 0.35);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex: 0 0 auto;
}
.step-title h3 { font-size: 22px; }

.path-grid, .delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.path-card, .delivery-card {
  position: relative;
  border: 1px solid #e4e0d8;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 14px 16px;
  cursor: pointer;
  min-height: 138px;
}
.path-card.is-selected, .delivery-card.is-selected {
  background: var(--gold-soft);
  border-color: var(--gold);
}
.path-card input, .delivery-card input {
  position: absolute;
  top: 14px;
  right: 14px;
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #cfc8bc;
  border-radius: 50%;
  margin: 0;
}
.path-card.is-selected input, .delivery-card.is-selected input {
  border-color: var(--gold);
  background: radial-gradient(circle, var(--gold) 0 5px, transparent 6px);
}
.path-icon, .delivery-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.path-card:not(.is-selected) .path-icon,
.delivery-card:not(.is-selected) .delivery-icon { background: #cfc6bb; }
.path-card h4, .delivery-card h4 { margin: 0 0 4px; font-size: 15px; letter-spacing: -0.02em; }
.path-card p, .delivery-card p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.4; }

.chip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.chip, .custom-amount-btn {
  background: var(--white);
  border: 1.5px solid #111;
  border-radius: 12px;
  padding: 12px 10px;
  font-weight: 700;
  cursor: pointer;
}
.chip.is-selected, .custom-amount-btn.is-on { border-color: var(--gold); }
.custom-field { margin-top: 10px; }
.hint {
  margin-top: 14px;
  background: var(--tip);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  color: #555;
  line-height: 1.45;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.field { margin-top: 14px; }
.field-label, .sub-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.input, textarea.input {
  width: 100%;
  border: 1.5px solid #1a1a1a;
  border-radius: 12px;
  padding: 14px 14px 12px;
  background: var(--white);
  outline: none;
}
.input:focus, textarea.input:focus { border-color: var(--gold); }
.floating { position: relative; }
.floating label {
  position: absolute;
  left: 14px;
  top: 8px;
  font-size: 11px;
  color: #666;
  font-weight: 600;
}
.floating .input { padding-top: 24px; padding-bottom: 10px; }
textarea.input { min-height: 110px; resize: vertical; }
.char-count { text-align: right; font-size: 11px; color: #9a9a9a; margin-top: 4px; }

.guest-row {
  display: flex;
  align-items: center;
  border: 1.5px solid #1a1a1a;
  border-radius: 12px;
  background: var(--white);
  padding: 8px 10px 8px 16px;
}
.guest-row span { flex: 1; font-weight: 500; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #111;
  background: var(--white);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.stepper button.inc { background: var(--black); color: var(--white); border-color: var(--black); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper strong { min-width: 1.2em; text-align: center; }

.style-list { display: grid; gap: 10px; }
.style-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #1a1a1a;
  border-radius: 12px;
  background: var(--white);
  padding: 12px 14px;
  cursor: pointer;
}
.style-row.is-selected { border-color: var(--gold); }
.style-row input { display: none; }
.style-name { flex: 1; font-weight: 800; font-size: 15px; }
.style-price { text-align: right; }
.style-price .pp { display: block; font-weight: 800; font-size: 14px; }
.style-price .tot { display: block; font-size: 11px; color: #9a9a9a; }

.pay-wrap { display: flex; flex-direction: column; align-items: center; margin-top: 8px; }
.assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 24px;
  margin-top: 16px;
  font-size: 13px;
  color: #555;
  align-items: center;
}
.assurances .tp { color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.star { color: var(--trust); font-size: 16px; }

/* Preview card */
.preview-col { }
.preview-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #9a958c;
  font-weight: 600;
  margin-bottom: 12px;
}
.gift-card {
  background: #0a0a0a;
  color: var(--white);
  border-radius: 18px;
  padding: 22px 22px 20px;
  min-height: 230px;
  position: relative;
  box-shadow: var(--shadow);
  border: 3px solid #0a0a0a;
  outline: 1px solid var(--gold);
  outline-offset: -6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.gc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gc-logo img { height: 16px; width: auto; }
.gc-kicker {
  margin-top: 6px;
  color: var(--gold-text);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.gc-leaf { width: 92px; height: auto; margin-right: 8px; margin-top: 4px; }
.gc-amount {
  position: absolute;
  right: 24px;
  top: 54%;
  transform: translateY(-120%);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.gc-meta {
  position: absolute;
  right: 24px;
  top: 54%;
  transform: translateY(-10%);
  font-size: 11px;
  color: #cfcfcf;
  text-align: right;
  max-width: 46%;
  line-height: 1.3;
}
.gc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 64px; }
.gc-for-label { font-size: 10px; letter-spacing: 0.12em; color: #9a9a9a; }
.gc-for-name { color: var(--gold-text); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.gc-msg { font-size: 12px; font-style: italic; color: #ddd; max-width: 48%; text-align: right; line-height: 1.45; letter-spacing: 0.01em; }

/* Dialog + thank you */
dialog {
  border: 0;
  border-radius: 20px;
  padding: 28px 24px;
  width: min(92vw, 480px);
  font-size: 15px;
  line-height: 1.5;
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(0, 0, 0, 0.45); }
dialog h3 { font-size: 22px; margin-bottom: 10px; }
dialog .summary { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; margin: 16px 0; }
dialog .summary dt { color: var(--muted); font-weight: 600; }
dialog .summary dd { margin: 0; }
dialog .fine { color: var(--muted); font-size: 13px; }
dialog .btn { margin-top: 8px; }

.thanks {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.thanks-body {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  text-align: center;
}
.thanks-body h1 { font-size: clamp(36px, 6vw, 56px); margin: 16px 0 12px; }
.thanks-body p { max-width: 460px; margin: 0 auto 16px; color: #444; line-height: 1.55; }

@media (min-width: 800px) {
  .hero-inner {
    grid-template-columns: 0.9fr 1.15fr;
    align-items: center;
    padding: 28px 0 0 64px;
    min-height: 620px;
  }
  .hero-visual { margin: 20px 0 -48px 0; max-width: none; }
  .hero-visual img { width: 124%; max-width: none; margin-left: -6%; }
  .features { grid-template-columns: repeat(3, 1fr); padding-top: 12px; padding-bottom: 80px; }
  .business-panel { grid-template-columns: 1fr 1fr; padding: 56px 48px; }
  .checkout-layout { display: grid; grid-template-columns: 1.05fr 0.85fr; align-items: start; }
  .preview-col { order: 0; position: sticky; top: 28px; padding-top: 8px; }
  .chip-row { grid-template-columns: repeat(4, 1fr); }
  .site-header { padding: 18px 48px; }
}

@media (max-width: 799px) {
  .path-grid, .delivery-grid { grid-template-columns: 1fr; }
  .gc-amount { font-size: 24px; }
}
