:root {
  --ink: #f6f3ed;
  --muted: #aaa7a0;
  --cream: #121212;
  --paper: #202020;
  --gold: #dfb72a;
  --gold-light: #f2d26c;
  --green: #171717;
  --line: #3a3a38;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; }
button, input { font: inherit; }
.page-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar { height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 20px; letter-spacing: -.5px; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(223, 183, 42, .2)); }
.topbar-label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; }
.hero { min-height: 265px; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 38px 4%; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
h1 { max-width: 700px; margin: 0; font: 700 clamp(38px, 5vw, 62px)/1.02 "Playfair Display"; letter-spacing: -2px; }
.hero-copy { max-width: 650px; margin: 18px 0 0; color: var(--muted); line-height: 1.6; }
.gold-orbit { position: relative; flex: 0 0 125px; height: 125px; display: grid; place-items: center; border: 1px solid #776726; border-radius: 50%; color: var(--gold); }
.gold-orbit::before, .gold-orbit::after { content: ""; position: absolute; inset: 12px; border: 1px solid #4d4528; border-radius: 50%; transform: rotate(35deg) scaleX(.52); }
.gold-orbit::after { transform: rotate(-35deg) scaleX(.52); }
.gold-orbit span { font: 600 34px "Playfair Display"; }
.gold-orbit small { position: absolute; top: 25px; right: 29px; font-size: 10px; }
.calculator-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: start; padding-bottom: 45px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .24); }
.input-card { padding: 30px; }
.result-card { overflow: hidden; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.card-heading > div { display: flex; align-items: center; gap: 12px; }
.card-heading h2 { margin: 0; font: 600 21px "Playfair Display"; }
.step { color: var(--gold); font-size: 11px; font-weight: 700; }
.text-button { padding: 0; border: 0; border-bottom: 1px solid #c7b37f; color: #7e642b; background: none; cursor: pointer; font-size: 12px; }
.section-label { margin: 24px 0 12px; color: #89908c; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { color: #d3d0c9; font-size: 13px; font-weight: 600; }
.input-wrap { height: 52px; display: flex; align-items: center; border: 1px solid #484846; border-radius: 10px; background: #171717; transition: .2s; }
.input-wrap:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,138,47,.12); }
.input-wrap input { width: 100%; min-width: 0; padding: 0 8px 0 15px; border: 0; outline: 0; background: transparent; color: var(--ink); font-weight: 700; }
.input-wrap em { padding-right: 15px; color: #99968f; font-size: 12px; font-style: normal; }
.input-wrap.prefix em { padding: 0 0 0 15px; }.input-wrap.prefix input { padding-left: 8px; }
.toggle-row { margin-top: 22px; padding: 17px; display: flex; align-items: center; gap: 14px; border: 1px solid #383836; border-radius: 11px; background: #181818; cursor: pointer; }
.toggle-row > span:first-child { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.toggle-row small { color: var(--muted); line-height: 1.4; }
.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle { position: relative; width: 42px; height: 24px; border-radius: 20px; background: #b9bfbc; transition: .2s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: white; transition: .2s; }
.toggle-row input:checked + .toggle { background: var(--gold); }.toggle-row input:checked + .toggle::after { transform: translateX(18px); }
.disclaimer { margin-top: 18px; padding: 16px 17px; border-left: 3px solid var(--gold); border-radius: 0 9px 9px 0; background: #28251b; color: #aaa79f; }
.disclaimer > strong { display: block; margin-bottom: 8px; color: var(--gold-light); font-size: 11px; letter-spacing: .7px; text-transform: uppercase; }
.disclaimer p { margin: 6px 0 0; font-size: 10px; line-height: 1.55; }
.disclaimer sup { color: var(--gold); font-weight: 700; }
.result-heading { margin: 0; padding: 29px 30px 22px; }
.status { padding: 6px 9px; border-radius: 20px; color: #f1cf61; background: #38301b; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.total-block { padding: 26px 30px 28px; color: white; border-block: 1px solid #3a3524; background: #171717; }
.total-block span, .total-block small { display: block; color: #aaa79f; font-size: 12px; }
.total-block strong { display: block; margin: 5px 0 4px; color: var(--gold-light); font: 700 clamp(35px, 4vw, 48px) "Playfair Display"; letter-spacing: -1px; }
.weight-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1.1fr; align-items: center; gap: 8px; margin: 25px 24px; }
.weight-flow div { padding: 12px 5px; text-align: center; }
.weight-flow span { display: block; color: var(--muted); font-size: 10px; }.weight-flow strong { display: block; margin-top: 4px; font-size: 14px; }
.weight-flow .highlight { border: 1px solid #6b5923; border-radius: 8px; background: #2b271a; }.weight-flow .highlight span, .weight-flow .highlight strong { color: var(--gold-light); }
.flow-plus, .flow-equals { color: #b3aaa0 !important; font-size: 16px !important; }
.breakdown { margin: 0 30px; border-top: 1px solid var(--line); }
.breakdown-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.breakdown-row > span { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; }
.breakdown-row small { grid-column: 2; margin-top: 3px; color: var(--muted); font-size: 10px; }
.breakdown-row strong { white-space: nowrap; font-size: 14px; }
.dot { width: 7px; height: 7px; border-radius: 50%; }.dot.gold { background: var(--gold); }.dot.fee { background: #d7c173; }.dot.labor { background: #f1e3ad; }
.inventory-note { display: flex; gap: 11px; margin: 24px 30px 30px; padding: 14px; border: 1px solid #383836; border-radius: 9px; background: #181818; }
.note-icon { flex: 0 0 19px; height: 19px; display: grid; place-items: center; border: 1px solid #9aa29e; border-radius: 50%; color: #6b7570; font: 700 11px serif; }
.inventory-note p { margin: 0; font-size: 11px; line-height: 1.45; }.inventory-note p span { color: var(--muted); }
.partner-cta { display: grid; grid-template-columns: .55fr 1.65fr .8fr; gap: 36px; align-items: center; margin: 8px 0 45px; padding: 34px 38px; border: 1px solid #4a432e; border-radius: 16px; color: white; background: linear-gradient(120deg, #1b1b1b, #272318); box-shadow: 0 18px 45px rgba(0, 0, 0, .22); }
.partner-cta-label { align-self: start; padding-top: 6px; color: #e1c985; font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.partner-cta-content h2 { margin: 0 0 11px; color: #f2d995; font: 600 25px/1.2 "Playfair Display"; }
.partner-cta-content p { margin: 0; color: #c3d0cc; font-size: 12px; line-height: 1.65; }
.partner-cta-action { padding: 15px 18px; border: 1px solid rgba(234, 213, 158, .45); border-radius: 9px; }
.partner-cta-action span, .partner-cta-action small { display: block; }
.partner-cta-action span { color: #f2d995; font-size: 12px; font-weight: 700; }
.partner-cta-action small { margin-top: 4px; color: #aebfba; font-size: 9px; }
footer { display: flex; justify-content: space-between; padding: 24px 0 38px; border-top: 1px solid var(--line); color: #85827c; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 850px) { .calculator-grid { grid-template-columns: 1fr; }.hero { padding-inline: 0; }.gold-orbit { display: none; }.partner-cta { grid-template-columns: 1fr; gap: 16px; }.partner-cta-label { padding: 0; } }
@media (max-width: 520px) { .page-shell { width: min(100% - 24px, 1180px); }.topbar-label { display: none; }.hero { min-height: 245px; }.field-grid { grid-template-columns: 1fr; }.input-card { padding: 22px 18px; }.result-heading, .total-block { padding-inline: 20px; }.breakdown { margin-inline: 20px; }.inventory-note { margin-inline: 20px; }.weight-flow { margin-inline: 14px; gap: 3px; }.weight-flow div { padding-inline: 2px; }.partner-cta { padding: 26px 22px; }.partner-cta-content h2 { font-size: 22px; } footer { flex-direction: column; gap: 10px; } }
