/* ==========================================================================
   LOGISTICS FOX — site styles
   Palette:
     --ink        #14181D  deep slate (near-black, blue-leaning)
     --slate      #1E252C  panel slate
     --steel      #3A4450  borders / muted structure
     --fog        #F5F6F4  page background (cool off-white)
     --paper      #FFFFFF  cards
     --fox        #EE7406  fox orange (single accent)
     --fox-deep   #C05E00  hover / pressed
     --moss       #7A8B7F  quiet secondary for meta text on light
   Type:
     Display — "Barlow Condensed" 600/700, uppercase, tight
     Body    — "IBM Plex Sans"
     Data    — "IBM Plex Mono" (manifest strips, stats, labels)
   ========================================================================== */

/* Fonts are loaded via <link> in each page's <head> with preconnect —
   an @import here would add a render-blocking round trip. */

:root {
  --ink: #14181D;
  --slate: #1E252C;
  --steel: #3A4450;
  --fog: #F5F6F4;
  --paper: #FFFFFF;
  --fox: #EE7406;
  --fox-deep: #C05E00;
  --line-light: #E2E4E0;
  --text-muted: #5D6771;
  --text-inverse-muted: #9BA6B0;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  --max-w: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--fog);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--fox);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ------------------------------------------------------------------ utility bar */
.utility {
  background: var(--ink);
  color: var(--text-inverse-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}
.utility .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}
.utility a {
  color: #E8EBEE;
  text-decoration: none;
  padding: 8px 0;
}
.utility a:hover { color: var(--fox); }
.utility .u-left { display: flex; gap: 24px; }
.utility .u-right { display: flex; gap: 24px; align-items: center; }
.utility .u-login {
  color: var(--fox);
  font-weight: 500;
}

/* ------------------------------------------------------------------ header / nav */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line-light);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 40px; height: 40px;
  background: var(--fox);
  clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0 70%, 0 30%);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.brand-name span { color: var(--fox); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 4px;
}
.main-nav a:hover { background: var(--fog); color: var(--fox-deep); }
.main-nav a[aria-current="page"] { color: var(--fox-deep); }

.nav-cta {
  background: var(--fox);
  color: #fff !important;
  font-weight: 600;
  border-radius: 4px;
  padding: 12px 20px !important;
}
.nav-cta:hover { background: var(--fox-deep) !important; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-light);
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter) 20px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--line-light);
    border-radius: 4px;
    padding: 8px 14px;
    font-family: var(--font-mono);
    font-size: 13px;
    cursor: pointer;
  }
}

/* ------------------------------------------------------------------ manifest strip (signature) */
.manifest {
  background: var(--slate);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  overflow: hidden;
  white-space: nowrap;
}
.manifest-track {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-inverse-muted);
  padding: 9px 0;
  animation: manifest-scroll 55s linear infinite;
}
.manifest-track b { color: #E8EBEE; font-weight: 500; }
.manifest-track .ok { color: #7FC98B; }
.manifest-track .fx { color: var(--fox); }
.manifest-track span { margin-right: 48px; }
@keyframes manifest-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .manifest-track { animation: none; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* faint route grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* photographic hero layer — greyed-out photo under the route grid.
   Usage: <section class="hero hero-photo" style="--hero-img:url('img/hero/home.jpg')">
   Missing image degrades silently to the plain ink hero. */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: var(--hero-pos, center 35%);
  filter: grayscale(1) contrast(1.08);
  opacity: .38;
  pointer-events: none;
}
.hero-photo .wrap { position: relative; z-index: 1; }
/* left-side scrim so headline text keeps contrast over busy photos */
.hero-photo::after {
  background-image:
    linear-gradient(90deg, rgba(20,24,29,.72) 0%, rgba(20,24,29,.35) 55%, rgba(20,24,29,.08) 100%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 104px);
  align-items: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fox);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(44px, 6.5vw, 78px);
  line-height: .96;
  letter-spacing: .005em;
}
.hero h1 em {
  font-style: normal;
  color: var(--fox);
}
.hero p.lede {
  margin-top: 22px;
  font-size: 17px;
  max-width: 52ch;
  color: #C9D0D6;
}
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--fox); color: #fff; }
.btn-primary:hover { background: var(--fox-deep); }
.btn-ghost { border-color: var(--steel); color: #E8EBEE; }
.btn-ghost:hover { border-color: var(--fox); color: var(--fox); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--slate); }

/* quote / track panel */
.panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.panel h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .02em;
}
.panel-tabs {
  display: flex;
  gap: 6px;
  margin: 16px 0 18px;
  border-bottom: 1px solid var(--line-light);
}
.panel-tabs button {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text-muted);
}
.panel-tabs button[aria-selected="true"] {
  color: var(--fox-deep);
  border-bottom-color: var(--fox);
  font-weight: 500;
}
.panel form { display: grid; gap: 12px; }
.panel form[hidden] { display: none; }
.panel label {
  font-size: 13px;
  font-weight: 500;
  display: grid;
  gap: 5px;
}
.panel input, .panel select {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  background: var(--fog);
}
.panel input:focus, .panel select:focus {
  outline: 2px solid var(--fox);
  outline-offset: 0;
  border-color: var(--fox);
}
.panel .btn { width: 100%; text-align: center; }
.panel .fine {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

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

/* ------------------------------------------------------------------ stats band */
.stats {
  background: var(--paper);
  border-bottom: 1px solid var(--line-light);
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 40px;
  padding-bottom: 40px;
  gap: 24px;
}
.stat { border-left: 3px solid var(--fox); padding-left: 18px; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1;
  letter-spacing: .01em;
}
.stat span {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1;
}
.section-head p { margin-top: 14px; color: var(--text-muted); font-size: 17px; }

.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-head p { color: #C9D0D6; }

/* services grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.svc {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 26px 24px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s ease, transform .15s ease;
}
.svc:hover { border-color: var(--fox); transform: translateY(-3px); }
.svc .svc-code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--fox-deep);
}
.svc h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.05;
}
.svc p { font-size: 14.5px; color: var(--text-muted); flex: 1; }
.svc .svc-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--fox-deep);
}
.svc-grid.five { grid-template-columns: repeat(5, 1fr); }
.svc-grid.five h3 { font-size: 21px; }
@media (max-width: 900px) { .svc-grid, .svc-grid.five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid, .svc-grid.five { grid-template-columns: 1fr; } }

/* tech split */
.tech-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.tech-card {
  border: 1px solid var(--steel);
  border-radius: 6px;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--slate);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tech-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fox);
}
.tech-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1;
}
.tech-card p { color: #C9D0D6; font-size: 15.5px; }
.tech-card ul {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-top: 4px;
}
.tech-card li {
  font-size: 14.5px;
  color: #E8EBEE;
  padding-left: 22px;
  position: relative;
}
.tech-card li::before {
  content: "▸";
  color: var(--fox);
  position: absolute;
  left: 0;
}
.tech-card .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 860px) { .tech-split { grid-template-columns: 1fr; } }

/* audience bands (agents / careers / carriers) */
.bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.band {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-top: 4px solid var(--fox);
  border-radius: 6px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.band h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
}
.band p { color: var(--text-muted); font-size: 15px; flex: 1; }
.band .btn { align-self: flex-start; }
@media (max-width: 860px) { .bands { grid-template-columns: 1fr; } }

/* CTA */
.cta {
  background: var(--fox);
  color: #fff;
}
.cta .wrap {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 72px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1;
  max-width: 16ch;
}
.cta .btn { background: var(--ink); color: #fff; }
.cta .btn:hover { background: var(--slate); }

/* ------------------------------------------------------------------ FoxIQ capability grid (technology page) */
.iq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.iq {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: clamp(26px, 3vw, 36px);
}
.iq .iq-id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fox-deep);
  display: block;
  margin-bottom: 10px;
}
.iq h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.02;
}
.iq p { margin-top: 10px; color: var(--text-muted); font-size: 15px; }
.iq .iq-line {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  background: var(--fog);
  border-left: 3px solid var(--fox);
  padding: 10px 14px;
  overflow-x: auto;
  white-space: nowrap;
}
@media (max-width: 860px) { .iq-grid { grid-template-columns: 1fr; } }

/* steps (how FoxTMS works) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  padding: 22px;
  border: 1px solid var(--steel);
  border-radius: 6px;
  background: var(--slate);
}
.step .step-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--fox);
}
.step h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 21px;
  margin-top: 6px;
}
.step p { font-size: 13.5px; color: #C9D0D6; margin-top: 6px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ footer */
.site-footer {
  background: var(--ink);
  color: var(--text-inverse-muted);
  font-size: 14px;
}
.site-footer .wrap {
  padding-top: 56px;
  padding-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--steel);
}
.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #E8EBEE;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-inverse-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--fox); }
.footer-brand p { max-width: 34ch; margin-top: 12px; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.footer-legal a { color: var(--text-inverse-muted); text-decoration: none; margin-left: 18px; }
.footer-legal a:hover { color: var(--fox); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------ brand assets */
.brand-logo { height: 44px; width: auto; }
@media (max-width: 560px) { .brand-logo { height: 36px; } }
.footer-tail {
  /* the tail art has a dark inner shadow that disappears on the dark
     footer — set it on a white disc (same motif as the office mural) */
  height: 56px;
  width: 56px;
  background: #fff;
  border-radius: 50%;
  padding: 9px;
  object-fit: contain;
  margin-bottom: 12px;
}

/* ==================================================================
   Interior-page components (agents, contact, careers, claims,
   company, carriers, services, legal)
   ================================================================== */

/* single-column hero variant for interior pages */
.hero-single .wrap { grid-template-columns: 1fr; }

/* generic two-column split on light sections */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 860px) { .split-2 { grid-template-columns: 1fr; } }

/* orange-arrow checklist on light backgrounds */
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li {
  padding-left: 24px;
  position: relative;
  font-size: 15.5px;
}
.ticks li::before {
  content: "▸";
  color: var(--fox);
  position: absolute;
  left: 0;
  font-weight: 600;
}

/* ------------------------------------------------------------------ forms */
.form-card {
  background: var(--paper);
  color: var(--ink); /* cards stay legible inside dark sections */
  border: 1px solid var(--line-light);
  border-top: 4px solid var(--fox);
  border-radius: 6px;
  padding: clamp(26px, 3.5vw, 40px);
}
.form-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 6px;
}
.form-card .form-sub { color: var(--text-muted); font-size: 14.5px; margin-bottom: 20px; }
.form-card form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 5px; font-size: 13px; font-weight: 500; }
.field .req { color: var(--fox-deep); }
.field input, .field select, .field textarea {
  font: inherit;
  font-weight: 400;
  padding: 11px 12px;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  background: var(--fog);
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--fox);
  outline-offset: 0;
  border-color: var(--fox);
}
.form-fine {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}
.form-fine a { color: var(--fox-deep); }
.form-status {
  display: none;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
}
.form-status.ok { display: block; background: #EAF4EC; color: #23522C; border: 1px solid #BFDCC6; }
.form-status.err { display: block; background: #FBEDE4; color: #8A3A00; border: 1px solid #F0C9A8; }

/* honeypot — visually removed, still in the DOM for bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------------ leadership grid (company) */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.leader {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 6px;
  overflow: hidden;
}
.leader-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--slate);
  display: grid;
  place-items: center;
}
.leader-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.leader-photo .ph {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--steel);
  text-transform: uppercase;
}
.leader-body { padding: 18px 20px 20px; }
.leader-body h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.05;
}
.leader-body .leader-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fox-deep);
  display: block;
  margin-top: 4px;
}
.leader-body p { font-size: 14px; color: var(--text-muted); margin-top: 10px; }
@media (max-width: 900px) { .leader-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .leader-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ open roles (careers) */
.role-list { display: grid; gap: 14px; }
.role {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: center;
}
.role h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.05;
}
.role .role-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.role p { grid-column: 1 / -1; color: var(--text-muted); font-size: 14.5px; }
.role .btn { white-space: nowrap; }
@media (max-width: 560px) {
  .role { grid-template-columns: 1fr; }
  .role .btn { justify-self: start; }
}

/* ------------------------------------------------------------------ claims iframe shell */
.iframe-shell {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-top: 4px solid var(--fox);
  border-radius: 6px;
  overflow: hidden;
}
.iframe-shell iframe {
  display: block;
  width: 100%;
  min-height: 1200px;
  border: 0;
}
.iframe-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.iframe-bar a { color: var(--fox-deep); }

/* ------------------------------------------------------------------ legal / long-form prose */
.prose { max-width: 760px; }
.prose h1, .prose h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  margin-top: 40px;
  margin-bottom: 12px;
}
.prose h1, .prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: 14px; color: #2A323B; font-size: 15.5px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--fox-deep); }
.prose .legal-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 14.5px;
}
.prose th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  color: var(--fox-deep);
  border-bottom: 2px solid var(--fox);
  padding: 8px 12px;
}
.prose td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-light);
}
.prose tr:nth-child(even) td { background: var(--paper); }

/* calculator result readout */
.calc-result {
  font-family: var(--font-mono);
  background: var(--ink);
  color: #E8EBEE;
  border-left: 3px solid var(--fox);
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.9;
}
.calc-result b { color: var(--fox); font-weight: 500; }

/* ------------------------------------------------------------------ contact quick-facts card */
.contact-aside {
  display: grid;
  gap: 18px;
  align-content: start;
}
.info-card {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 24px 26px;
}
.info-card h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fox-deep);
  margin-bottom: 10px;
}
.info-card p { font-size: 15px; }
.info-card a { color: var(--fox-deep); font-weight: 600; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }
.info-card .big-tel {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink) !important;
}
