:root {
  --ink: #10223d;
  --muted: #5d6c82;
  --blue: #0d5fd7;
  --blue-dark: #073d91;
  --blue-soft: #eaf3ff;
  --line: #d9e3f2;
  --panel: #ffffff;
  --soft: #f5f8fc;
  --shadow: 0 20px 60px rgba(16, 34, 61, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 227, 242, 0.8);
  backdrop-filter: blur(18px);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img,
.footer-brand img {
  width: 122px;
  height: 42px;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  position: absolute;
  left: auto;
  right: clamp(18px, 4vw, 56px);
  top: 76px;
  display: none;
  width: min(360px, calc(100vw - 36px));
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  align-items: stretch;
  transform-origin: top right;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a,
.site-footer a,
.footer-cookie {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}

.site-nav a:last-child {
  border-bottom: 0;
}

.site-nav.is-open {
  display: grid;
  grid-template-columns: 1fr;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  border-color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  font: inherit;
}

.header-cta {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 14px;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(13, 95, 215, 0.24);
}

.button--ghost,
.button--soft {
  background: #fff;
  color: var(--blue);
}

.button--ghost:hover,
.button--soft:hover {
  color: #fff;
}

.button--light {
  background: #fff;
  color: var(--blue-dark);
  border-color: #fff;
}

.menu-toggle {
  display: inline-grid;
  gap: 4px;
  place-items: center;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hero,
.split,
.content-band,
.process,
.contact-layout,
.legal-page,
.founders,
.article-grid,
.trust-row,
.cta-band,
.founder-strip,
.card-grid {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 7vw, 92px) 0 clamp(28px, 5vw, 58px);
}

.hero__copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 8px;
}

p {
  color: var(--muted);
}

.hero__copy p {
  font-size: clamp(18px, 2vw, 22px);
  max-width: 650px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__image {
  position: relative;
  align-self: center;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero__image img,
.split__media img {
  width: 100%;
  height: auto;
  object-fit: initial;
  border-radius: var(--radius);
}

.founder-strip img,
.founders img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 12px 0 42px;
}

.trust-row div,
.info-card,
.process-grid div,
.contact-panel,
.contact-form,
.article-card,
.legal-page,
.founders article,
.founder-strip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(16, 34, 61, 0.07);
}

.trust-row div {
  padding: 24px;
}

.trust-row strong {
  display: block;
  color: var(--blue);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.trust-row span {
  color: var(--muted);
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
  padding: clamp(48px, 7vw, 92px) 0;
}

.split--reverse {
  grid-template-columns: 1fr 0.92fr;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  align-self: center;
}

.split__content p,
.legal-page p {
  font-size: 17px;
}

.content-band {
  padding: clamp(26px, 4vw, 48px) 0 clamp(10px, 2vw, 22px);
}

.content-band p {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.68;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: clamp(22px, 4vw, 44px) 0;
}

.info-card {
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.info-card:hover,
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 850;
}

.process {
  padding: clamp(56px, 7vw, 94px) 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.process-grid div {
  padding: 24px;
}

.process-grid b {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-block: clamp(44px, 7vw, 94px);
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
}

.cta-band h2,
.cta-band p,
.cta-band .eyebrow {
  color: #fff;
}

.cta-band p {
  max-width: 680px;
  opacity: 0.9;
}

.founder-strip {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: center;
  padding: 18px;
  margin-block: clamp(36px, 5vw, 70px);
}

.founder-strip img {
  height: 320px;
  border-radius: var(--radius);
  object-position: top center;
}

.founders {
  display: grid;
  gap: 22px;
  padding: clamp(44px, 6vw, 76px) 0;
}

.founders article {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 32px;
  padding: 20px;
  align-items: center;
}

.founders img {
  height: 420px;
  border-radius: var(--radius);
  object-position: top center;
}

blockquote {
  margin: 22px 0 0;
  padding-left: 20px;
  border-left: 4px solid var(--blue);
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: clamp(44px, 6vw, 76px) 0;
}

.article-card {
  padding: 30px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 24px;
  padding: clamp(48px, 7vw, 90px) 0;
}

.contact-panel,
.contact-form,
.legal-page {
  padding: clamp(24px, 4vw, 42px);
}

.contact-panel a,
.legal-page a {
  color: var(--blue);
}

.map-card {
  min-height: 220px;
  margin-top: 24px;
  padding: 24px;
  display: grid;
  align-content: end;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(16, 34, 61, 0.08), rgba(16, 34, 61, 0.08)),
    linear-gradient(135deg, #ecf5ff, #ffffff);
  border: 1px solid var(--line);
}

.map-card span,
.map-card small {
  color: var(--muted);
}

.map-card b {
  font-size: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(13, 95, 215, 0.24);
  outline-offset: 2px;
}

.legal-page {
  max-width: 900px;
  margin: clamp(44px, 7vw, 80px) auto;
}

.legal-page h2 {
  font-size: 28px;
  margin-top: 28px;
}

.site-footer {
  margin-top: clamp(34px, 6vw, 80px);
  padding: clamp(36px, 6vw, 64px) clamp(18px, 4vw, 56px) 24px;
  background: #081b33;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.site-footer h2 {
  font-size: 16px;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a,
.footer-cookie {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a,
.footer-cookie {
  display: block;
  margin: 8px 0;
}

.footer-cookie {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.copyright {
  width: min(1180px, 100%);
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  left: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.cookie-banner h2 {
  font-size: 22px;
  margin-bottom: 4px;
}

.cookie-banner p {
  margin: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.modal[hidden],
.cookie-banner[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 27, 51, 0.48);
}

.modal__panel {
  position: relative;
  width: min(560px, 100%);
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}

.toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}

.toggle input {
  width: 22px;
  min-height: 22px;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1500px) {
  .site-header {
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 4px;
    place-items: center;
    width: 46px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 21px;
    height: 2px;
    background: var(--ink);
  }

  .menu-toggle em {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .site-nav {
    position: absolute;
    left: auto;
    right: clamp(18px, 4vw, 56px);
    top: 76px;
    display: none;
    width: min(360px, calc(100vw - 36px));
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    align-items: stretch;
    transform-origin: top right;
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-nav a {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  .hero,
  .split,
  .split--reverse,
  .contact-layout,
  .founder-strip,
  .founders article {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .hero {
    min-height: auto;
  }

  .trust-row,
  .card-grid,
  .article-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band,
  .cookie-banner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .founder-strip img,
  .founders img {
    height: 360px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
    gap: 10px;
  }

  .brand img {
    width: 96px;
    height: 34px;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .site-nav.is-open {
    grid-template-columns: 1fr;
  }

  .hero,
  .split,
  .process,
  .contact-layout,
  .legal-page,
  .founders,
  .article-grid,
  .trust-row,
  .cta-band,
  .founder-strip,
  .card-grid {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 42px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .modal__actions,
  .cookie-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
