/* Westerly Technology Partners — site styles */

/* Plus Jakarta Sans (SIL OFL 1.1, see fonts/OFL.txt), self-hosted variable font */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --navy: #0B1230;
  --navy-2: #111a3f;
  --navy-3: #18224d;
  --purple: #7B2FF7;
  --blue: #2B7FE0;
  --teal: #00D4C8;
  --accent: #14B8B0;
  --accent-dark: #0a6f6a; /* 6.0:1 on white, 5.6:1 on --bg-light */
  --ink: #151A26;
  --muted: #4a5266;
  --muted-light: #b7bfd6;
  --line: #e4e7ef;
  --bg-light: #f6f7fb;
  --white: #ffffff;
  --grad: linear-gradient(120deg, var(--purple) 0%, var(--blue) 50%, var(--teal) 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11,18,48,.06), 0 8px 24px rgba(11,18,48,.06);
  --shadow-lg: 0 2px 4px rgba(11,18,48,.06), 0 18px 40px rgba(11,18,48,.12);
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: .2em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: var(--white);
  background: var(--grad);
  background-size: 160% 100%;
  background-position: 0% 50%;
  background-origin: border-box;
  border: 0;
  padding: 17px 28px;
  box-shadow: 0 6px 20px rgba(43,127,224,.35);
}
.btn-primary:hover { background-position: 100% 50%; box-shadow: 0 10px 28px rgba(43,127,224,.45); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--teal); background: rgba(0,212,200,.08); }
.btn-sm { padding: 12px 20px; font-size: .94rem; }
.btn-primary.btn-sm { padding: 13px 22px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,48,.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { background: rgba(11,18,48,.96); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-mark { width: 36px; height: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.32rem; letter-spacing: -0.02em; }
.brand-sub { margin-top: 5px; font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); cursor: pointer;
}
.nav-toggle-bar { display: block; height: 2px; width: 100%; background: var(--white); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 8px 22px 24px;
  display: none;
}
.site-nav.is-open { display: block; animation: navIn .2s ease; }
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.site-nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.site-nav li a {
  display: block; padding: 14px 4px; color: #e7eaf5; text-decoration: none; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-nav li a:hover { color: var(--teal); }
.site-nav .btn { width: 100%; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex !important; align-items: center; gap: 28px; padding: 0; background: none; border: 0; animation: none; }
  .site-nav ul { display: flex; gap: 6px; margin: 0; }
  .site-nav li a { white-space: nowrap; border: 0; padding: 8px 12px; border-radius: 10px; font-size: .97rem; color: #d5daeb; position: relative; }
  .site-nav li a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
    background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  }
  .site-nav li a:hover { color: var(--white); }
  .site-nav li a:hover::after, .site-nav li a.is-active::after { transform: scaleX(1); }
  .site-nav li a.is-active { color: var(--white); }
  .site-nav .btn { width: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 72px 0 88px; }
.hero-pattern, .footer-pattern {
  position: absolute; inset: 0;
  background-image: url("pattern.svg");
  background-size: 300px 300px;
  opacity: .07;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 55%, #000 100%);
          mask-image: linear-gradient(100deg, transparent 0%, #000 55%, #000 100%);
}
.hero-glow {
  position: absolute; pointer-events: none;
  width: 900px; height: 900px; right: -320px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43,127,224,.35), rgba(123,47,247,.18) 45%, transparent 75%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); opacity: .9;
}
.hero-inner { position: relative; display: grid; gap: 48px; align-items: center; }
.hero-copy { max-width: 680px; }
.hero h1 { margin-bottom: .45em; }
.gradient-text {
  background: linear-gradient(100deg, #9d6bff 0%, #4f9bff 45%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: #c9cfe4; max-width: 600px; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #aeb6d0; font-size: .95rem; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: rgba(20,184,176,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D4C8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.hero-art { display: none; }
@media (min-width: 920px) {
  .hero { padding: 110px 0 128px; }
  .hero-inner { grid-template-columns: 1.35fr 1fr; }
  .hero-art { display: flex; justify-content: center; }
}
.hero-mark-wrap { position: relative; width: min(340px, 100%); }
.hero-mark-wrap::before {
  content: ""; position: absolute; inset: -12%;
  background: radial-gradient(closest-side, rgba(0,212,200,.28), rgba(123,47,247,.18) 60%, transparent 80%);
  filter: blur(24px); z-index: 0;
}
.hero-mark { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; position: relative; }
@media (min-width: 920px) { .section { padding: 112px 0; } }
.section-light { background: var(--white); }
.section-light + .section-light { background: var(--bg-light); }
.section-dark { background: var(--navy); color: var(--white); overflow: hidden; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.lead { font-size: 1.13rem; color: var(--muted); }
.section-dark .lead { color: #c3c9de; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
.eyebrow-light { color: var(--teal); }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 26px; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d5dbea; }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card h3 { margin-bottom: .5em; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  color: var(--white); background: var(--grad); box-shadow: 0 8px 18px rgba(43,127,224,.28);
}
.card-icon svg { width: 26px; height: 26px; }
.card-cta {
  background: var(--navy); color: var(--white); border-color: transparent;
  display: flex; flex-direction: column; align-items: flex-start;
  background-image: radial-gradient(circle at 100% 0%, rgba(123,47,247,.45), transparent 55%), radial-gradient(circle at 0% 100%, rgba(0,212,200,.28), transparent 55%);
}
.card-cta::before { display: none; }
.card-cta p { color: #c9cfe4; margin-bottom: 24px; flex-grow: 1; }
.card-cta:hover { border-color: transparent; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  position: relative; padding: 32px 28px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.09);
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.step:hover { transform: translateY(-4px); border-color: rgba(0,212,200,.4); }
.step p { color: #c3c9de; margin: 0; font-size: 1rem; }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px;
  font-weight: 800; font-size: 1.2rem; color: var(--white);
  background: var(--grad); border-radius: 14px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  width: 46px; height: 52px; border-radius: 0;
}
@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 58px; right: -24px; width: 24px; height: 2px;
    background: linear-gradient(90deg, rgba(0,212,200,.6), rgba(43,127,224,.2));
  }
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 920px) { .about-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.about-copy p { color: var(--muted); font-size: 1.08rem; }
.values {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.values::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.values-title { font-size: 1.3rem; margin-bottom: 22px; }
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.value-list li { display: flex; gap: 16px; align-items: flex-start; }
.value-list p { margin: 0; color: var(--muted); font-size: .98rem; }
.value-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(20,184,176,.12); color: var(--accent-dark);
}
.value-icon svg { width: 21px; height: 21px; }

/* ---------- Contact ---------- */
.contact .footer-pattern { opacity: .05; -webkit-mask-image: linear-gradient(80deg, #000 0%, transparent 60%); mask-image: linear-gradient(80deg, #000 0%, transparent 60%); }
.contact-grid { position: relative; display: grid; gap: 44px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; } }
.contact-details { margin: 32px 0 0; display: grid; gap: 18px; }
.contact-details div { padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.contact-details dt { font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.contact-details dd { margin: 0; font-weight: 600; font-size: 1.05rem; word-break: break-word; }
.contact-details a { text-decoration: none; border-bottom: 1px solid rgba(0,212,200,.5); transition: color .2s ease; }
.contact-details a:hover { color: var(--teal); }

.contact-form {
  background: var(--white); color: var(--ink); border-radius: 22px; padding: 28px 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
@media (min-width: 600px) { .contact-form { padding: 38px 36px; } }
.form-row { display: grid; gap: 0 18px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 7px; }
.req { color: #c2185b; }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid #d3d8e4; background: #fbfcfe;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #8a91a5; }
.field input:hover, .field textarea:hover { border-color: #b4bccd; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(43,127,224,.18); }
.field.has-error input, .field.has-error textarea { border-color: #c2185b; box-shadow: 0 0 0 4px rgba(194,24,91,.12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); text-align: center; }
.form-note.is-error { color: #c2185b; font-weight: 600; }
.form-note.is-success { color: var(--accent-dark); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #070c22; color: #aeb6d0; padding: 44px 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
@media (min-width: 860px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.brand-footer .brand-mark { width: 32px; }
.brand-footer .brand-name { font-size: 1.18rem; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { text-decoration: none; font-size: .95rem; transition: color .2s ease; }
.footer-nav a:hover { color: var(--teal); }
.footer-meta { margin: 0; font-size: .88rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 420px) { .eyebrow { letter-spacing: .14em; font-size: .74rem; } }

/* ---------- Services: wide CTA card (7th item) ---------- */
.card-link { color: var(--accent-dark); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(20,184,176,.45); white-space: nowrap; }
.card-link:hover { color: var(--blue); border-color: var(--blue); }
@media (min-width: 680px) {
  .card-cta-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px 40px; flex-wrap: wrap; }
  .card-cta-wide h3 { margin: 0; flex: 0 0 auto; }
  .card-cta-wide p { margin: 0; flex: 1 1 320px; }
  .card-cta-wide .btn { flex: 0 0 auto; }
}

/* ---------- Custom software ---------- */
.software-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1040px) { .software-grid { grid-template-columns: 1.55fr 1fr; gap: 48px; } }
.software-subtitle { font-size: 1.3rem; margin-bottom: .35em; }
.software-note { color: var(--muted); font-size: .98rem; margin-bottom: 24px; }
.example-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 680px) { .example-list { grid-template-columns: repeat(2, 1fr); } .example-wide { grid-column: 1 / -1; } }
.example-list li {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px 18px 50px; box-shadow: var(--shadow);
}
.example-list li::before {
  content: ""; position: absolute; left: 18px; top: 21px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(20,184,176,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8c86' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.example-list h4 { margin-bottom: .25em; }
.example-list p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.approach {
  background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 32px 28px; position: relative; overflow: hidden;
  background-image: radial-gradient(circle at 100% 0%, rgba(123,47,247,.4), transparent 55%), radial-gradient(circle at 0% 100%, rgba(0,212,200,.22), transparent 55%);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1040px) { .approach { position: sticky; top: calc(var(--header-h) + 24px); } }
.approach-title { font-size: 1.3rem; margin-bottom: 22px; }
.approach-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 20px; counter-reset: approach; }
.approach-list li { counter-increment: approach; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
.approach-list li::before {
  content: counter(approach); grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; font-size: .95rem; background: var(--grad);
}
.approach-list h4 { margin: 4px 0 .25em; }
.approach-list p { margin: 0; color: #c3c9de; font-size: .96rem; line-height: 1.55; }

/* ---------- Form privacy note ---------- */
.form-privacy { margin-top: 6px; }
.form-privacy a { color: var(--accent-dark); font-weight: 600; }
.form-privacy a:hover { color: var(--blue); }

/* ---------- Simple pages (privacy, 404) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 64px 0 56px; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); opacity: .9; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .3em; }
.page-hero p { color: #c9cfe4; margin: 0; font-size: 1.08rem; max-width: 640px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 1.8em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent-dark); font-weight: 600; word-break: break-word; }
.prose a:hover { color: var(--blue); }
.section-compact { padding: 64px 0 84px; }
.notfound { min-height: calc(100vh - var(--header-h) - 140px); display: grid; place-items: center; text-align: center; padding: 72px 0; }
.notfound { position: relative; overflow: hidden; }
.notfound .container { position: relative; }
.notfound .hero-mark { width: 120px; margin: 0 auto 28px; animation: none; }
.notfound h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
.notfound .eyebrow-light { color: var(--teal); }
.notfound p:not(.eyebrow) { color: #c9cfe4; max-width: 520px; margin: 0 auto 2em; }
.notfound .hero-actions { justify-content: center; }
.simple-nav { display: flex; align-items: center; gap: 18px; }
.simple-nav a.text-link { color: #d5daeb; text-decoration: none; font-weight: 600; font-size: .97rem; white-space: nowrap; }
.simple-nav a.text-link:hover { color: var(--white); }
.simple-nav .label-short { display: none; }
@media (max-width: 520px) {
  .simple-nav a.text-link, .simple-nav .label-long { display: none; }
  .simple-nav .label-short { display: inline; }
}
.brand-sub { white-space: nowrap; }

/* ---------- Footer privacy link ---------- */
.footer-legal { display: block; margin-top: 6px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.footer-legal a:hover { color: var(--teal); }
@media (min-width: 860px) { .footer-meta { text-align: right; } }

/* ---------- Brand name in caps ---------- */
.brand-name { text-transform: uppercase; letter-spacing: .06em; font-size: 1.22rem; }
.brand-footer .brand-name { font-size: 1.1rem; }

/* ---------- Very narrow phones ---------- */
@media (max-width: 400px) {
  .brand-sub { letter-spacing: .1em; font-size: .625rem; }
  .brand-mark { width: 32px; height: auto; }
  .brand { gap: 8px; }
  .simple-nav .btn-sm { padding-left: 14px; padding-right: 14px; }
}
