/* JT Builds Co. — "Nocturne" design system
   Quiet, compact dark interface · Inter (weight capped at 500) · single blurple accent
   used as a line or a glow, never a flood · full neutral/accent tonal ramps · soft radii ·
   rules fade to transparent at their ends instead of stopping hard · buttons are outlined,
   never filled. */

:root {
  /* neutral ramp — 100 lightest (primary text) to 900 darkest (page background) */
  --color-neutral-100: #EDEDF1;
  --color-neutral-200: #D3D3DC;
  --color-neutral-300: #B4B4C2;
  --color-neutral-400: #9494A6;
  --color-neutral-500: #74748A;
  --color-neutral-600: #55556A;
  --color-neutral-700: #3A3A4C;
  --color-neutral-800: #232332;
  --color-neutral-900: #161826;

  /* accent ramp — single blurple role, --color-accent-2-* kept as a near-duplicate */
  --color-accent-100: #EDEBFA;
  --color-accent-200: #D6D2F2;
  --color-accent-300: #B7AFE8;
  --color-accent-400: #9F95E0;
  --color-accent-500: #9184D9;
  --color-accent-600: #7A6DC4;
  --color-accent-700: #5F54A0;
  --color-accent-800: #443C74;
  --color-accent-900: #2B2650;
  --color-accent-2-500: var(--color-accent-500);

  /* saturated background — deck/stat-band exception only, unused by current layout */
  --color-section: var(--color-accent-900);
  --color-section-glow: rgba(145, 132, 217, .3);
  --color-section-glow: color-mix(in srgb, var(--color-accent-400) 30%, transparent);

  --color-bg: var(--color-neutral-900);
  --color-surface: var(--color-neutral-800);
  --color-text: var(--color-neutral-100);
  --color-muted: var(--color-neutral-500);

  --color-divider: rgba(237, 237, 241, .14);
  --color-divider: color-mix(in srgb, var(--color-neutral-100) 14%, transparent);
  --color-divider-strong: rgba(237, 237, 241, .28);
  --color-divider-strong: color-mix(in srgb, var(--color-neutral-100) 28%, transparent);

  --fade-h: linear-gradient(90deg, transparent, var(--color-divider-strong) 48px, var(--color-divider-strong) calc(100% - 48px), transparent);
  --fade-v: linear-gradient(180deg, transparent, var(--color-divider-strong) 48px, var(--color-divider-strong) calc(100% - 48px), transparent);

  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading-weight: 500;

  /* a compact, 0.7x-density spacing scale */
  --space-1: 2.8px;
  --space-2: 5.6px;
  --space-3: 8.4px;
  --space-4: 11.2px;
  --space-5: 14px;
  --space-6: 16.8px;
  --space-7: 19.6px;
  --space-8: 22.4px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* depth — hairline edge plus ambient darkness, no heavy stacked shadows */
  --shadow-sm: 0 0 0 1px var(--color-divider), 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-md: 0 0 0 1px var(--color-divider), 0 10px 28px rgba(0, 0, 0, .42);
  --shadow-lg: 0 0 0 1px var(--color-divider), 0 24px 56px rgba(0, 0, 0, .5);

  /* motion */
  --ease: cubic-bezier(.22, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  margin: 0;
}

/* ---------- Top bar ---------- */

.topbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 52px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--color-accent-500);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--fade-h);
  pointer-events: none;
}

/* ---------- Masthead ---------- */

.masthead {
  position: relative;
  text-align: center;
  padding: 52px 52px 40px;
}

.masthead::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--fade-h);
  pointer-events: none;
}

.brandmark {
  display: inline-block;
  margin: 0 auto 22px;
  line-height: 0;
  transition: opacity .25s;
}

a.brandmark:hover { opacity: .72; }

.brandmark img { display: block; width: 54px; height: 54px; }

.brandmark-sm { margin: 0 0 16px; }

.brandmark-sm img { width: 36px; height: 36px; }

.masthead-jt {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: clamp(64px, 11vw, 112px);
  line-height: .88;
  letter-spacing: -.01em;
}

.masthead-title {
  font-weight: 500;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: .5em;
  padding-left: .5em;
  margin-top: 14px;
}

.masthead-sub {
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: .3em;
  color: var(--color-accent-500);
}

/* ---------- Nav ---------- */

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 52px;
  padding: 16px 52px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 10;
}

.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--fade-h);
  pointer-events: none;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  line-height: 0;
  transition: opacity .25s;
}

.nav-brand:hover { opacity: .72; }

.nav-brand img { display: block; height: 38px; width: auto; }

.nav a {
  text-decoration: none;
  transition: color .25s;
}

.nav a:hover { color: var(--color-accent-500); }

.nav a[aria-current="page"]:not(.nav-cta) {
  color: var(--color-accent-500);
  border-bottom: 1px solid var(--color-accent-500);
  padding-bottom: 2px;
}

.nav-cta {
  color: var(--color-accent-500);
  border-bottom: 1px solid var(--color-accent-500);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: rgba(145, 132, 217, .16);
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent-500) 16%, transparent), transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--fade-h);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  padding: 100px 64px;
  animation: fadeUp .9s var(--ease) both;
}

.hero-copy::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 1px;
  background: var(--fade-v);
  pointer-events: none;
}

.hero-copy h1 {
  font-size: clamp(44px, 6.4vw, 78px);
  line-height: 1.03;
  letter-spacing: -.015em;
  text-wrap: pretty;
}

.hero-copy h1 .hl {
  color: var(--color-accent-500);
  font-style: italic;
}

.hero-copy p {
  margin: 28px 0 0;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 520px;
  font-weight: 400;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 44px;
  align-items: center;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-graphic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--color-accent-500);
  opacity: .16;
  pointer-events: none;
  z-index: 0;
}

.stat {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 46px 64px;
  border-bottom: 1px solid var(--color-divider);
  transition: background .3s var(--ease);
}

.stat:hover { background: color-mix(in srgb, var(--color-accent-500) 4%, transparent); }

.stat:last-child { border-bottom: none; }

.stat-num {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--color-accent-500);
}

.stat-label {
  font-size: 11px;
  letter-spacing: .24em;
  margin-top: 8px;
  color: var(--color-muted);
}

/* ---------- Page header (Services / Pricing) ---------- */

.page-header {
  position: relative;
  padding: 96px 64px 68px;
  max-width: 760px;
}

.page-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--fade-h);
  pointer-events: none;
}

.page-header .numeral { display: block; margin-bottom: 20px; }

.page-header h1 {
  font-size: clamp(38px, 5.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.page-header p {
  margin: 22px 0 0;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--color-muted);
  font-weight: 400;
  text-wrap: pretty;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .18em;
  padding: 16px 33px;
  border-radius: var(--radius-md);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.btn-dark {
  background: transparent;
  color: var(--color-accent-500);
  border: 1px solid var(--color-accent-500);
}

.btn-dark:hover {
  background: rgba(145, 132, 217, .12);
  background: color-mix(in srgb, var(--color-accent-500) 12%, transparent);
  color: var(--color-accent-400);
  border-color: var(--color-accent-400);
}

.link-rule {
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .18em;
  border-bottom: 1px solid var(--color-divider-strong);
  padding-bottom: 4px;
  transition: color .25s, border-color .25s, letter-spacing .25s;
}

.link-rule:hover {
  color: var(--color-accent-500);
  border-color: var(--color-accent-500);
  letter-spacing: .24em;
}

/* ---------- Section headings ---------- */

.section-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 54px;
}

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 46px);
  letter-spacing: -.008em;
}

.numeral {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--color-accent-500);
}

.numeral-light { color: var(--color-accent-400); }

.head-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--color-divider-strong), transparent);
  align-self: center;
}

/* ---------- Services ---------- */

.services {
  position: relative;
  padding: 96px 64px;
}

.services::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--fade-h);
  pointer-events: none;
}

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

.service {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border-top: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}

.service:hover {
  border-top-color: var(--color-accent-500);
  background: var(--color-surface);
  background: color-mix(in srgb, var(--color-surface) 92%, var(--color-accent-500) 8%);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Fills the remainder of the grid's final row when the card count
   doesn't divide evenly into the columns. */
.service-wide { grid-column: 1 / -1; }

.service-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--color-accent-500);
}

.service-icon svg { display: block; width: 100%; height: 100%; }

.service h3 {
  font-size: 21px;
  letter-spacing: -.005em;
  margin-bottom: 10px;
}

.service p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-muted);
}

.services-more {
  display: inline-block;
  margin-top: 56px;
}

/* ---------- Promise / Terms split ---------- */

.split {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
}

.split::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--fade-h);
  pointer-events: none;
}

.promise-panel {
  position: relative;
  padding: 96px 64px;
}

.promise-panel::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 1px;
  background: var(--fade-v);
  pointer-events: none;
}

.promise-panel .section-head { margin-bottom: 34px; }

.promise-text {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 28px;
  line-height: 1.45;
  letter-spacing: -.005em;
  text-wrap: pretty;
}

.promise-sig {
  margin-top: 32px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--color-accent-400);
}

.terms-panel { padding: 96px 64px; }

.terms-panel .section-head { margin-bottom: 34px; }

.terms-text {
  margin: 0 0 30px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 520px;
  text-wrap: pretty;
}

.terms-table { border-top: 1px solid var(--color-divider); }

.terms-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 15px 4px;
  margin: 0 -4px;
  border-bottom: 1px solid var(--color-divider);
  transition: background .25s var(--ease);
}

.terms-row:hover { background: color-mix(in srgb, var(--color-accent-500) 4%, transparent); }

.terms-row:last-child { border-bottom: none; }

.terms-item {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 17px;
}

.terms-tag {
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-accent-500);
  white-space: nowrap;
}

/* ---------- FAQ ---------- */

.faq {
  position: relative;
  padding: 96px 64px;
}

.faq::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--fade-h);
  pointer-events: none;
}

.faq .section-head { margin-bottom: 44px; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  max-width: 1100px;
}

.faq details {
  border-bottom: 1px solid var(--color-divider);
  padding: 20px 16px;
  margin: 0 -16px;
  cursor: pointer;
  transition: background .25s var(--ease);
}

.faq details:hover { background: color-mix(in srgb, var(--color-accent-500) 4%, transparent); }

.faq summary {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 19px;
  letter-spacing: -.003em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-mark {
  color: var(--color-accent-500);
  transition: transform .3s var(--ease);
}

.faq details[open] .faq-mark { transform: rotate(45deg); }

.faq details p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-muted);
}

/* ---------- Closing ---------- */

.closing {
  position: relative;
  text-align: center;
  padding: 100px 64px 90px;
  overflow: hidden;
}

.closing::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: rgba(145, 132, 217, .12);
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent-500) 12%, transparent), transparent 65%);
  pointer-events: none;
}

.closing > * { position: relative; }

.closing .brandmark { margin-bottom: 28px; }

.brandmark-lg img { width: 71px; height: 71px; }

.closing h2 {
  font-size: clamp(36px, 5.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.closing-sub {
  margin: 18px auto 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-muted);
  font-weight: 400;
  max-width: 460px;
}

/* ---------- Consultation form ---------- */

.consult-form {
  max-width: 720px;
  margin: 56px auto 0;
  text-align: left;
}

.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 56px;
}

.field { margin: 0; }

.field label,
.field legend {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--color-accent-500);
  margin-bottom: 10px;
  padding: 0;
}

.optional { color: var(--color-muted); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field input[type="url"],
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-divider-strong);
  border-radius: 0;
  padding: 10px 2px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  transition: border-color .25s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-accent-500);
  box-shadow: 0 1px 0 0 var(--color-accent-500);
}

.field textarea {
  resize: vertical;
  line-height: 1.7;
}

.field ::placeholder {
  color: var(--color-muted);
  opacity: .7;
  font-weight: 400;
}

.field-services {
  border: none;
  margin: 44px 0 0;
  padding: 0;
}

.consult-form > .field {
  margin-top: 44px;
}

.svc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.svc-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.svc-pill span {
  display: inline-block;
  border: 1px solid var(--color-divider-strong);
  border-radius: var(--radius-sm);
  padding: 11px 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  cursor: pointer;
  user-select: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.svc-pill span:hover {
  border-color: var(--color-accent-500);
  color: var(--color-accent-500);
}

.svc-pill input:checked + span {
  background: rgba(145, 132, 217, .14);
  background: color-mix(in srgb, var(--color-accent-500) 14%, transparent);
  border-color: var(--color-accent-500);
  color: var(--color-accent-400);
}

.svc-pill input:focus-visible + span {
  outline: 2px solid var(--color-accent-500);
  outline-offset: 2px;
}

.consult-form .btn {
  margin-top: 48px;
  border: 1px solid var(--color-accent-500);
  cursor: pointer;
  font-family: var(--font-body);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ---------- Dashboard result panel ---------- */

.dashboard-result {
  margin-top: 44px;
  padding: 24px 28px;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
}

.dashboard-result[data-sent] {
  border-color: var(--color-accent-500);
}

.dashboard-result-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--color-accent-500);
}

.dashboard-result p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted);
}

.dashboard-result pre {
  margin: 16px 0 0;
  padding: 16px;
  border-top: 1px solid var(--color-divider);
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  text-align: center;
  padding: 96px 64px;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 760px;
  height: 760px;
  transform: translate(-50%, -50%);
  background: rgba(145, 132, 217, .1);
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent-500) 10%, transparent), transparent 65%);
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--fade-h);
  pointer-events: none;
}

.cta-band > * { position: relative; }

.cta-band h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  letter-spacing: -.008em;
}

.cta-band-sub {
  margin: 18px auto 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-muted);
  font-weight: 400;
  max-width: 480px;
}

.cta-band .btn { margin-top: 36px; }

/* ---------- Site footer ---------- */

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 72px 64px 40px;
}

.site-footer-brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 340px;
  font-weight: 400;
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13.5px;
}

.site-footer-links a { text-decoration: none; transition: color .25s; }
.site-footer-links a:hover { color: var(--color-accent-500); }
.site-footer-links span { color: var(--color-muted); }

.site-footer-heading {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--color-accent-500);
  margin-bottom: 4px;
}

.site-footer-bottom {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-divider);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--color-accent-500);
}

.site-footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .25s;
}

.site-footer-bottom a:hover { color: var(--color-text); }

/* ---------- Legal pages ---------- */

.legal {
  padding: 88px 64px 110px;
  max-width: 760px;
  margin: 0 auto;
}

.legal .numeral { display: block; margin-bottom: 20px; }

.legal-updated {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--color-accent-500);
  margin-bottom: 44px;
}

.legal h1 {
  font-size: clamp(36px, 5.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -.01em;
}

.legal h2 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 21px;
  margin: 48px 0 14px;
}

.legal p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-muted);
  font-weight: 400;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
}

.legal li { margin-bottom: 8px; }

.legal a {
  color: var(--color-accent-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover { color: var(--color-text); }

/* ---------- Motion ---------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Scroll reveal: content is fully visible by default. Only once JS has
   confirmed it can run (.js on <html>) do sections start hidden, so a
   failed script load never hides real content. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }

  .hero-copy {
    padding: 64px 40px;
  }

  .hero-copy::after {
    top: auto; right: 0; left: 0; bottom: 0;
    width: auto; height: 1px;
    background: var(--fade-h);
  }

  .stat { padding: 36px 40px; }

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

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

  .promise-panel::after {
    top: auto; right: 0; left: 0; bottom: 0;
    width: auto; height: 1px;
    background: var(--fade-h);
  }

  .services, .faq, .promise-panel, .terms-panel, .page-header, .cta-band, .legal { padding-left: 40px; padding-right: 40px; }

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

  .site-footer { grid-template-columns: 1fr 1fr; padding: 64px 40px 36px; }

  .site-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .topbar {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 14px 24px;
  }

  .masthead { padding: 40px 24px 32px; }

  .nav { gap: 14px 28px; padding: 14px 24px; }

  .hero-copy, .services, .faq, .promise-panel, .terms-panel, .page-header, .cta-band, .legal { padding: 52px 24px; }

  .stat { padding: 28px 24px; }

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

  .services-more { margin-top: 44px; }

  .section-head { gap: 14px; margin-bottom: 36px; }

  .closing { padding: 72px 24px 64px; }

  .form-grid { grid-template-columns: 1fr; gap: 32px; }

  .consult-form { margin-top: 44px; }

  .site-footer { grid-template-columns: 1fr; padding: 52px 24px 32px; gap: 36px; }
}
