/* Fonts: self-hosted (SIL Open Font Licence), so no requests go to Google */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand guide palette */
  --navy: #0a2242;
  --navy-2: #15315a;
  --offwhite: #fefdf9;
  --dusty: #7c93ab;
  --sand: #c9b796;
  --slate: #4b5a6b;
  --mist: #e9edf1;

  --ink: var(--navy);
  --ink-2: var(--slate);
  --muted: #5d6b7b;
  --bg: var(--offwhite);
  --soft: #f3f5f7;
  --line: #e8e2d6;
  --line-2: var(--sand);
  --sand-soft: #f4efe6;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", Arial, sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 1px 2px rgba(10, 34, 66, 0.04), 0 8px 24px -12px rgba(10, 34, 66, 0.12);
  --shadow-lg: 0 2px 4px rgba(10, 34, 66, 0.04), 0 24px 60px -24px rgba(10, 34, 66, 0.24);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 112px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0 0 0.5em; font-family: var(--serif); font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(3rem, 6.4vw, 5.2rem); line-height: 1; letter-spacing: -0.015em; }
h2 { font-size: clamp(2.3rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; line-height: 1.2; }
b, strong { font-weight: 500; }
h1, h2, h3, .inbox-num, .step-num, .panel-title { font-variant-numeric: lining-nums; }
small, .tile p, .steps p, .plan li, .plan-sub, .inbox-note, .panel-kicker { font-weight: 400; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; }

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


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: 400 0.95rem/1 var(--sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--navy);
  cursor: pointer;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), background-color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.btn:hover { background: var(--navy-2); box-shadow: 0 8px 20px -8px rgba(10, 34, 66, 0.5); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 0.88rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: transparent; border-color: var(--ink); box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--mist); }
.btn-block { width: 100%; }
:focus-visible { outline: 2px solid var(--dusty); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(254, 253, 249, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), background-color 0.4s var(--ease-soft);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(10, 34, 66, 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-lockup { width: 300px; height: auto; display: block; }
.brand-seal { width: 48px; height: auto; display: none; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-2);
  padding: 4px 0;
  background: linear-gradient(var(--sand), var(--sand)) left bottom / 0 1px no-repeat;
  transition: color 0.3s var(--ease-soft), background-size 0.45s var(--ease-out);
}
.site-nav a:not(.btn):hover { color: var(--ink); background-size: 100% 1px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { max-width: 13ch; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 34em; margin: 24px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero visual */
.hero-visual { position: relative; padding: 8px 0 175px 32px; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.panel-kicker { font-size: 0.82rem; color: var(--muted); margin: 0 0 2px; }
.panel-title { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; line-height: 1.1; margin: 0; }
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.time { font-size: 0.85rem; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.event { display: flex; flex-direction: column; padding-left: 12px; border-left: 3px solid var(--navy); line-height: 1.35; }
.event b { font-weight: 400; font-size: 0.98rem; }
.event small { font-size: 0.8rem; color: var(--muted); }
.event-focus { border-left-color: var(--dusty); }
.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tag-green { background: var(--mist); color: var(--navy); }
.tag-blue { background: var(--sand-soft); color: var(--navy); }
.tag-grey { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }

.panel-inbox {
  position: absolute;
  left: -8px;
  bottom: 0;
  width: 260px;
  padding: 18px 20px;
  background: #fff;
}
.inbox-num { font-family: var(--serif); font-size: 3rem; font-weight: 600; line-height: 1; margin: 6px 0 12px; }
.inbox-num span { font-family: var(--sans); font-size: 0.92rem; font-weight: 400; color: var(--ink-2); }
.bar { height: 6px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.bar span { width: 4.2%; display: block; height: 100%; min-width: 12px; border-radius: 999px; background: var(--dusty); }
.inbox-note { font-size: 0.8rem; color: var(--muted); margin: 10px 0 0; line-height: 1.45; }

/* Audience */
.audience { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience p { margin: 0; padding: 26px 0; font-size: 1rem; color: var(--ink-2); }

/* Sections */
.section { padding: 120px 0; }
.section-soft { background: var(--soft); }
.section-head h2::after { content: ""; display: block; width: 56px; height: 1px; margin-top: 22px; background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.section-head a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 4px; font-weight: 400; }
.section-head a:hover { text-decoration-color: var(--navy); }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  overflow: hidden;
  transition: border-color 0.5s var(--ease-soft), box-shadow 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.tile p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
.tile-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 220px; column-gap: 32px; align-content: start; }
.tile-wide .icon, .tile-wide h3, .tile-wide p { grid-column: 1; }
.tile-dark { background: var(--navy); border-color: var(--navy); grid-column: 1 / -1; }
.tile-dark h3 { color: #fff; }
.tile-dark p { color: #cfd7e0; max-width: 46ch; }
.tile-dark .icon { background: rgba(255, 255, 255, 0.08); color: var(--sand); }
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--navy);
  margin-bottom: 22px;
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.mini-cal {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: stretch;
  position: relative;
  border-radius: var(--r);
  background:
    repeating-linear-gradient(to bottom, transparent 0 27px, var(--line) 27px 28px),
    var(--soft);
  min-height: 170px;
}
.mini-cal .b { position: absolute; left: 14px; right: 14px; border-radius: 8px; background: var(--navy); }
.mini-cal .b1 { top: 10px; height: 34px; }
.mini-cal .b2 { top: 52px; height: 62px; background: var(--dusty); }
.mini-cal .b3 { top: 122px; height: 22px; right: 60px; }
.mini-cal .b4 { top: 122px; height: 22px; left: auto; width: 38px; background: var(--sand); }
.mini-cal .b5 { top: 152px; height: 18px; background: var(--mist); }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 40px;
}
.steps p { color: var(--ink-2); font-size: 0.93rem; margin: 0; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px 28px;
}
.plan h3 { font-size: 1.75rem; margin: 0; }
.plan-sub { color: var(--muted); font-size: 0.92rem; margin: 6px 0 24px; }
.plan ul { list-style: none; padding: 24px 0 0; margin: 0 0 32px; border-top: 1px solid var(--line); flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 0.95rem; color: var(--ink-2); }
.plan li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%237c93ab' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.plan-featured { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-lg); }
.plan-featured h3 { color: #fff; }
.plan-featured .plan-sub { color: #b4c2d1; }
.plan-featured ul { border-top-color: rgba(255, 255, 255, 0.14); }
.plan-featured li { color: #e3e8ee; }
.plan-featured li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%23c9b796' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* About */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; }
.about-portrait {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  background: var(--navy);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-copy p { color: var(--ink-2); font-size: 1.08rem; }
.values { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.values li {
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line-2);
  font-size: 0.9rem;
  font-weight: 400;
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-size: 1.08rem;
  font-weight: 400;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%230a2242' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat;
  transition: transform 0.45s var(--ease-out), background-color 0.3s var(--ease-soft);
}
.faq summary:hover::after { background-color: var(--sand-soft); }
.faq details { overflow: hidden; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details.is-closing summary::after { transform: none; }
.faq details p { color: var(--ink-2); padding: 0 48px 24px 0; margin: -6px 0 0; }

/* Contact */
.section-contact { padding-top: 40px; padding-bottom: 120px; }
.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 64px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(124, 147, 171, 0.28), transparent 60%),
    var(--navy);
  overflow: hidden;
}
.contact-copy h2 { color: #fff; }
.contact-copy p { color: #cfd7e0; font-size: 1.08rem; max-width: 30em; }
.contact-direct {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.contact-direct:hover { background: rgba(255, 255, 255, 0.14); }
.contact-direct svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.5);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.86rem; font-weight: 400; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6dbe1;
  border-radius: var(--r-sm);
  background: #fff;
  font: inherit;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%236b7486' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/16px no-repeat;
  padding-right: 40px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--dusty);
  box-shadow: 0 0 0 4px var(--mist);
}
.field.invalid input, .field.invalid textarea { border-color: #d14343; box-shadow: 0 0 0 4px #fdecec; }
.contact-form .btn { margin-top: 6px; }
.form-note { margin: 12px 0 0; font-size: 0.88rem; color: var(--ink-2); min-height: 1.4em; }

/* Footer */
.site-footer { background: var(--navy); color: #b4c2d1; padding: 88px 0 36px; font-weight: 400; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(201, 183, 150, 0.35);
}
.footer-brand { display: inline-block; padding: 6px; margin: -6px; }
.footer-brand img { width: 220px; height: auto; display: block; }
.footer-tagline { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin: 28px 0 0; }
.footer-col h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 10px 0 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 12px; }
.footer-col a, .link-btn {
  color: #e3e8ee;
  text-decoration: none;
  font-size: 0.97rem;
}
.link-btn { background: none; border: 0; padding: 0; font-family: inherit; font-weight: inherit; cursor: pointer; }
.footer-col a:hover, .link-btn:hover, .footer-col a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 5px;
}
.footer-col p { margin: 0 0 12px; font-size: 0.97rem; }
.footer-col .btn { margin-top: 10px; }
.footer-col .btn-light, .footer-col .btn-light:hover { color: var(--navy); text-decoration: none; }
.footer-ack {
  max-width: 62ch;
  font-size: 0.9rem;
  color: #b4c2d1;
  padding: 28px 0;
  margin: 0;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}
.footer-bottom p { margin: 0; }
/* HLD credit: centred at the very bottom, quiet until hovered */
.footer-credit { margin: 28px 0 0; display: flex; justify-content: center; }
.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  color: #b4c2d1;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s var(--ease-soft);
}
.footer-credit a:hover { opacity: 1; }
.footer-credit img { display: block; width: auto; height: 20px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* Cookie notice */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 50;
  width: min(420px, calc(100vw - 40px));
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -20px rgba(10, 34, 66, 0.35);
  font-weight: 400;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.5rem; margin: 0 0 8px; }
.cookie-banner p { font-size: 0.93rem; color: var(--ink-2); margin: 0 0 18px; }
.cookie-banner p a { color: var(--navy); text-decoration-color: var(--sand); text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { height: 42px; flex: 1 1 140px; }

/* Legal pages */
.legal-head { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 16px; }
.legal-head h1::after { content: ""; display: block; width: 56px; height: 1px; margin-top: 22px; background: var(--sand); }
.legal-meta { color: var(--muted); font-size: 0.95rem; font-weight: 400; margin: 0; }
.legal-intro { max-width: 60ch; font-size: 1.12rem; color: var(--ink-2); margin: 20px 0 0; }
.legal-body { padding: 64px 0 120px; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 80px; align-items: start; }
.legal-toc { position: sticky; top: 124px; font-weight: 400; }
.legal-toc h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legal-toc a {
  display: block;
  padding: 6px 0 6px 16px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.4;
}
.legal-toc a:hover { color: var(--navy); border-left-color: var(--sand); }
.prose { max-width: 70ch; }
.prose section { padding-bottom: 12px; scroll-margin-top: 120px; }
.prose h2 { font-size: 2rem; margin: 0 0 16px; }
.prose h3 { font-size: 1.35rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--sand); }
.prose a { color: var(--navy); text-decoration-color: var(--sand); text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--navy); }
.prose section + section { padding-top: 36px; border-top: 1px solid var(--line); }
.prose strong { font-weight: 500; color: var(--navy); }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.93rem; font-weight: 400; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--mist); color: var(--navy); font-weight: 500; }
.prose tr:last-child td { border-bottom: 0; }
.prose code { white-space: nowrap; font-size: 0.9em; background: var(--mist); padding: 2px 6px; border-radius: 6px; }
.callout { padding: 20px 22px; border-radius: var(--r); background: var(--sand-soft); border: 1px solid var(--line); margin: 0 0 1.4em; }
.callout p:last-child { margin: 0; }

/* 404 */
.notfound { padding: 140px 0 160px; text-align: center; }
.notfound p { color: var(--ink-2); font-size: 1.12rem; margin: 0 auto 32px; max-width: 40ch; }
.notfound .hero-actions { justify-content: center; }

/* Reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease-soft) var(--d, 0ms), transform 1.2s var(--ease-out) var(--d, 0ms);
}
.js .hero-visual .reveal { transform: translate3d(0, 40px, 0) scale(0.98); }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes rise-in {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes drop-in {
  from { opacity: 0; transform: translate3d(0, -8px, 0) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.cookie-banner:not([hidden]) { animation: rise-in 0.8s var(--ease-out) 0.3s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-visual .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
}

/* Responsive */
@media (max-width: 1040px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { max-width: 14ch; }
  .hero-visual { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about-grid, .faq-grid { gap: 56px; }
  .contact-panel { grid-template-columns: 1fr; gap: 40px; padding: 48px; }
}

@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-template-columns: 1fr; }
  .mini-cal { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .about-portrait { max-width: 380px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-brand-col, .footer-top > .footer-col:last-child { grid-column: 1 / -1; }
  .legal-grid { grid-template-columns: 1fr; gap: 40px; }
  .legal-toc { position: static; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .header-inner { height: 76px; }
  .brand-lockup { display: none; }
  .brand-seal { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--offwhite);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    padding: 8px 20px 20px;
  }
  .site-nav.open { display: flex; animation: drop-in 0.4s var(--ease-out); transform-origin: top right; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav .btn { margin-top: 16px; height: 46px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 64px; }
  .hero-visual { padding: 0 0 170px; }
  .panel-inbox { left: 12px; bottom: 0; width: min(260px, 78%); }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .bento, .steps { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .step-num { margin-bottom: 24px; }
  .contact-panel { padding: 32px 20px; border-radius: var(--r-lg); }
  .contact-form { padding: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { padding-top: 64px; }
  .legal-head { padding: 48px 0 32px; }
  .legal-body { padding: 40px 0 80px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; }
  /* Keep the accessibility button off the full-width cookie notice until it's answered */
  body:has(.cookie-banner:not([hidden])) #hld-btn { visibility: hidden; }
}

@media (max-width: 360px) {
  .agenda li { grid-template-columns: 44px 1fr; }
  .agenda .tag { grid-column: 2; justify-self: start; margin-left: 15px; }
}
