/* Shared shell for the lander ("/") and the specialist page ("/mm"):
   tokens, header, footer, buttons and form fields. */
:root {
  --ink: #0f1f2e;
  --ink-2: #23384a;
  --muted: #56687a;
  --line: #cfdae4;
  --paper: #f3f7f7;
  --white: #fff;
  --teal: #0f8f7e;
  --teal-dark: #0b7466;
  --mint: #e6f5f2;
  --mint-soft: #f1faf8;
  --mint-line: #b9e0da;
  --go: #0e7a46;
  --go-dark: #0a5c35;
  --slate-soft: #eef3f7;
  --danger: #a71935;
  /* The check mark in the logo. Used for the closing line of each headline. */
  --zen-mint: #32bda7;
  --shell: 1140px;
  --gutter: max(20px, calc((100vw - var(--shell)) / 2));
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --grotesk: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
button, input { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(15, 143, 126, .5); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.brand-header { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); background: var(--white); }
.brand-header-sticky { position: sticky; z-index: 30; top: 0; min-height: 72px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px); }
.brand-logo { display: inline-flex; align-items: center; border-radius: 6px; }
.brand-logo img { display: block; width: 156px; height: auto; }
.brand-header nav { display: flex; gap: 30px; }
.brand-header nav a { color: var(--ink-2); font-size: 15px; font-weight: 600; text-decoration: none; }
.brand-header nav a:hover { color: var(--teal-dark); }
.header-phone { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--go); text-decoration: none; transition: border-color .18s ease, background .18s ease; }
.header-phone:hover { border-color: var(--go); background: #f1f9f4; }
.header-phone svg { flex: none; width: 20px; height: 20px; }
.header-phone span { display: grid; line-height: 1.2; }
.header-phone small { color: var(--muted); font-size: 11.5px; }
.header-phone b { font-family: var(--grotesk); font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.button:disabled { cursor: not-allowed; opacity: .5; }
.button-go { border-bottom: 3px solid var(--go-dark); background: var(--go); color: #fff; }
.button-go:hover:not(:disabled) { background: #0c6a3d; }
.button-ink { background: var(--ink); color: #fff; }
.button-ink:hover { background: var(--ink-2); }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--mint); }
.button-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.button-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.header-cta { min-height: 44px; padding: 0 18px; font-size: 15px; }

.field { display: grid; gap: 6px; }
.field-label { color: var(--ink); font-size: 14px; font-weight: 700; }
.field-optional { margin-left: 6px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid #b9c7d3; border-radius: 10px; background-color: var(--white); color: var(--ink); font-size: 17px; transition: border-color .18s ease, box-shadow .18s ease; }
.field select { padding-right: 38px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2356687a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-position: right 14px center; background-repeat: no-repeat; cursor: pointer; }
.field select:invalid { color: #6e7f8f; }
.field input::placeholder { color: #6e7f8f; opacity: 1; }
.field input:hover, .field select:hover { border-color: #8fa3b5; }
.field input:focus, .field select:focus { border-color: var(--teal); outline: 0; box-shadow: 0 0 0 3px rgba(15, 143, 126, .2); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); background-color: #fff8f9; box-shadow: 0 0 0 3px rgba(167, 25, 53, .1); }
.field-control { position: relative; display: block; }
.field-money::before { position: absolute; top: 50%; left: 14px; color: var(--muted); font-size: 17px; content: "$"; transform: translateY(-50%); }
.field-money input { padding-left: 28px; }
.field-hint { color: var(--muted); font-size: 13px; }
.field-error { color: var(--danger); font-size: 13px; font-weight: 600; }
.field-error:empty { display: none; }

.brand-footer { padding: 0 var(--gutter); background: var(--ink); color: #dce5ed; }
.brand-footer-main { display: flex; min-height: 84px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding: 22px 0; }
.brand-footer-logo { display: inline-flex; border-radius: 6px; }
.brand-footer-logo img { display: block; width: 156px; height: auto; }
.brand-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.brand-footer nav a { color: #dce5ed; font-size: 15px; text-decoration: none; }
.brand-footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.brand-footer-legal { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 40px; padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, .14); color: #a9b9c8; font-size: 13px; line-height: 1.55; }
.brand-footer-legal p { max-width: 760px; margin: 0; }
.brand-footer-legal span { white-space: nowrap; }

@media (max-width: 900px) {
  .brand-header nav { display: none; }
}

@media (max-width: 760px) {
  .brand-header-sticky { min-height: 64px; }
  .brand-logo img { width: 140px; }
  .header-cta { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .header-phone { padding: 5px 10px 5px 8px; }
  .header-phone small { font-size: 10.5px; }
  .header-phone b { font-size: 15px; }
}

@media (max-width: 560px) {
  .header-phone { gap: 8px; }
  .header-phone small { display: none; }
  .brand-footer-main { flex-direction: column; justify-content: center; gap: 18px; padding: 30px 0 26px; }
  .brand-footer nav { justify-content: center; gap: 14px 22px; }
  .brand-footer-legal { flex-direction: column; align-items: flex-start; }
  .brand-footer-legal span { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
