
:root {
  --black: #0b0b0c;
  --black-soft: #1c1c1e;
  --yellow: #ffc700;
  --yellow-dark: #e0ac00;
  --navy: #0b0b0c;       /* legacy alias, dark/bg-black elements */
  --navy-dark: #000000;  /* legacy alias, darkest black */
  --teal: #ffc700;       /* legacy alias, now the yellow accent */
  --teal-dark: #e0ac00;  /* legacy alias, darker yellow for hover */
  --gold: #ffc700;       /* legacy alias, now yellow */
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --bg: #fbfaf6;
  --bg-alt: #f3f1ea;
  --frame: #141414;
  --radius: 14px;
  --surface: #ffffff;
  --menu-bg: #ffffff;
  --border: #e5e5e0;
  --header-bg: rgba(11, 11, 12, 0.94);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --error: #b3261e;
  --error-bg: #fdecea;
  --error-border: #f3c2bd;
  --max-width: 1140px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; color: var(--navy); }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); margin: 0 0 0.5rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }
a { color: var(--black); font-weight: 600; text-decoration: none; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
a:hover { text-decoration: underline; text-decoration-color: var(--yellow-dark); text-decoration-thickness: 2px; }
button { font-family: inherit; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { max-width: 620px; color: var(--ink-soft); margin-bottom: 2rem; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
}
a.btn-primary { color: var(--black); }
.btn-primary:hover {
  background: var(--yellow-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 199, 0, 0.35);
}
.btn-ghost {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
  font-weight: 700;
}
.btn-ghost:hover { background: var(--black); color: #fff; text-decoration: none; }
.btn-block { width: 100%; text-align: center; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

:focus-visible { outline: 3px solid rgba(255, 199, 0, 0.55); outline-offset: 2px; }

/* SPA pages */
.page { display: none; }
.page.active { display: block; }
.page-hidden-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo span { color: var(--yellow); }
.logo:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav a,
.nav button.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.9rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover,
.nav button.nav-link:hover { color: var(--yellow); text-decoration: none; }
.nav a[aria-current="page"],
.nav button.nav-link[aria-current="page"] { color: var(--yellow); }
.nav-cta {
  background: var(--yellow);
  color: var(--black) !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}
.nav-cta:hover { background: var(--yellow-dark) !important; color: var(--black) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

/* NAV DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.nav-dropdown-toggle:hover { color: var(--yellow); }
.nav-dropdown-caret { transition: transform 0.15s ease; flex-shrink: 0; }
.nav-dropdown.open .nav-dropdown-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--menu-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-width: 180px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a,
.nav-dropdown-menu button.menu-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 10px;
  border-radius: 6px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu button.menu-link:hover { background: var(--bg-alt); color: var(--black); text-decoration: none; }

/* HERO */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 80px 0 90px;
  color: #fff;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
/* Grid items default to min-width:auto, which lets a wide descendant
   (the price-stack on mobile) force the whole track — and the page —
   wider than the viewport. min-width:0 makes them respect the track. */
.hero-copy, .hero-visual { min-width: 0; }
.hero h1 {
  color: var(--yellow);
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 900;
  line-height: 1.02;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  min-height: 3.06em; /* reserve space so layout doesn't jump while typing */
}
#hero-typed { white-space: pre; }
@media (max-width: 380px){ #hero-typed { white-space: pre-line; } }
.hero-caret {
  display: inline-block;
  width: 0.58em;
  height: 0.82em;
  background: var(--yellow);
  margin-left: 0.08em;
  vertical-align: -0.08em;
  animation: hero-caret-blink 0.85s steps(1) infinite;
}
@keyframes hero-caret-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-caret { animation: none; display: none; }
  .hero h1 { min-height: 0; }
}
.hero-sub {
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  max-width: 560px;
}
.hero .btn-primary { font-size: 1.02rem; padding: 15px 22px; }
/* The one hero option: a single big Tread my Tax button */
.hero .btn-primary.hero-main-cta { font-size: 1.18rem; padding: 19px 30px; }
.hero-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); margin: 0; }

/* Secondary-page hero (non-resident) — same black/yellow hero band,
   smaller single-column headline instead of the giant two-column one */
.hero-sub-page { padding: 64px 0 56px; }
.hero-sub-page .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}
.hero-sub-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.15;
  max-width: 760px;
}
.hero-sub-page .hero-sub { max-width: 640px; margin-bottom: 0.5rem; }
.hero-sub-page .hero-options { max-width: 520px; }

.hero-options {
  display: flex;
  gap: 16px;
  margin: 1.75rem 0 1.25rem;
  flex-wrap: wrap;
}
.hero-option { flex: 1; min-width: 190px; }
.hero-option-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 8px 4px 0;
  line-height: 1.4;
}

/* Secondary hero actions — Business Tax / Non-Resident match the two
   big hero buttons' pill style in a different color (white), just a
   step down in size; More Services stays a quiet pill so the yellow
   buttons remain the focal point. */
.hero-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0.25rem 0 1.1rem;
}
.btn-hero-alt {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #fff;
  color: var(--black);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-hero-alt:hover {
  background: #f0eee6;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.22);
  text-decoration: none;
}
.btn-hero-alt[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--yellow); }
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  text-decoration: none;
}
.btn-hero-secondary[aria-expanded="true"] {
  background: rgba(255, 199, 0, 0.14);
  border-color: rgba(255, 199, 0, 0.65);
  color: var(--yellow);
}
.hero-services-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -0.35rem 0 1.1rem;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}
.hero-services-menu[hidden] { display: none; }
.hero-services-link {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.hero-services-link:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* Price comparison card stack (hero visual) */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.price-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 230px;
  margin: 0 auto;
}
.price-card {
  position: absolute;
  width: 160px;
  border-radius: 14px;
  padding: 16px 18px;
}
.price-card-brand {
  font-weight: 800;
  font-size: 0.95rem;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.price-card-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.72rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.price-card-row:last-child { border-bottom: none; }
.price-card-row span { color: inherit; opacity: 0.75; }
.price-card-row strong {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.price-dollar {
  font-family: inherit;
  font-size: 1em;
  font-weight: 900;
  line-height: inherit;
  letter-spacing: inherit;
}

/* Offsets are horizontal-first (small vertical drift only) so each card's
   brand label — the thing that identifies it — always clears the card(s)
   in front of it instead of being hidden under their corner. */
.price-card-1 { left: 0; top: 0; z-index: 3; transform: rotate(-3deg); }
.price-card-2 { left: 152px; top: 24px; z-index: 2; transform: rotate(2deg); }
.price-card-3 { left: 304px; top: 48px; z-index: 1; transform: rotate(5deg); }

.price-card--featured {
  background: #fff;
  border: 3px solid var(--yellow);
  color: var(--black);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}
.price-card--featured .price-card-brand,
.price-card--featured .price-card-row strong { color: var(--black); }

.price-card--dim {
  background: #3a3a3a;
  color: #d8d8d8;
  opacity: 0.7;
  filter: grayscale(0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
.price-card--dim .price-card-brand { color: #cfcfcf; }
.price-card--dim .price-card-row { border-bottom-color: rgba(255, 255, 255, 0.12); }
.price-card--dim .price-card-row strong { color: #eaeaea; }

.price-card--dimmer {
  background: #232323;
  color: #a8a8a8;
  opacity: 0.5;
  filter: grayscale(0.6);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.price-card--dimmer .price-card-brand { color: #aeaeae; }
.price-card--dimmer .price-card-row { border-bottom-color: rgba(255, 255, 255, 0.08); }
.price-card--dimmer .price-card-row strong { color: #c6c6c6; }

.hero-visual-caption {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  max-width: 320px;
  margin: 0;
}

/* TRUST STRIP */
.trust-strip { background: var(--black); }
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  justify-content: center;
  padding: 18px 24px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--yellow);
  text-align: center;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--yellow); transform: translateY(-2px); }

/* STEPS */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.steps .step { flex: 1; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  margin-bottom: 12px;
}
.step-arrow {
  color: var(--yellow-dark);
  flex-shrink: 0;
  margin-top: 34px;
  opacity: 0.85;
}

/* ABOUT */
.about-inner { max-width: 760px; }
.about-brand {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  max-width: 900px;
}
.about-copy { flex: 1 1 320px; }
.about-mark {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid var(--yellow);
  box-shadow: var(--shadow);
  background: var(--yellow);
  flex-shrink: 0;
}

/* PHILOSOPHY SCROLLER — replaces About on home */
.philosophy-section {
  background: var(--black);
  color: #fff;
  overflow: hidden;
}
.philosophy-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.philosophy-head h2 { color: #fff; margin-bottom: 6px; }
.philosophy-head p { color: rgba(255,255,255,.68); max-width: 560px; margin: 0; }
.philosophy-eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 8px;
}
.philosophy-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.philosophy-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 6px 2px 10px;
  animation: philosophy-scroll 32s linear infinite;
}
.philosophy-section:hover .philosophy-track,
.philosophy-section:focus-within .philosophy-track { animation-play-state: paused; }
@keyframes philosophy-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.philosophy-card {
  width: 300px;
  flex: 0 0 300px;
  background: #171719;
  border: 1px solid rgba(255,255,255,.12);
  border-top: 4px solid var(--yellow);
  border-radius: 14px;
  padding: 24px 22px 22px;
  min-height: 220px;
}
.philosophy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  font-size: .9rem;
  margin-bottom: 16px;
}
.philosophy-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; line-height: 1.25; }
.philosophy-card p { color: rgba(255,255,255,.72); font-size: .94rem; line-height: 1.55; margin: 0; }
.philosophy-note { font-size: .82rem; color: rgba(255,255,255,.45); margin-top: 16px; }
@media (max-width: 640px) {
  .philosophy-head { flex-direction: column; align-items: flex-start; }
  .philosophy-card { width: 272px; flex-basis: 272px; min-height: 208px; padding: 20px 18px; }
  .philosophy-track { animation-duration: 24s; }
}
@media (prefers-reduced-motion: reduce) {
  .philosophy-viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .philosophy-track { animation: none; width: max-content; }
}

/* SUBPAGE HEADER (contact page) */
.page-header { padding-bottom: 0; }
.page-title { font-size: clamp(2rem, 4vw, 2.75rem); margin: 0 0 0.5rem; }
.contact-page { padding-top: 24px; }
.contact-alt { margin-top: 1.5rem; font-size: 0.9rem; }
/* CONTACT */
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { margin-bottom: 1.1rem; font-size: 0.95rem; }
.contact-list strong { display: block; color: var(--navy); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }

.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row .optional { font-weight: 400; color: var(--ink-soft); }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--ink);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.35);
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 12px 0 0;
}
.form-status.success { color: var(--black); }
.form-status.error { color: var(--error); }
.form-disclaimer { font-size: 0.78rem; color: var(--ink-soft); margin: 14px 0 0; }

/* Subtle placeholder hints (email + phone) */
input::placeholder,
textarea::placeholder {
  color: rgba(74, 74, 74, 0.55);
  font-style: italic;
}

/* "Message sent" confirmation dialog (contact page) */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 210;
  padding: 20px;
}
.success-overlay[hidden] { display: none; }
.success-card {
  background: var(--surface);
  border: 2px solid var(--yellow);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  max-width: 380px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
}
.success-card h2 { margin: 0 0 8px; font-size: 1.4rem; }
.success-card p { margin: 0 0 22px; color: var(--ink-soft); }
.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
}

/* SECURITY */
.security-inner .card-grid { margin-top: 1rem; }
.security-heading { display: flex; align-items: center; gap: 10px; }
.lock-icon { color: var(--black); flex-shrink: 0; }

/* BOTTOM CTA */
.bottom-cta-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.bottom-cta-inner p { margin-bottom: 1.75rem; }

/* LOWER-MY-BILL PAGE */
.btn-hero-cta {
  font-size: 1.2rem;
  padding: 19px 40px;
  margin: 1.75rem 0 1rem;
  box-shadow: 0 10px 28px rgba(255, 199, 0, 0.35);
}
.hero-cta-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  margin: 0 0 1.25rem;
}
.method-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: 0.5rem;
}
.method-points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px 22px;
  max-width: 900px;
}
.method-points li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.method-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--yellow);
  border: 1px solid rgba(0, 0, 0, 0.18);
}
.method-points strong { color: var(--ink); }
.cta-dark {
  background: var(--black);
  color: #fff;
  text-align: center;
}
.cta-dark h2 { color: #fff; }
.cta-dark p { color: rgba(255, 255, 255, 0.65); max-width: 560px; margin: 0 auto 0.5rem; }
.cta-dark .btn-hero-cta { margin-bottom: 0.5rem; }
@media (max-width: 600px) {
  .btn-hero-cta { width: 100%; padding: 17px 22px; font-size: 1.08rem; }
}

/* COMING SOON (stub service pages) */
.coming-soon-inner { text-align: center; max-width: 600px; margin: 0 auto; padding: 48px 0 24px; }
.coming-soon-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.coming-soon-actions { display: flex; gap: 14px; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }

/* FOOTER — layout mirrors the Baby Blessings & Beyond footer
   (brand block + info columns + closing bar), restyled in TreadTax
   black / yellow. */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
  border-top: 3px solid var(--yellow);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr 0.75fr 0.7fr;
  gap: 32px;
  margin-bottom: 2rem;
}
.footer-label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.footer-heading {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 0.6rem;
  max-width: 420px;
}
.footer-invite {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  margin: 0 0 1.4rem;
  max-width: 380px;
}
.footer-main p { color: rgba(255, 255, 255, 0.7); margin: 0 0 0.9rem; font-size: 0.92rem; }
.footer-main p:last-child { margin-bottom: 0; }
.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 199, 0, 0.55);
  text-underline-offset: 4px;
}
.site-footer a:hover { text-decoration-color: var(--yellow); }
.footer-contact-link { font-weight: 700; }
.footer-quick-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 199, 0, 0.55);
  text-underline-offset: 4px;
  cursor: pointer;
}
.footer-quick-link:hover { text-decoration-color: var(--yellow); color: var(--yellow); }
.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.65); }
.footer-top-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 199, 0, 0.55);
  text-underline-offset: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.footer-top-link:hover { color: var(--yellow); text-decoration-color: var(--yellow); }
.footer-legal { text-align: center; margin-top: 1.4rem; }
.footer-legal p { margin: 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }
.footer-disclaimer { max-width: 640px; margin: 8px auto 0; font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); }
@media (max-width: 860px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
  .footer-disclaimer { margin-left: 0; }
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .contact-inner { grid-template-columns: 1fr; }
  .about-brand { flex-direction: column; align-items: center; }
  .about-mark { width: 140px; height: 140px; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; color: #fff; padding: 4px 0; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 6px 0 0 12px;
  }
  .nav-dropdown-menu a,
  .nav-dropdown-menu button.menu-link { color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; padding: 6px 0; }
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu button.menu-link:hover { color: var(--yellow); background: none; }
  .steps { flex-direction: column; gap: 20px; }
  .step-arrow { align-self: center; margin: -6px 0; transform: rotate(90deg); }
}

@media (max-width: 640px) {
  /* Keep the desktop overlapping fan on mobile — just scaled down
     to fit the viewport instead of stretching into a vertical list. */
  .price-stack {
    height: 205px;
    max-width: 340px;
  }
  .price-card {
    width: 34.5%;
    padding: 12px 11px;
    border-radius: 12px;
  }
  .price-card-brand {
    font-size: 0.82rem;
    margin-bottom: 6px;
  }
  .price-card-row {
    font-size: 0.62rem;
    padding: 4px 0;
    line-height: 1.3;
  }
  .price-card-row strong { font-size: 1.12rem; }
  .price-card-1 { left: 0; top: 0; }
  .price-card-2 { left: 32.75%; top: 20px; }
  .price-card-3 { left: 65.5%; top: 40px; }
}

@media (max-width: 380px) {
  .price-stack { height: 192px; }
  .price-card { padding: 10px 9px; }
  .price-card-brand { font-size: 0.76rem; }
  .price-card-row { font-size: 0.58rem; }
  .price-card-row strong { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* ============ TYPED SUBPAGE HEROES + CONTACT POPUP ============ */
.typed-headline {
  color: var(--yellow) !important;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
  min-height: 2.2em;
}
.typed-headline .typed-text { white-space: pre-line; }
.subpage-typed-wrap { max-width: 820px; }
.subpage-typed-intro {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 600;
  max-width: 640px;
  margin-top: 14px;
}
.typed-lines-list {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.typed-lines-list li {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  border-radius: 999px; padding: 7px 12px;
  font-size: .84rem; font-weight: 700;
}

/* Contact popup — BBB structure, TreadTax colors */
.contact-overlay {
  position: fixed; inset: 0; z-index: 220;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.contact-overlay[hidden] { display: none; }
.contact-modal {
  background: var(--surface);
  width: 100%; max-width: 520px;
  max-height: min(92dvh, 860px);
  overflow: auto;
  border-radius: 18px;
  border: 2px solid var(--yellow);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  padding: 22px 22px 20px;
}
.contact-modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
}
.contact-modal-head h2 { margin: 0; font-size: 1.45rem; }
.contact-modal-head p { margin: 4px 0 0; font-size: .92rem; }
.contact-close {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-alt);
  font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink);
}
.contact-close:hover { border-color: var(--black); }
.contact-banners { display: grid; gap: 10px; margin: 6px 0 16px; }
.contact-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 14px 16px; border-radius: 12px;
  font-weight: 900; font-size: 1rem; line-height: 1.15;
  border: 2px solid transparent; text-decoration: none;
}
.contact-banner small { display: block; font-weight: 700; font-size: .78rem; opacity: .78; margin-top: 2px; }
.contact-banner-call { background: var(--yellow); color: var(--black); }
.contact-banner-call:hover { background: var(--yellow-dark); text-decoration: none; }
.contact-banner-text { background: var(--black); color: #fff; border-color: var(--black); }
.contact-banner-text:hover { background: #232326; text-decoration: none; color: #fff; }
.contact-banner-text small { color: rgba(255,255,255,.72); }
.contact-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0 14px; color: var(--ink-soft);
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.contact-divider::before, .contact-divider::after { content: ""; height: 1px; background: var(--border); flex: 1; }
.contact-modal .contact-form { background: transparent; border: none; padding: 0; border-radius: 0; }
.contact-modal-success { text-align: center; padding: 14px 4px 6px; }
.contact-modal-success[hidden] { display: none; }
@media (max-width: 640px) {
  .typed-headline { min-height: 2.6em; }
  .contact-modal { padding: 18px 16px 16px; border-radius: 16px; }
}

/* Single light scheme by design: white/off-white background, black lines, yellow accents. */

/* ============ FULL-SCREEN CHAT PAGE (restored) ============ */
body.chat-active { overflow: hidden; }
body.chat-active .site-footer { display: none; }
.page-chat { background: var(--bg); }
.page-chat.active { display: flex; flex-direction: column; height: calc(100dvh - 72px); min-height: 520px; }
.chat-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--bg); }
.chat-topbar {
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.chat-topbar-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 24px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.chat-kicker {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow-dark); margin: 0 0 4px;
}
.chat-topbar h2 { font-size: 1.35rem; margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
.chat-topbar p { margin: 4px 0 0; font-size: .88rem; color: var(--ink-soft); max-width: 520px; }
.chat-status {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
  font-size: .75rem; font-weight: 700; color: var(--ink-soft);
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 10px; background: var(--bg-alt); white-space: nowrap;
}
.chat-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #1a9e4b; display: inline-block; }
.chat-stream-wrap { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.chat-stream {
  max-width: 880px; margin: 0 auto; padding: 26px 24px 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.chat-msg { display: flex; gap: 10px; max-width: 92%; }
.chat-msg.assistant { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 900; letter-spacing: .02em;
  background: var(--black); color: var(--yellow); border: 1px solid rgba(0,0,0,.08);
  margin-top: 2px;
}
.chat-msg.user .chat-avatar { background: var(--yellow); color: var(--black); }
.chat-bubble {
  padding: 12px 14px; border-radius: 16px; font-size: .97rem; line-height: 1.55;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.chat-msg.assistant .chat-bubble { border-top-left-radius: 6px; }
.chat-msg.user .chat-bubble { background: var(--black); color: #fff; border-color: var(--black); border-top-right-radius: 6px; }
.chat-bubble p { margin: 0 0 .55em; color: inherit; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-bubble ul { margin: 6px 0 0; padding-left: 18px; }
.chat-bubble li { margin: 3px 0; }
.chat-bubble strong { color: inherit; }
.chat-typing { display: inline-flex; gap: 5px; align-items: center; padding: 4px 2px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); opacity: .45; animation: chat-typing 1s infinite; }
.chat-typing span:nth-child(2){ animation-delay: .15s } .chat-typing span:nth-child(3){ animation-delay: .3s }
@keyframes chat-typing { 0%,100%{ transform: translateY(0); opacity:.35 } 50%{ transform: translateY(-2px); opacity:.85 } }
.chat-suggestions {
  flex-shrink: 0; border-top: 1px solid var(--border); background: var(--surface);
}
.chat-suggestions-inner {
  max-width: 880px; margin: 0 auto; padding: 10px 24px 0;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.chat-chip {
  border: 1px solid var(--border); background: var(--bg); color: var(--ink);
  border-radius: 999px; padding: 8px 12px; font-size: .83rem; font-weight: 600; cursor: pointer;
}
.chat-chip:hover { border-color: var(--black); background: var(--bg-alt); }
.chat-composer { flex-shrink: 0; background: var(--surface); padding-bottom: env(safe-area-inset-bottom); }
.chat-composer-inner { max-width: 880px; margin: 0 auto; padding: 12px 24px 16px; }
.chat-composer-box {
  display: flex; gap: 10px; align-items: flex-end;
  border: 1.5px solid var(--border); border-radius: 18px; background: var(--bg); padding: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
}
.chat-composer-box:focus-within { border-color: var(--black); box-shadow: 0 0 0 3px rgba(255,199,0,.32); }
.chat-input {
  flex: 1; min-width: 0; border: none; outline: none; resize: none; background: transparent;
  font: inherit; font-size: 1rem; line-height: 1.45; color: var(--ink); padding: 8px 6px; max-height: 140px;
}
.chat-input::placeholder { color: rgba(74,74,74,.55); font-style: italic; }
.chat-send {
  flex-shrink: 0; border: none; cursor: pointer; border-radius: 999px;
  background: var(--yellow); color: var(--black); font-weight: 800; font-size: .92rem;
  padding: 11px 16px; line-height: 1; display: inline-flex; align-items: center; gap: 7px;
}
.chat-send:hover { background: var(--yellow-dark); }
.chat-send:disabled { opacity: .55; cursor: not-allowed; }
.chat-fineprint { max-width: 880px; margin: 0 auto; padding: 0 24px 12px; font-size: .76rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; }
.chat-fineprint a { color: var(--ink); text-decoration-color: var(--yellow); }
.chat-actions-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chat-action-btn {
  border: 1px solid var(--black); background: var(--yellow); color: var(--black);
  border-radius: 999px; padding: 9px 13px; font-size: .85rem; font-weight: 800; cursor: pointer;
}
.chat-action-btn.secondary { background: transparent; color: var(--ink); border-color: var(--border); font-weight: 700; }
@media (max-width: 640px) {
  .page-chat.active { height: calc(100dvh - 64px); min-height: 0; }
  .site-header .header-inner { height: 64px; }
  .chat-topbar-inner, .chat-stream, .chat-suggestions-inner, .chat-composer-inner, .chat-fineprint { padding-left: 16px; padding-right: 16px; }
  .chat-topbar h2 { font-size: 1.18rem; }
  .chat-status { display: none; }
  .chat-msg { max-width: 96%; }
  .chat-bubble { font-size: .95rem; padding: 11px 12px; }
  .chat-suggestions-inner { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .chat-suggestions-inner::-webkit-scrollbar { display: none; }
  .chat-chip { white-space: nowrap; flex-shrink: 0; }
}
/* ============ LIGHT "WINDOW" REDESIGN — black / white / yellow, thin crisp rounded black lines ============ */
/* Heroes become white panels framed by a thin black line (a clear window) */
.hero { background: transparent; color: var(--ink); padding: 38px 20px 46px; }
.hero-sub-page { padding: 38px 20px 42px; }
.hero .wrap {
  background: var(--surface);
  border: 1.5px solid var(--frame);
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}
.hero h1 { color: var(--black); }
.typed-headline { color: var(--black) !important; }
.hero-sub { color: var(--ink); }
.hero-sub-page .eyebrow { color: var(--yellow-dark); }
.subpage-typed-intro { color: var(--ink-soft); }
.hero-option-desc { color: var(--ink-soft); }
.hero-note { color: var(--ink-soft); }
.typed-lines-list li { border: 1.5px solid var(--frame); background: var(--surface); color: var(--ink); }
.hero-services-menu { border: 1.5px solid var(--frame); background: var(--surface); }
.hero-services-link { border: 1.5px solid var(--frame); color: var(--ink); background: transparent; }
.hero-services-link:hover { border-color: var(--frame); background: var(--yellow); color: var(--black); }
.btn-hero-alt { border: 2px solid var(--frame); background: var(--surface); color: var(--black); }
.btn-hero-alt:hover { background: var(--yellow); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }
.btn-hero-secondary { border: 1.5px solid var(--frame); background: var(--surface); color: var(--ink); }
.btn-hero-secondary:hover { background: var(--bg-alt); border-color: var(--frame); color: var(--black); }
.btn-hero-secondary[aria-expanded="true"] { background: rgba(255, 199, 0, 0.25); border-color: var(--frame); color: var(--black); }

/* The one big landing-page services button — solid black, yellow text */
.btn-hero-main {
  display: inline-flex;
  align-items: center;
  padding: 17px 38px;
  border-radius: 999px;
  border: 2px solid var(--frame);
  background: var(--black);
  color: var(--yellow);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-hero-main:hover { transform: translateY(-1px); background: #232326; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); text-decoration: none; }

/* Price fan recolored for the light panel */
.price-card--dim { background: #edeae1; color: #5a5a54; opacity: 1; filter: none; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12); }
.price-card--dim .price-card-brand { color: #4c4c46; }
.price-card--dim .price-card-row { border-bottom-color: rgba(0, 0, 0, 0.10); }
.price-card--dim .price-card-row strong { color: #33332f; }
.price-card--dimmer { background: #e3e0d3; color: #76766c; opacity: 1; filter: none; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10); }
.price-card--dimmer .price-card-brand { color: #6a6a62; }
.price-card--dimmer .price-card-row { border-bottom-color: rgba(0, 0, 0, 0.08); }
.price-card--dimmer .price-card-row strong { color: #55554d; }
.hero-visual-caption { color: var(--ink-soft); }

/* Cards: thin crisp black frame + Our Fees footer button */
.card {
  border: 1.5px solid var(--frame);
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--frame); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10); }
.btn-card-fees {
  margin-top: auto;
  align-self: flex-start;
  background: var(--yellow);
  color: var(--black);
  border: 1.5px solid var(--frame);
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 999px;
}
.btn-card-fees:hover { background: var(--yellow-dark); text-decoration: none; }
.compare-card .btn-card-fees { margin-top: 16px; }

/* Pillars (icon-led values, no numbers) */
.pillars-head { max-width: 640px; }
.pillars-eyebrow {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--yellow-dark); margin: 0 0 8px;
}
.pillar-icon {
  width: 76px; height: 76px; border-radius: 18px;
  background: var(--yellow); border: 1.5px solid var(--frame);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--black); flex-shrink: 0;
}
.pillar-icon svg { width: 44px; height: 44px; }
.pillars-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 1.75rem; }

/* Fees tables */
.fees-frame { background: var(--surface); border: 1.5px solid var(--frame); border-radius: 16px; overflow: hidden; }
.fees-table { width: 100%; border-collapse: collapse; }
.fees-table th, .fees-table td { padding: 18px 20px; text-align: left; vertical-align: top; }
.fees-table thead th {
  background: var(--bg-alt); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
  border-bottom: 1.5px solid var(--frame);
}
.fees-table thead th.fees-price-head { text-align: right; }
.fees-table tbody tr + tr { border-top: 1px solid var(--border); }
.fees-table tbody th { font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.fees-table td { color: var(--ink-soft); }
.fees-table .fees-price { text-align: right; font-weight: 900; font-size: 1.4rem; color: var(--black); white-space: nowrap; }
.fees-table .fees-price small { display: block; font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.02em; }
.fees-table .fees-price-tbd { font-size: 1rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.fees-table .fees-price-note { font-size: 1.05rem; color: var(--black); }
.fees-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 1rem; }
@media (max-width: 640px) {
  .fees-table thead { display: none; }
  .fees-table tbody tr { display: block; padding: 16px 18px; }
  .fees-table tbody tr + tr { border-top: 1px solid var(--border); }
  .fees-table th, .fees-table td { display: block; padding: 0; }
  .fees-table tbody th { margin-bottom: 4px; white-space: normal; }
  .fees-table .fees-price { text-align: left; margin-top: 8px; }
}

/* Price comparison cards */
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.compare-card {
  background: var(--surface); border: 1.5px solid var(--frame); border-radius: 16px;
  padding: 24px; display: flex; flex-direction: column;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}
.compare-card--featured { border-top: 6px solid var(--yellow); }
.compare-brand { font-weight: 900; font-size: 1.15rem; margin: 0 0 6px; color: var(--ink); letter-spacing: -0.01em; }
.compare-badge {
  display: inline-block; align-self: flex-start;
  background: var(--yellow); color: var(--black); border: 1.5px solid var(--frame);
  font-weight: 800; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; margin-bottom: 14px;
}
.compare-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.compare-row:last-of-type { border-bottom: none; }
.compare-label { font-size: 0.88rem; color: var(--ink-soft); }
.compare-value { font-weight: 900; font-size: 1.12rem; color: var(--ink); white-space: nowrap; text-align: right; }
.compare-value small { display: block; font-size: 0.72rem; font-weight: 600; color: var(--ink-soft); white-space: normal; }
.compare-note { font-size: 0.78rem; line-height: 1.5; color: var(--ink-soft); margin: 14px 0 0; }
.compare-source { font-size: 0.78rem; color: var(--ink-soft); margin-top: 1rem; }

/* Framed forms + menus */
.form-row input, .form-row textarea { border: 1.5px solid var(--frame); border-radius: 10px; }
.contact-form { border: 1.5px solid var(--frame); }
.nav-dropdown-menu { border: 1.5px solid var(--frame); border-radius: 12px; }

/* Typewriter containment — typed lines may wrap; never spill sideways */
#hero-typed { white-space: pre-wrap; }
.hero h1 { overflow-wrap: break-word; }
.typed-headline { overflow-wrap: break-word; }
@media (max-width: 640px) {
  .hero { padding: 22px 14px 30px; }
  .hero-sub-page { padding: 22px 14px 28px; }
  .hero .wrap { padding: 28px 20px; border-radius: 18px; }
  .hero h1 { font-size: clamp(1.8rem, 9.2vw, 2.35rem); min-height: 4.15em; }
  .hero-sub-page h1.typed-headline { font-size: clamp(1.55rem, 7.6vw, 2rem); }
}


