
/* Stabilize layout width across pages */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Static, responsive, auto light/dark */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-VariableFont_opsz,wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Italic-VariableFont_opsz,wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --brand: #40A0C0;
  --brand-2: #2F8EAB;
  --neutral: #D8D0D0;
  --ink: #383838;

  --bg: #ffffff;
  --surface: #f6f7f9;
  --text: #111827;
  --muted: #4b5563;
  --line: rgba(17, 24, 39, 0.12);

  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --radius: 18px;
  --max: 1100px;

  --focus: rgba(64, 160, 192, 0.35);
  --link: var(--brand);
  --visited: #1d5b6a;
  --footer-bg: #eef3f6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f14;
    --surface: #0f1620;
    --text: #e7edf6;
    --muted: #b8c3d6;
    --line: rgba(231,237,246,.14);
    --shadow: 0 12px 34px rgba(0,0,0,.35);
    --focus: rgba(64, 160, 192, 0.45);
  
    --footer-bg: #0d141e;}

  .relationships .testimonial-card{ background: var(--surface); border: 1px solid var(--line); }
  .legal-body pre{ background: var(--surface); border: 1px solid var(--line); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; 
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  position: relative;
  isolation: isolate;

  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(1400px 900px at 15% 0%, rgba(64,160,192,.16), transparent 70%),
    radial-gradient(1200px 800px at 100% 10%, rgba(216,208,208,.12), transparent 65%);

  background-repeat: no-repeat;
}

a { color: var(--link); text-decoration: none; }
a:focus { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 12px; }
button:focus, button:focus-visible, input:focus, textarea:focus, select:focus { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 12px; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:visited { color: var(--visited); }

p { margin: 0 0 14px; color: var(--muted); }

/* Global: lists match paragraph color */
ul, ol { color: var(--muted); }
ul li, ol li { color: inherit; }
h1,h2,h3 { margin: 0 0 10px; letter-spacing: -0.02em; }
h1,h2,h3,h4,h5,h6 { color: var(--brand); }
h1 { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.05; }
h2 { font-size: clamp(22px, 2.2vw, 28px); }
h3 { font-size: 18px; }

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 12px;
}
.skip:focus { left: 12px; z-index: 999; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: var(--bg);
  background: color-mix(in oklab, var(--bg), transparent 15%);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.brand-name {
  font-weight: 650;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: -2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav a {
  color: var(--brand);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 12px;
}
.nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nav a[aria-current="page"] {
  background: var(--brand);
  background: color-mix(in oklab, var(--brand), transparent 86%);
  color: var(--text);
  border: 1px solid color-mix(in oklab, var(--brand), transparent 65%);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, var(--line), transparent 0%);
  background: var(--surface);
  background: color-mix(in oklab, var(--surface), transparent 0%);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}
.button:hover {
  background: var(--surface);
  background: color-mix(in oklab, var(--surface), transparent 10%);
}
.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}
.button.primary:hover { filter: brightness(0.95); }

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  background: color-mix(in oklab, var(--surface), transparent 0%);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 14px;
  cursor: pointer;
}

.hero {
  padding: 54px 0 12px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 16px;
  align-items: start;
}

.card {
  background: rgba(64, 160, 192, 0.14);
  border: 1px solid rgba(64, 160, 192, 0.46);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(17, 24, 39, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hero-card {
  padding: 26px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--brand);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--brand), transparent 84%);
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.side-card {
  padding: 20px;
}
.side-card h3 {
  margin-bottom: 8px;
}
.side-card ul {
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}
.side-card li { margin: 8px 0; }

.section {
  padding: 22px 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.section-header p { max-width: 70ch; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.block {
  padding: 18px;
}
.block p { margin-bottom: 0; }

.list {
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}
.list li { margin: 8px 0; }

.notice {
  border: 1px dashed color-mix(in oklab, var(--line), transparent 0%);
  background: var(--surface);
  background: color-mix(in oklab, var(--surface), transparent 0%);
  padding: 14px;
  border-radius: 16px;
  color: var(--muted);
}

.footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  background: var(--footer-bg);
}
.footer .container{ padding-top: 2px; }
.footer{ font-size: 13.5px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.small {
  font-size: 13px;
  color: var(--muted);
}
.footer a { color: var(--link); text-decoration: none; }
.footer a:visited { color: var(--visited); }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer a:focus { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form {
  display: grid;
  gap: 12px;
}
.field {
  display: grid;
  gap: 6px;
}
label {
  font-size: 13px;
  color: var(--muted);
}
input, textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  background: color-mix(in oklab, var(--bg), transparent 0%);
  color: var(--text);
  font-family: inherit;
  font-size: inherit;
}
textarea {
  min-height: 140px;
  resize: vertical;
}
.helper { font-size: 12px; color: var(--muted); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }

  .topbar-inner {
    position: relative;
    align-items: center;
  }

  .nav { display: none; }

  .mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav.open {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    width: min(280px, calc(100vw - 44px));
    padding: 10px;

    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    z-index: 100;
  }

  .nav.open a {
    white-space: nowrap;
    text-align: left;
  }

  .nav.open .button {
    width: 100%;
  }
}
/* @media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }

  .nav { display: none; }
  .mobile-toggle { display: inline-flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 0 14px;
  }
  .topbar-inner { align-items: flex-start; }
} */

.icon-inline{ width:14px; height:14px; vertical-align:-2px; margin-right:6px; fill: currentColor; flex: 0 0 auto; }
.footer-left{ display:grid; gap:6px; min-width: 260px; }
.footer-right{ display:grid; gap:10px; justify-items:end; }
.footer-nav{ display:flex; flex-wrap: wrap; gap:10px; justify-content:flex-end; align-items:center; }
.footer-nav a{ font-size: 15px; font-weight: 650; }
.footer-nav .sep{ color: var(--muted); font-size: 13.5px; }
.footer-link{ display:inline-flex; align-items:center; gap:6px; }
.footer-meta{ display:flex; flex-wrap: wrap; gap:10px; align-items:center; }
.footer-legal a{ text-decoration: underline; text-underline-offset: 3px; }
.footer-copy{ opacity: .9; }
@media (max-width: 900px){
  .footer-right{ justify-items:start; }
  .footer-nav{ justify-content:flex-start; }
}
.footer-title{ color: var(--text);  font-weight:650; }

.footer-sep{ color: var(--muted); margin: 0 6px; }


/* Vertical stack layout (single column with consistent gaps) */
.stack{display:flex;flex-direction:column;gap:14px;}

/* Relationships testimonials: subtle separation (quote vs attribution) */
.relationships .testimonial-card{
  border: 1px solid #dbe5f1;
}

/*
.relationships .testimonial-card{
  background: #f2f6fb;
  border: 1px solid #dbe5f1;
}
*/

.relationships .testimonial-quote{
  font-style: italic;
}
.relationships .testimonial-attrib{
  margin-top: 14px;
  font-size: 0.92rem;
}



.legal-body pre{
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  background: #f7f8fa;
  border: 1px solid #e6e8ee;
  padding: 16px;
  border-radius: 14px;
}


/* Legal/Privacy formatting */
.legal-body{
  margin-top: 18px;
}
.legal-heading{
  margin: 18px 0 8px 0;
}
.legal-list{
  margin: 10px 0 16px 22px;
}


/* Legal/Privacy intro note */
.intro-note{
  border: 1px solid #d8eaff;
  padding: 12px 14px;
  border-radius: 14px;
  margin: 14px 0 18px 0;
}
/* .intro-note{
  background: #eef6ff;
  border: 1px solid #d8eaff;
  padding: 12px 14px;
  border-radius: 14px;
  margin: 14px 0 18px 0;
} */
.intro-note p{
  margin: 0;
}


.testimonial-attrib2 { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.testimonial-attrib2 strong { color: var(--text); }


/* Home navigation cards */
.home-cards .card {
  background: rgba(64, 160, 192, 0.14);
  border: 1px solid rgba(64, 160, 192, 0.46);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(17, 24, 39, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.home-cards 

/* Card title color */
.card h3,
.card h3 a{
  color: var(--brand);
}
.card h3 a{
  text-decoration: none;
}
.card h3 a:hover{
  text-decoration: underline;
}


.card:focus,
.card:focus-within{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Clickable card cursor */
.card[role="link"],
.home-nav .card.block{
  cursor: pointer;
}



/* Home navigation cards: clickable only on Home */
.card-link{
  display:block;
  color: inherit;
  text-decoration: none;
}
.card-link:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 18px;
}

/* Clickable cards (Home only) */
.card.clickable{
  cursor: pointer;
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.card.clickable::after{
  content: "→";
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 18px;
  opacity: 0.25;
  transform: translateX(0);
  transition: opacity 160ms ease, transform 160ms ease;
}
.card-link:hover .card.clickable,
.card-link:focus-visible .card.clickable{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  border-color: rgba(30, 147, 179, 0.55);
}
.card-link:hover .card.clickable::after,
.card-link:focus-visible .card.clickable::after{
  opacity: 0.8;
  transform: translateX(4px);
}




/* HOME NAV: clickable cards (Home page only)
   Cards are <div class="card block" data-href="..."> inside <section class="section home-nav"> */
.section.home-nav .card.block{
  cursor: pointer;
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.section.home-nav .card.block::after{
  content: "View →";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 13px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(30, 147, 179, 0.28);
  color: rgba(20, 60, 80, 0.75);
  opacity: 0.55;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease, border-color 160ms ease;
  pointer-events: none;
}
.section.home-nav .card.block:hover,
.section.home-nav .card.block:focus-visible{
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(0,0,0,0.14);
  border-color: rgba(30, 147, 179, 0.65);
}
.section.home-nav .card.block:hover::after,
.section.home-nav .card.block:focus-visible::after{
  opacity: 0.95;
  transform: translateY(-2px);
  background: rgba(255,255,255,0.72);
  border-color: rgba(30, 147, 179, 0.48);
}
.section.home-nav .card.block:focus-visible{
  outline: 2px solid rgba(30, 147, 179, 0.85);
  outline-offset: 6px;
}


/* Domains: centered 2-card row */
.grid-2-centered{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 900px){
  .grid-2-centered{
    grid-template-columns: 1fr;
    max-width: none;
  }
}


/* Card width adjustment */
.cards { display: grid; grid-template-columns: 45% 55%; gap: 2rem; }


/* What We Do card layout */
.what-we-do-grid { grid-template-columns: .9fr 1.1fr; }



/* Accessibility: link contrast and focus visibility */
:root{
  --link-color: #145A73;
  --link-hover-color: #0F4659;
}
a{
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
a:hover{
  color: var(--link-hover-color);
}
a:focus-visible{
  outline: 2px solid var(--link-hover-color);
  outline-offset: 2px;
}



/* Contact page layout: stack left cards */
.contact-left{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-list-label{
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.contact-list{
  margin-top: 0;
}
.footer-sep{
  margin: 0 0.4rem;
}



/* Contact: enforce two-column layout (left stack + right form) */
.contact-two-col{
  align-items: stretch;
}
.contact-left{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}
.contact-left .contact-notes{
  flex: 1;
}
.contact-list-label{
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.contact-list{
  margin-top: 0;
}
.footer-sep{
  margin: 0 0.4rem;
}


/* Accessibility: focus styles for controls */
.button:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 12px;
}


/* Compliance note under forms */
.form-note{font-size:0.95rem;opacity:0.9;max-width:60ch}
.form-note a{text-decoration:underline}

/* Contact scope: heading and list identical styling */
.contact-scope {
  color: var(--muted);
  font-size: inherit;
  font-weight: inherit;
}
.contact-scope li {
  color: inherit;
}

/* Contact notes: force list + label to muted */
.contact-notes .contact-list-label, .contact-notes ul, .contact-notes li{ color: var(--muted); }

strong { font-weight: 700; }


/* Domains page layout tuning */
.domains-grid{
  grid-template-columns: 1fr;
  gap: 24px;
}
.domains-grid .block{
  padding: 28px 26px;
}
@media (min-width: 720px){
  .domains-grid .block{
    padding: 32px 36px;
  }
}
.domains-grid h2{
  margin-bottom: 20px;
}
.domains-grid p{
  line-height: 1.7;
  margin-bottom: 0;
}


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


/* Utility: full-width grid span */
.full-span{ grid-column: 1 / -1; }

/* Utility: visually hidden */
.visually-hidden{ position:absolute !important; left:-10000px !important; top:auto !important; width:1px !important; height:1px !important; overflow:hidden !important; }


/* Navigation utilities (legal/privacy) */
.actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin:14px 0 0;}
.actions-bottom{margin-top:18px;}
.toc{margin-top:14px;}
.toc-list{margin-top:10px;}
.toc-list a{color:var(--text);}
.toc-list a:hover{text-decoration:underline;}

.actions.actions-left{justify-content:flex-start;}
.actions.nav-actions{justify-content:flex-start;margin-top:10px;}
.page-404 .card{ padding: 28px; }

/* e-mail spam protection */
.email-noise {
  display: none;
}