:root {
  --ink: #171512;
  --muted: #716b63;
  --paper: #fffdf9;
  --cream: #f7f2e9;
  --line: #e5ddd0;
  --gold: #9a7740;
  --gold-dark: #725429;
  --purple: #1d0085;
  --green: #0e8a52;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 12% 0%, #fff 0, transparent 32rem), var(--cream); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.demo-header {
  min-height: 72px; display: flex; align-items: center; gap: 24px; padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px);
}
.demo-brand img { display: block; width: 150px; height: auto; }
.demo-header-copy { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.demo-pill, .new-lead-badge, .hot-badge { border-radius: 999px; font-weight: 700; }
.demo-pill { color: var(--gold-dark); background: #f5ecdc; padding: 7px 10px; text-transform: uppercase; font-size: 10px; letter-spacing: .1em; }
.demo-header-link { color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; margin-left: auto; }

main { padding: 0 clamp(12px, 3vw, 42px) 64px; }
.intro { max-width: 1440px; margin: 0 auto; padding: clamp(38px, 6vw, 76px) 0 32px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: end; gap: 48px; }
.eyebrow, .step-heading p, .lead-kicker, .design-summary > p, .intent-copy > p, .timeline-heading p, .why-card > p, .crm-titlebar p {
  margin: 0; color: var(--gold-dark); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.intro h1 { max-width: 850px; margin: 8px 0 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(40px, 5vw, 70px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.intro > p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 15px; }

.experience-shell { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 18px; align-items: start; }
.guide { position: sticky; top: 90px; padding: 24px; border: 1px solid #2b2450; border-radius: 24px; background: linear-gradient(145deg, #211b3f, #141126); color: white; box-shadow: 0 22px 48px rgba(25, 17, 50, .18); }
.guide-topline { display: flex; align-items: center; gap: 9px; color: #d9cffc; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.guide-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #3d2e7f; color: #e6dcff; }
.guide-count { margin: 26px 0 8px; color: #b4a7e3; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.guide h2 { margin: 0; font-size: 23px; line-height: 1.15; }
.guide > p:not(.guide-count) { color: #c9c4d5; font-size: 13px; line-height: 1.65; }
.guide-capture { margin-top: 26px; border: 1px solid #3d355d; background: rgba(255,255,255,.05); border-radius: 15px; padding: 14px; display: flex; gap: 10px; align-items: flex-start; }
.status-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 4px; border-radius: 50%; background: #9e98ad; box-shadow: 0 0 0 4px rgba(255,255,255,.07); }
.status-dot.live { background: #35d58a; box-shadow: 0 0 0 4px rgba(53,213,138,.15); }
.guide-capture strong, .guide-capture span { display: block; }
.guide-capture strong { font-size: 12px; }
.guide-capture span { margin-top: 4px; color: #aaa3b8; font-size: 11px; line-height: 1.45; }
.guide-skip { width: 100%; margin-top: 12px; padding: 10px 0; border: 0; background: transparent; color: #d9cffc; text-align: left; font-size: 11px; font-weight: 700; }

.builder, .retailer-view { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: 0 18px 60px rgba(60, 47, 26, .09); }
.store-header { min-height: 86px; display: flex; align-items: center; gap: 13px; padding: 14px clamp(16px, 3vw, 32px); border-bottom: 1px solid var(--line); background: #fff; }
.store-mark { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-dark); font-weight: 800; }
.store-header div { min-width: 0; }
.store-header strong, .store-name { display: block; }
.store-name { color: var(--gold-dark); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.store-header strong { margin-top: 3px; font-family: "Playfair Display", Georgia, serif; font-size: 20px; }
.private-label { margin-left: auto; color: var(--muted); font-size: 12px; }
.private-label::before { content: "◇"; color: var(--gold); margin-right: 6px; }

.progress { padding: 22px clamp(18px, 4vw, 48px) 8px; }
.progress-bar { height: 5px; overflow: hidden; border-radius: 999px; background: #ece5da; }
.progress-bar span { display: block; height: 100%; width: 25%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-dark), #c4a46d); transition: width .35s ease; }
.progress ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.progress li { display: flex; align-items: center; gap: 8px; color: #a19a91; font-size: 12px; font-weight: 700; }
.progress li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eee8df; color: #8d867e; }
.progress li.active { color: var(--ink); }
.progress li.active span { background: var(--gold); color: white; }

.builder-body { min-height: 610px; padding: 18px clamp(14px, 4vw, 48px) 28px; }
.builder-step { animation: reveal .3s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
.step-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.step-heading h2 { margin: 5px 0 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(27px, 3vw, 40px); line-height: 1.05; }
.step-heading > span { max-width: 310px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: right; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice-card { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; color: var(--ink); text-align: left; transition: transform .2s, border-color .2s, box-shadow .2s; }
.choice-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(43,34,18,.08); }
.choice-card.selected { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--gold); }
.choice-card img { display: block; width: 100%; height: 128px; object-fit: contain; background: #fff; }
.style-grid .choice-card img { height: 150px; }
.choice-copy { display: block; min-height: 62px; padding: 11px 13px; background: #fffdf9; }
.choice-copy strong, .choice-copy small { display: block; }
.choice-copy strong { padding-right: 22px; font-size: 13px; }
.choice-copy small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.choice-check { display: none; position: absolute; right: 11px; bottom: 37px; width: 20px; height: 20px; border-radius: 50%; place-items: center; background: var(--gold); color: white; font-size: 12px; }
.choice-card.selected .choice-check { display: grid; }
.metal-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.metal-button, .diamond-type button, .quick-carats button { border: 1px solid var(--line); border-radius: 999px; background: white; color: #4c463f; font-size: 12px; font-weight: 700; }
.metal-button { display: flex; align-items: center; gap: 8px; padding: 9px 13px; }
.metal-button.active, .diamond-type button.active, .quick-carats button.active { border-color: var(--gold); background: var(--gold); color: white; }
.metal-swatch { width: 17px; height: 17px; border-radius: 50%; box-shadow: inset 0 0 4px rgba(0,0,0,.2); }
.swatch-yg { background: linear-gradient(135deg,#fff0b6,#c99331,#80611f); }
.swatch-wg { background: linear-gradient(135deg,#fff,#cfd4da,#818892); }
.swatch-rg { background: linear-gradient(135deg,#ffd2c8,#cf9185,#8d5d55); }

.details-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 16px; }
.details-card, .notes-card, .design-summary, .lead-form { border: 1px solid var(--line); border-radius: 22px; background: #fbf9f5; padding: 20px; }
.current-design { display: flex; align-items: center; gap: 13px; padding: 10px; border: 1px solid #ece3d6; border-radius: 17px; background: white; }
.current-design img { width: 102px; height: 78px; object-fit: contain; }
.current-design span, .current-design strong, .current-design small { display: block; }
.current-design span { color: var(--gold-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.current-design strong { margin-top: 3px; font-family: "Playfair Display", Georgia, serif; font-size: 17px; }
.current-design small { margin-top: 3px; color: var(--muted); }
.diamond-type { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.diamond-type button { padding: 9px; }
.carat-label { display: flex; justify-content: space-between; align-items: end; margin-top: 20px; color: var(--muted); font-size: 12px; }
.carat-label strong { color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 28px; }
#carat-range { width: 100%; margin: 18px 0 12px; accent-color: var(--gold); }
.quick-carats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.quick-carats button { padding: 7px 3px; font-size: 10px; }
.budget-card { margin-top: 16px; padding: 15px; border: 1px solid #eadfcb; border-radius: 17px; background: white; }
.budget-card span, .budget-card strong, .budget-card small { display: block; }
.budget-card span { color: var(--gold-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.budget-card strong { margin-top: 6px; font-family: "Playfair Display", Georgia, serif; font-size: 24px; }
.budget-card small { margin-top: 5px; color: var(--muted); }
.notes-card { display: block; background: white; }
.notes-card > span, .notes-card > strong { display: block; }
.notes-card > span { color: var(--muted); font-size: 12px; }
.notes-card > strong { margin-top: 5px; font-family: "Playfair Display", Georgia, serif; font-size: 26px; }
.notes-card textarea { width: 100%; min-height: 245px; margin-top: 16px; padding: 15px; resize: vertical; border: 1px solid var(--line); border-radius: 17px; outline: 0; background: #fbf9f5; line-height: 1.55; }
.notes-card textarea:focus, .lead-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(154,119,64,.12); }
.notes-card small { display: block; margin-top: 10px; color: var(--muted); line-height: 1.5; }

.save-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.design-summary { text-align: center; background: #fbf9f5; }
.design-summary img { display: block; width: 100%; height: 240px; object-fit: contain; }
.design-summary h3 { margin: 8px 0 0; font-family: "Playfair Display", Georgia, serif; font-size: 28px; }
.summary-chips, .intent-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.summary-chips { justify-content: center; margin-top: 14px; }
.summary-chips span, .intent-specs span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: white; color: #5f5850; font-size: 10px; font-weight: 700; }
.summary-note { color: var(--muted); font-size: 12px; line-height: 1.55; }
.lead-form { background: white; }
.lead-form h3 { margin: 5px 0 8px; font-family: "Playfair Display", Georgia, serif; font-size: 28px; }
.lead-benefits { color: #3d3a35; font-size: 11px; line-height: 1.7; }
.lead-form label { display: block; margin: 12px 0 6px; font-size: 11px; font-weight: 700; }
.lead-form label span { color: var(--muted); font-weight: 500; }
.lead-form input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #dcd3c6; border-radius: 12px; outline: 0; background: #fff; }
.lead-form input[aria-invalid="true"] { border-color: #b62424; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--gold-dark); color: white; font-size: 12px; font-weight: 800; text-decoration: none; transition: transform .2s, opacity .2s; }
.primary-button:hover { transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; opacity: .55; }
.lead-form .primary-button { width: 100%; margin-top: 18px; }
.consent { color: var(--muted); font-size: 9px; line-height: 1.5; text-align: center; }
.form-status { min-height: 18px; margin: 8px 0 0; color: #a42121; font-size: 11px; text-align: center; }

.builder-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px clamp(18px, 4vw, 48px); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); }
.back-button { min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: white; color: #4d473f; font-size: 12px; font-weight: 700; }
.back-button:disabled { visibility: hidden; }

.retailer-view { min-height: 760px; background: #f5f6f8; }
.crm-header { height: 72px; display: flex; align-items: center; gap: 32px; padding: 0 24px; background: #171329; color: white; }
.crm-header img { display: block; width: 128px; }
.crm-header nav { display: flex; gap: 6px; }
.crm-header nav span { padding: 10px 12px; border-radius: 8px; color: #bcb8c8; font-size: 12px; }
.crm-header nav .active { background: #2d2551; color: white; }
.associate-avatar { display: grid; place-items: center; width: 34px; height: 34px; margin-left: auto; border-radius: 50%; background: #eee9ff; color: var(--purple); font-size: 11px; font-weight: 800; }
.crm-body { padding: 28px; }
.crm-titlebar { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.crm-titlebar h2 { margin: 5px 0 0; font-size: 30px; }
.new-lead-badge { padding: 8px 11px; background: #ddf5e8; color: #087243; font-size: 10px; }
.crm-grid { display: grid; grid-template-columns: .9fr 1.1fr .65fr; gap: 14px; }
.customer-card, .intent-card, .timeline-card, .why-card { border: 1px solid #e2e4e8; border-radius: 16px; background: white; box-shadow: 0 6px 20px rgba(28,31,38,.04); }
.customer-card { padding: 18px; }
.customer-card-top { display: flex; align-items: center; gap: 10px; }
.customer-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #ede9ff; color: var(--purple); font-size: 12px; font-weight: 800; }
.customer-card h3 { margin: 0; font-size: 15px; }
.customer-card p { margin: 3px 0 0; color: #747884; font-size: 10px; }
.hot-badge { margin-left: auto; padding: 5px 7px; background: #fff1dc; color: #955600; font-size: 9px; }
.contact-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 16px; }
.contact-actions button { padding: 8px 4px; border: 1px solid #e2e4e8; border-radius: 8px; background: white; color: #383b43; font-size: 10px; font-weight: 700; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 0; }
.contact-details dt { color: #8a8d95; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.contact-details dd { overflow: hidden; margin: 4px 0 0; color: #30323a; font-size: 10px; font-weight: 700; text-overflow: ellipsis; }
.intent-card { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; }
.intent-image { display: grid; place-items: center; min-height: 250px; background: #faf8f3; }
.intent-image img { width: 100%; height: 220px; object-fit: contain; }
.intent-copy { padding: 18px; }
.intent-copy h3 { margin: 6px 0 12px; font-family: "Playfair Display", Georgia, serif; font-size: 21px; }
.intent-copy blockquote { margin: 14px 0 0; padding: 11px; border-left: 3px solid #b28b4d; border-radius: 0 8px 8px 0; background: #f8f5ee; color: #666059; font-size: 10px; line-height: 1.6; }
.timeline-card { grid-column: 1 / 3; padding: 18px; }
.timeline-heading { display: flex; justify-content: space-between; gap: 12px; }
.timeline-heading h3 { margin: 4px 0 0; font-size: 17px; }
.timeline-heading > span { color: var(--green); font-size: 9px; font-weight: 700; }
.timeline-card ol { margin: 18px 0 0; padding: 0; list-style: none; }
.timeline-card li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #edeef1; }
.timeline-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: #dff5e9; color: var(--green); font-size: 10px; font-weight: 800; }
.timeline-card li.pending .timeline-icon { background: #eee9ff; color: var(--purple); }
.timeline-card strong, .timeline-card small { display: block; }
.timeline-card strong { font-size: 11px; }
.timeline-card small, .timeline-card time { margin-top: 3px; color: #868993; font-size: 9px; }
.why-card { grid-column: 3; grid-row: 1 / 3; padding: 20px; background: #18152a; color: white; }
.why-card > p { color: #cfc5f9; }
.why-card ul { margin: 20px 0 24px; padding: 0; list-style: none; }
.why-card li { display: flex; align-items: center; gap: 9px; padding: 11px 0; border-bottom: 1px solid #39334b; color: #dedbe6; font-size: 11px; }
.why-card li span { color: #9689cc; font-size: 9px; font-weight: 800; }
.why-card .primary-button { width: 100%; background: #7055d7; }
.replay-button { width: 100%; margin-top: 10px; padding: 8px; border: 0; background: transparent; color: #b8b2c4; font-size: 10px; }

@media (max-width: 1100px) {
  .experience-shell { grid-template-columns: 1fr; }
  .guide { position: static; display: grid; grid-template-columns: auto 1fr auto; column-gap: 18px; align-items: center; padding: 18px 20px; }
  .guide-topline, .guide-count { grid-column: 1; margin: 0; }
  .guide h2, .guide > p:not(.guide-count) { grid-column: 2; }
  .guide h2 { grid-row: 1; }
  .guide > p:not(.guide-count) { grid-row: 2; margin: 3px 0 0; }
  .guide-capture { grid-column: 3; grid-row: 1 / 3; width: 230px; margin: 0; }
  .guide-skip { display: none; }
  .crm-grid { grid-template-columns: .9fr 1.1fr; }
  .why-card { grid-column: 1 / 3; grid-row: auto; }
  .why-card ul { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
  .why-card li { border: 0; }
}

@media (max-width: 760px) {
  .demo-header { min-height: 62px; padding: 10px 15px; }
  .demo-brand img { width: 124px; }
  .demo-header-copy span:not(.demo-pill), .demo-header-link { display: none; }
  .intro { grid-template-columns: 1fr; gap: 16px; padding: 30px 3px 22px; }
  .intro h1 { font-size: clamp(36px, 12vw, 51px); }
  .intro > p { font-size: 13px; }
  main { padding-left: 8px; padding-right: 8px; }
  .guide { grid-template-columns: 1fr auto; gap: 8px; border-radius: 18px; }
  .guide-topline { grid-column: 1; }
  .guide-count { grid-column: 2; grid-row: 1; }
  .guide h2 { grid-column: 1 / 3; grid-row: 2; font-size: 18px; }
  .guide > p:not(.guide-count) { grid-column: 1 / 3; grid-row: 3; }
  .guide-capture { display: none; }
  .builder, .retailer-view { border-radius: 20px; }
  .store-header { min-height: 72px; padding: 10px 14px; }
  .store-mark { width: 44px; height: 44px; }
  .store-header strong { font-size: 16px; }
  .private-label { display: none; }
  .progress { padding: 16px 13px 5px; }
  .progress li { justify-content: center; font-size: 0; }
  .progress li span { width: 25px; height: 25px; font-size: 10px; }
  .builder-body { min-height: 560px; padding: 16px 10px 22px; }
  .step-heading { display: block; margin: 0 4px 18px; }
  .step-heading > span { display: block; margin-top: 7px; text-align: left; }
  .choice-grid { gap: 6px; }
  .choice-card { border-radius: 14px; }
  .choice-card img, .style-grid .choice-card img { height: 84px; }
  .choice-copy { min-height: 56px; padding: 8px; }
  .choice-copy strong { font-size: 11px; }
  .choice-copy small { font-size: 8px; }
  .choice-check { right: 6px; bottom: 31px; width: 17px; height: 17px; }
  .metal-button { flex: 1; justify-content: center; padding: 8px 5px; font-size: 10px; }
  .details-grid, .save-grid { grid-template-columns: 1fr; }
  .details-card, .notes-card, .design-summary, .lead-form { padding: 14px; border-radius: 17px; }
  .notes-card textarea { min-height: 150px; }
  .design-summary img { height: 160px; }
  .builder-actions { position: sticky; bottom: 0; z-index: 8; padding: 11px 13px calc(11px + env(safe-area-inset-bottom)); }
  .crm-header { height: 60px; padding: 0 14px; }
  .crm-header nav { display: none; }
  .crm-body { padding: 14px; }
  .crm-titlebar { align-items: start; }
  .crm-titlebar h2 { font-size: 23px; }
  .crm-grid { grid-template-columns: 1fr; }
  .intent-card { grid-template-columns: 1fr; }
  .intent-image { min-height: 190px; }
  .intent-image img { height: 180px; }
  .timeline-card, .why-card { grid-column: 1; }
  .why-card ul { grid-template-columns: 1fr 1fr; }
}

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