/* ==========================================================================
   Universal Approvals — site.css
   Design system for universalapprovals.com.au
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand */
  --ink:        #0A1D33;
  --ink-2:      #1E3A56;
  --body:       #33475B;
  --muted:      #5F7488;
  --line:       #E3E9F0;
  --line-soft:  #EEF2F7;

  --bg:         #FFFFFF;
  --bg-alt:     #F6F9FC;
  --bg-deep:    #0A1D33;
  --hero-dark:  #08131F;

  --brand:      #0B4F8A;
  --brand-600:  #094273;
  --brand-100:  #E7F0F9;
  --accent:     #12A594;
  --accent-100: #E3F6F3;
  --warn:       #B4530A;

  /* Type */
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
               Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Scale */
  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.35rem, 1.22rem + 0.65vw, 1.75rem);
  --step-3:  clamp(1.65rem, 1.40rem + 1.20vw, 2.35rem);
  --step-4:  clamp(2.00rem, 1.55rem + 2.20vw, 3.30rem);
  --step-5:  clamp(2.40rem, 1.60rem + 3.40vw, 4.40rem);

  /* Space */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;

  --radius:    4px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(10,29,51,.06), 0 1px 3px rgba(10,29,51,.05);
  --shadow-md: 0 4px 12px rgba(10,29,51,.07), 0 2px 4px rgba(10,29,51,.04);
  --shadow-lg: 0 18px 40px rgba(10,29,51,.12), 0 4px 10px rgba(10,29,51,.05);

  --wrap: 1280px;
  --measure: 68ch;
  --header-h: 74px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 400; letter-spacing: -0.028em; line-height: 1.08; }
h2 { font-size: var(--step-3); font-weight: 400; letter-spacing: -0.024em; }
h3 { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.014em; }
h4 { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.008em; }
p  { text-wrap: pretty; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-600); }

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

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
@media (max-width: 560px) { .wrap { width: min(100% - 2rem, var(--wrap)); } }

/* The layout is fluid at every width: the content column widens with the
   viewport up to --wrap, then the whole type-and-space scale grows on very
   large screens so the page fills a 27" or 32" monitor instead of sitting in
   a narrow strip with empty margins either side. */
@media (min-width: 1600px) { :root { --wrap: 1440px; } html { font-size: 17px; } }
@media (min-width: 2000px) { :root { --wrap: 1680px; } html { font-size: 18.5px; } }
@media (min-width: 2560px) { :root { --wrap: 1920px; } html { font-size: 20px; } }

.section { padding-block: clamp(3.5rem, 1.8rem + 5.6vw, 6.5rem); }
.section--tight { padding-block: clamp(2.25rem, 1.4rem + 3vw, 3.5rem); }
.section--alt { background: var(--bg-alt); }
.section--line { border-top: 1px solid var(--line); }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--sp-2); }
.prose strong { color: var(--ink-2); font-weight: 650; }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.eyebrow--light { color: #74E0D2; }

.lede { font-size: var(--step-1); color: var(--ink-2); line-height: 1.55; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: var(--brand);
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  font-weight: 640; font-size: var(--step-0); line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { color: var(--btn-fg); transform: none; box-shadow: none; }
.btn:active { transform: translateY(0); }
.btn--accent  { --btn-bg: var(--accent); --btn-bd: var(--accent); }
.btn--accent:hover { --btn-bg: #0E8F81; --btn-bd: #0E8F81; }
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--brand); --btn-bd: var(--line); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--brand-100); --btn-bd: var(--brand-100); }
.btn--onDark  { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--onDark-ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); box-shadow: none; }
.btn--onDark-ghost:hover { --btn-bg: rgba(255,255,255,.10); --btn-bd: rgba(255,255,255,.55); --btn-fg:#fff; }
.btn--sm { padding: .55rem 1rem; font-size: var(--step--1); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.arrow-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 640; text-decoration: none; color: var(--brand);
}
.arrow-link::after { content: "→"; transition: transform .15s ease; }
.arrow-link:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.85);
  font-size: var(--step--1);
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; justify-content: flex-end; min-height: 40px; padding-block: .35rem; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; flex: none; opacity: .75; }
@media (max-width: 720px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.6) blur(10px);
  -webkit-backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: var(--sp-4);
  min-height: var(--header-h); flex-wrap: nowrap;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand__logo { width: auto; height: 48px; display: block; }
@media (max-width: 480px) { .brand__logo { height: 38px; } }
.brand--footer .brand__logo { height: 46px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; flex-wrap: nowrap; }
.nav__link {
  display: block; padding: .5rem .62rem; border-radius: 8px;
  color: var(--ink-2); font-weight: 600; font-size: .93rem; text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { background: var(--bg-alt); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--brand); background: var(--brand-100); }

.has-menu { position: relative; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  background: none; border: 0; padding: .5rem .62rem; border-radius: 8px;
  color: var(--ink-2); font-weight: 600; font-size: .93rem; cursor: pointer;
  white-space: nowrap;
}
.nav__toggle:hover { background: var(--bg-alt); color: var(--ink); }
.nav__toggle svg { width: 11px; height: 11px; transition: transform .18s ease; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 300px; padding: var(--sp-2);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-menu[data-open="true"] > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: .55rem .7rem; border-radius: 8px;
  text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem;
}
.submenu a small { display: block; font-weight: 450; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 1px; }
.submenu a:hover { background: var(--bg-alt); color: var(--brand); }
.submenu__head {
  padding: .5rem .7rem .3rem; font-size: .7rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
  margin: 0;
}
.submenu__title {
  padding: .35rem .7rem .5rem; margin: 0 .3rem .35rem;
  font-size: .78rem; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.submenu--wide { min-width: 680px; }
.submenu__cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem; align-items: start;
}
.submenu__group { margin-bottom: .9rem; }
.submenu__group:nth-child(1) { grid-column: 1; grid-row: 1; }
.submenu__group:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
.submenu__group:nth-child(3) { grid-column: 1; grid-row: 2; }
.submenu__group > ul { list-style: none; margin: 0; padding: 0; }
.submenu--wide > .submenu__all {
  border-top: 1px solid var(--line-soft); margin-top: .4rem; padding-top: .35rem;
}

@media (max-width: 1280px) {
  .submenu--wide { min-width: 0; }
  .submenu__cols { display: block; }
  .submenu__group:nth-child(1),
  .submenu__group:nth-child(2),
  .submenu__group:nth-child(3) { grid-column: auto; grid-row: auto; }
  .submenu__title { display: none; }
}

.nav__cta { display: flex; align-items: center; gap: var(--sp-2); margin-left: var(--sp-2); flex: none; }
.nav__cta .btn { white-space: nowrap; }

/* Header actions (mobile): call button + burger */
.header-actions { display: none; margin-left: auto; align-items: center; gap: .5rem; flex: none; }
.header-call {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 9px;
  display: grid; place-items: center; color: var(--brand); background: var(--brand-100);
}
.header-call svg { width: 19px; height: 19px; }

.burger {
  display: none;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
}
.burger span { display: block; width: 19px; height: 2px; background: var(--ink); position: relative; transition: background .15s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1280px) {
  .burger { display: inline-flex; }
  .header-actions { display: flex; }
  /* backdrop-filter makes the header a containing block for position:fixed
     descendants, which would trap the nav drawer — turn it off here. */
  .site-header {
    background: #fff;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  /* Full-screen dark menu, in the manner of the large consultancies' apps:
     one column of generous rows with hairline dividers, chevrons on the
     right, and the two calls to action pinned beneath. */
  .nav {
    display: flex; flex-direction: column;
    position: fixed; inset: var(--header-h) 0 0 0; width: auto;
    background: var(--hero-dark); color: #fff;
    padding: var(--sp-3) var(--sp-5) var(--sp-7);
    overflow-y: auto; margin-left: 0;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s ease, transform .22s ease, visibility 0s linear .22s;
    box-shadow: none; border: 0;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav__link, .nav__toggle {
    width: 100%; padding: 1.05rem .25rem; font-size: 1.22rem; font-weight: 400;
    color: #fff; background: none; border-radius: 0; letter-spacing: -.01em;
  }
  .nav__link:hover, .nav__toggle:hover { background: none; color: #fff; }
  .nav__link[aria-current="page"] { color: #74E0D2; background: none; }
  .nav__toggle { justify-content: space-between; }
  .nav__toggle svg { width: 18px; height: 18px; opacity: .7; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: none;
    border-radius: 0; margin: 0 0 var(--sp-4); padding: 0 0 0 .25rem;
    display: none; min-width: 0;
  }
  .submenu a { color: rgba(255,255,255,.86); padding: .55rem .25rem; font-size: 1rem; font-weight: 400; }
  .submenu a small { color: rgba(255,255,255,.55); }
  .submenu a:hover { background: none; color: #fff; }
  .submenu__title { display: block; color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.14); }
  .has-menu[data-open="true"] > .submenu { display: block; }
  .submenu__head { display: block; color: rgba(255,255,255,.5); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin: var(--sp-4) 0 var(--sp-2); padding: 0 .25rem; }
  .nav__cta { flex-direction: column; align-items: stretch; margin: var(--sp-6) 0 0; gap: var(--sp-3); }
  .nav__cta .btn { justify-content: center; padding: 1rem 1.4rem; font-size: 1.02rem; }
  .nav__cta .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
  .nav__cta .btn--ghost:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: rgba(255,255,255,.55); }
  body[data-nav-open="true"] { overflow: hidden; }
}

.nav-scrim {
  position: fixed; inset: 0; background: rgba(10,29,51,.42);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; z-index: 99;
}
body[data-nav-open="true"] .nav-scrim { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-dark);
  color: #fff;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
  display: grid; align-items: center;
  min-height: min(76vh, 700px);
}
@media (min-width: 1600px) { .hero { min-height: min(78vh, 860px); } .hero--inner { min-height: min(52vh, 520px); } }
/* Photographic hero, in the manner of the large consultancies: the picture
   runs at full strength on the right and dissolves into a dark panel on the
   left, where the headline sits. The dark panel is opaque under the text, so
   white type stays well above WCAG AA whatever the photo does. */
.hero--photo {
  background-image:
    linear-gradient(90deg,
      var(--hero-dark) 0%, var(--hero-dark) 30%,
      rgba(8,19,31,.94) 46%, rgba(8,19,31,.62) 60%,
      rgba(8,19,31,.16) 80%, rgba(8,19,31,.06) 100%),
    linear-gradient(180deg, rgba(8,19,31,.25) 0%, rgba(8,19,31,0) 30%, rgba(8,19,31,0) 70%, rgba(8,19,31,.55) 100%),
    var(--hero-img);
  background-size: cover, cover, cover;
  background-position: center, center, right center;
  background-repeat: no-repeat;
}
@media (max-width: 820px) {
  /* Phones: the photograph becomes a full-width band at the top of the hero
     and the text sits beneath it on the dark panel — the arrangement the
     large consultancies use in their mobile layouts. */
  .hero--photo {
    background-image:
      linear-gradient(180deg, rgba(8,19,31,.08) 0, rgba(8,19,31,.30) 30vw, var(--hero-dark) 46vw),
      var(--hero-img);
    background-size: 100% 100%, 100% auto;
    background-position: top center, top center;
    padding-top: calc(46vw + 1rem);
  }
}
.hero .wrap { position: relative; z-index: 1; min-width: 0; }
.hero h1 {
  color: #fff; max-width: 19ch;
  font-size: var(--step-5); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05;
}
.hero__sub {
  font-size: var(--step-1); font-weight: 300; color: rgba(255,255,255,.80);
  max-width: 50ch; margin-top: var(--sp-5); line-height: 1.55;
}
.hero .btn-row { margin-top: var(--sp-7); }
.hero--inner { min-height: min(52vh, 460px); padding-block: clamp(3rem, 2rem + 4.5vw, 5.5rem); }
.hero--inner h1 { max-width: 22ch; font-size: var(--step-4); font-weight: 300; }

.hero__stats {
  display: grid; gap: var(--sp-5) var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  margin-top: var(--sp-8); padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: min(100%, 1100px);
}
.hero__stat b { display: block; font-size: var(--step-3); color: #fff; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; }
.hero__stat span { display: block; margin-top: .3rem; font-size: var(--step--1); color: rgba(255,255,255,.66); }

/* Breadcrumbs */
.crumbs { font-size: var(--step--1); margin-bottom: var(--sp-4); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.crumbs li::after { content: "/"; margin-left: .45rem; opacity: .45; }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: rgba(255,255,255,.78); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: rgba(255,255,255,.62); }

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  padding: var(--sp-5);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card--link { position: relative; }
.card--link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
}
.card--link:hover { transform: none; box-shadow: none; border-color: #C9D6E3; }
.card--link:hover::after { transform: scaleX(1); }
.card h3 { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.card p { font-size: .96rem; color: var(--body); }
.card .arrow-link { margin-top: auto; padding-top: var(--sp-4); font-size: .93rem; }
.card__icon {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: var(--sp-4);
  display: grid; place-items: center; background: var(--brand-100); color: var(--brand); flex: none;
}
.card__icon svg { width: 22px; height: 22px; }
.card__icon--accent { background: var(--accent-100); color: #0E8073; }
.card__flag { font-size: 1.6rem; line-height: 1; margin-bottom: var(--sp-3); }
.post-meta { color: rgba(255,255,255,.72); font-size: var(--step--1); margin-top: var(--sp-4); }
.post-card__meta {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  font-size: var(--step--1); color: var(--muted); margin-bottom: var(--sp-3);
}
.post-card h3 { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); }
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.related a { text-decoration: none; font-weight: 640; font-size: .94rem; display: block; }
.related small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }

/* --- Welcome ------------------------------------------------------------- */
.welcome {
  display: grid; gap: var(--sp-6) var(--sp-8);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: start;
}
@media (max-width: 880px) { .welcome { grid-template-columns: 1fr; } }
.welcome__body p { max-width: 62ch; }
.welcome__aside .ticks a { text-decoration: none; font-weight: 600; }
.welcome__aside .ticks a:hover { text-decoration: underline; }

/* --- Editorial photography ----------------------------------------------- */
.photo {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); line-height: 0;
}
.photo img { width: 100%; height: auto; display: block; }
.photo--tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.photo--wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.photo figcaption {
  line-height: 1.5; font-size: var(--step--1); color: var(--muted);
  padding: .75rem 1rem; background: var(--bg-alt); border-top: 1px solid var(--line);
}

.group-head {
  font-size: var(--step-0); font-weight: 700; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
  margin-top: var(--sp-6); padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--line);
}
.group-head:first-of-type { margin-top: 0; }

.card__rule {
  display: block; width: 34px; height: 3px; border-radius: 2px;
  background: var(--accent); margin-bottom: var(--sp-4);
}

.card-note {
  padding: var(--sp-5); border-radius: var(--radius-lg);
  background: var(--bg-alt); border: 1px solid var(--line);
}
.card-note--warn { background: #FFF8F0; border-color: #F2DFC7; }
.card-note h3, .card-note h4 { margin-bottom: var(--sp-2); }

/* Feature list with ticks */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--accent-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230E8073' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/0.78rem no-repeat;
}
.ticks--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--sp-3) var(--sp-6); }

/* Numbered steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: var(--sp-5); }
.steps li { counter-increment: s; position: relative; padding-left: 3.25rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -.15em;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
}
.steps h3 { font-size: var(--step-1); margin-bottom: var(--sp-1); }

/* --------------------------------------------------------------------------
   8. Tables
   -------------------------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 540px; }
caption { text-align: left; padding: var(--sp-4) var(--sp-5) 0; color: var(--muted); font-size: var(--step--1); }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { background: var(--bg-alt); color: var(--ink); font-weight: 680; font-size: .88rem; letter-spacing: .01em; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #FBFDFF; }

/* --------------------------------------------------------------------------
   9. FAQ / accordion
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--sp-3); max-width: 860px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq details[open] { border-color: #CFDDEA; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-weight: 650; color: var(--ink); position: relative; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.15rem; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { background: var(--bg-alt); }
.faq__body { padding: 0 1.25rem 1.25rem; }
.faq__body > * + * { margin-top: var(--sp-3); }

/* --------------------------------------------------------------------------
   10. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(140deg, #0A1D33 0%, #0E3A5C 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.3rem + 3vw, 3.25rem);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -140px; bottom: -220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(18,165,148,.28), transparent 65%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.80); max-width: 58ch; margin-top: var(--sp-3); }
.cta-band .btn-row { margin-top: var(--sp-5); }

/* --------------------------------------------------------------------------
   11. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 640; color: var(--ink); font-size: .93rem; }
.field .hint { font-size: var(--step--1); color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field--req label::after { content: " *"; color: var(--warn); }
.form__row { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form__status { margin-top: var(--sp-4); padding: .85rem 1rem; border-radius: var(--radius); font-weight: 500; }
.form__status--ok  { background: var(--accent-100); color: #0B5E55; border: 1px solid #BFE9E2; }
.form__status--err { background: #FFF1EC; color: #9A3A0C; border: 1px solid #F3CDBB; }
.form__note { font-size: var(--step--1); color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   12. Contact / misc blocks
   -------------------------------------------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-5); }
.contact-list li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.contact-list .ico {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: grid; place-items: center; background: var(--brand-100); color: var(--brand);
}
.contact-list .ico svg { width: 19px; height: 19px; }
.contact-list b { display: block; color: var(--ink); font-weight: 650; font-size: .9rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.map-embed { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; line-height: 0; }
.map-embed iframe { width: 100%; height: 340px; border: 0; }

.mark-strip {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center;
  gap: var(--sp-6) var(--sp-8);
}
.mark-strip li { display: grid; justify-items: center; gap: .6rem; min-width: 78px; }
.mark-strip img {
  height: 56px; width: auto; max-width: 140px; object-fit: contain;
  opacity: .78; transition: opacity .2s ease;
}
.mark-strip li:hover img { opacity: 1; }
.mark-strip span {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}

.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem; border-radius: 999px;
  background: var(--brand-100); color: var(--brand-600);
  font-size: var(--step--1); font-weight: 650;
}
.pill--accent { background: var(--accent-100); color: #0E8073; }
.pill-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.70); padding-block: var(--sp-8) var(--sp-6); font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .10em; text-transform: uppercase; margin-bottom: var(--sp-4); font-weight: 700; }
.site-footer a { color: rgba(255,255,255,.70); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid; gap: var(--sp-7) var(--sp-6);
  grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr));
}
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-brand p { margin-top: var(--sp-4); max-width: 34ch; }
.social { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.social a {
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10);
  transition: background .15s, border-color .15s;
}
.social a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-base {
  margin-top: var(--sp-7); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-6); justify-content: space-between;
  font-size: .86rem;
}
.acknowledgement {
  margin-top: var(--sp-5); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .84rem; color: rgba(255,255,255,.55); max-width: 90ch; line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. Utilities
   -------------------------------------------------------------------------- */
.center { text-align: center; }
.center .prose, .center .lede { margin-inline: auto; }
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.narrow { max-width: 780px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.split { display: grid; gap: var(--sp-7); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split--even { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

@media print {
  .site-header, .topbar, .nav, .burger, .cta-band, .site-footer { display: none !important; }
  body { color: #000; }
}
