:root {
  --navy: #0e1b2d;
  --navy-soft: #3b4859;
  --muted: #5d6b7c;
  --green: #2c8336;
  --red: #d11c1e;
  --blue: #1d529a;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --line: #e1e6ed;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 68px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; color: var(--navy-soft); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--navy); }
.nav a.btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .75rem 1.3rem; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }

/* Brand stripes (taken from the wordmark's E) */
.stripes { display: inline-flex; flex-direction: column; gap: 3px; width: 34px; }
.stripes i { display: block; height: 4px; border-radius: 1px; }
.stripes i:nth-child(1) { background: var(--green); }
.stripes i:nth-child(2) { background: var(--red); }
.stripes i:nth-child(3) { background: var(--blue); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--green) 0 33%, var(--red) 33% 66%, var(--blue) 66% 100%);
}

/* Hero */
.hero { padding: clamp(4rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); margin: 1.2rem 0 1.4rem; max-width: 14ch; }
.grad { background: linear-gradient(90deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--navy-soft); max-width: 46rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-tags span {
  font-family: var(--mono); font-size: .8rem; padding: .3rem .8rem;
  border: 1px solid var(--line); border-radius: 999px; color: var(--navy-soft); background: var(--bg-alt);
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 1rem 0; }
.section-head p { color: var(--navy-soft); font-size: 1.08rem; }

.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }
.cap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; position: relative; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cap:hover { border-color: var(--blue); box-shadow: 0 10px 30px rgba(14, 27, 45, .08); transform: translateY(-2px); }
.cap .ico { width: 44px; height: 44px; color: var(--blue); margin-bottom: 1.1rem; }
.cap .tag { position: absolute; top: 1.5rem; right: 1.5rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--muted); }
.cap h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.cap p { color: var(--navy-soft); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step .num { font-family: var(--mono); font-size: 2rem; font-weight: 600; color: var(--blue); margin-bottom: .8rem; }
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { margin: 0; color: var(--navy-soft); }

.about-copy { max-width: 46rem; }
.about-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 1rem 0 1.4rem; }
.about-copy p { color: var(--navy-soft); font-size: 1.08rem; }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; margin-top: 3rem; }
.principle { border-top: 3px solid var(--navy); padding-top: 1.1rem; }
.principle:nth-child(1) { border-color: var(--green); }
.principle:nth-child(2) { border-color: var(--red); }
.principle:nth-child(3) { border-color: var(--blue); }
.principle .k { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.principle h4 { font-size: 1.2rem; margin-bottom: .5rem; }
.principle p { color: var(--navy-soft); margin: 0; }

.gallery-note { font-family: var(--mono); color: var(--muted); margin: 0; }

.cta { text-align: center; background: var(--navy); color: #fff; }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.cta p { color: #c3cddb; max-width: 40rem; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta .btn--primary { background: #fff; color: var(--navy); }
.cta .btn--primary:hover { background: var(--bg-alt); color: var(--navy); }

.contact-info { max-width: 40rem; }
.contact-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 1rem 0 1.8rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.contact-row .ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); }
.contact-row .ic svg { width: 20px; height: 20px; }
.contact-row .k { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-row .v { font-size: 1.1rem; font-weight: 500; }
.contact-note { color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 2rem; background: var(--bg-alt); }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-bar .brand img { height: 24px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { text-decoration: none; color: var(--navy-soft); font-size: .93rem; }
.footer-nav a:hover { color: var(--navy); text-decoration: underline; }
.footer-copy { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* Legal pages */
.legal { padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.legal .doc { max-width: 52rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 1rem 0 .6rem; }
.legal .updated { color: var(--muted); font-family: var(--mono); font-size: .85rem; margin-bottom: 2.2rem; }
.legal h2 { font-size: 1.45rem; margin: 2.4rem 0 .8rem; padding-top: .4rem; }
.legal h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.legal p, .legal li { color: var(--navy-soft); font-size: 1.02rem; }
.legal ul { padding-left: 1.3rem; margin: 0 0 1rem; }
.legal li { margin-bottom: .4rem; }
.legal .callout {
  border-left: 4px solid var(--blue); background: var(--bg-alt);
  padding: 1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0;
}
.legal .callout p { margin: 0 0 .6rem; color: var(--navy); }
.legal .callout p:last-child { margin: 0; }

@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .nav { gap: 0; }
  .brand img { height: 24px; }
  .hero h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
  max-width: 760px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  background: #fff; color: var(--navy);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(14, 27, 45, .18);
  padding: 1.1rem 1.3rem;
}
.cookie-banner__text { flex: 1 1 320px; }
.cookie-banner__text p { margin: .25rem 0 0; font-size: .92rem; color: var(--navy-soft); }
.cookie-banner__actions { display: flex; gap: .6rem; }
.cookie-banner .btn { padding: .6rem 1.2rem; }
.footer-nav button.link {
  background: none; border: 0; padding: 0; font: inherit; font-size: .93rem;
  color: var(--navy-soft); cursor: pointer;
}
.footer-nav button.link:hover { color: var(--navy); text-decoration: underline; }

.cookie-banner { max-height: calc(100vh - 2rem); overflow-y: auto; }
.cookie-banner__options { flex: 1 1 100%; display: grid; gap: .55rem; }
.cookie-opt { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--navy-soft); cursor: pointer; }
.cookie-opt input { margin-top: .2rem; width: 1.05rem; height: 1.05rem; flex: none; accent-color: var(--navy); }
.cookie-opt input:disabled { cursor: not-allowed; }
.cookie-opt b { color: var(--navy); margin-right: .35rem; }
.cookie-banner__actions { flex-wrap: wrap; }

/* Cookie banner: collapsible options, single accent button */
.cookie-banner__options[hidden], .cookie-banner [hidden] { display: none !important; }
.cookie-banner__actions { margin-left: auto; align-items: center; }
.btn--accent { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--accent:hover { background: #164282; border-color: #164282; color: #fff; transform: translateY(-1px); }
.btn--text { background: none; border-color: transparent; color: var(--navy-soft); text-decoration: underline; padding-inline: .6rem; }
.btn--text:hover { color: var(--navy); }
