/* ==========================================================================
   Peace Innovation and Technology — peaceit.com.au
   Palette: Egyptian Blue does the heavy lifting (grounds, type, buttons).
   Scarlet is an accent only: label dots, underlines, ticks, card edges.
   ========================================================================== */

:root {
  --blue: #03203D;          /* Egyptian Blue — ground, type, buttons */
  --blue-deep: #021427;     /* footer ground */
  --blue-lift: #0C3A66;     /* hero gradient highlight */
  --stone-blue: #639CC5;    /* labels on dark, imagery */
  --stone-blue-ink: #3B6C92;/* Stone Blue darkened so labels pass contrast on light grounds */
  --stone: #EEEBE6;         /* soft ground */
  --white: #FFFFFF;         /* cards, buttons on dark */
  --scarlet: #EB2F33;       /* accent only */

  --ground: #E6ECF3;        /* pale page ground, a tint of Stone Blue */
  --ink: #03203D;
  --ink-soft: #4A5D75;
  --line: rgba(3, 32, 61, .12);

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --header-h: 76px;
  --radius: 20px;
  --shadow-card: 0 1px 2px rgba(3, 32, 61, .05), 0 14px 34px -18px rgba(3, 32, 61, .22);
}

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

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

body {
  margin: 0;
  font: 400 17px/1.65 var(--font-body);
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

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

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--white);
  color: var(--blue);
  border-radius: 10px;
  font: 500 14px var(--font-label);
  transition: top .15s;
}
.skip-link:focus { top: 12px; }

/* ---------- Shared pieces ---------- */

.label {
  display: flex;
  align-items: center;
  gap: .85em;
  font: 500 11.5px/1.5 var(--font-label);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone-blue-ink);
}
.label::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--scarlet);
}
.on-dark .label { color: var(--stone-blue); }

/* The scarlet underline under the key phrase of a headline */
.u {
  background: linear-gradient(var(--scarlet), var(--scarlet)) 0 87% / 100% .07em no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 46px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 500 12px/1 var(--font-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--blue); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.btn-light:hover { background: var(--stone); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--blue); color: var(--white); }
.btn-dark:hover { background: #0A3158; }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }

.section { padding: clamp(72px, 9vw, 128px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2,
.h2 {
  margin-top: 18px;
  font: 800 clamp(2rem, 4.2vw, 3.1rem)/1.08 var(--font-head);
  letter-spacing: -.028em;
  text-wrap: balance;
}
.section-head p,
.lede {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  color: var(--ink-soft);
  max-width: 40em;
}
.on-dark .lede, .on-dark .section-head p { color: rgba(255, 255, 255, .78); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--white);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-solid,
.site-header.nav-open,
.page-plain .site-header {
  background: rgba(3, 32, 61, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--white);
  line-height: 1;
}
.brand-word {
  display: inline-flex;
  align-items: flex-end;
  font: 700 30px/1 var(--font-head);
  letter-spacing: .09em;
}
.brand-cursor {
  display: inline-block;
  width: .6em;
  height: .13em;
  margin: 0 0 .12em .06em;
  background: var(--scarlet);
}
.brand-sub {
  font: 500 8px/1 var(--font-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav a {
  padding: 10px 0;
  font: 500 11.5px/1 var(--font-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  transition: color .18s;
}
.nav a:hover { color: var(--white); }
.nav a.nav-cta {
  color: var(--white);
  background: linear-gradient(var(--scarlet), var(--scarlet)) 0 100% / 100% 2px no-repeat;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 20px 22px;
    background: var(--blue);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav-open .nav { display: flex; }
  .nav a {
    padding: 18px 2px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav a.nav-cta { background: none; }
  .nav a.nav-cta::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 12px;
    border-radius: 50%;
    background: var(--scarlet);
    vertical-align: middle;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(44px, 7vw, 92px)) 0 clamp(64px, 8vw, 112px);
  color: var(--white);
  background:
    radial-gradient(90% 70% at 62% 8%, var(--blue-lift) 0%, rgba(12, 58, 102, 0) 70%),
    linear-gradient(180deg, #06284A 0%, var(--blue) 70%);
  border-radius: 0 0 32px 32px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.hero h1 {
  margin: 24px 0 26px;
  font: 800 clamp(2.55rem, 6vw, 4.9rem)/1.03 var(--font-head);
  letter-spacing: -.032em;
  text-wrap: balance;
}
.hero .lede {
  margin-top: 0;
  max-width: 33em;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, .8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  aspect-ratio: 1 / 1.02;
}
.arch {
  position: absolute;
  inset: 0 0 0 7%;
  border-radius: 38% 30% 26px 26px / 34% 27% 26px 26px;
  background: linear-gradient(160deg, #82B4D8 0%, var(--stone-blue) 46%, #4E86B1 100%);
  box-shadow: 0 44px 80px -34px rgba(0, 0, 0, .6);
}

/* Abstract app window sitting inside the arch (decorative) */
.window {
  position: absolute;
  left: 11%;
  right: 8%;
  top: 27%;
  bottom: 9%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 26px 50px -22px rgba(3, 32, 61, .55);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 30px;
  padding: 0 12px;
  background: #F1F5F9;
}
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(3, 32, 61, .18); }
.window-bar span { width: 42%; height: 10px; margin-left: 10px; border-radius: 5px; background: rgba(3, 32, 61, .08); }
.window-body { flex: 1; display: grid; grid-template-columns: 22% 1fr; min-height: 0; }
.win-side { display: flex; flex-direction: column; gap: 10px; padding: 16px 10px; background: var(--blue); }
.win-side b { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.win-side b.on { background: var(--white); }
.win-side b:nth-child(3) { width: 70%; }
.win-side b:nth-child(4) { width: 85%; }
.win-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px; }
.win-title { display: flex; justify-content: space-between; align-items: center; }
.win-title span { width: 38%; height: 10px; border-radius: 5px; background: var(--blue); }
.win-title em { width: 18%; height: 16px; border-radius: 8px; background: rgba(99, 156, 197, .45); }
.win-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.win-kpis div { padding: 10px; border-radius: 8px; background: #EEF3F8; }
.win-kpis small { display: block; width: 62%; height: 5px; border-radius: 3px; background: rgba(3, 32, 61, .25); }
.win-kpis strong { display: block; width: 44%; height: 12px; margin-top: 8px; border-radius: 3px; background: var(--blue); }
.win-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 5%;
  min-height: 36px;
  padding: 2px 2px 0;
  border-bottom: 1.5px solid rgba(3, 32, 61, .12);
}
.win-chart i { flex: 1; height: var(--h, 50%); border-radius: 4px 4px 0 0; background: rgba(99, 156, 197, .55); }
.win-chart i.hi { background: var(--blue); }
.win-rows { display: grid; gap: 7px; }
.win-rows span { height: 7px; border-radius: 4px; background: rgba(3, 32, 61, .1); }
.win-rows span:nth-child(2) { width: 82%; }
.win-rows span:nth-child(3) { width: 64%; }

.float-card {
  position: absolute;
  left: 0;
  bottom: 5%;
  min-width: 190px;
  padding: 16px 22px 18px;
  background: var(--white);
  color: var(--blue);
  border-top: 3px solid var(--scarlet);
  border-radius: 14px;
  box-shadow: 0 24px 44px -18px rgba(0, 0, 0, .55);
}
.float-card .mini {
  font: 500 9.5px/1.4 var(--font-label);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone-blue-ink);
}
.float-card strong {
  display: block;
  margin-top: 6px;
  font: 800 1.9rem/1 var(--font-head);
  letter-spacing: -.03em;
}
.float-card .check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.float-card .check svg { width: 14px; height: 14px; color: var(--scarlet); }

.seal {
  position: absolute;
  top: 7%;
  right: -3%;
  width: clamp(72px, 19%, 100px);
  transform: rotate(-10deg);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .3));
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin: 12px auto 0; }
  .seal { right: 0; }
}

/* ---------- Facts strip ---------- */

.facts { margin-top: clamp(-56px, -5vw, -36px); position: relative; z-index: 2; }
.facts-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.fact { padding: clamp(22px, 3vw, 34px); }
.fact + .fact { border-left: 1px solid var(--line); }
.fact h3 { font: 700 1.08rem/1.3 var(--font-head); letter-spacing: -.01em; }
.fact p { margin-top: 8px; font-size: .96rem; line-height: 1.55; color: var(--ink-soft); }
@media (max-width: 760px) {
  .facts-card { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service {
  position: relative;
  overflow: hidden;
  padding: 30px 28px 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--scarlet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(3, 32, 61, .05), 0 24px 44px -20px rgba(3, 32, 61, .3); }
.service:hover::before { transform: scaleX(1); }
.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--ground);
  color: var(--blue);
}
.service-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font: 700 1.18rem/1.3 var(--font-head); letter-spacing: -.012em; }
.service p { margin-top: 10px; font-size: .98rem; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Product ---------- */

.product-section { padding-top: 0; }
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 5.5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(12, 58, 102, .9) 0%, rgba(12, 58, 102, 0) 70%),
    var(--blue);
  border-top: 4px solid var(--scarlet);
  border-radius: 26px;
  box-shadow: 0 40px 70px -40px rgba(3, 32, 61, .6);
}
.product h2 { margin-top: 18px; font: 800 clamp(1.9rem, 3.6vw, 2.8rem)/1.1 var(--font-head); letter-spacing: -.028em; text-wrap: balance; }
.product .lede { max-width: 34em; }

.ticks { display: grid; gap: 12px; margin-top: 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.ticks svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--scarlet); }
.ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.product .btn { margin-top: 34px; }

.daysheet {
  padding: 24px 24px 20px;
  background: var(--white);
  color: var(--ink);
  border-bottom: 4px solid var(--scarlet);
  border-radius: 18px;
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .7);
}
.daysheet-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.daysheet-head .mini { font: 500 10px/1.4 var(--font-label); letter-spacing: .22em; text-transform: uppercase; color: var(--stone-blue-ink); }
.daysheet-head strong { display: block; margin-top: 4px; font: 800 1.45rem/1.1 var(--font-head); letter-spacing: -.02em; }
.daysheet-head em { font: 500 10px/1 var(--font-label); font-style: normal; letter-spacing: .18em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: var(--blue); color: var(--white); white-space: nowrap; }
.daysheet li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.daysheet li:last-child { border-bottom: 0; padding-bottom: 4px; }
.daysheet time { font: 700 .95rem/1 var(--font-head); }
.daysheet li em { font: 500 9.5px/1 var(--font-label); font-style: normal; letter-spacing: .16em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--ground); color: var(--stone-blue-ink); white-space: nowrap; }

@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ticks.two { grid-template-columns: 1fr; }
  .daysheet { padding: 20px 18px 16px; }
  .daysheet-head em { display: none; }
  .daysheet li { grid-template-columns: 46px 1fr auto; gap: 8px; }
}

/* ---------- Approach ---------- */

.approach { background: var(--stone); }
.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.approach .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  padding: 26px 28px 26px 24px;
  background: var(--white);
  border-left: 3px solid var(--scarlet);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(3, 32, 61, .04);
}
.step-num { font: 800 1.7rem/1.1 var(--font-head); letter-spacing: -.03em; }
.step h3 { font: 700 1.14rem/1.3 var(--font-head); letter-spacing: -.012em; }
.step p { margin-top: 6px; font-size: .98rem; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 900px) {
  .approach-grid { grid-template-columns: 1fr; }
  .approach .section-head { position: static; }
}
@media (max-width: 520px) {
  .step { grid-template-columns: 48px 1fr; padding: 22px 20px 22px 18px; }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.about-grid .section-head { margin-bottom: 0; }
.about-copy p { color: var(--ink-soft); }
.about-copy p + p { margin-top: 18px; }
.about-copy .ticks { margin-top: 30px; }
.about-copy .ticks strong { font-weight: 600; color: var(--ink); }
.about-copy .ticks span { color: var(--ink-soft); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact {
  color: var(--white);
  background:
    radial-gradient(80% 70% at 20% 0%, var(--blue-lift) 0%, rgba(12, 58, 102, 0) 70%),
    var(--blue);
  border-radius: 32px 32px 0 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.contact .section-head { margin-bottom: 0; }
.contact-direct { margin-top: 34px; }
.contact-direct .mini { font: 500 10.5px/1.4 var(--font-label); letter-spacing: .22em; text-transform: uppercase; color: var(--stone-blue); }
.contact-direct a {
  display: inline-block;
  margin-top: 8px;
  font: 700 clamp(1.15rem, 2vw, 1.45rem)/1.3 var(--font-head);
  letter-spacing: -.015em;
  background: linear-gradient(var(--scarlet), var(--scarlet)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 4px;
  overflow-wrap: anywhere;
}

.form-card {
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 40px 70px -36px rgba(0, 0, 0, .7);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font: 500 10.5px/1.4 var(--font-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone-blue-ink);
}
.field label span { letter-spacing: .08em; text-transform: none; color: var(--ink-soft); }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 16px;
  line-height: 1.5;
  background: #F7F9FB;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(99, 156, 197, .35);
}
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.form-note { flex: 1 1 200px; font-size: .86rem; line-height: 1.5; color: var(--ink-soft); }
.form-status { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--scarlet); border-radius: 8px; background: var(--ground); font-size: .93rem; line-height: 1.5; }
.form-status[hidden] { display: none; }
.form-status a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */

.site-footer { padding: 56px 0 34px; color: rgba(255, 255, 255, .72); background: var(--blue-deep); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 36px 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { max-width: 26em; margin-top: 20px; font-size: .95rem; line-height: 1.6; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 30px; align-content: flex-start; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }
.footer-nav a { padding: 10px 0; font: 500 11.5px/1 var(--font-label); letter-spacing: .2em; text-transform: uppercase; transition: color .18s; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 26px; font-size: .86rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Plain pages (privacy, 404) ---------- */

.page-plain { display: flex; flex-direction: column; min-height: 100vh; }
.page-plain main { flex: 1; padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(72px, 9vw, 120px); }
.prose { max-width: 720px; }
.prose h1 { margin: 18px 0 14px; font: 800 clamp(2.1rem, 5vw, 3.2rem)/1.06 var(--font-head); letter-spacing: -.03em; }
.prose h2 { margin: 44px 0 10px; font: 700 1.3rem/1.3 var(--font-head); letter-spacing: -.015em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p, .prose ul + p { margin-top: 14px; }
.prose ul { margin-top: 12px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--scarlet); }
.prose a:not(.btn) { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--scarlet); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose .updated { font-size: .92rem; }
.notfound { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; }
.notfound .btn { margin-top: 32px; align-self: flex-start; }

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .service, .service::before { transition: none; }
}
