:root {
  color-scheme: dark;
  --ink: #070611;
  --ink-soft: #100c22;
  --panel: rgba(20, 14, 38, .88);
  --violet: #8f5dc5;
  --cyan: #66d5d8;
  --gold: #d9b864;
  --gold-bright: #f4dfa1;
  --cream: #f6f0e4;
  --muted: #c9bfd0;
  --line: rgba(217, 184, 100, .27);
  --display: "Cinzel Decorative", "Cormorant Garamond", Georgia, serif;
  --body: "Cinzel", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--ink); color: var(--cream); font-family: var(--body); line-height: 1.75; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; z-index: 1000; top: 1rem; left: 1rem; transform: translateY(-180%); padding: .7rem 1rem; background: var(--cream); color: var(--ink); }
.skip-link:focus { transform: none; }
.cosmos { position: fixed; z-index: -2; inset: 0; overflow: hidden; background: radial-gradient(circle at 78% 15%, rgba(65, 94, 160, .2), transparent 28%), radial-gradient(circle at 16% 32%, rgba(112, 45, 132, .2), transparent 33%), var(--ink); pointer-events: none; }
.cosmos::after { content: ""; position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(circle at 12% 18%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 73% 31%, #8be4e4 0 1px, transparent 1.5px), radial-gradient(circle at 41% 78%, #f4dfa1 0 1px, transparent 1.5px); background-size: 270px 230px, 360px 320px, 410px 370px; }
.cosmos span { position: absolute; border: 1px solid rgba(217,184,100,.1); border-radius: 50%; animation: orbit 28s linear infinite; }
.cosmos span:nth-child(1) { width: 32rem; height: 32rem; top: 3rem; right: -10rem; }
.cosmos span:nth-child(2) { width: 18rem; height: 18rem; top: 10rem; right: -3rem; animation-direction: reverse; }
.cosmos span:nth-child(3) { width: 45rem; height: 45rem; bottom: -25rem; left: -18rem; }
.topbar { position: relative; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 74px; padding: 0 clamp(1rem, 5vw, 4.5rem); border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(7,6,17,.72); backdrop-filter: blur(15px); }
.topbar a { min-height: 44px; display: flex; align-items: center; gap: .55rem; font-size: .75rem; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.back-link span { color: var(--gold); font-size: 1.2rem; }
.wordmark { justify-self: center; font-family: var(--display); font-size: 1rem !important; color: var(--gold-bright); }
.wordmark span { font-size: 1.3rem; }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 1.2rem; }
.account-link { min-height: 38px !important; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-bright); }
.intro-section { width: min(1240px, calc(100% - 2rem)); min-height: calc(100svh - 74px); display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.eyebrow { margin: 0 0 1rem; color: var(--gold-bright); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); }
h1 { margin: 0; font-size: clamp(3rem, 6.4vw, 6rem); font-weight: 400; letter-spacing: -.025em; line-height: .98; }
h1 em { color: var(--gold-bright); font-style: normal; }
.lead { max-width: 39rem; margin: 1.8rem 0; color: var(--muted); font-size: 1rem; }
.trust-note { display: flex; align-items: flex-start; gap: .75rem; max-width: 34rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.trust-note span { color: var(--cyan); }
.trust-note p { margin: 0; color: #bcb2c3; font-size: .75rem; }
.calculator-shell { position: relative; padding: clamp(1.5rem, 4vw, 2.7rem); border: 1px solid var(--line); border-radius: 1.25rem; background: linear-gradient(145deg, rgba(31,22,55,.94), rgba(12,9,24,.96)); box-shadow: 0 35px 90px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.04); }
.calculator-shell::before { content: ""; position: absolute; top: -1px; left: 15%; width: 70%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.step { color: var(--cyan); font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; }
.shell-heading h2 { margin: .5rem 0 .4rem; font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 400; }
.shell-heading p { margin: 0 0 1.6rem; color: var(--muted); font-size: .78rem; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: flex; flex-direction: column; gap: .4rem; }
label.wide, form button { grid-column: 1 / -1; }
label > span { color: var(--gold-bright); font-size: .72rem; letter-spacing: .06em; }
label small { color: #a79bad; font-size: .65rem; line-height: 1.45; }
input { width: 100%; min-height: 50px; padding: .75rem 1rem; border: 1px solid rgba(217,184,100,.2); border-radius: .45rem; outline: none; background: rgba(5,4,12,.65); color: var(--cream); font-size: .85rem; transition: .25s ease; }
input::placeholder { color: #736a78; }
input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(102,213,216,.1); }
form button { min-height: 54px; display: flex; justify-content: center; align-items: center; gap: .8rem; margin-top: .5rem; border: 1px solid var(--gold); border-radius: 999px; background: linear-gradient(90deg, #b9873d, var(--gold-bright), #bd8d45); color: #1c1121; font-weight: 600; letter-spacing: .06em; cursor: pointer; transition: .25s ease; }
form button:hover, form button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 35px rgba(217,184,100,.22); }
.results-section { position: relative; width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 7rem 0; }
.results-section[hidden] { display: none; }
.result-heading { max-width: 780px; }
.result-heading h2, .section-heading h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 400; line-height: 1.1; }
.result-heading > p:last-child, .section-heading > p:last-child { color: var(--muted); }
.number-orbit { position: absolute; top: 5rem; right: 2rem; width: 10rem; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 50px rgba(143,93,197,.14); }
.number-orbit::before, .number-orbit::after { content: ""; position: absolute; border: 1px solid rgba(102,213,216,.22); border-radius: 50%; }
.number-orbit::before { inset: 12%; }
.number-orbit::after { inset: -8%; border-style: dashed; animation: orbit 24s linear infinite; }
.number-orbit span { color: var(--gold-bright); font-family: var(--display); font-size: 4rem; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 1rem; margin-top: 4rem; }
.result-card { min-height: 275px; padding: 0; overflow: hidden; border: 1px solid rgba(217,184,100,.2); border-radius: .9rem; background: var(--panel); transition: border-color .25s ease, transform .25s ease; }
.result-card.primary { border-color: rgba(217,184,100,.55); background: linear-gradient(145deg, rgba(59,39,76,.92), rgba(18,12,31,.96)); }
.result-card:hover { border-color: rgba(217,184,100,.58); transform: translateY(-2px); }
.result-summary { position: relative; width: 100%; min-height: 273px; display: block; padding: 1.5rem; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.result-title { display: block; padding-right: 2rem; }
.result-title small, .result-title strong { display: block; }
.result-title small { margin-bottom: .2rem; color: var(--gold); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.result-title strong { font-family: var(--display); font-size: 1.4rem; font-weight: 400; }
.result-copy { display: block; margin-top: .65rem; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.result-number { display: inline-grid; place-items: center; width: 3.7rem; height: 3.7rem; margin-bottom: 1.25rem; border: 1px solid rgba(217,184,100,.5); border-radius: 50%; color: var(--gold-bright); font-family: var(--display); font-size: 1.75rem; }
.result-action { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--gold-bright); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.result-action b { font-size: 1rem; transition: transform .2s ease; }
.result-summary:hover .result-action b { transform: translate(2px, -2px); }
.result-card h3 { margin: 0 0 .55rem; font-size: 1.45rem; font-weight: 400; }
.result-card p { margin: 0; color: var(--muted); font-size: .78rem; }
.result-card .keywords { display: block; margin-top: .9rem; color: var(--cyan); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.result-modal { width: min(760px, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 0; overflow: auto; border: 1px solid rgba(217,184,100,.5); border-radius: 1.2rem; background: #110c20; color: var(--cream); box-shadow: 0 35px 120px #000c, 0 0 55px rgba(143,93,197,.18); }
.result-modal::backdrop { background: rgba(3,2,8,.82); backdrop-filter: blur(8px); }
.modal-shell { position: relative; padding: clamp(1.5rem, 5vw, 3rem); background: radial-gradient(circle at 85% 5%, rgba(102,213,216,.12), transparent 30%), linear-gradient(145deg, rgba(44,30,64,.94), rgba(12,8,23,.98)); }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(5,4,12,.55); color: var(--gold-bright); font-size: 1.5rem; cursor: pointer; }
.modal-heading { display: flex; align-items: center; gap: 1.2rem; margin: 1.2rem 0; padding-right: 3rem; }
.modal-number { flex: 0 0 auto; width: 5rem; height: 5rem; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-bright); font-family: var(--display); font-size: 2.4rem; box-shadow: 0 0 30px rgba(217,184,100,.12); }
.modal-heading small { display: block; color: var(--cyan); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.modal-heading h2 { margin: .2rem 0 0; font-size: clamp(1.7rem, 5vw, 2.7rem); font-weight: 400; }
.modal-intro { color: var(--muted); }
.modal-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.5rem 0; }
.modal-detail-grid article { display: flex; gap: .8rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: .7rem; background: rgba(5,4,12,.28); }
.modal-detail-grid article > span { color: var(--gold-bright); }
.modal-detail-grid h3 { margin: 0 0 .35rem; color: var(--gold-bright); font-size: 1rem; font-weight: 500; }
.modal-detail-grid p { margin: 0; color: var(--muted); font-size: .74rem; }
.result-modal blockquote { margin: 1.5rem 0; padding: 1rem 0 1rem 1.2rem; border-left: 2px solid var(--cyan); color: var(--cream); font-family: var(--display); font-size: clamp(1rem, 3vw, 1.3rem); }
.modal-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.modal-actions a, .modal-actions button { min-height: 44px; display: inline-flex; align-items: center; padding: .6rem 1rem; border: 1px solid var(--gold); border-radius: 999px; background: transparent; color: var(--gold-bright); font-size: .68rem; text-decoration: none; cursor: pointer; }
.modal-actions a { background: linear-gradient(90deg, #b9873d, var(--gold-bright)); color: #1c1121; }
.calculation-note { margin-top: 1rem; padding: 1rem 1.2rem; border-left: 2px solid var(--gold); background: rgba(255,255,255,.025); color: var(--muted); font-size: .72rem; }
.reset-button { margin-top: 1.5rem; padding: .8rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; }
.offers-section { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 7rem 0 9rem; }
.section-heading { max-width: 850px; margin-bottom: 2.5rem; }
.offer-filter { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.offer-filter button { min-height: 42px; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: .7rem; cursor: pointer; }
.offer-filter button.active { border-color: var(--gold); background: rgba(217,184,100,.12); color: var(--gold-bright); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.offer-card { position: relative; min-height: 280px; display: flex; flex-direction: column; padding: 1.4rem; border: 1px solid rgba(217,184,100,.16); border-radius: .8rem; background: rgba(14,10,26,.88); transition: .25s ease; }
.offer-card:hover { border-color: rgba(217,184,100,.48); transform: translateY(-4px); }
.offer-card.available { background: linear-gradient(145deg, rgba(41,28,58,.9), rgba(14,10,26,.92)); }
.offer-card.hidden { display: none; }
.offer-symbol { position: absolute; top: 1rem; right: 1rem; color: rgba(217,184,100,.35); font-size: .72rem; }
.status { align-self: flex-start; margin-bottom: 2.2rem; color: var(--cyan); font-size: .59rem; letter-spacing: .1em; text-transform: uppercase; }
.offer-card:not(.available) .status { color: #9c89a5; }
.offer-card h3 { margin: 0 0 .65rem; font-size: 1.3rem; font-weight: 400; }
.offer-card p { margin: 0 0 1.3rem; color: var(--muted); font-size: .74rem; }
.offer-card button { margin-top: auto; align-self: flex-start; min-height: 42px; padding: .45rem 0; border: 0; background: transparent; color: var(--gold-bright); font-size: .68rem; cursor: pointer; }
.packages-section { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 1rem 0 9rem; }
.package-layout { display: grid; grid-template-columns: 1.12fr .88fr; align-items: start; gap: 1rem; }
.builder-card, .price-card { border: 1px solid var(--line); border-radius: 1rem; background: rgba(16,11,29,.92); box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.builder-card { padding: clamp(1.25rem, 3vw, 2rem); }
.builder-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.builder-heading span, .price-kicker { color: var(--cyan); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.builder-heading strong { font-family: var(--display); color: var(--gold-bright); font-size: 1.5rem; font-weight: 400; }
.builder-options { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: 1rem 0; }
.builder-options label { min-height: 86px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: .85rem; border: 1px solid rgba(217,184,100,.13); border-radius: .65rem; background: rgba(255,255,255,.018); cursor: pointer; transition: .2s ease; }
.builder-options label:has(input:checked) { border-color: var(--gold); background: rgba(217,184,100,.09); }
.builder-options input { width: 1.15rem; min-height: 1.15rem; accent-color: var(--gold); }
.builder-options span { gap: .15rem; }
.builder-options b { display: block; color: var(--cream); font-size: .72rem; font-weight: 500; }
.builder-options small { display: block; color: #a99eae; font-size: .58rem; line-height: 1.35; }
.builder-options em { color: var(--gold-bright); font-size: .68rem; font-style: normal; white-space: nowrap; }
.builder-total { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.builder-total p { margin: 0; }
.builder-total p span, .builder-total p small { display: block; }
.builder-total p span { color: var(--cream); font-size: .72rem; }
.builder-total p small { color: var(--muted); font-size: .6rem; }
.builder-total > strong { color: var(--gold-bright); font-family: var(--display); font-size: 1.6rem; font-weight: 400; }
.checkout-button, .price-card button { width: 100%; min-height: 48px; border: 1px solid var(--gold); border-radius: 999px; background: linear-gradient(90deg, #b9873d, var(--gold-bright), #bd8d45); color: #1c1121; font-size: .7rem; font-weight: 600; cursor: pointer; }
.checkout-button:disabled { border-color: rgba(217,184,100,.2); background: rgba(255,255,255,.035); color: #766c79; cursor: not-allowed; }
.ready-packages { display: grid; gap: .75rem; }
.price-card { padding: 1.35rem; }
.price-card.accent { border-color: rgba(102,213,216,.48); background: linear-gradient(145deg, rgba(44,31,67,.96), rgba(16,11,29,.95)); box-shadow: 0 20px 65px rgba(102,213,216,.08); }
.price-card h3 { margin: .4rem 0 .5rem; font-size: 1.35rem; font-weight: 400; }
.price-card > p { margin: 0; color: var(--muted); font-size: .68rem; }
.price-card ul { margin: .8rem 0; padding: 0; list-style: none; }
.price-card li { color: #d1c7d3; font-size: .64rem; }
.price-card li::before { content: "✦"; margin-right: .5rem; color: var(--gold); }
.price { display: flex; align-items: baseline; gap: .6rem; margin: .9rem 0; }
.price strong { color: var(--gold-bright); font-family: var(--display); font-size: 1.75rem; font-weight: 400; }
.price span { color: var(--muted); font-size: .58rem; }
.price-card.quiet button { border-color: var(--line); background: transparent; color: var(--gold-bright); }
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2.5rem clamp(1rem, 5vw, 4.5rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
footer a { color: var(--gold-bright); text-decoration: none; }
footer p { margin: 0; }
.notice { position: fixed; z-index: 60; right: 1.2rem; bottom: 1.2rem; max-width: min(430px, calc(100% - 2.4rem)); display: flex; gap: .9rem; padding: 1rem 1.2rem; border: 1px solid rgba(217,184,100,.45); border-radius: .7rem; background: rgba(15,10,27,.97); box-shadow: 0 20px 60px #0008; opacity: 0; transform: translateY(1rem); pointer-events: none; transition: .3s ease; }
.notice.visible { opacity: 1; transform: none; }
.notice > span { color: var(--gold-bright); }
.notice p { margin: 0; color: var(--muted); font-size: .72rem; }
.notice strong { color: var(--cream); }
.magic-cursor { display: none; }
@media (pointer: fine) {
  html.magic-pointer, html.magic-pointer a, html.magic-pointer button, html.magic-pointer input { cursor: none; }
  .magic-cursor { position: fixed; z-index: 999; top: 0; left: 0; width: 2.9rem; height: 2.9rem; display: block; pointer-events: none; transform: translate(-10%, -84%); filter: drop-shadow(0 0 7px rgba(184,92,255,.72)); transition: width .18s, height .18s; }
  .magic-cursor img { width: 100%; height: 100%; }
  .magic-cursor.hovering { width: 3.4rem; height: 3.4rem; }
  .cursor-spark { position: fixed; z-index: 998; color: var(--gold-bright); font-size: .45rem; pointer-events: none; animation: sparkle .7s ease-out forwards; }
}
@media (max-width: 900px) {
  .intro-section { grid-template-columns: 1fr; }
  .intro-copy { max-width: 720px; }
  .result-grid, .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .number-orbit { position: relative; top: auto; right: auto; margin: 2rem 0 0 auto; }
  .package-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .topbar { grid-template-columns: 1fr auto; }
  .wordmark { justify-self: end; }
  .top-actions { display: none; }
  .back-link { font-size: .66rem !important; }
  .intro-section { padding-top: 3rem; }
  h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  form, .result-grid, .offer-grid { grid-template-columns: 1fr; }
  .builder-options { grid-template-columns: 1fr; }
  label.wide, form button { grid-column: auto; }
  .number-orbit { margin: 2rem auto 0; }
  .modal-detail-grid { grid-template-columns: 1fr; }
  .modal-actions { align-items: stretch; flex-direction: column; }
  .modal-actions a, .modal-actions button { justify-content: center; }
  footer { flex-direction: column; text-align: center; }
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes sparkle { to { opacity: 0; transform: translateY(-14px) scale(.2) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
