/* Tokens authored with ui-ux-pro-max (flat, spacious, trust + conversion) on the
   client's own brand palette from site/src/components/CustomStyles.astro. */
:root {
  --blue: #2b6cb0;        /* dmv palette 1, primary */
  --blue-dark: #215387;   /* palette 2, hover */
  --navy: #1a202c;        /* palette 3, headings, dark bands */
  --ink: #2d3748;         /* palette 4, default text */
  --body: #4a5568;        /* palette 5, body copy */
  --muted: #718096;       /* palette 6 */
  --mist: #edf2f7;        /* palette 7, section band */
  --cloud: #f7fafc;       /* palette 8, cards */
  --white: #ffffff;
  --gold: #ffbc00;        /* review stars, from her review widget */
  --line: #d9e2ec;
  --radius: 12px;
  --font-head: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --space: clamp(56px, 9vw, 104px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--body);
  font-size: 18px; line-height: 1.6; background: var(--white);
}
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(32px, 5.2vw, 52px); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
p { margin: 0 0 16px; }
a { color: var(--blue); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
section { padding: var(--space) 0; }
.band { background: var(--mist); }
.dark { background: var(--navy); color: #cbd5e0; }
.dark h1, .dark h2 { color: var(--white); }

.top { padding: 20px 0; }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 17px; }
.brand small { display: block; font-weight: 400; color: #a0aec0; font-size: 13px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 14px 28px; border-radius: 10px; background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 17px; text-decoration: none;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { background: var(--blue-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.hero { padding-top: 24px; }
.hero .grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
.hero .lede { font-size: 20px; color: #e2e8f0; }
@media (min-width: 900px) { .hero .grid { grid-template-columns: 1.1fr .9fr; } }

.scene { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--cloud); }
.dark .scene { background: #222a38; }
.scene canvas { display: block; width: 100%; height: 100%; }
.scene.tall { aspect-ratio: 4 / 3; }
.scene.wide { aspect-ratio: 4 / 3; }
@media (min-width: 800px) { .scene.wide { aspect-ratio: 21 / 8; } }
.caption { font-size: 15px; color: var(--muted); margin-top: 12px; }
.dark .caption { color: #a0aec0; }
.scene .tags { position: absolute; inset: auto 12px 12px 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.scene .tag { font: 600 13px/1 var(--font-head); background: rgba(255,255,255,.92); color: var(--navy); padding: 7px 10px; border-radius: 999px; transition: background-color .3s, color .3s; }
.scene .tag.on { background: var(--blue); color: var(--white); }

.compare { display: grid; gap: 20px; grid-template-columns: 1fr; margin: 24px 0 32px; }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card.on { border: 2px solid var(--blue); }
.card .label { font: 600 14px/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.card.on .label { color: var(--blue); }

.tools { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 700px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tools { grid-template-columns: 1fr 1fr 1fr; } }
.tool { background: var(--cloud); border-radius: var(--radius); padding: 22px; }
.tool p { margin: 0; font-size: 16px; }

.split { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > :first-child { order: 2; } }
ul.ticks { list-style: none; padding: 0; margin: 0 0 16px; }
ul.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
ul.ticks li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 12px; height: 7px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }

.price { font-family: var(--font-head); font-size: clamp(44px, 7vw, 64px); font-weight: 700; color: var(--navy); line-height: 1; }
.price span { font-size: 20px; font-weight: 500; color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; background: var(--white); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-head); color: var(--navy); background: var(--cloud); }
td:last-child { white-space: normal; }
.estimate { background: #fff8e1; border: 1px solid #f6d77a; color: var(--ink); padding: 16px 20px; border-radius: var(--radius); }

.close { text-align: center; }
.close .narrow { margin: 0 auto; }
footer { padding: 32px 0; font-size: 14px; color: var(--muted); text-align: center; }

@media (prefers-reduced-motion: reduce) { .btn, .scene .tag { transition: none; } }
