/* ==========================================================================
   UQG / uQualify — site styles
   Design source: Figma "uQualify (Copy)" › UI Drafts › Glas Hero Exploration
   Font: Outfit is a free stand-in for Strawford (swap --font when licensed).
   ========================================================================== */

/* Outfit (SIL OFL) — self-hosted free stand-in for Strawford */
@font-face { font-family: "Outfit"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/Outfit-Light.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Outfit-Regular.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Outfit-Medium.woff2") format("woff2"); }

:root {
  /* Brand palette (Figma › Brand › COLORS – HEX VALUES) */
  --ink-900: #0f1416;
  --teal-900: #122d2e;
  --teal-800: #1b3436;
  --teal-700: #273b3d;   /* primary dark */
  --teal-650: #264a4c;
  --teal-600: #2e4547;
  --teal-500: #4b8487;
  --slate-500: #546f71;  /* primary mid */
  --slate-400: #6a8486;
  --slate-300: #92b6b9;
  --slate-200: #a5cacd;
  --slate-100: #b6dadd;
  --aqua-400: #6cb7bb;
  --aqua-300: #8ae0e5;   /* accent */
  --mint: #9fe7df;       /* CTA fill */
  --warm-900: #221c18;
  --warm-700: #3c3633;
  --warm-500: #585451;

  --white: #ffffff;
  --paper: #f7f8f8;
  --line: #e4eaea;
  --text: #1d2a2b;
  --text-soft: #4f5d5e;
  --heading: #273b3d;
  --heading-soft: #4e7275;

  --font: "Outfit", "Strawford", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 5.6vw, 80px);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.12; letter-spacing: -0.005em; color: var(--heading); }
p { margin: 0; }
button { font: inherit; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--teal-700); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--aqua-300); outline-offset: 3px; border-radius: 6px; }

/* Draft-copy marker: anything wrapped in .tbc needs confirming by UQG */
.tbc { background: linear-gradient(transparent 62%, rgba(138, 224, 229, .35) 62%); border-bottom: 1px dashed var(--aqua-400); }
.on-dark .tbc { background: linear-gradient(transparent 62%, rgba(138, 224, 229, .18) 62%); }

/* ---------- Type scale ---------- */
.display { font-size: clamp(42px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -0.01em; }
.h1 { font-size: clamp(36px, 4.4vw, 64px); }
.h2 { font-size: clamp(32px, 3.7vw, 54px); }
.h3 { font-size: clamp(26px, 2.8vw, 40px); }
.h4 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 400; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--text-soft); line-height: 1.6; }
.eyebrow { font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 12px 10px 26px; min-height: 52px;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  text-decoration: none; font-weight: 400; font-size: 16px; line-height: 1;
  cursor: pointer; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-mint { background: var(--mint); color: var(--teal-800); box-shadow: 0 10px 40px -12px rgba(138, 224, 229, .6); }
.btn-mint:hover { background: #b3efe8; }
.btn-dark { background: var(--teal-700); color: var(--white); }
.btn-dark:hover { background: var(--teal-800); }
.btn .btn-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-900); color: var(--white); flex: none; }
.btn-dark .btn-icon { background: var(--mint); color: var(--teal-900); }
.btn-plain { padding: 10px 26px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-underline { display: inline-block; font-weight: 500; font-size: 16px; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--text); }
.link-underline:hover { color: var(--teal-500); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 50; color: var(--white); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 104px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: inherit; line-height: 0; }
.logo svg { height: 21px; width: auto; }

.nav-pill {
  display: flex; align-items: center; gap: 4px;
  padding: 6px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav-pill a { position: relative; padding: 10px 22px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 300; text-decoration: none; color: rgba(255, 255, 255, .86); transition: background .2s, color .2s; }
.nav-pill a + a::before { content: ""; position: absolute; left: -2px; top: 50%; width: 1px; height: 14px; transform: translateY(-50%); background: rgba(255, 255, 255, .18); }
.nav-pill a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav-pill a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .12); }
.nav-pill a[aria-current="page"]::before, .nav-pill a[aria-current="page"] + a::before { opacity: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-ghost { padding: 12px 26px; min-height: 46px; border: 1px solid rgba(255, 255, 255, .28); color: var(--white); background: rgba(255, 255, 255, .04); font-size: 15px; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { padding: 12px 26px; min-height: 46px; font-size: 15px; }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer; place-items: center; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { display: none; }

@media (max-width: 960px) {
  .nav-pill, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: grid; }
  .site-header .bar { height: 84px; }
  .logo svg { height: 18px; }
  .mobile-menu {
    display: block; position: fixed; inset: 0; z-index: 40;
    background: rgba(12, 22, 26, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    padding: 110px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; }
  .mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
  .mobile-menu nav a { font-size: 34px; font-weight: 300; color: var(--white); text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .mobile-menu nav a[aria-current="page"] { color: var(--aqua-300); }
  .mobile-menu .mobile-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { position: fixed; }
}
@media (max-width: 420px) { .header-actions .btn-sm { padding: 10px 18px; min-height: 42px; font-size: 14px; } }

/* ==========================================================================
   Glass hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(60% 55% at 6% 52%, rgba(64, 140, 86, .55), transparent 70%),
    radial-gradient(55% 45% at 52% 26%, rgba(78, 154, 168, .55), transparent 70%),
    radial-gradient(45% 50% at 92% 82%, rgba(36, 54, 140, .6), transparent 72%),
    radial-gradient(60% 60% at 62% 92%, rgba(40, 18, 70, .65), transparent 70%),
    linear-gradient(180deg, #0c1a22 0%, #10202a 30%, #0d1424 70%, #0d0f1e 100%);
}
.hero canvas.pixel-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { /* glass sheen */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .05) 42%, transparent 56%),
    linear-gradient(180deg, rgba(8, 14, 20, .35), transparent 22%, transparent 70%, rgba(8, 12, 24, .45));
}
.hero-inner { position: relative; min-height: clamp(620px, 76vw, 1100px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 104px; padding-bottom: clamp(170px, 16vw, 235px); }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .hero-sub { margin-top: 22px; font-size: clamp(18px, 1.6vw, 22px); color: rgba(220, 240, 242, .78); }
.hero .hero-cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Rounded white tab that rises into the hero (Glas Hero signature) */
.hero-tab {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  width: min(54%, 780px); height: 82px;
  background: var(--white); border-top-right-radius: 40px;
  display: flex; align-items: center; gap: 20px; padding-left: var(--gutter);
}
.hero-tab::after { /* inverse corner */
  content: ""; position: absolute; right: -40px; bottom: 0; width: 40px; height: 40px;
  background: radial-gradient(circle at 100% 0, transparent 39.5px, var(--white) 40px);
}
.hero-tab svg { height: 18px; width: auto; color: var(--slate-300); }
.hero-tab span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-300); font-weight: 400; }

/* Sub-page hero */
.hero--page .hero-inner { min-height: clamp(460px, 42vw, 600px); padding-bottom: clamp(140px, 12vw, 170px); }
.hero--page h1 { max-width: 18ch; }

@media (max-width: 700px) {
  .hero-inner { padding-bottom: 150px; }
  .hero-tab { width: 86%; height: 64px; border-top-right-radius: 28px; }
  .hero-tab::after { right: -28px; width: 28px; height: 28px; background: radial-gradient(circle at 100% 0, transparent 27.5px, var(--white) 28px); }
  .hero-tab span { font-size: 11px; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(72px, 9vw, 140px) 0; }
.section--tight { padding: clamp(56px, 6vw, 96px) 0; }
.section--paper { background: linear-gradient(180deg, var(--white), var(--paper)); }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Intro band */
.intro { padding-top: clamp(40px, 5vw, 70px); padding-bottom: clamp(80px, 10vw, 150px); background: linear-gradient(180deg, var(--white) 0%, var(--white) 40%, var(--paper) 100%); }
.stack-lines { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.3; font-weight: 300; color: var(--heading-soft); }
.stack-lines span { display: block; }
.stack-lines span:first-child { color: var(--aqua-400); }
.stack-lines span:first-child { background: linear-gradient(90deg, #7fcfd3, #9fe0e2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro p { max-width: 460px; font-size: 18px; color: var(--text); }

/* Platform panel */
.platform { position: relative; color: var(--white); background: linear-gradient(115deg, #234143 0%, #2c4b4d 45%, #3c6466 100%); padding: clamp(80px, 9vw, 140px) 0 clamp(80px, 8vw, 120px); margin-bottom: clamp(140px, 14vw, 220px); }
.platform .grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.platform h2 { color: var(--white); }
.feature-list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 30px; }
.feature-list li { display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; }
.feature-list svg { margin-top: 4px; color: var(--aqua-300); }
.feature-list h3 { font-size: 22px; color: var(--aqua-300); font-weight: 300; }
.feature-list p { grid-column: 2; margin-top: 6px; color: rgba(255, 255, 255, .82); font-size: 16px; max-width: 360px; }
.platform .mock-wrap { position: relative; margin-right: calc(var(--gutter) * -1 - max(0px, (100vw - var(--container) - var(--gutter) * 2) / 2)); margin-bottom: calc(clamp(80px, 8vw, 120px) * -1 - 60px); }
@media (max-width: 960px) {
  .platform .grid { grid-template-columns: 1fr; }
  .platform .mock-wrap { margin-right: calc(var(--gutter) * -1); margin-bottom: -100px; }
  .platform { margin-bottom: 140px; }
}

/* Dashboard mock (HTML recreation of the product screenshot) */
.mock {
  display: grid; grid-template-columns: 56px 1fr 240px; min-height: 560px;
  background: #fbfcfc; color: var(--text); border-radius: 14px 0 0 14px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5);
  overflow: hidden; font-size: 12px;
}
.mock-rail { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 18px 0; }
.mock-rail svg { color: var(--slate-400); }
.mock-rail .mk-logo { color: var(--teal-700); height: 13px; width: auto; margin-bottom: 64px; }
.mock-rail .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.mock-rail .dot.active { background: rgba(138, 224, 229, .35); }
.mock-main { padding: 26px 26px 22px; }
.mock-main .label { font-size: 9px; letter-spacing: .14em; color: var(--slate-400); text-transform: uppercase; }
.mock-main .title { font-size: 22px; margin-top: 6px; color: var(--teal-700); }
.mock-main .balance { font-size: 13px; color: var(--teal-700); margin-top: 2px; }
.mock-actions { display: flex; gap: 8px; margin: 16px 0 26px; flex-wrap: wrap; }
.mock-actions span { font-size: 9px; letter-spacing: .1em; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal-700); }
.mock-actions span:last-child { border-color: var(--aqua-400); }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mock-card { height: 66px; border-radius: 6px; padding: 10px 12px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, #5d9a9d, #3f7b7e); }
.mock-card:nth-child(2) { background: linear-gradient(135deg, #6aa7aa, #4b8487); }
.mock-card:nth-child(3) { background: linear-gradient(135deg, #4f8b8e, #3a7174); }
.mock-card:nth-child(4) { background: linear-gradient(135deg, #5a9598, #447f82); }
.mock-card small { font-size: 8px; opacity: .85; }
.mock-card b { font-weight: 400; font-size: 11px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mock-row .t { font-size: 10px; color: var(--teal-700); }
.mock-row .s { font-size: 8px; color: var(--slate-400); letter-spacing: .06em; }
.mock-row .v { font-size: 10px; color: var(--teal-700); }
.mock-row .p { font-size: 9px; color: var(--slate-400); }
.mock-side { border-left: 1px solid var(--line); padding: 26px 18px; background: #f6f8f8; }
.mock-side .box { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fff; }
.mock-side .box + .box { margin-top: 12px; }
.mock-side .box p { font-size: 9px; color: var(--slate-400); line-height: 1.5; }
.mock-side .box .row { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); font-size: 9px; color: var(--teal-700); }
.mock-side .user { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.mock-side .user span { font-size: 9px; border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; background: #fff; }
@media (max-width: 700px) { .mock { grid-template-columns: 44px 1fr; min-height: 0; } .mock-side { display: none; } }

/* Why choose — three tone cards */
.why-head { max-width: 720px; }
.why-head p { margin-top: 22px; }
.tone-cards { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 5vw, 80px); }
.tone-card { min-height: 470px; padding: 40px 40px 36px; display: flex; flex-direction: column; color: var(--white); position: relative; overflow: hidden; }
.tone-card:nth-child(1) { background: #2b4446; }
.tone-card:nth-child(2) { background: #546466; }
.tone-card:nth-child(3) { background: #8fabad; border-top-right-radius: var(--radius-lg); }
.tone-card .eyebrow { color: var(--aqua-300); opacity: .8; }
.tone-card h3 { color: var(--white); font-size: clamp(24px, 2vw, 30px); margin-top: 18px; }
.tone-card p { margin-top: 18px; color: rgba(255, 255, 255, .62); font-size: 16px; max-width: 340px; }
.tone-card:nth-child(3) p { color: rgba(255, 255, 255, .85); }
.tone-card .link-arrow { margin-top: auto; color: var(--white); padding-top: 32px; }
.tone-card:nth-child(3) .eyebrow, .tone-card:nth-child(3) .link-arrow { color: #d6fbfd; }
.tone-card::after { content: ""; position: absolute; inset: auto -30% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 65%); transition: transform .6s var(--ease); }
.tone-card:hover::after { transform: translate(-10%, -10%); }
@media (max-width: 900px) {
  .tone-cards { grid-template-columns: 1fr; }
  .tone-card { min-height: 0; padding: 36px var(--gutter); }
  .tone-card:nth-child(3) { border-top-right-radius: 0; }
  .tone-card:nth-child(1) { border-top-right-radius: var(--radius-lg); }
}

/* Statement */
.statement { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.statement h2 { color: var(--heading-soft); }
.statement p { font-size: 17px; color: var(--text); max-width: 480px; margin-top: 10px; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }

/* Alternating visual rows */
.rows { display: grid; gap: clamp(60px, 7vw, 120px); padding-bottom: clamp(80px, 9vw, 160px); }
.vrow { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; }
.vrow .copy { grid-column: 1 / span 5; padding-left: var(--gutter); padding-bottom: 40px; }
.vrow .visual { grid-column: 8 / -1; position: relative; padding-top: 26px; }
.vrow .visual::before { content: ""; position: absolute; top: 0; right: 0; width: 72%; height: 26px; background: #7eaeb1; }
.vrow .visual .frame { position: relative; background: #000; aspect-ratio: 534 / 650; overflow: hidden; }
.vrow .visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vrow h3 { font-size: clamp(30px, 2.8vw, 42px); color: var(--heading); }
.vrow p { margin-top: 26px; font-size: 16px; color: var(--text); max-width: 440px; }
.vrow .link-underline { margin-top: 30px; }

.vrow--flip .copy { grid-column: 8 / span 4; grid-row: 1; align-self: start; padding-left: 0; padding-top: 90px; }
.vrow--flip .visual { grid-column: 1 / span 5; grid-row: 1; }
.vrow--flip .visual::before { left: 0; right: auto; width: 82%; background: #9cbfc1; }
.vrow--flip .visual .frame { aspect-ratio: 592 / 650; }

.vrow--mid .visual { grid-column: 7 / -1; }
.vrow--mid .visual .frame { aspect-ratio: 592 / 650; }
.vrow--mid .visual::before { width: 80%; }

@media (max-width: 860px) {
  .vrow, .vrow--flip { grid-template-columns: 1fr; }
  .vrow .copy, .vrow--flip .copy { grid-column: 1; grid-row: 2; padding: 32px var(--gutter) 0; }
  .vrow .visual, .vrow--flip .visual, .vrow--mid .visual { grid-column: 1; grid-row: 1; margin-left: 12%; }
  .vrow--flip .visual { margin-left: 0; margin-right: 12%; }
  .vrow .visual .frame { aspect-ratio: 4 / 3.4; }
}

/* ==========================================================================
   Inner page components
   ========================================================================== */
.page-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: end; }
.page-intro h2 { color: var(--heading-soft); }
@media (max-width: 860px) { .page-intro { grid-template-columns: 1fr; } }

.maze-panel { position: relative; overflow: hidden; background: var(--teal-700); color: var(--white); }
.maze-panel::before { content: ""; position: absolute; inset: 0; background: url("../img/maze-on-dark.svg") right -10% center / auto 140% no-repeat; pointer-events: none; }
.maze-panel > .container { position: relative; }
.maze-panel h2, .maze-panel h3 { color: var(--white); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; }
.pillar { padding: 36px 34px 40px; background: rgba(255, 255, 255, .04); border-top: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.pillar h3 { font-size: 30px; letter-spacing: .04em; text-transform: uppercase; display: flex; align-items: baseline; gap: 4px; }
.pillar h3 i { display: inline-block; width: 9px; height: 9px; border: 2px solid var(--aqua-300); border-radius: 50%; }
.pillar p { margin-top: 18px; color: rgba(255, 255, 255, .75); font-size: 16px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.entity-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.entity { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 36px; background: var(--white); position: relative; overflow: hidden; }
.entity .flag { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-500); font-weight: 400; }
.entity h3 { font-size: 28px; margin-top: 14px; }
.entity p { margin-top: 14px; color: var(--text-soft); font-size: 16px; }
.entity dl { margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 15px; }
.entity dt { color: var(--slate-400); }
.entity dd { margin: 0; color: var(--text); }
.entity::after { content: ""; position: absolute; top: 0; right: 0; width: 38%; height: 8px; background: #9cbfc1; }
@media (max-width: 760px) { .entity-cards { grid-template-columns: 1fr; } }
.entity-cards--single { grid-template-columns: 1fr; max-width: 820px; }
.entity-cards--single dl { grid-template-columns: minmax(180px, auto) 1fr; }
@media (max-width: 560px) { .entity-cards--single dl { grid-template-columns: 1fr; } .entity-cards--single dd { margin-bottom: 8px; } }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.service { padding: 44px 44px 44px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 0 22px; }
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: 44px; padding-right: 0; }
.service .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-700), var(--slate-500)); color: var(--aqua-300); }
.service h3 { font-size: 26px; }
.service p { margin-top: 12px; color: var(--text-soft); font-size: 16px; }
.service ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.service li { padding-left: 20px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--aqua-400); }
.service .badge { display: inline-block; margin-left: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(138, 224, 229, .25); color: var(--teal-650); vertical-align: middle; font-weight: 400; }
@media (max-width: 860px) {
  .service-grid { grid-template-columns: 1fr; }
  .service, .service:nth-child(even), .service:nth-child(odd) { padding: 36px 0; border-right: 0; }
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; counter-reset: step; }
.step { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .22); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 14px; letter-spacing: .14em; color: var(--aqua-300); margin-bottom: 18px; }
.step h3 { font-size: 22px; }
.step p { margin-top: 10px; color: rgba(255, 255, 255, .72); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; display: flex; flex-direction: column; background: var(--white); }
.plan .eyebrow { color: var(--teal-500); }
.plan h3 { font-size: 30px; margin-top: 12px; }
.plan .price { margin-top: 22px; font-size: 40px; color: var(--teal-700); line-height: 1; }
.plan .price small { font-size: 15px; color: var(--slate-400); }
.plan > p { margin-top: 14px; color: var(--text-soft); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li svg { margin-top: 4px; color: var(--teal-500); }
.plan .btn { margin-top: auto; justify-content: space-between; }
.plan--featured { background: linear-gradient(160deg, #233c3e, #3c6466); color: var(--white); border-color: transparent; position: relative; overflow: hidden; }
.plan--featured h3, .plan--featured .price { color: var(--white); }
.plan--featured .eyebrow { color: var(--aqua-300); }
.plan--featured > p, .plan--featured .price small { color: rgba(255, 255, 255, .7); }
.plan--featured li svg { color: var(--aqua-300); }
.plan--featured > * { position: relative; }
.plan--featured::before { content: ""; position: absolute; inset: 0; background: url("../img/maze-on-dark.svg") right -40% top -10% / auto 120% no-repeat; opacity: .8; pointer-events: none; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; } }

.fee-table { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 16px; }
.fee-table th, .fee-table td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.fee-table th { font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-400); }
.fee-table td:first-child { color: var(--heading); }
.table-scroll { overflow-x: auto; }

.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 21px; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: rgba(138, 224, 229, .25); }
.faq details p { padding: 0 60px 26px 0; color: var(--text-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.office { padding: 28px 0; border-top: 1px solid var(--line); }
.office:last-child { border-bottom: 1px solid var(--line); }
.office h3 { font-size: 24px; }
.office p, .office a { color: var(--text-soft); font-size: 16px; }
.office .eyebrow { color: var(--teal-500); display: block; margin-bottom: 8px; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.form h2 { font-size: 34px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; margin-top: 18px; }
.field label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-400); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-weight: 300; font-size: 16px; color: var(--text); background: var(--white); border: 1px solid #d5dfdf; border-radius: 12px; padding: 14px 16px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua-400); box-shadow: 0 0 0 4px rgba(138, 224, 229, .3); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: var(--text-soft); }
.check input { margin-top: 4px; accent-color: var(--teal-500); }
.form .btn { margin-top: 26px; }
.form-note { margin-top: 16px; font-size: 13px; color: var(--slate-400); }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 15px; background: rgba(138, 224, 229, .18); color: var(--teal-700); }
.form-status--error { background: #fbe9e7; color: #8a2d22; }
.form-status--inline { background: #fbe9e7; color: #8a2d22; }
.form-success { padding: 8px 0 0; }
.form-success h3 { color: var(--teal-700); }
.form-success p { margin-top: 10px; color: var(--text-soft); }
.form-success:focus { outline: none; }
[hidden] { display: none !important; }

/* Legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin-top: 48px; }
.prose p, .prose li { color: var(--text-soft); margin-top: 14px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); color: var(--text); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr .8fr .8fr; gap: 40px; padding-top: 72px; padding-bottom: 80px; }
.site-footer .logo { color: var(--ink-900); }
.footer-blurb { margin-top: 22px; font-size: 15px; max-width: 360px; color: var(--text); }
.footer-col h4 { font-size: 15px; font-weight: 400; color: var(--teal-500); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--teal-500); }
.footer-legal { font-size: 12.5px; color: var(--slate-400); padding: 0 0 26px; max-width: 980px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.socials { display: flex; gap: 14px; }
.socials a { color: var(--slate-300); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; transition: color .2s, background .2s; }
.socials a:hover { color: var(--teal-700); background: var(--paper); }
.copyright { font-size: 13px; color: var(--slate-300); }
@media (max-width: 860px) { .footer-main { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-main { grid-template-columns: 1fr; } }

/* ==========================================================================
   Motion: reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* --- Additions (Oct 2026): service links, apply row, fee tables, legal pages --- */
.service .service-more { margin-top: 20px; color: var(--teal-650); }
.apply-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.apply-row .lead { margin: 0; color: var(--heading); }
.fee-tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
.fee-tables .fee-table { margin-top: 24px; }
.fee-table caption { text-align: left; font-size: 20px; color: var(--heading); padding-bottom: 8px; }
@media (max-width: 900px) { .fee-tables { grid-template-columns: 1fr; } }
.fee-note { margin-top: 28px; max-width: 860px; font-size: 14px; color: var(--text-soft); line-height: 1.6; }
.prose ul { padding-left: 20px; }
.prose li { margin-top: 8px; }
.prose strong { font-weight: 400; color: var(--heading); }
.prose .table-scroll { margin-top: 8px; }
.prose .fee-table { margin-top: 16px; font-size: 14px; }
.legal-note { font-size: 14px; }
.legal-updated { margin-top: 48px !important; font-size: 14px; }
.prose h3 { font-size: 22px; margin-top: 32px; }
