:root {
  --paper: #faf7f2;
  --paper-2: #eee8df;
  --panel: #f1e5d5;
  --card: #fffdfa;
  --ink: #3f3a5d;
  --ink-2: #625d7c;
  --ink-deep: #2c2843;
  --line: rgba(63, 58, 93, 0.16);
  --gold: #eba65c;
  --mauve: #76617b;
  --lavender: #a49ab6;
  --dark: #211e30;
  --dark-2: #363047;
  --dark-text: #eeeaf5;
  --danger: #a3352b;
  --radius: 14px;
  --display: Georgia, 'Times New Roman', serif;
  --body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: -0.025em; line-height: 1.06; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.8vw, 67px); line-height: 1.01; letter-spacing: -2.6px; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.35rem; }
h4 { font: 400 11px/1 var(--body); letter-spacing: 2px; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--ink-2); }
.eyebrow { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 56ch; }
section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.section-head p { max-width: 46ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 24px; border: 1px solid var(--ink); border-radius: 40px; background: var(--ink); color: var(--paper); font: 400 14px/1 var(--body); text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.btn:hover { background: var(--ink-deep); border-color: var(--ink-deep); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 11px 18px; font-size: 13px; }
.quiet { font-size: 13px; text-underline-offset: 5px; }
.btn-block { width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header */
#site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ribbon { background: var(--ink); color: var(--paper); text-align: center; font-size: 0.82rem; padding: 7px 16px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.logo { display: block; flex: none; }
.logo img { width: 116px; height: auto; }
.nav-links, .nav-auth { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 13px; }
.nav-links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-auth { gap: 18px; margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font: 400 13px var(--body); color: var(--ink); }

/* Hero: the kit's Warm editorial layout. Orb and pack are CSS artwork. */
.hero { padding: 0; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; min-height: 460px; }
.hero-copy { padding: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 44px) clamp(36px, 5vw, 64px) max(20px, calc((100vw - 1180px) / 2)); }
.hero .eyebrow { margin-bottom: 24px; }
.hero .lede { margin: 22px 0 28px; max-width: 40ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.art { position: relative; background: var(--paper-2); overflow: hidden; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.orb { position: absolute; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle at 30% 20%, #f8dfbd, var(--orb, #eba65c) 60%, #76617b); box-shadow: inset -20px -30px 60px #3f3a5d44; transform: translate(40px, 40px); }
.pack { position: relative; z-index: 1; width: 150px; height: 270px; border-radius: 7px; background: #faf7f2; color: var(--ink); box-shadow: 25px 30px 35px #3f3a5d33; transform: rotate(-12deg); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; line-height: 1.5; }
.pack img { width: 100%; height: auto; }
.pack span { border-top: 1px solid var(--line); padding-top: 12px; }
.art-float { position: absolute; z-index: 2; top: 30px; left: 20px; background: var(--paper); padding: 14px 18px; border-radius: 12px; box-shadow: 0 12px 35px #00000015; font-size: 12px; }
.art-label { position: absolute; bottom: 14px; right: 18px; font-size: 11px; color: var(--ink-2); }
.trust-strip { border-bottom: 1px solid var(--line); }
.trust-strip ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 25px; list-style: none; margin-block: 0; padding: 17px 0; font-size: 12px; }

/* Finder: the kit's Guided concierge panel */
.finder { background: var(--panel); border-radius: 25px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.finder h2 { font-size: 29px; margin: 8px 0 10px; }
.choice { background: var(--paper); border: 0; border-radius: 12px; padding: 17px 20px; text-align: left; display: flex; justify-content: space-between; font: 14px var(--body); color: var(--ink); cursor: pointer; }
.choice[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.finder .result { font-size: 13px; line-height: 1.5; min-height: 40px; margin-top: 6px; }

/* Cards & grids */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; display: block; }
a.card { transition: transform 0.18s, box-shadow 0.18s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(63, 58, 93, 0.1); }
.product-art { position: relative; overflow: hidden; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; aspect-ratio: 1 / 0.92; margin-bottom: 18px; container-type: inline-size; }
.product-art .orb { width: 70cqw; height: 70cqw; transform: translate(12cqw, 14cqw); --orb: var(--tint); }
.product-art .pack { width: 34cqw; height: 60cqw; padding: 4.5cqw; font-size: max(3.6cqw, 7px); border-radius: 1.6cqw; box-shadow: 5cqw 6cqw 8cqw #3f3a5d33; }
.product-art .pack span { padding-top: 2.5cqw; }
.product h3 { margin: 6px 0 4px; }
.price { margin-top: 14px; font: 400 1.3rem var(--display); }
.price span { font: 400 0.9rem var(--body); color: var(--ink-2); }

.cat { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 124px; background: var(--paper-2); border: 0; }
.cat span { font-size: 12px; }
.cat b { font-size: 17px; font-weight: 500; }

.band { background: var(--dark); color: var(--dark-text); }
.band .muted, .band .lede { color: rgba(238, 234, 245, 0.72); }
.band .eyebrow { color: var(--gold); }
.band .ticks li { color: var(--dark-text); }
.steps { counter-reset: step; }
.step { border-top: 1px solid rgba(238, 234, 245, 0.22); padding-top: 18px; }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font: 400 32px var(--display); opacity: 0.6; margin-bottom: 14px; }
.step h3 { margin-bottom: 10px; }
.light .step { border-color: var(--line); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font: 400 1.15rem var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; color: var(--gold); }
details[open] summary::after { content: '–'; }
details p { margin-top: 12px; color: var(--ink-2); max-width: 68ch; }

.cta-panel { background: var(--panel); border-radius: 25px; padding: clamp(32px, 6vw, 72px); text-align: center; }
.cta-panel .lede { margin: 16px auto 28px; }

/* Catalogue */
.page-head { padding: clamp(40px, 6vw, 72px) 0 28px; }
.page-head .lede { margin-top: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pill { border: 1px solid var(--line); border-radius: 40px; padding: 9px 16px; background: none; font: 400 13px var(--body); color: var(--ink); cursor: pointer; text-decoration: none; }
.pill[aria-current='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding: clamp(32px, 5vw, 64px) 0; }
.pdp .product-art { aspect-ratio: 1; border-radius: 25px; margin: 0; position: sticky; top: 140px; }
.pdp h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 10px 0 12px; }
.pdp .price { font-size: 1.7rem; margin: 22px 0; }
.note { background: var(--paper-2); border-radius: 12px; padding: 16px 18px; font-size: 0.9rem; color: var(--ink-2); margin-top: 22px; }
.note strong { color: var(--ink); }

/* Forms */
.auth { min-height: calc(100vh - 130px); display: grid; place-items: start center; padding: clamp(32px, 6vw, 72px) 0; }
.panel { width: min(560px, 100% - 40px); background: var(--card); border: 1px solid var(--line); border-radius: 25px; padding: clamp(24px, 4vw, 40px); }
.panel h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.panel .lede { font-size: 1rem; margin: 10px 0 26px; }
.field { margin-bottom: 18px; }
.field > label, .field > legend { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 7px; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
input[type='text'], input[type='email'], input[type='password'], input[type='tel'], input[type='date'], input[type='number'], select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 1rem var(--body); color: var(--ink);
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 8px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--panel); }
.opt input { margin-top: 3px; accent-color: var(--ink); flex: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-2); margin: 6px 0 22px; }
.check input { margin-top: 3px; accent-color: var(--ink); flex: none; }
.err { color: var(--danger); font-size: 0.88rem; margin-top: 6px; }
.form-error { background: #f6e4e0; color: var(--danger); border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; font-size: 0.93rem; }
.form-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.alt { text-align: center; margin-top: 20px; font-size: 0.93rem; color: var(--ink-2); }
.progress { display: flex; gap: 6px; margin-bottom: 26px; }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.progress i.on { background: var(--gold); }
[hidden] { display: none !important; }

/* Account */
.timeline { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.timeline li { border-top: 3px solid var(--line); padding-top: 12px; font-size: 0.9rem; color: var(--ink-2); }
.timeline li.done { border-color: var(--ink); color: var(--ink); }
.timeline li.now { border-color: var(--gold); color: var(--ink); font-weight: 700; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin-top: 16px; font-size: 0.95rem; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; }

/* Legal */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.7rem; margin: 48px 0 14px; scroll-margin-top: 150px; }
.prose p { margin-bottom: 14px; color: var(--ink-2); }

/* Footer */
#site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid a:not(.logo) { display: block; text-decoration: none; margin-bottom: 9px; font-size: 0.95rem; }
.footer-grid a:not(.logo):hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-grid p { margin-top: 14px; max-width: 30ch; font-size: 0.95rem; }
.fineprint { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-2); display: grid; gap: 10px; }

@media (max-width: 900px) {
  .hero-grid, .split, .pdp { grid-template-columns: 1fr; }
  .hero-copy { padding-inline: 20px; }
  .art { min-height: 300px; }
  .nav { height: 76px; }
  .logo img { width: 96px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pdp .product-art { position: static; }
  .timeline { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 20px 26px; background: var(--paper); border-bottom: 1px solid var(--line); }
  #site-header.open .nav-links { display: flex; }
  .nav-auth { margin-left: 0; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .row, .footer-grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

section[id] { scroll-margin-top: 130px; }
