
:root {
  --charcoal: #0d0d12;
  --panel: #17131f;
  --panel-soft: #211a2b;
  --gold: #d7aa45;
  --gold-light: #f1d17d;
  --amethyst: #7d35c9;
  --amethyst-light: #b56cff;
  --bone: #f2eadc;
  --muted: #b7adbd;
  --line: rgba(215,170,69,.26);
  --danger: #ff9e9e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--bone);
  background:
    radial-gradient(circle at 75% 12%, rgba(125,53,201,.22), transparent 25rem),
    linear-gradient(180deg, #09090d, #110d17 45%, #09090d);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

h1, h2, h3, .brand-name {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .035em;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 5vw, 72px);
  background: rgba(9,9,13,.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.brand-name, .brand-tagline { display: block; }
.brand-name { color: var(--gold-light); font-size: 1.08rem; text-transform: uppercase; }
.brand-tagline { color: var(--muted); font-size: .72rem; }

nav { display: flex; gap: 22px; }
nav a { text-decoration: none; color: var(--muted); font-size: .9rem; }
nav a:hover { color: var(--gold-light); }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 42px;
  padding: 70px clamp(22px, 7vw, 110px);
  overflow: hidden;
}

.hero-copy { max-width: 700px; }
.eyebrow { color: var(--amethyst-light); font-weight: 700; letter-spacing: .16em; font-size: .75rem; }
.hero h1 { margin: 0 0 18px; color: var(--gold-light); font-size: clamp(3.2rem, 8vw, 7.2rem); line-height: .93; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; color: #d9d0dd; font-size: 1.18rem; }

.hero-mark {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.hero-mark::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181,108,255,.42), rgba(125,53,201,.06) 52%, transparent 72%);
  filter: blur(10px);
}
.hero-mark img {
  position: relative;
  width: min(100%, 620px);
  border-radius: 28px;
  box-shadow: 0 32px 90px rgba(0,0,0,.5);
  mask-image: radial-gradient(ellipse at center, black 58%, transparent 92%);
}

.primary-button, .secondary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.primary-button {
  color: #130d19;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid #f6da91;
}
.secondary-button {
  color: var(--bone);
  background: transparent;
  border: 1px solid var(--amethyst-light);
}
.full-width { width: 100%; margin-top: 10px; }

.builder-section { padding: 72px clamp(18px, 5vw, 72px); }
.section-heading { max-width: 800px; margin-bottom: 34px; }
.section-heading h2 { margin: 6px 0 8px; color: var(--gold-light); font-size: clamp(2.2rem, 5vw, 4rem); }
.section-heading > p:last-child { color: var(--muted); }

.builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  gap: 28px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(33,26,43,.92), rgba(15,13,20,.95));
  border-radius: 14px;
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
}

.form-panel { padding: clamp(20px, 4vw, 42px); }
.summary-panel { position: sticky; top: 98px; padding: 24px; }

label, legend {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

label { display: block; margin-bottom: 22px; }
select, input, textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border-radius: 6px;
  color: var(--bone);
  background: #0f0d14;
  border: 1px solid rgba(215,170,69,.32);
  font: inherit;
}
select:focus, input:focus, textarea:focus {
  outline: 2px solid rgba(181,108,255,.55);
  border-color: var(--amethyst-light);
}
small { display: block; margin-top: 6px; color: var(--muted); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

fieldset {
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid rgba(215,170,69,.25);
  border-radius: 8px;
}
legend { padding: 0 8px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 54px;
  padding: 10px;
  margin: 0;
  color: var(--bone);
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
}
.check-option input { width: auto; margin: 3px 0 0; }

.preview-card {
  position: relative;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  overflow: hidden;
  padding: 22px;
  margin-bottom: 26px;
  border: 1px solid rgba(215,170,69,.35);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(0,0,0,.1), rgba(0,0,0,.62)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 7px);
}
.preview-glow {
  position: absolute;
  inset: auto -20% -70% -20%;
  height: 170%;
  background: radial-gradient(circle at 50% 25%, var(--preview-color, #7d35c9), transparent 60%);
  opacity: .65;
}
.preview-emblem {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  flex: 0 0 72px;
  color: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  box-shadow: 0 0 25px rgba(215,170,69,.16);
}
.preview-card > div:last-child { position: relative; }
.preview-card h3 { margin: 0; color: white; font-size: 1.5rem; }
.preview-label { margin: 0 0 3px; color: var(--gold-light); font-size: .65rem; letter-spacing: .12em; }
#previewSubtitle { margin: 5px 0 0; color: var(--muted); }

.summary-panel > h3 { color: var(--gold-light); font-size: 1.4rem; }
dl { margin: 0; }
dl > div {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
dt { color: var(--muted); }
dd { margin: 0; text-align: right; }

.price-block {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.price-block span { color: var(--muted); }
.price-block strong { color: var(--gold-light); font-size: 2rem; }
.estimate-note, .status { color: var(--muted); font-size: .78rem; }
.status { min-height: 20px; color: var(--amethyst-light); }

.steps-section { padding: 72px clamp(18px, 5vw, 72px) 100px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps-grid article {
  padding: 24px;
  border-top: 2px solid var(--gold);
  background: rgba(255,255,255,.025);
}
.steps-grid span { color: var(--amethyst-light); font-size: 2rem; font-weight: 800; }
.steps-grid h3 { color: var(--gold-light); }
.steps-grid p { color: var(--muted); }

footer {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #08080b;
}

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 45px; }
  .hero-mark { min-height: 340px; }
  .builder-grid { grid-template-columns: 1fr; }
  .summary-panel { position: static; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .brand-tagline { display: none; }
  .two-column, .checkbox-grid, .steps-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 3.25rem; }
  dl > div { grid-template-columns: 1fr; gap: 2px; }
  dd { text-align: left; }
}
