:root {
  color-scheme: light;
  --bg: #f7efe9;
  --bg-2: #fbf7f3;
  --panel: #fffaf6;
  --panel-strong: #fff8f3;
  --line: #e7d5c8;
  --line-soft: #efe2d8;
  --text: #3f2218;
  --text-2: #5d3a2d;
  --muted: #7d6256;
  --primary: #a95533;
  --primary-2: #8f4528;
  --accent: #c9784d;
  --danger: #9e4a3d;
  --shadow: 0 16px 48px rgba(78, 38, 24, .055);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 95% 0, #e9d2c0, transparent 42%),
    radial-gradient(ellipse at 0 40%, #f0e4d3, transparent 40%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--primary); }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #b97550; outline-offset: 4px; }

.page {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: 20px;
  padding-top: max(20px, env(safe-area-inset-top));
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  padding-bottom: max(32px, env(safe-area-inset-bottom));
}

.panel { min-width: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.18; }
h2, h3 { letter-spacing: -.03em; }

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 26px;
  border-bottom: 1px solid var(--line);
}

.brand { display: grid; gap: 5px; flex: 1 1 360px; max-width: 590px; }
.brand-title { font: 34px Georgia, serif; letter-spacing: -1px; color: var(--text); }
.brand-subtitle { font-size: 12px; line-height: 1.7; color: var(--muted); }

.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}

.top-actions, .hero-actions, .product-actions, .cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-actions { justify-content: flex-end; flex: 0 1 470px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--primary-2);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background .15s, box-shadow .15s;
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #bb6841, #934526);
  color: #fff;
  box-shadow: 0 8px 22px #a9553326;
}

.btn.ghost { background: transparent; }
.top-actions .btn { min-height: 40px; padding: 9px 12px; font-size: 11px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 36px;
  align-items: center;
  padding: 52px 0 20px;
}

.hero-main { min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--primary); font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--accent); }

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.hero-text { margin: 0 0 24px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.hero-text strong { color: var(--text); }
.hero-meta, .product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.meta-chip { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fffaf7a8; color: var(--muted); font-size: 11px; line-height: 1.5; }

.hero-side {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid #985332;
  border-radius: 7px 28px 28px 7px;
  background: linear-gradient(145deg, #a45c38, #522e20);
  color: #fff;
  box-shadow: -7px 0 0 #d8b395, 0 25px 55px #68392026;
}

.hero-side::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid #efd2ad30;
  border-radius: 3px 18px 18px 3px;
  pointer-events: none;
}

.hero-side > * { position: relative; }
.side-label { color: #ecd2b3; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.side-title { margin: 0; font: 29px/1.2 Georgia, serif; letter-spacing: -.7px; }
.side-text { margin: 0; color: #f0ded1; font-size: 13px; line-height: 1.8; }
.side-points { display: grid; gap: 10px; }
.side-point { padding: 13px 14px; border: 1px solid #ffffff25; border-radius: 12px; background: #ffffff09; font-size: 12px; line-height: 1.7; color: #f7e8dc; }

.section { padding-top: 68px; }
.section-head { max-width: 850px; margin-bottom: 26px; }
.section-head .eyebrow { margin-bottom: 13px; }
.section-title { margin: 0 0 16px; font-size: clamp(27px, 3.2vw, 38px); font-weight: 750; letter-spacing: -.035em; }
.section-text { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

.grid-2, .artifact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3, .how-grid, .roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.card, .artifact-box, .how-card, .roadmap-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card h3, .artifact-box h3, .how-card h3, .roadmap-card h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; }
.card p, .artifact-box p, .how-card p, .roadmap-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.artifact-box { background: linear-gradient(130deg, #fffdfb, #f4e7db); }

.value-num, .how-step {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f5e7dc;
  color: var(--primary);
  font-size: 12px;
  font-weight: 750;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 17px;
  min-width: 0;
  padding: 30px;
  border: 1px solid #dfc5b2;
  border-radius: 25px;
  background: linear-gradient(145deg, #fffdfb, #f2e2d4);
  box-shadow: var(--shadow);
}

.product-top { display: flex; justify-content: space-between; gap: 12px; }
.product-badge, .roadmap-card .tag { display: inline-flex; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; background: #fffaf7; color: var(--primary); font-size: 10px; font-weight: 650; }
.product-title { margin: 0; font: 32px/1.15 Georgia, serif; letter-spacing: -.7px; }
.product-sub { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.product-meta { margin-bottom: 0; }
.product-price { padding: 7px 0; color: var(--primary-2); font-size: clamp(28px, 3.2vw, 39px); line-height: 1.15; font-weight: 750; letter-spacing: -.04em; }
.product-list { display: grid; gap: 9px; }
.product-item { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 13px; line-height: 1.7; }
.gift-box { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fffaf6; }
.gift-box strong { color: var(--text); font-size: 14px; }
.gift-box p { margin: 7px 0 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
.product-actions { margin-top: auto; padding-top: 6px; }
.product-actions .btn { flex: 1 1 auto; }

.pricing-note {
  margin-top: 20px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f5e8dd;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.accordion-wrap { display: grid; gap: 0; border-top: 1px solid var(--line); }
details.accordion { min-width: 0; border-bottom: 1px solid var(--line); }

details.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

details.accordion summary::-webkit-details-marker { display: none; }
.summary-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.summary-index { flex: 0 0 72px; color: #a77c64; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.summary-title { min-width: 0; line-height: 1.5; }
.summary-icon { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 50%; background: #fffaf6; color: var(--primary); font-size: 18px; font-weight: 400; }
details.accordion[open] .summary-icon { transform: rotate(45deg); }
details.accordion[open] .summary-title { color: var(--primary-2); }
.accordion-content { max-width: 900px; padding: 0 42px 22px 92px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.roadmap-card .tag { margin-bottom: 16px; }

.cta {
  margin-top: 68px;
  padding: 48px 32px;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: linear-gradient(125deg, #fffaf6, #f0dfd1);
  text-align: center;
}

.cta .eyebrow { margin-bottom: 16px; }
.cta h2 { max-width: 850px; margin: 0 auto 20px; font-size: clamp(27px, 3.2vw, 38px); font-weight: 750; }
.cta p { max-width: 780px; margin: 0 auto 26px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.cta-actions { justify-content: center; }
.footer-status { margin-top: 20px; color: var(--danger); font-size: 13px; }
.footer-status:empty { margin: 0; }

@media (hover: hover) {
  .btn:hover { background: #f2e3d6; }
  .btn.primary:hover { background: #8f4528; box-shadow: 0 10px 26px #a9553335; }
  details.accordion summary:hover .summary-title { color: var(--primary); }
}

@media (max-width: 1000px) {
  .topbar { flex-wrap: wrap; }
  .brand { max-width: none; flex-basis: 100%; }
  .top-actions { justify-content: flex-start; flex-basis: 100%; }
  .hero { gap: 26px; }
  .hero-side { padding: 24px; }
  .grid-3, .how-grid, .roadmap { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .page {
    padding-top: max(12px, env(safe-area-inset-top));
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .topbar { gap: 14px; padding-bottom: 20px; }
  .brand-title { font-size: 30px; }
  .brand-subtitle { font-size: 12px; }
  .top-actions { gap: 7px; }
  .top-actions .btn { flex: 1 1 140px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 30px; }
  .hero-title { font-size: 34px; }
  .hero-text { font-size: 15px; }
  .hero-kicker { font-size: 9px; margin-bottom: 18px; }
  .hero-actions .btn { flex: 1 1 160px; }
  .hero-side { margin-left: 6px; }
  .section { padding-top: 48px; }
  .grid-2, .artifact { grid-template-columns: 1fr; }
  .card, .artifact-box, .how-card, .roadmap-card { padding: 22px; border-radius: 20px; }
  .product-card { padding: 24px; border-radius: 22px; }
  .product-title { font-size: 29px; }
  .summary-left { gap: 10px; }
  .summary-index { flex-basis: 53px; font-size: 9px; }
  details.accordion summary { font-size: 14px; gap: 10px; padding-block: 18px; }
  .accordion-content { padding: 0 10px 20px 67px; font-size: 13px; }
  .cta { margin-top: 48px; padding: 32px 20px; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 360px) {
  .hero-title { font-size: 30px; }
  .product-card { padding: 20px; }
  .accordion-content { padding-left: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}