/* BrightView Digital Works — "vantage point" design system.
   Daylight palette: ice, deep cobalt ink, one warm coral accent.
   Type: Schibsted Grotesk (display) · Instrument Sans (text) · IBM Plex Mono (labels, code). */

:root {
  --ice: #f2f7fd;
  --mist: #e4eefa;
  --mist-2: #d3e2f6;
  --paper: #ffffff;
  --ink: #0a1b4a;
  --text: #16275a;
  --muted: #5a6a8f;
  --faint: #93a1c0;
  --line: #d8e3f3;
  --cobalt: #1b3fd8;
  --cobalt-d: #1431a8;
  --cobalt-l: #e7edfd;
  --coral: #ff6a4d;
  --coral-d: #d9472d;
  --coral-l: #ffe9e2;
  --ok: #0f7b5f;
  --ok-bg: #e2f6ee;
  --danger: #c0392b;
  --danger-bg: #fdecea;
  --info-bg: #e8effe;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(10, 27, 74, .05), 0 12px 32px -12px rgba(10, 27, 74, .16);
  --shadow-lg: 0 2px 4px rgba(10, 27, 74, .06), 0 30px 60px -24px rgba(10, 27, 74, .32);
  --font-d: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-t: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-t);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ice) linear-gradient(180deg, #e6f0fd 0, var(--ice) 640px) no-repeat;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-d); }
h1, h2, h3, h4 { font-family: var(--font-d); color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); letter-spacing: -.045em; line-height: .98; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.2; }
h1 em, h2 em { font-style: normal; color: var(--cobalt); }
p { margin: 0 0 1em; }
code { font-family: var(--font-m); font-size: .86em; background: var(--cobalt-l); color: var(--cobalt-d); padding: .12em .45em; border-radius: 6px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-m); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cobalt); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-t); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 17px 26px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .18s, background .18s, color .18s, border-color .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cobalt); color: #fff; box-shadow: 0 10px 24px -10px rgba(27, 63, 216, .65); }
.btn-primary:hover { background: var(--cobalt-d); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #12296b; color: #fff; }
.btn-coral { background: var(--coral); color: #2a0d06; }
.btn-coral:hover { background: #ff7e65; color: #2a0d06; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--mist-2); }
.btn-ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--coral-l); color: var(--ink); }
.btn-sm { padding: 12px 18px; font-size: 14.5px; border-radius: 11px; }
.btn-google { width: 100%; background: #fff; color: #3c4043; border: 1px solid #dadce0; font-family: Roboto, Arial, sans-serif; font-weight: 500; font-size: 15px; letter-spacing: .1px; padding: 14px 18px; box-shadow: 0 1px 2px rgba(60, 64, 67, .12); }
.btn-google:hover { background: #f8faff; color: #3c4043; border-color: #c6d0e6; box-shadow: 0 2px 8px rgba(60, 64, 67, .18); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover { color: var(--cobalt); }
.link-arrow:hover svg { transform: translateX(4px); }
.inline-form { display: inline; margin: 0; }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(242, 247, 253, .86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid rgba(10, 27, 74, .07); }
header.site .bar { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-name { display: flex; flex-direction: column; font-family: var(--font-d); font-weight: 700; font-size: 19px; letter-spacing: -.03em; line-height: 1; }
.brand-name small { font-family: var(--font-m); font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
nav.main { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 6px; }
.nav-link { position: relative; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15.5px; padding: 10px 12px; display: inline-flex; align-items: center; gap: 7px; }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-link:hover { color: var(--cobalt); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { color: var(--cobalt); font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; border-radius: 12px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .2s, opacity .2s; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 0; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 52px; }
.hero h1 { max-width: 14ch; }
.hero-aside { padding-bottom: 8px; }
.hero-aside p { font-size: 19px; color: var(--muted); max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-note { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 0; font-size: 14.5px; color: var(--muted); max-width: 44ch; }
.hero-note svg { flex: none; color: var(--cobalt); margin-top: 2px; }

.lookout { position: relative; width: 100%; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; min-height: 360px; background: #cfe0f8; box-shadow: var(--shadow-lg); isolation: isolate; }
.lookout > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the lookout "window": mullions + inner frame sit over the picture */
.lookout::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(33.33% - 1px), rgba(255,255,255,.55) calc(33.33% - 1px), rgba(255,255,255,.55) calc(33.33% + 1px), transparent calc(33.33% + 1px)),
    linear-gradient(90deg, transparent calc(66.66% - 1px), rgba(255,255,255,.55) calc(66.66% - 1px), rgba(255,255,255,.55) calc(66.66% + 1px), transparent calc(66.66% + 1px)),
    linear-gradient(0deg, transparent 38%, rgba(255,255,255,.4) 38%, rgba(255,255,255,.4) calc(38% + 2px), transparent calc(38% + 2px));
}
.lookout::after { content: ""; position: absolute; inset: 14px; z-index: 1; border-radius: calc(var(--r-xl) - 12px); border: 1.5px solid rgba(255, 255, 255, .75); pointer-events: none; }
.lookout-cap { position: absolute; z-index: 3; left: 44px; top: 36px; display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; font-size: 17px; text-decoration: none; }
.lookout-cap:hover { color: var(--cobalt); }
.lookout-cap svg { transition: transform .2s; }
.lookout-cap:hover svg { transform: translateX(5px); }
.lookout-card { position: absolute; z-index: 3; right: 44px; bottom: 36px; width: min(330px, calc(100% - 88px)); background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border: 1px solid rgba(255, 255, 255, .85); border-radius: 20px; padding: 18px 20px 16px; box-shadow: 0 24px 50px -22px rgba(10, 27, 74, .55); }
.lookout-card .lc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lookout-card b { font-family: var(--font-d); font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.lookout-card .lc-tag { font-family: var(--font-m); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-d); background: var(--coral-l); padding: 3px 8px; border-radius: 99px; }
.lc-row { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 9px; }
.lc-bar { height: 8px; border-radius: 99px; background: rgba(27, 63, 216, .12); overflow: hidden; }
.lc-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #3558f0, var(--cobalt)); }
.lc-row:nth-of-type(2) .lc-bar span { background: linear-gradient(90deg, #ff9a85, var(--coral)); }
.lookout-card small { display: block; margin-top: 12px; font-size: 11.5px; color: var(--muted); }

/* ---------- facts band ---------- */
.facts { padding: 88px 0 24px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.fact { padding: 28px 28px 8px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact .num { font-family: var(--font-d); font-weight: 600; font-size: clamp(2.8rem, 5vw, 4.4rem); letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.fact .num .unit { font-size: .34em; letter-spacing: -.01em; margin-left: 10px; font-weight: 500; color: var(--coral-d); }
.fact p { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; max-width: 24ch; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 56px 0 96px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { max-width: 18ch; }
.section-head p { max-width: 42ch; color: var(--muted); margin: 0; }

/* story cards (Tencent-style "what's happening" grid) */
.stories { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 28px; align-items: start; }
.story { grid-column: span 3; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.story.big { grid-column: span 6; }
.story-media { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3; background: var(--mist); }
.story.big .story-media { aspect-ratio: 16 / 10; }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.story:hover .story-media img { transform: scale(1.045); }
.story-meta { font-family: var(--font-m); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); margin: 20px 0 8px; }
.story h3 { font-size: 1.3rem; max-width: 24ch; }
.story.big h3 { font-size: 1.9rem; max-width: 28ch; }
.story p { color: var(--muted); font-size: 15.5px; margin: 10px 0 0; max-width: 46ch; }
.story .go { margin-top: 16px; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.story:hover .go { color: var(--cobalt); }

/* statement */
.statement { padding: 40px 0 72px; }
.statement p { font-family: var(--font-d); font-weight: 500; font-size: clamp(1.9rem, 4.4vw, 3.9rem); line-height: 1.12; letter-spacing: -.04em; color: #a6b6d4; max-width: 24ch; margin: 0; }
.statement p strong { color: var(--ink); font-weight: 600; }
.statement cite { display: block; margin-top: 28px; font-style: normal; font-family: var(--font-m); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.panorama { position: relative; width: 100%; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 8; min-height: 240px; box-shadow: var(--shadow); }
.panorama img { width: 100%; height: 100%; object-fit: cover; }
.panorama::after { content: ""; position: absolute; inset: 14px; border-radius: calc(var(--r-xl) - 12px); border: 1.5px solid rgba(255, 255, 255, .7); pointer-events: none; }

/* trail (process) */
.trail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; margin-top: 12px; }
.trail::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; border-top: 2px dashed var(--mist-2); }
.step { position: relative; padding: 44px 28px 0 0; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ice); border: 3px solid var(--cobalt); }
.step:first-child::before { background: var(--coral); border-color: var(--coral); }
.step .n { font-family: var(--font-m); font-size: 12.5px; letter-spacing: .12em; color: var(--muted); }
.step h3 { margin: 8px 0 10px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* portal block */
.portal { padding: 24px 0 96px; }
.portal-card { position: relative; border-radius: 40px; overflow: hidden; color: #fff; background: radial-gradient(900px 500px at 88% -10%, rgba(255, 106, 77, .28), transparent 60%), linear-gradient(135deg, #0a1b4a 0%, #11298a 70%, #1b3fd8 130%); padding: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 64px; box-shadow: var(--shadow-lg); }
.portal-card > * { position: relative; z-index: 1; min-width: 0; }
.portal-card h2 { color: #fff; }
.portal-card .eyebrow { color: #9fb7ff; }
.portal-card p { color: #c5d3f5; }
.portal-card a { color: #fff; }
.portal-card .btn-light { color: var(--ink); }
.checklist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; font-size: 15.5px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23200a05' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.portal-ctas { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 34px; }

.scope-list { display: grid; gap: 14px; }
.scope { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; align-items: start; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; padding: 22px; backdrop-filter: blur(6px); }
.scope .icon-chip { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
.scope b { display: block; font-family: var(--font-d); font-size: 18px; color: #fff; letter-spacing: -.01em; margin-bottom: 4px; }
.scope p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.5; color: #c5d3f5; }
.scope code { background: rgba(255, 255, 255, .12); color: #dbe6ff; }
.tag { font-family: var(--font-m); font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.tag-id { background: rgba(255, 255, 255, .14); color: #e4ecff; }
.tag-read { background: var(--coral); color: #2a0d06; }
.tag-write { background: #fff; color: var(--ink); }
/* compact variant (login card, light surface) */
.scope-list.is-compact { gap: 10px; margin-bottom: 22px; }
.scope-list.is-compact .scope { grid-template-columns: minmax(0, 1fr) auto; background: var(--ice); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; backdrop-filter: none; }
.scope-list.is-compact .scope b { color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
.scope-list.is-compact .scope p { color: var(--muted); font-size: 13.5px; margin: 0; }
.scope-list.is-compact .tag-id { background: var(--cobalt-l); color: var(--cobalt-d); }
.scope-list.is-compact .tag-write { background: var(--ink); color: #fff; }

/* CTA band */
.cta-band { padding: 0 0 96px; }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 52px 56px; box-shadow: var(--shadow); }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 22ch; }
.cta-band p { margin: 10px 0 0; color: var(--muted); }

/* ---------- inner pages ---------- */
.page-hero { padding: 72px 0 48px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 18ch; }
.page-hero p { font-size: 20px; color: var(--muted); max-width: 50ch; margin: 24px 0 0; }
.page-band { margin: 0 0 8px; }
.service-detail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; padding: 56px 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 2px solid var(--ink); }
.badge { display: inline-block; font-family: var(--font-m); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt-d); background: var(--cobalt-l); padding: 6px 12px; border-radius: 99px; margin-bottom: 18px; }
.service-detail h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 14px; }
.service-detail ul { list-style: none; margin: 0 0 22px; padding: 0; }
.service-detail li { padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); position: relative; }
.service-detail li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 2px; background: var(--coral); }
.ideal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; font-size: 15px; color: var(--muted); }

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.case { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.case h3 { font-size: 1.6rem; }
.case dl { margin: 6px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.case dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.case dt { font-family: var(--font-m); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.case dd { margin: 0; color: var(--ink); }
.notice { background: var(--coral-l); border: 1px solid #ffcfc3; color: #5a1f12; border-radius: var(--r-md); padding: 16px 20px; margin-bottom: 36px; font-size: 15px; }
.notice strong { color: #3d1209; }

.two-col { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.icon-chip { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--cobalt-l); color: var(--cobalt); }
section.alt { background: linear-gradient(180deg, var(--mist) 0, #edf4fd 100%); border-radius: 48px; margin: 0 16px; }
.timeline .row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline .row:first-child { border-top: 2px solid var(--ink); }
.timeline .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; font-family: var(--font-m); font-size: 14px; }
.timeline .row:first-child .n { background: var(--coral); color: #2a0d06; }
.timeline h3 { margin-bottom: 6px; font-size: 1.2rem; }
.timeline p { margin: 0; color: var(--muted); font-size: 15.5px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: start; }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow); }
.contact-info { display: grid; gap: 4px; }
.contact-info .row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .row:first-child { border-top: 2px solid var(--ink); }
.contact-info .icon { width: 26px; height: 26px; flex: none; stroke: var(--cobalt); margin-top: 3px; }
.contact-info strong { color: var(--ink); }
.field { margin-bottom: 20px; }
label { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 8px; }
input[type=text], input[type=email], input[type=file], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--ice); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; transition: border-color .15s, box-shadow .15s, background .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; box-shadow: 0 0 0 4px rgba(27, 63, 216, .14); }
input[type=file] { padding: 12px; background: #fff; border-style: dashed; cursor: pointer; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; font-size: 14px; color: #fff; background: var(--cobalt); border: 0; border-radius: 9px; padding: 9px 14px; margin-right: 14px; cursor: pointer; }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }

.alert { border-radius: var(--r-md); padding: 16px 20px; margin-bottom: 24px; border: 1px solid; font-size: 15px; }
.alert strong { display: block; }
.alert p { margin: 6px 0 0; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert-ok { background: var(--ok-bg); border-color: #b5e4d2; color: #0b4d3b; }
.alert-err { background: var(--danger-bg); border-color: #f4c3bd; color: #7b241a; }
.alert-info { background: var(--info-bg); border-color: #c7d5fb; color: #1b2f86; }

/* legal */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.legal .meta { font-family: var(--font-m); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 36px; }
.legal h2 { font-size: 1.7rem; margin: 52px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.2rem; margin: 30px 0 10px; }
.legal li { margin-bottom: 8px; }
.legal code { overflow-wrap: anywhere; }
.legal table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 22px 0; font-size: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--mist); font-family: var(--font-m); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.legal tr:last-child td { border-bottom: 0; }
.callout { background: var(--cobalt-l); border-left: 5px solid var(--cobalt); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 22px 26px; margin: 26px 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- sign in ---------- */
.signin { padding: 72px 0 96px; }
.signin-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: center; }
.signin-copy h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); max-width: 12ch; }
.signin-copy .lede { font-size: 19px; color: var(--muted); max-width: 44ch; margin: 24px 0 0; }
.signin-copy .checklist li::before { background-color: var(--cobalt); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.signin-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-lg); }
.signin-card h2 { font-size: 1.9rem; margin-bottom: 20px; }
.card-label { font-family: var(--font-m); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }

/* ---------- app (dashboard) ---------- */
body.is-app { background: var(--ice); }
.shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 28px; padding: 26px 18px 20px;
  color: #c4d2f5; overflow-y: auto;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(180deg, #0a1b4a 0%, #0c2262 60%, #12308f 100%);
}
.side-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; padding: 0 10px; }
.side-brand .brand-name { color: #fff; }
.side-brand .brand-name small { color: #8fa6e6; }
.side-nav { display: grid; gap: 4px; }
.side-label { font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #7f95d6; padding: 0 12px; margin-bottom: 6px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #c4d2f5; font-weight: 500; font-size: 15px; text-decoration: none; position: relative; }
.side-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.side-nav a.active { background: #fff; color: var(--ink); font-weight: 600; }
.side-nav a.active svg { color: var(--cobalt); }
.side-nav a.active::before { content: ""; position: absolute; left: -18px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--coral); }
.side-more a { font-size: 14px; padding: 9px 12px; color: #a7b9ee; }
.side-user { margin-top: auto; display: grid; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #2a0d06; font-family: var(--font-d); font-weight: 700; font-size: 17px; }
.who-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.who-text b { color: #fff; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-text small { color: #9db1ec; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user .inline-form { display: block; }
.btn-side { width: 100%; background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.btn-side:hover { background: #fff; color: var(--ink); }
.stage { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.stage-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 40px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.7); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 5; }
.crumb { font-family: var(--font-m); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.readonly-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ok); background: var(--ok-bg); border-radius: 99px; padding: 6px 14px 6px 10px; }
.stage-main { flex: 1; }
.app { padding: 40px 40px 64px; }
.stage-inner { max-width: 1120px; }
.stage-inner.is-narrow { max-width: 860px; }
.page-head { margin-bottom: 32px; }
.page-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.04em; line-height: 1.05; }
.page-head p { color: var(--muted); max-width: 60ch; margin: 12px 0 0; }
.stage-foot { display: grid; gap: 8px; padding: 22px 40px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); background: var(--paper); }
.stage-foot a { color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 22px 20px; box-shadow: 0 1px 2px rgba(10, 27, 74, .05); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kpi span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-m); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpi b { font-family: var(--font-d); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.5rem); letter-spacing: -.04em; color: var(--ink); line-height: 1.05; overflow-wrap: anywhere; }
.kpi i { font-style: normal; font-size: 14px; color: var(--muted); }
.kpi-lead { background: linear-gradient(135deg, #0a1b4a, #1b3fd8); border-color: transparent; }
.kpi-lead span, .kpi-lead i { color: #c0d0fa; }
.kpi-lead b { color: #fff; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 1px 2px rgba(10, 27, 74, .05); overflow: hidden; }
.panel-pad { padding: 32px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 28px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head h2 { font-size: 1.35rem; }
.panel-head .muted { font-size: 14px; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th { text-align: left; font-family: var(--font-m); font-weight: 500; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding: 14px 20px; background: var(--ice); white-space: nowrap; }
table.data td { padding: 18px 20px; border-top: 1px solid var(--line); vertical-align: middle; }
table.data tr:hover td { background: #f8fbff; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data th.num { text-align: right; }
table.data .name { font-weight: 600; color: var(--ink); min-width: 220px; }
table.data .sub { display: block; font-family: var(--font-m); font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 3px; }
.share-col { min-width: 150px; white-space: nowrap; }
.share { display: inline-block; vertical-align: middle; width: 90px; height: 8px; border-radius: 99px; background: var(--mist); overflow: hidden; margin-right: 10px; }
.share span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #3558f0, var(--cobalt)); }
.share-col em { font-style: normal; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.row-error { color: var(--danger); font-size: 14px; }
.empty { text-align: center; padding: 56px 32px; }
.empty-ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 18px; background: var(--cobalt-l); color: var(--cobalt); }
.empty h3 { margin-bottom: 10px; }
.flow { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 28px; padding: 0; counter-reset: s; }
.flow li { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); background: var(--ice); border: 1px solid var(--line); border-radius: 99px; padding: 6px 16px 6px 6px; }
.flow li b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--cobalt); color: #fff; font-family: var(--font-m); font-size: 12.5px; }
.selector { display: grid; gap: 8px; }
.code { font-family: var(--font-m); font-size: 13.5px; background: var(--ink); color: #dbe6ff; padding: 16px 20px; border-radius: var(--r-sm); overflow-x: auto; white-space: nowrap; }
.panel h3 { margin-bottom: 8px; }

/* ---------- footer ---------- */
footer.site { background: var(--paper); border-top: 1px solid var(--line); padding: 72px 0 36px; position: relative; overflow: hidden; }
footer.site .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.45fr; gap: 48px; }
footer.site .cols > * { min-width: 0; }
footer.site h4 { font-family: var(--font-m); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
footer.site li a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; overflow-wrap: break-word; }
footer.site li a:hover { color: var(--cobalt); text-decoration: underline; }
.blurb { color: var(--muted); font-size: 15px; max-width: 34ch; margin: 18px 0 0; }
footer.site .bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.gdisclosure { max-width: 640px; }
.gdisclosure a { color: var(--ink); }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .story-media img { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .shell { grid-template-columns: 232px minmax(0, 1fr); }
  .app { padding: 32px 28px 56px; }
  .stage-top, .stage-foot { padding-left: 28px; padding-right: 28px; }
  .hero-head { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero h1 { max-width: 18ch; }
  .portal-card { grid-template-columns: minmax(0, 1fr); padding: 48px; gap: 40px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story, .story.big { grid-column: auto; }
  .story.big { grid-column: 1 / -1; }
  footer.site .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px; }
  .side-brand { padding: 0; }
  .side-nav:not(.side-more) { display: flex; flex-wrap: wrap; order: 3; width: 100%; gap: 6px; }
  .side-nav:not(.side-more) .side-label { display: none; }
  .side-nav a { padding: 9px 14px; }
  .side-nav a.active::before { display: none; }
  .side-more { display: none; }
  .side-user { margin: 0 0 0 auto; padding: 0; background: none; border: 0; display: flex; align-items: center; gap: 10px; }
  .side-user .who-text { display: none; }
  .side-user .btn-side { width: auto; }
  .stage { min-height: 0; }
  .stage-top { position: static; padding: 12px 20px; }
  .app { padding: 28px 20px 48px; }
  .stage-foot { padding: 20px; }
  nav.main { position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px 24px 24px; display: none; box-shadow: var(--shadow); }
  nav.main.open { display: flex; }
  .nav-links { flex-direction: column; }
  .nav-link { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 10px; }
  .nav-actions .btn { width: 100%; }
  .nav-toggle { display: block; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 28px; }
  .trail { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .trail::before { display: none; }
  .service-detail, .two-col, .contact-grid, .signin-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cases, .values { grid-template-columns: minmax(0, 1fr); }
  .lookout { aspect-ratio: 4 / 5; min-height: 0; }
  .lookout-cap { left: 28px; top: 30px; }
  .lookout-card { right: 24px; left: 24px; bottom: 24px; width: auto; }
  .lookout::before { background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.5) calc(50% - 1px), rgba(255,255,255,.5) calc(50% + 1px), transparent calc(50% + 1px)); }
  section.alt { margin: 0 8px; border-radius: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  .hero { padding-top: 40px; }
  .facts { padding-top: 64px; }
  .stories { grid-template-columns: minmax(0, 1fr); }
  .story.big { grid-column: auto; }
  .portal-card { padding: 32px 24px; border-radius: 28px; }
  .scope { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; }
  .scope .tag { grid-column: 2; justify-self: start; }
  .scope .icon-chip { width: 44px; height: 44px; }
  .scope-list.is-compact .scope { grid-template-columns: minmax(0, 1fr); }
  .scope-list.is-compact .scope .tag { grid-column: auto; }
  .cta-band .inner { padding: 36px 26px; }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .trail { grid-template-columns: minmax(0, 1fr); }
  .signin-card, .contact-form, .panel-pad, .case { padding: 24px; }
  .case dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .panel-head { padding: 18px 20px; }
  footer.site .cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .side-nav:not(.side-more) { flex-wrap: nowrap; }
  .side-nav:not(.side-more) a { flex: 1 1 0; min-width: 0; justify-content: center; gap: 8px; padding: 10px 6px; font-size: 13.5px; white-space: nowrap; }
  .side-nav:not(.side-more) a svg { width: 16px; height: 16px; flex: none; }
  .side-user { order: 2; width: 100%; margin: 0; justify-content: space-between; }
  .side-user .who-text { display: flex; flex: 1; }
  .side-user .who { flex: 1; min-width: 0; }
  .side-user .btn-side { padding: 10px 14px; font-size: 13.5px; }
  .readonly-pill { font-size: 12px; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border-bottom: 0; padding: 6px 16px; }
  .legal td[data-label]::before { content: attr(data-label); display: block; font-family: var(--font-m); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
  .legal tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
}
