:root {
  color-scheme: dark;
  --ink: #090d16;
  --ink-soft: #101827;
  --navy: #111d31;
  --paper: #f4f0e7;
  --paper-deep: #e8dfcf;
  --text: #f6f3ec;
  --muted: #aab4c4;
  --dark-text: #171b23;
  --dark-muted: #5f6672;
  --gold: #e6b85a;
  --gold-bright: #ffd886;
  --gold-deep: #95682f;
  --blue: #55bdf5;
  --blue-deep: #236f9d;
  --green: #71d3a2;
  --line: rgba(255, 255, 255, 0.12);
  --dark-line: rgba(16, 24, 39, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a,
summary,
select,
input[type="range"],
input[type="radio"],
input[type="checkbox"] {
  cursor: pointer;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 8px;
  background: white;
  color: black;
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 870px;
}

.preview-banner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-bottom: 1px solid rgba(255, 216, 134, 0.22);
  background: #171206;
  color: #f8dda5;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 20px;
  text-align: center;
  text-transform: uppercase;
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 16px rgba(255, 216, 134, 0.85);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 22, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 28px;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid rgba(255, 216, 134, 0.68);
  background: linear-gradient(145deg, rgba(230, 184, 90, 0.18), rgba(85, 189, 245, 0.08));
  box-shadow: inset 0 0 18px rgba(230, 184, 90, 0.12), 0 0 24px rgba(85, 189, 245, 0.08);
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.brand-mark::first-line {
  transform: rotate(-45deg);
}

.brand-mark {
  line-height: 42px;
  text-align: center;
}

.brand-mark {
  text-indent: 0;
}

.brand-mark {
  writing-mode: horizontal-tb;
}

.brand-mark {
  --unrotate: -45deg;
}

.brand-mark {
  font-style: normal;
}

.brand-mark {
  overflow: hidden;
}

.brand-mark {
  isolation: isolate;
}

.brand-mark {
  color: transparent;
}

.brand-mark::after {
  content: "LA";
  display: block;
  transform: rotate(-45deg);
  color: var(--gold-bright);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy > span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.site-nav a {
  color: #c6cfdb;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  color: white;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  border-color: rgba(230, 184, 90, 0.45);
  background: rgba(230, 184, 90, 0.1);
  color: var(--gold-bright);
  padding-inline: 18px;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 12px 30px rgba(176, 119, 37, 0.26);
  color: #1b1408;
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(230, 184, 90, 0.35);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 0;
  background:
    radial-gradient(circle at 68% 40%, rgba(49, 126, 172, 0.11), transparent 32%),
    linear-gradient(180deg, #0a0e18 0%, #0b1220 70%, #0f1725 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.12;
  pointer-events: none;
}

.hero-glow-left {
  top: -140px;
  left: -170px;
  background: var(--gold);
}

.hero-glow-right {
  right: -160px;
  bottom: 40px;
  background: var(--blue);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
  align-items: center;
  gap: 68px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #866028;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.7rem, 7.2vw, 6.8rem);
}

h1 span {
  background: linear-gradient(90deg, var(--gold-bright), var(--gold) 55%, #c78c39);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5.2vw, 4.8rem);
}

h3 {
  line-height: 1.22;
}

.hero-lede {
  max-width: 680px;
  color: #c5ceda;
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 22px;
}

.hero-note {
  max-width: 620px;
  color: #818da0;
  font-size: 0.83rem;
}

.hero-art {
  position: relative;
  min-height: 530px;
  isolation: isolate;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 12% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 190, 247, 0.18), rgba(83, 190, 247, 0.03) 48%, transparent 70%);
  filter: blur(10px);
}

.sigil {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.sigil-outer {
  width: 390px;
  height: 390px;
  border: 1px solid rgba(85, 189, 245, 0.26);
  box-shadow: 0 0 70px rgba(85, 189, 245, 0.12), inset 0 0 70px rgba(85, 189, 245, 0.07);
}

.sigil-outer::before,
.sigil-outer::after {
  content: "";
  position: absolute;
  inset: 38px;
  transform: rotate(45deg);
  border: 1px solid rgba(230, 184, 90, 0.32);
}

.sigil-outer::after {
  inset: 74px;
  transform: rotate(67.5deg);
  border-color: rgba(85, 189, 245, 0.24);
}

.sigil-middle {
  width: 250px;
  height: 250px;
  border: 1px solid rgba(230, 184, 90, 0.55);
  box-shadow: inset 0 0 48px rgba(230, 184, 90, 0.08);
}

.sigil-middle::before {
  content: "";
  position: absolute;
  inset: 17px;
  border: 1px dashed rgba(255, 216, 134, 0.25);
  border-radius: 50%;
}

.sigil-core {
  display: grid;
  width: 138px;
  height: 138px;
  place-content: center;
  border: 1px solid rgba(255, 216, 134, 0.75);
  background: radial-gradient(circle at 45% 35%, #274462, #101927 70%);
  box-shadow: 0 0 44px rgba(85, 189, 245, 0.24), inset 0 0 24px rgba(255,255,255,0.08);
  text-align: center;
}

.sigil-core span {
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 0.9;
}

.sigil-core small {
  margin-top: 8px;
  color: #cbd9e7;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.bridge-line {
  position: absolute;
  top: 50%;
  right: 2%;
  left: 2%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,184,90,0.8), rgba(85,189,245,0.8), transparent);
  box-shadow: 0 0 18px rgba(255, 216, 134, 0.4);
  z-index: -1;
}

.side-emblem {
  position: absolute;
  top: 50%;
  display: grid;
  width: 98px;
  height: 98px;
  place-content: center;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(10, 16, 27, 0.88);
  box-shadow: var(--shadow);
  text-align: center;
}

.side-emblem > * {
  transform: rotate(-45deg);
}

.side-emblem span {
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}

.side-emblem small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.side-emblem-left {
  left: -3%;
}

.side-emblem-right {
  right: -3%;
}

.side-emblem-right span {
  color: var(--blue);
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 82px;
  margin-bottom: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
}

.proof-strip > li {
  padding: 28px 32px 30px 0;
}

.proof-strip > li + li {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: white;
  font-family: Georgia, serif;
  font-size: 1.05rem;
}

.proof-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.section {
  padding: 112px 0;
}

.section-light {
  background: var(--paper);
  color: var(--dark-text);
}

.section-intro {
  color: var(--dark-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.petition-letter {
  position: relative;
  margin: 48px 0 34px;
  border: 1px solid rgba(73, 50, 16, 0.17);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(149, 104, 47, 0.035) 1px, transparent 1px),
    #fffdf8;
  background-size: 30px 30px;
  box-shadow: 0 24px 80px rgba(62, 45, 19, 0.1);
  padding: clamp(28px, 5.5vw, 64px);
}

.petition-letter::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 11%;
  width: 78%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.petition-letter p,
.petition-letter li {
  color: #333842;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03rem;
  line-height: 1.78;
}

.petition-letter ol {
  margin: 24px 0;
  padding-left: 26px;
}

.petition-letter li {
  padding-left: 8px;
  margin: 11px 0;
}

.center-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.center-action p {
  margin: 12px 0 0;
  color: var(--dark-muted);
  font-size: 0.78rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 52px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--muted);
}

.section-light .section-heading > p {
  color: var(--dark-muted);
}

.pilot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(85,189,245,0.08), transparent 35%),
    rgba(255,255,255,0.025);
  padding: 30px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 184, 90, 0.34);
}

.card-number {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.feature-card h3 {
  margin: 56px 0 12px;
  font-family: Georgia, serif;
  font-size: 1.34rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-dashboard {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(45, 108, 154, 0.16), transparent 27%),
    #0d1421;
}

.demo-badge {
  justify-self: end;
  border: 1px solid rgba(255, 216, 134, 0.35);
  border-radius: 999px;
  background: rgba(230, 184, 90, 0.08);
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 8px 13px;
  text-transform: uppercase;
}

.dashboard-note {
  max-width: 810px;
  margin: -28px 0 34px;
  color: #93a0b1;
  font-size: 0.88rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  display: flex;
  min-height: 165px;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.025);
  padding: 24px;
}

.stat-card span,
.stat-card small {
  color: var(--muted);
  font-size: 0.74rem;
}

.stat-card strong {
  margin: 8px 0 2px;
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
}

.calculator {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  margin-top: 72px;
  border: 1px solid rgba(85, 189, 245, 0.2);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(85,189,245,0.055), rgba(230,184,90,0.035));
  padding: clamp(28px, 5vw, 56px);
}

.calculator-copy h3 {
  margin: 0 0 18px;
  font-family: Georgia, serif;
  font-size: 2rem;
}

.calculator-copy > p {
  color: var(--muted);
}

.price-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  margin: 32px 0 18px;
  border-block: 1px solid var(--line);
  padding: 22px 0;
}

.price-callout span {
  color: #aeb9c8;
  font-size: 0.78rem;
}

.price-callout strong {
  color: white;
  font-family: Georgia, serif;
}

.fine-print {
  color: #7e8a9c !important;
  font-size: 0.72rem !important;
  line-height: 1.6 !important;
}

.calculator-controls {
  border-radius: 20px;
  background: rgba(6, 10, 18, 0.48);
  padding: 26px;
}

.calculator-controls > label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 22px 0 9px;
  color: #d5dce6;
  font-size: 0.82rem;
  font-weight: 750;
}

.calculator-controls > label:first-child {
  margin-top: 0;
}

.calculator-controls label > span {
  color: var(--gold-bright);
}

select,
input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  background: #111a28;
  color: white;
  padding: 0 13px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.scenario-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 28px 0;
  border: 0;
  padding: 0;
}

.scenario-toggle legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  color: #d5dce6;
  font-size: 0.82rem;
  font-weight: 750;
}

.scenario-toggle label {
  position: relative;
}

.scenario-toggle input {
  position: absolute;
  opacity: 0;
}

.scenario-toggle span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  padding: 12px;
  text-align: center;
}

.scenario-toggle input:checked + span {
  border-color: var(--gold);
  background: rgba(230, 184, 90, 0.11);
  color: var(--gold-bright);
}

.scenario-toggle input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.revenue-results {
  display: grid;
  gap: 10px;
}

.revenue-results > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  padding: 11px 0;
}

.revenue-results strong {
  color: white;
  font-family: Georgia, serif;
  font-size: 1rem;
}

.revenue-results .revenue-total {
  align-items: end;
  border: 0;
  color: white;
  padding-top: 22px;
}

.revenue-total strong {
  color: var(--gold-bright);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}

.process-grid article {
  min-height: 240px;
  padding: 30px;
}

.process-grid article + article {
  border-left: 1px solid var(--dark-line);
}

.process-grid span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #172335;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 900;
}

.process-grid h3 {
  margin: 56px 0 10px;
  font-family: Georgia, serif;
  font-size: 1.3rem;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--dark-muted);
  font-size: 0.85rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  align-items: start;
  gap: 90px;
}

.faq-layout h2 {
  font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.faq-layout .section-intro {
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  list-style: none;
  color: #eef2f6;
  font-family: Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 24px 42px 24px 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--gold);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 700px;
  color: var(--muted);
  font-size: 0.91rem;
  padding: 0 42px 22px 0;
}

.closing {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 74% 50%, rgba(230,184,90,0.12), transparent 28%),
    linear-gradient(110deg, #101a29, #0b101a);
  padding: 84px 0;
}

.closing::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10%;
  width: 280px;
  height: 280px;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid rgba(230, 184, 90, 0.09);
}

.closing-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.closing h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 4.7vw, 4.6rem);
}

.site-footer {
  background: #070a11;
  color: var(--muted);
  padding: 70px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.55fr 1fr;
  gap: 70px;
}

.footer-brand {
  margin-bottom: 18px;
  color: white;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid p {
  max-width: 440px;
  font-size: 0.78rem;
}

.footer-grid strong {
  margin-bottom: 14px;
  color: white;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-grid > div > a:not(.brand) {
  margin: 4px 0;
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-grid > div > a:not(.brand):hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 54px;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  padding-top: 22px;
}

.signature-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: min(880px, calc(100dvh - 28px));
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  background: #0d1522;
  box-shadow: 0 40px 120px rgba(0,0,0,0.72);
  color: var(--text);
  padding: 0;
}

.signature-dialog::backdrop {
  background: rgba(4, 7, 12, 0.82);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  min-height: 100%;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 24px 26px 20px;
}

.dialog-header h2 {
  margin: 4px 0 0;
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

.dialog-kicker {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  color: white;
  font-size: 1.45rem;
}

.privacy-ribbon {
  border-bottom: 1px solid rgba(230,184,90,0.18);
  background: rgba(230,184,90,0.07);
  color: #e8d2a3;
  font-size: 0.73rem;
  padding: 10px 26px;
}

.dialog-view {
  padding: 28px 26px 30px;
}

.dialog-intro,
.dialog-view > p {
  color: var(--muted);
}

.field-grid {
  display: grid;
  gap: 18px;
}

.field-grid label {
  color: #e5e9ef;
  font-size: 0.79rem;
  font-weight: 750;
}

.field-grid input,
.field-grid select {
  margin-top: 7px;
}

.check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 22px;
  color: #bdc6d2;
  font-size: 0.77rem;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold);
}

.dialog-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

.dialog-actions-three {
  flex-wrap: wrap;
}

.dialog-view[data-view="confirmation"],
.dialog-view[data-view="complete"] {
  padding-block: 44px;
  text-align: center;
}

.dialog-view[data-view="confirmation"] h3,
.dialog-view[data-view="complete"] h3 {
  margin: 18px 0 12px;
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

.dialog-view[data-view="confirmation"] p,
.dialog-view[data-view="complete"] p {
  max-width: 570px;
  margin-inline: auto;
}

.dialog-view[data-view="confirmation"] .dialog-actions,
.dialog-view[data-view="complete"] .dialog-actions {
  justify-content: center;
}

.success-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-inline: auto;
  border: 1px solid rgba(113, 211, 162, 0.55);
  border-radius: 50%;
  background: rgba(113, 211, 162, 0.09);
  color: var(--green);
  font-size: 1.55rem;
}

#surveyForm {
  display: grid;
  gap: 18px;
}

#surveyForm fieldset {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
}

#surveyForm legend {
  color: white;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0 8px;
}

#surveyForm fieldset label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #c2cbd7;
  font-size: 0.78rem;
}

#surveyForm input {
  margin-top: 3px;
  accent-color: var(--gold);
}

.field-help {
  margin: 0 0 6px;
  color: #8f9bac;
  font-size: 0.7rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .header-inner > .button {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lede,
  .hero-note {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    min-height: 440px;
  }

  .pilot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid article:nth-child(3) {
    border-left: 0;
  }

  .process-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--dark-line);
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .preview-banner {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-copy small {
    display: none;
  }

  .header-inner > .button {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.72rem;
  }

  .hero {
    padding-top: 74px;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 4.6rem);
  }

  .hero-art {
    min-height: 360px;
    transform: scale(0.84);
    margin: -24px -12% -28px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .proof-strip > li {
    padding: 20px 0;
  }

  .proof-strip > li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 34px;
  }

  .demo-badge {
    justify-self: start;
  }

  .dashboard-note {
    margin-top: -10px;
  }

  .pilot-grid,
  .stat-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 210px;
  }

  .feature-card h3 {
    margin-top: 38px;
  }

  .stat-card {
    min-height: 135px;
  }

  .calculator {
    gap: 30px;
    margin-top: 44px;
    padding: 22px;
  }

  .calculator-controls {
    padding: 18px;
  }

  .scenario-toggle {
    grid-template-columns: 1fr;
  }

  .revenue-results > div {
    flex-direction: column;
    gap: 3px;
  }

  .process-grid article,
  .process-grid article + article,
  .process-grid article:nth-child(3),
  .process-grid article:nth-child(n + 3) {
    min-height: auto;
    border-top: 1px solid var(--dark-line);
    border-left: 0;
  }

  .process-grid article:first-child {
    border-top: 0;
  }

  .process-grid h3 {
    margin-top: 30px;
  }

  .closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .signature-dialog {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 10px);
    margin: 10px 0 0;
    border-radius: 22px 22px 0 0;
  }

  .dialog-header,
  .dialog-view {
    padding-inline: 18px;
  }

  .privacy-ribbon {
    padding-inline: 18px;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .dialog-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
