/* ==========================================================================
   RiskLinx Professional Liability — Site Stylesheet
   Structure & rhythm modeled on copic.com; visual treatment sharpened
   toward patriotgis.com (tighter type, data-forward stat blocks).

   >>> BRAND TOKENS — EDIT ONLY THIS BLOCK TO RE-SKIN THE ENTIRE SITE <<<
   --ink, --accent and --text-invert are sampled pixel-exact from the supplied
   RiskLinx logo. The remaining values are derived from those three.
   ========================================================================== */

:root {
  /* --- Brand color — sampled directly from the RiskLinx logo ------------ */
  --ink:            #011E23;   /* EXACT logo background — hero, header, footer */
  --navy:           #052E35;   /* primary dark section                      */
  --navy-2:         #0A434D;   /* raised surface — cards on dark            */
  --navy-3:         #14606B;   /* hover / borders on dark                   */

  --accent:         #AEACF6;   /* EXACT logo periwinkle — on dark surfaces  */
  --accent-soft:    #C9C8FA;   /* periwinkle tint                           */
  --accent-deep:    #4F4AC0;   /* periwinkle darkened for LIGHT backgrounds
                                  (AA contrast on white — 6.9:1)            */
  --accent-2:       #57B8C7;   /* brand teal — data/cyber, on dark          */
  --accent-2-deep:  #0F6E7C;   /* brand teal for light backgrounds          */

  /* --- Neutrals --------------------------------------------------------- */
  --paper:          #FFFFFF;
  --paper-2:        #F4F7F7;   /* alternating light section                 */
  --paper-3:        #E6EDEE;   /* wells, table stripes                      */
  --line:           #D5E0E1;   /* hairlines on light                        */
  --line-dark:      rgba(255,255,255,.15);

  --text:           #0C2226;   /* body copy on light                        */
  --text-2:         #4B6165;   /* secondary copy on light                   */
  --text-invert:    #F7F7F7;   /* EXACT logo off-white                      */
  --text-invert-2:  #AFC4C7;

  /* --- Type ------------------------------------------------------------- */
  /* Display face approximates the logo's high-contrast serif. It is a close
     pairing, NOT the logo typeface — swap if you have the original licensed. */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-ui:      "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  /* --- Scale & rhythm --------------------------------------------------- */
  --wrap:        1200px;
  --wrap-narrow: 760px;
  --gutter:      24px;
  --radius:      4px;          /* sharp corners = the "Patriot" edge        */
  --radius-lg:   6px;
  --section-y:   clamp(64px, 8vw, 116px);

  --shadow-sm: 0 1px 2px rgba(8,24,42,.06), 0 2px 8px rgba(8,24,42,.05);
  --shadow-md: 0 4px 14px rgba(8,24,42,.09), 0 12px 32px rgba(8,24,42,.07);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink);
  line-height: 1.14;
}

/* Display headings echo the logo's serif */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.2rem, 4.9vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); }

/* Working headings stay in the tighter sans for legibility */
h3, h4, h5 {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.015em;
}
h3 { font-size: clamp(1.2rem, 1.85vw, 1.48rem); }
h4 { font-size: 1.06rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-3); text-decoration: none; }
a:hover { color: var(--accent); }

ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--ink);
  padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--navy); color: var(--text-invert-2); }
.section--ink  { background: var(--ink);  color: var(--text-invert-2); }

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--text-invert); }
/* `:not(.btn)` matters — buttons carry their own color and must not inherit this */
.section--dark a:not(.btn), .section--ink a:not(.btn) { color: var(--accent-soft); }
.section--dark a.card--link, .section--ink a.card--link { color: inherit; }

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

.split {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Type helpers
   ========================================================================== */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent-deep); display: block;
}
/* Any dark ground uses the true logo periwinkle; light grounds use the
   darkened variant. The hero and CTA band are dark but carry their own
   classes, so they must be listed here too. */
.section--dark .eyebrow, .section--ink .eyebrow,
.hero .eyebrow, .cta-band .eyebrow { color: var(--accent); }

.section--dark .eyebrow::before, .section--ink .eyebrow::before,
.hero .eyebrow::before, .cta-band .eyebrow::before { background: var(--accent); }

.lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--text-2); }
.section--dark .lede, .section--ink .lede { color: var(--text-invert-2); }

.section-head { max-width: 800px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

em.mark { font-style: normal; color: var(--accent-deep); }
.section--dark em.mark, .section--ink em.mark,
.hero em.mark, .cta-band em.mark { color: var(--accent); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 600; font-size: .98rem;
  letter-spacing: .005em;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn--primary:hover { background: #8F8CE8; border-color: #8F8CE8; color: var(--ink); }

.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-3); border-color: var(--navy-3); color: #fff; }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn--ghost-invert { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-invert:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.link-arrow {
  font-family: var(--font-ui); font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy-3);
}
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
  /* env() falls back to 0 outside phone apps — keeps the bar clear of system UI */
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}

.utility-bar {
  background: #061321;
  border-bottom: 1px solid var(--line-dark);
  font-size: .82rem;
}
.utility-bar .wrap {
  display: flex; align-items: center; justify-content: flex-end; gap: 26px;
  min-height: 40px;
}
.utility-bar a { color: var(--text-invert-2); font-weight: 500; }
.utility-bar a:hover { color: var(--accent-soft); }
.utility-bar .u-phone { color: #fff; font-weight: 600; margin-right: auto; letter-spacing: .01em; }
.utility-bar .u-phone span { color: var(--text-invert-2); font-weight: 400; }

.nav-bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }

/* Brand lockup — the supplied RiskLinx logo, not type.
   Header uses the wordmark only (the tagline is illegible at header size);
   the footer uses the full lockup, where there is room for it. */
.brand { display: flex; align-items: center; margin-right: auto; flex: none; }
.brand img { display: block; width: auto; }
.brand-logo      { height: 30px; }   /* header wordmark  */
.brand-logo--lg  { height: 56px; }   /* footer lockup    */

.nav { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; margin: 0; list-style: none; }

.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui); font-weight: 600; font-size: .95rem;
  color: #E4EBF2; padding: 11px 14px; border-radius: var(--radius);
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.07); }
.nav-link.is-current { color: var(--accent-soft); }
.nav-link .caret { font-size: .62rem; opacity: .75; transition: transform .18s ease; }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 120;
  min-width: 320px;
  background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 10px;
  margin: 0; list-style: none;
  display: none;
}
.dropdown[data-open="true"] { display: block; }
.dropdown li { margin: 0; }
.dropdown .dd-group {
  font-family: var(--font-ui); font-size: .7rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--text-2);
  padding: 12px 14px 6px;
}
.dropdown .dd-rule {
  height: 1px; background: var(--line); margin: 10px 14px 6px; padding: 0;
}
.dropdown a {
  display: block; padding: 9px 14px; border-radius: var(--radius);
  color: var(--text); font-size: .95rem; font-weight: 500; line-height: 1.35;
}
.dropdown a span { display: block; font-size: .8rem; color: var(--text-2); font-weight: 400; margin-top: 2px; }
.dropdown a:hover { background: var(--paper-2); color: var(--navy); }
.dropdown a:hover span { color: var(--text-2); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 12px 22px; font-size: .92rem; white-space: nowrap; }
.cta-short { display: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark);
  border-radius: var(--radius); color: #fff; padding: 10px 12px; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-bar { min-height: 66px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); border-top: 1px solid var(--line-dark);
    padding: 12px var(--gutter) 24px; max-height: calc(100vh - 106px); overflow-y: auto;
  }
  .nav[data-open="true"] { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; border-radius: 0;
              border-bottom: 1px solid var(--line-dark); }
  .dropdown {
    position: static; display: none; min-width: 0; box-shadow: none;
    border: 0; border-left: 2px solid var(--accent); border-radius: 0;
    background: transparent; padding: 6px 0 10px 14px; margin-bottom: 8px;
  }
  .dropdown[data-open="true"] { display: block; }
  .dropdown a { color: #DCE5EE; }
  .dropdown a span { color: var(--text-invert-2); }
  .dropdown a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .dropdown .dd-group { color: var(--accent-soft); }
  .nav-cta .btn--ghost-invert { display: none; }
  .utility-bar .u-links { display: none; }
}
@media (max-width: 680px) {
  .nav-cta .btn { padding: 11px 15px; font-size: .84rem; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .brand-name { font-size: 1.02rem; }
  .brand-name small { font-size: .55rem; letter-spacing: .1em; }
  .brand-mark { width: 30px; height: 30px; font-size: .84rem; }
  .brand { gap: 9px; }
  .nav-bar { gap: 12px; }
  .utility-bar .wrap { min-height: 36px; }
  .utility-bar { font-size: .78rem; }
}
@media (max-width: 400px) {
  .brand-name small { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 78% 12%, rgba(87,184,199,.20), transparent 62%),
    radial-gradient(700px 520px at 8% 92%, rgba(174,172,246,.14), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  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: 76px 76px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%);
}
.hero .wrap { position: relative; z-index: 2; }

.hero--home { padding-block: clamp(72px, 9vw, 122px); }
.hero--page { padding-block: clamp(64px, 8vw, 104px); }

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.hero-media {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--navy-2) 0%, var(--ink) 100%);
  position: relative;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(174,172,246,.26); border-radius: var(--radius-lg);
  pointer-events: none;
}
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; gap: 38px; }
  .hero-media { aspect-ratio: 16 / 10; max-height: 320px; }
}
@media (max-width: 620px) { .hero-media { display: none; } }

.hero h1 { color: #fff; max-width: 17ch; }
.hero-split h1 { max-width: 15ch; }
.hero--page h1 { max-width: 20ch; font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.hero .lede { color: #CBD9E6; max-width: 58ch; margin-top: 22px; }

.breadcrumb {
  font-size: .84rem; color: var(--text-invert-2); margin-bottom: 20px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.breadcrumb a { color: var(--text-invert-2); }
.breadcrumb a:hover { color: var(--accent-soft); }
.breadcrumb span { opacity: .45; }

/* Hero stat strip (Patriot-style data band) */
.stat-strip {
  position: relative; z-index: 2;
  background: var(--navy);
  border-top: 1px solid var(--line-dark);
}
.stat-strip .grid { gap: 0; }
.stat-strip .stat {
  padding: 30px 28px;
  border-left: 1px solid var(--line-dark);
}
.stat-strip .stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--font-ui); font-weight: 700;
  font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1;
  color: var(--accent-soft); letter-spacing: -.035em;
}
.stat-label {
  font-size: .87rem; color: var(--text-invert-2); margin-top: 10px; line-height: 1.45;
}
@media (max-width: 960px) {
  .stat-strip .stat { border-left: 0; border-top: 1px solid var(--line-dark); padding: 24px 20px; }
  .stat-strip .stat:first-child { border-top: 0; }
}
@media (max-width: 620px) {
  .stat-strip .stat:first-child { border-top: 0; }
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex; flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--navy-3); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: .97rem; }
.card .link-arrow { margin-top: auto; padding-top: 18px; }

.card--link { text-decoration: none; color: inherit; }
.card--link:hover { color: inherit; }

.card-icon {
  width: 44px; height: 44px; margin-bottom: 20px;
  display: grid; place-items: center;
  border: 1.5px solid var(--accent-deep); border-radius: var(--radius);
  color: var(--accent-deep);
}
.card-icon svg { width: 22px; height: 22px; }

.card--dark {
  background: var(--navy-2); border-color: var(--navy-3);
}
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--text-invert-2); }
.card--dark:hover { border-color: var(--accent); }

.card--flush { padding: 0; overflow: hidden; }
.card--flush .card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-figure { aspect-ratio: 16/9; background: var(--navy-2); position: relative; }
.card-figure img { width: 100%; height: 100%; object-fit: cover; }

/* Numbered process steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--accent-deep); }
.step-num {
  font-family: var(--font-ui); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: 12px; display: block;
}
.step h3 { font-size: 1.22rem; }
.step p { color: var(--text-2); font-size: .96rem; }
.section--dark .step p, .section--ink .step p { color: var(--text-invert-2); }
.section--dark .step, .section--ink .step { border-top-color: var(--accent-soft); }
.section--dark .step-num, .section--ink .step-num { color: var(--accent-soft); }

/* ==========================================================================
   Checklists & feature lists
   ========================================================================== */

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative; padding-left: 32px; margin-bottom: 14px;
  font-size: 1rem; line-height: 1.55;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--accent-deep); border-bottom: 2.5px solid var(--accent-deep);
  transform: rotate(-45deg);
}
.section--dark .checklist li::before, .section--ink .checklist li::before {
  border-color: var(--accent-soft);
}
.checklist--2col { columns: 2; column-gap: 40px; }
.checklist--2col li { break-inside: avoid; }
@media (max-width: 720px) { .checklist--2col { columns: 1; } }

.deflist { margin: 0; }
.deflist > div {
  padding: 22px 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.6fr); gap: 28px;
}
.deflist > div:last-child { border-bottom: 1px solid var(--line); }
.deflist dt { font-family: var(--font-ui); font-weight: 700; font-size: 1.06rem; color: var(--ink); }
.deflist dd { margin: 0; color: var(--text-2); font-size: .98rem; }
@media (max-width: 720px) {
  .deflist > div { grid-template-columns: 1fr; gap: 8px; }
}

/* ==========================================================================
   Pull panels, quotes, callouts
   ========================================================================== */

.panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-deep);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.panel h4 { margin-bottom: 8px; }
.panel p { color: var(--text-2); font-size: .96rem; }

.panel--dark {
  background: var(--navy-2); border-color: var(--navy-3); border-left-color: var(--accent-soft);
}
.panel--dark h4 { color: #fff; }
.panel--dark p { color: var(--text-invert-2); }

.quote {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.35;
  letter-spacing: -.02em; color: var(--ink); margin: 0 0 20px;
}
.section--dark .quote, .section--ink .quote { color: #fff; }
.quote-cite { font-size: .92rem; color: var(--text-2); font-style: normal; }
.section--dark .quote-cite, .section--ink .quote-cite { color: var(--text-invert-2); }

.placeholder-note {
  font-size: .82rem; color: var(--text-2); background: #FFF8E8;
  border: 1px dashed #D9B563; border-radius: var(--radius);
  padding: 10px 14px; margin-top: 14px;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 85% 50%, rgba(87,184,199,.20), transparent 65%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band .lede { color: #CBD9E6; max-width: 54ch; }
.cta-inner { display: grid; grid-template-columns: minmax(0,1.2fr) auto; gap: 40px; align-items: center; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Forms (contact)
   ========================================================================== */

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block; font-family: var(--font-ui); font-weight: 600;
  font-size: .88rem; margin-bottom: 7px; color: var(--ink);
}
.field .req { color: var(--accent-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(31,76,119,.14);
}
.form-note { font-size: .86rem; color: var(--text-2); margin-top: 16px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--ink); color: var(--text-invert-2); padding-top: clamp(56px, 6vw, 84px); }
.site-footer h4 {
  font-family: var(--font-ui); color: var(--text-invert); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 18px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-invert-2); font-size: .94rem; }
.footer-grid a:hover { color: var(--accent-soft); }

.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: .94rem; color: var(--text-invert-2); max-width: 36ch; }
.footer-contact { margin-top: 20px; font-size: .95rem; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact div { margin-bottom: 6px; }

.footer-bottom {
  margin-top: clamp(44px, 5vw, 64px);
  border-top: 1px solid var(--line-dark);
  padding-block: 26px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center;
  font-size: .82rem;
}
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-left: auto; }
.footer-bottom a { color: var(--text-invert-2); }
.footer-bottom a:hover { color: var(--accent-soft); }
.disclosure {
  border-top: 1px solid var(--line-dark); padding-block: 22px 34px;
  font-size: .78rem; line-height: 1.6; color: #8FA3B6; max-width: 90ch;
}

/* ==========================================================================
   Misc
   ========================================================================== */

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  font-family: var(--font-ui); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px;
  background: var(--paper-3); color: var(--navy);
}
.tag--accent { background: rgba(79,74,192,.12); color: var(--accent-deep); }
.tag--cyber { background: rgba(15,110,124,.12); color: var(--accent-2-deep); }

.figure-block {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--paper-2);
  aspect-ratio: 4/3;
}
.figure-block img { width: 100%; height: 100%; object-fit: cover; }

.img-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(140deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--text-invert-2); font-family: var(--font-ui);
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 20px;
}

.faq details {
  border-top: 1px solid var(--line); padding: 4px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-ui); font-weight: 600; font-size: 1.06rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--accent-deep); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 40px 22px 0; color: var(--text-2); }

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-body { max-width: 74ch; }
.legal-body > h2 {
  font-family: var(--font-ui);
  font-size: clamp(1.22rem, 1.9vw, 1.5rem);
  letter-spacing: -.015em;
  margin: 2.4em 0 .6em;
  padding-top: 1.6em;
  border-top: 1px solid var(--line);
}
.legal-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body p { color: var(--text); }
.legal-body ul { padding-left: 0; list-style: none; margin-bottom: 1.4em; }
.legal-body ul li {
  position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text);
}
.legal-body ul li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-deep);
}
.legal-meta {
  font-family: var(--font-ui); font-size: .85rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-invert-2);
  margin-top: 20px;
}
.legal-index {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 22px 0 0; margin-top: 44px; border-top: 1px solid var(--line);
}
.legal-index a {
  font-family: var(--font-ui); font-size: .86rem; font-weight: 600;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text-2);
}
.legal-index a:hover { border-color: var(--accent-deep); color: var(--accent-deep); }
.legal-index a[aria-current="page"] {
  background: var(--paper-3); border-color: var(--paper-3); color: var(--ink);
}

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