/* Shared styles for hunterthomasllc.com: / and /family. */
  :root {
    --ground: #E4E9EE;
    --ink: #0F1B2A;
    --muted: #4A5868;
    --line: #C9D2DC;
    --accent: #1F5140;
    --field: #F2F5F8;
    --btn: #0F1B2A;
    --btn-ink: #F2F5F8;
    --bubble: #DCE3EA;
    --out: #1F5140;
    --out-ink: #F2F5F8;
    --hand: #D6E4DD;
    --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      color-scheme: dark;
      --ground: #111416;
      --ink: #E7EAEB;
      --muted: #9AA2A7;
      --line: #262B2E;
      --accent: #7DB59C;
      --field: #171B1D;
      --btn: #E7EAEB;
      --btn-ink: #111416;
      --bubble: #1E2427;
      --out: #7DB59C;
      --out-ink: #111416;
      --hand: #17271F;
    }
  }
  :root[data-theme="dark"] {
    color-scheme: dark;
    --ground: #111416;
    --ink: #E7EAEB;
    --muted: #9AA2A7;
    --line: #262B2E;
    --accent: #7DB59C;
    --field: #171B1D;
    --btn: #E7EAEB;
    --btn-ink: #111416;
    --bubble: #1E2427;
    --out: #7DB59C;
    --out-ink: #111416;
    --hand: #17271F;
  }

  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body { margin: 0; }
  img { max-width: 100%; }
  [hidden] { display: none !important; }
  body {
    background: var(--ground);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  .wrap { max-width: 980px; margin: 0 auto; padding-inline: 24px; }
  h1, h2, h3 { font-weight: 500; margin: 0; text-wrap: balance; }
  p, ul, ol { margin: 0; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

  html { scroll-behavior: smooth; }
  section[id] { scroll-margin-top: 72px; }
  header {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
    padding-block: 16px;
    background: color-mix(in srgb, var(--ground) 92%, transparent);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  header { transition: transform .25s ease; }
  header.away { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px))); }
  header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; }
  .mark { font-weight: 600; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
  header nav { display: flex; gap: 22px; }
  header nav a { color: var(--muted); text-decoration: none; font-size: 15px; white-space: nowrap; }
  header nav a:hover { color: var(--ink); }
  header nav a.contact { color: var(--ink); font-weight: 600; }
  @media (max-width: 899px) { header nav a.more { display: none; } header nav { gap: 18px; } }
  @media (max-width: 559px) {
    header nav a.mid { display: none; }
    header nav { gap: 14px; }
    header nav a { font-size: 14px; }
    .mark { font-size: 13px; letter-spacing: 0.12em; }
  }
  @media (max-width: 359px) { header nav a.small { display: none; } }

  .hero { padding-block: 88px 96px; }
  .hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: clamp(36px, 4.8vw, 54px); line-height: 1.08; letter-spacing: -0.022em; max-width: 15em; }
  .hero p { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 32em; }
  .hero .assure { margin-top: 16px; font-size: 15px; }
  @media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 44px; } }

  /* example approval message */
  .phone { border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px 20px; max-width: 400px; width: 100%; background: var(--field); }
  .phone .meta { font-size: 12.5px; color: var(--muted); text-align: center; margin-bottom: 14px; }
  .msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
  .msg + .msg { margin-top: 8px; }
  .msg.in { background: var(--bubble); border-bottom-left-radius: 5px; }
  .msg.out { background: var(--out); color: var(--out-ink); margin-left: auto; border-bottom-right-radius: 5px; width: fit-content; font-weight: 500; }
  .msg b { font-weight: 600; }
  .linkcard { display: block; margin: 10px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); }
  .linkcard .t { display: block; font-weight: 600; font-size: 14.5px; }
  .linkcard .d { display: block; font-size: 13.5px; color: var(--muted); }
  .linkcard .go { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
  .hero .phone-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); max-width: 400px; }

  /* before and after */
  .ba { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .ba > div { border-top: 1px solid var(--line); padding-top: 16px; }
  .ba .tag { margin-top: 0; font-size: 14px; color: var(--muted); }
  .ba .after .tag { color: var(--accent); font-weight: 600; }
  .ba .big { margin-top: 6px; color: var(--ink); font-size: clamp(24px, 3vw, 30px); font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
  .ba p { margin-top: 6px; color: var(--muted); font-size: 16px; }
  .note { margin-top: 20px; font-size: 14px; color: var(--muted); }
  @media (max-width: 760px) { .ba { grid-template-columns: 1fr; gap: 24px; } }
  .btn {
    display: inline-block; margin-top: 36px;
    background: var(--btn); color: var(--btn-ink);
    font: 500 16px var(--font); text-decoration: none;
    padding: 13px 22px; border-radius: 6px; border: 0; cursor: pointer;
    transition: opacity .15s ease;
  }
  .btn:hover { opacity: 0.86; }

  section.row { border-top: 1px solid var(--line); padding-block: 64px; }
  section.row .wrap { display: grid; grid-template-columns: 200px 1fr; gap: 32px; }
  .label { font-size: 14px; color: var(--muted); padding-top: 4px; }
  .row h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; letter-spacing: -0.015em; max-width: 20em; }
  @media (max-width: 760px) {
    section.row .wrap { grid-template-columns: 1fr; gap: 12px; }
    .hero { padding-block: 56px 64px; }
  }

  ol.steps { list-style: none; padding: 0; margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
  ol.steps li { counter-increment: s; }
  ol.steps li::before { content: counter(s); display: block; font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
  ol.steps h3 { font-size: 18px; font-weight: 600; }
  ol.steps p { margin-top: 6px; color: var(--muted); font-size: 16px; }
  @media (max-width: 760px) { ol.steps { grid-template-columns: 1fr; gap: 24px; } }

  .sub { margin-top: 56px; font-size: 14px; color: var(--muted); }
  .sub + .list { margin-top: 12px; }
  .list { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
  .list div { padding-block: 16px; border-top: 1px solid var(--line); }
  .list h3 { font-size: 16.5px; font-weight: 600; }
  .list p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }
  @media (max-width: 760px) { .list { grid-template-columns: 1fr; } }

  .channels { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
  .channels span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 15px; font-weight: 500; }
  .lead { margin-top: 24px; color: var(--muted); max-width: 34em; }
  .asks { list-style: none; padding: 0; margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 40px; }
  .asks li { padding-block: 12px; border-top: 1px solid var(--line); font-size: 15.5px; }
  .asks li::before { content: "\201C"; color: var(--accent); font-weight: 600; margin-right: 2px; }
  .asks li::after { content: "\201D"; color: var(--accent); font-weight: 600; }
  @media (max-width: 760px) { .asks { grid-template-columns: 1fr; } }
  .principles { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 20px; }
  .principles li { display: grid; grid-template-columns: 1fr; gap: 2px; }
  .principles b { font-weight: 600; }
  .principles span { color: var(--muted); }


  .email { margin-top: 20px; font-size: clamp(20px, 2.6vw, 26px); font-weight: 500; }
  .email a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
  .email a:hover { border-bottom-width: 2px; }

  /* data map: hands and a brain */
  .datamap { margin-top: 32px; }
  .dm-wide { display: block; width: 100%; height: auto; font-family: var(--font); color: var(--muted); }
  .dm-zone { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 5 5; }
  .dm-zt { font-size: 15px; font-weight: 600; fill: var(--ink); }
  .dm-zs { font-size: 13px; fill: var(--muted); }
  .dm-hand rect { fill: var(--hand); stroke: var(--accent); stroke-width: 1; }
  .dm-brain rect { fill: var(--ink); }
  .dm-person rect { fill: var(--field); stroke: var(--muted); stroke-width: 1; }
  .dm-t { font-size: 15px; font-weight: 600; fill: var(--ink); }
  .dm-s { font-size: 13px; fill: var(--muted); }
  .dm-brain .dm-t, .dm-brain .dm-s { fill: var(--ground); }
  .dm-arr { fill: none; stroke: currentColor; stroke-width: 1.5; }
  .dm-narrow { display: none; }
  .dm-box { border: 1px dashed var(--muted); border-radius: 12px; padding: 14px; display: grid; gap: 6px; }
  .dm-box > p { font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
  .dm-box > p b { color: var(--ink); font-weight: 600; }
  .dm-step { border-radius: 8px; padding: 10px 12px; font-size: 15px; line-height: 1.4; }
  .dm-step b { display: block; font-weight: 600; }
  .dm-step span { display: block; font-size: 13.5px; color: var(--muted); }
  .dm-step.hand { background: var(--hand); border: 1px solid var(--accent); }
  .dm-step.brain { background: var(--ink); color: var(--ground); }
  .dm-step.brain span { color: var(--ground); }
  .dm-step.person { background: var(--field); border: 1px solid var(--muted); }
  .dm-down { text-align: center; color: var(--muted); font-size: 14px; line-height: 1; }
  .dm-legend { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--muted); }
  .dm-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
  .dm-legend i.hand { background: var(--hand); border: 1px solid var(--accent); }
  .dm-legend i.brain { background: var(--ink); }
  .dm-legend i.person { background: var(--field); border: 1px solid var(--muted); }
  .peek { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .peek > div { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: var(--field); }
  .peek h3 { font-size: 15px; font-weight: 600; }
  .peek pre { margin: 10px 0 0; font: 13.5px/1.65 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; white-space: pre-wrap; color: var(--ink); }
  .peek .small { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
  @media (max-width: 760px) {
    .dm-wide { display: none; }
    .dm-narrow { display: grid; gap: 8px; }
    .peek { grid-template-columns: 1fr; }
  }

  footer { border-top: 1px solid var(--line); padding-block: 32px 48px; font-size: 14px; color: var(--muted); }
  footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
  .foot-links { display: flex; gap: 20px; }
  .foot-links a { color: var(--muted); text-decoration: none; }
  .foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

  /* "Also for home" strip on the business page */
  .also {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
    margin-bottom: 40px; padding: 14px 18px;
    border: 1px solid var(--line); border-radius: 10px; background: var(--field);
    text-decoration: none; color: var(--ink);
  }
  .also:hover { border-color: var(--accent); }
  .also-tag { font-size: 13px; font-weight: 600; color: var(--accent); }
  .also-text { flex: 1 1 320px; font-size: 15.5px; color: var(--muted); }
  .also-text b { color: var(--ink); font-weight: 600; }
  .also-go { font-size: 15px; font-weight: 600; color: var(--accent); white-space: nowrap; }

  /* Family page */
  .rules-list { list-style: none; padding: 0; margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 40px; }
  .rules-list li { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
  .rules-list b { font-weight: 600; }
  .rules-list span { color: var(--muted); font-size: 16px; }
  .now-next { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .now-next > div { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; background: var(--field); }
  .now-next h3 { font-size: 15px; font-weight: 600; }
  .now-next .next h3 { color: var(--accent); }
  .now-next ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); font-size: 16px; }
  .needs { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 10px; }
  .needs li { padding-left: 22px; position: relative; }
  .needs li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
  .needs .opt { color: var(--muted); }
  @media (max-width: 760px) { .rules-list, .now-next { grid-template-columns: 1fr; } }

  @media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
