/* Moraine Systems / OI365 — marketing site
   Palette and proportions per forwebsite/info:
   70% Snow · 15% Charcoal · 10% Slate/Glacier · 5% Alpine Teal (flows, active states, CTAs only). */

:root {
    --teal: #0EC5C7;        /* Alpine Teal — accent, precious */
    --lake: #0A6D75;        /* Deep Lake — dark teal, readable on light */
    --glacier: #3F7B81;     /* Glacier Blue — secondary */
    --mist: #F1F0EC;        /* Mist, warm — tinted sections */
    --stone: #94A3AB;       /* Stone — mid neutral (dark backgrounds only for text) */
    --slate: #2E3A46;       /* Slate — text / dark UI */
    --charcoal: #0F172A;    /* Charcoal — hero background */
    --deep: #07141B;        /* Dark hero gradient end */
    --snow: #F9F8F5;        /* Snow, warmed to match the board art's paper (#FCFAF8 edges) */
    --card: #FFFEFC;        /* card surface, warm white */
    --white: #FFFFFF;

    --text: #2E3A46;
    --text-muted: #51606B;  /* 6.2:1 on Snow, 5.6:1 on Mist */
    --text-quiet: #5C6A73;  /* labels on light: 5.3:1 Snow, 4.9:1 Mist */
    --on-dark: #D5DEE3;
    --on-dark-muted: #A9B6BD; /* 8:1 on Charcoal */
    --line: #E2E0DA;
    --line-dark: rgba(148, 163, 171, .2);

    --grad-lake: linear-gradient(135deg, #0EC5C7 0%, #0A6D75 100%);
    --grad-hero: linear-gradient(160deg, #0F172A 0%, #07141B 100%);

    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Manrope', 'Inter', system-ui, sans-serif;

    /* 8-point spacing scale */
    --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
    --section: clamp(72px, 9vw, 128px);

    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius: 8px;
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--deep); } /* overscroll at top and bottom shows the dark nav and footer colour, not a flash */
body {
    margin: 0;
    background: var(--snow);
    color: var(--text);
    font-family: var(--font);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--lake); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }
.on-light :focus-visible, main section:not(.on-dark) :focus-visible { outline-color: var(--lake); }

.skip {
    position: absolute; left: var(--s2); top: -100px; z-index: 100;
    background: var(--teal); color: var(--charcoal); padding: 10px 18px; border-radius: 999px; font-weight: 500;
}
.skip:focus { top: 12px; text-decoration: none; }
.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; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--charcoal); margin: 0; letter-spacing: -0.015em; }
h1 { font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-weight: 300; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-weight: 400; font-size: 1.3rem; line-height: 1.3; }
h4 { font-weight: 500; font-size: 1.02rem; line-height: 1.35; letter-spacing: 0; }
p { margin: 0; }
h2 em, h1 em { font-style: normal; color: var(--lake); }
.on-dark h1 em, .on-dark h2 em { color: var(--teal); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--lake); margin-bottom: var(--s3);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--teal); }

.label { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-quiet); }
.on-dark .label { color: var(--on-dark-muted); }

.lede { font-size: 1.15rem; color: var(--text-muted); max-width: 620px; margin-top: var(--s3); font-weight: 300; line-height: 1.6; }
.on-dark .lede { color: var(--on-dark-muted); }

[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
section { padding: var(--section) 0; }
.on-dark { background: var(--grad-hero); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.tint { background: var(--mist); }
.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ── Buttons ───────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 26px; border-radius: 999px;
    font: 500 0.95rem/1.2 var(--font); letter-spacing: 0.01em;
    border: 1px solid transparent; cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal); color: var(--charcoal); }
.btn-primary:hover { background: #3AD3D5; }
.btn-ghost { border-color: rgba(255,255,255,.38); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.btn-outline { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn-outline:hover { border-color: var(--lake); color: var(--lake); }
.arrow { transition: transform .2s; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.on-dark .text-link { color: var(--teal); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s5); }

/* ── Wordmark (inline SVG symbol) ──────────── */
.wordmark { display: inline-block; color: var(--charcoal); line-height: 0; }
.wordmark:hover { text-decoration: none; }
.wordmark svg { width: 156px; height: auto; aspect-ratio: 336 / 78; }
.nav .wordmark, .footer .wordmark, .on-dark .wordmark { color: var(--white); }
.wordmark.lg svg { width: min(100%, 360px); }

/* ── Navigation ────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: #0F172A; /* solid: a blurred translucent bar flickers over large images while scrolling in Safari */
    border-bottom: 1px solid var(--line-dark);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #C3CDD3; font-size: 0.88rem; letter-spacing: 0.02em; position: relative; }
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-links a.active, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a.active::after, .nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--teal); }
.nav-links .nav-cta { border: 1px solid var(--teal); color: var(--teal); padding: 9px 18px; border-radius: 999px; margin-left: 4px; }
.nav-links .nav-cta:hover { background: var(--teal); color: var(--charcoal); }
.nav-links .nav-cta::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; margin-right: -12px; cursor: pointer; padding: 13px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--white); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 0; isolation: isolate; }
.hero-inner { min-height: min(760px, calc(100svh - var(--nav-h))); display: flex; align-items: center; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(120px, 12vw, 170px); }
.hero-art { position: absolute; inset: 0 0 0 28%; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: .92;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 20%, #000 52%), linear-gradient(180deg, transparent, #000 14%, #000 100%); -webkit-mask-composite: source-in;
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 20%, #000 52%), linear-gradient(180deg, transparent, #000 14%, #000 100%); mask-composite: intersect; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 200px; background: linear-gradient(transparent, var(--deep)); pointer-events: none; z-index: -1; }
.hero-flows { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.hero-flows path { fill: none; stroke: var(--teal); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-flows .c { stroke: #C9D4DA; opacity: .14; }
.hero-flows .f1 { opacity: .75; }
.hero-flows .f2 { opacity: .4; }
.hero-flows .f3 { opacity: .22; }
.hero-flows .run { stroke-dasharray: 2 14; animation: drift 18s linear infinite; opacity: .9; stroke-width: 1.4; }
.hero-flows circle { fill: var(--teal); }
@keyframes drift { to { stroke-dashoffset: -320; } }
.hero-copy { max-width: 620px; }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #C9D3D8; max-width: 540px; }
.announce {
    display: inline-flex; align-items: center; gap: 12px; margin-bottom: var(--s4);
    padding: 6px 16px 6px 6px; border: 1px solid var(--line-dark); border-radius: 999px;
    background: rgba(15, 23, 42, .55); color: #D5DEE3; font-size: 0.86rem; line-height: 1.35;
}
.announce:hover { border-color: rgba(14,197,199,.6); text-decoration: none; }
.announce b { font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--charcoal); background: var(--teal); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.hero .actions { margin-top: var(--s5); }

/* Credibility strip — sits on the bottom edge of the hero */
.trust { position: relative; z-index: 2; margin-top: -88px; }
.trust ul {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 24px 48px -32px rgba(15, 23, 42, .45);
}
.trust li { padding: 22px 26px; display: flex; flex-direction: column; gap: 2px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust b { font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; color: var(--charcoal); }
.trust span { font-size: 0.86rem; color: var(--text-muted); line-height: 1.45; }

/* ── OI365 product ─────────────────────────── */
.product { padding-top: clamp(80px, 9vw, 120px); }
.product-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.product-name { font-family: var(--font-head); font-weight: 200; font-size: clamp(3.6rem, 9vw, 6.6rem); line-height: .9; letter-spacing: -0.04em; color: var(--charcoal); }
.product-name b { font-weight: 500; color: var(--lake); }
.product-tag { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.32; color: var(--slate); max-width: 520px; }

.offer { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.offer h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.offer-copy p { color: var(--text-muted); max-width: 520px; }
.offer-copy p + p { margin-top: var(--s2); }
.who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); }
.chip { font-size: 0.8rem; letter-spacing: 0.02em; padding: 6px 14px; border: 1px solid #D3D0C8; border-radius: 999px; color: var(--slate); background: var(--card); }

.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: clamp(48px, 6vw, 72px); }
.theme { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 14px; position: relative; }
.theme::before { content: ""; position: absolute; left: 28px; top: -1px; width: 40px; height: 2px; background: var(--teal); }
.theme-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.theme-num { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--text-quiet); }
.theme h3 { font-size: 1.55rem; font-weight: 300; }
.theme-sum { color: var(--text-muted); font-size: 0.95rem; margin-top: 6px; padding-bottom: 18px; }
.theme ul { list-style: none; margin: 0; padding: 0; }
.theme li { padding: 16px 0; border-top: 1px solid var(--line); }
.theme li h4 { font-size: 0.98rem; }
.theme li p { font-size: 0.9rem; color: var(--text-muted); margin-top: 3px; line-height: 1.55; }
.tag { display: inline-block; vertical-align: 2px; margin-left: 6px; font: 500 0.64rem/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lake); border: 1px solid #A9C9CC; padding: 3px 6px; border-radius: 4px; }

/* ── Proof: a run, explained ───────────────── */
.proof { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s3); margin-top: clamp(48px, 6vw, 72px); align-items: stretch; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(15,23,42,.35); overflow: hidden; display: flex; flex-direction: column; }
.panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--line); background: #F5F4F0; font-size: 0.8rem; color: var(--text-muted); }
.panel-bar .status { display: inline-flex; align-items: center; gap: 8px; color: var(--slate); font-weight: 500; }
.panel-bar .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(14,197,199,.18); }
.panel-body { padding: clamp(24px, 3.4vw, 40px); flex: 1; }
.panel h3 { font-size: 1.3rem; }
.panel .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 0.82rem; color: var(--text-quiet); }
.explain { margin: var(--s3) 0 0; padding: 0; list-style: none; counter-reset: why; }
.explain li { position: relative; padding: 14px 0 14px 40px; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 300; font-size: clamp(1.02rem, 1.5vw, 1.16rem); line-height: 1.5; color: var(--charcoal); }
.explain li::before { counter-increment: why; content: counter(why); position: absolute; left: 0; top: 16px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #A9C9CC; color: var(--lake); font: 500 0.72rem/22px var(--font); text-align: center; }
.explain strong { font-weight: 500; color: var(--lake); }
.panel-foot { padding: 16px clamp(24px, 3.4vw, 40px); border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px 20px; }
.panel-foot span::before { content: "✓"; color: var(--lake); margin-right: 8px; font-weight: 600; }

.lineage { background: var(--charcoal); color: var(--on-dark); border-color: transparent; }
.lineage .panel-bar { background: rgba(255,255,255,.03); border-color: var(--line-dark); color: var(--on-dark-muted); }
.lineage .panel-bar .status { color: var(--white); }
.lineage h3 { color: var(--white); font-weight: 300; }
.lineage dl { margin: var(--s3) 0 0; display: grid; grid-template-columns: auto 1fr; }
.lineage dt, .lineage dd { padding: 12px 0; border-top: 1px solid var(--line-dark); font-size: 0.92rem; margin: 0; }
.lineage dt { color: var(--on-dark-muted); padding-right: 24px; }
.lineage dd { color: var(--white); }
.lineage dd.hl { color: var(--teal); }
.proof-note { margin-top: var(--s3); color: var(--text-muted); font-size: 0.95rem; max-width: 760px; }

/* ── Moraine agent ─────────────────────────── */
.agent { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.agent-quote { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.25; color: var(--charcoal); letter-spacing: -0.015em; }
.agent-quote em { font-style: normal; color: var(--lake); }
.agent-note { margin-top: 1rem; max-width: 34rem; color: var(--slate); line-height: 1.6; }
.agent-list { list-style: none; margin: 0; padding: 0; }
.agent-list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.agent-list li:last-child { border-bottom: 1px solid var(--line); }
.agent-list b { font-family: var(--font-head); font-weight: 500; color: var(--charcoal); }
.agent-list span { color: var(--text-muted); font-size: 0.95rem; }
.guards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); }

/* ── Inspection pack ───────────────────────── */
.pack-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.pack-wrap .section-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.pack { list-style: none; margin: 0; padding: 0; counter-reset: pack; }
.pack li { counter-increment: pack; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-top: 1px solid #D6D3CC; }
.pack li:last-child { border-bottom: 1px solid #D6D3CC; }
.pack li::before { content: counter(pack, decimal-leading-zero); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--lake); font-weight: 500; padding-top: 3px; }
.pack p { font-size: 0.92rem; color: var(--text-muted); margin-top: 2px; }

/* ── Pilot ─────────────────────────────────── */
.pilot { position: relative; overflow: hidden; }
.pilot-art { position: absolute; inset: 0 0 0 auto; width: 40%; pointer-events: none; }
.pilot-art img { width: 100%; height: 100%; object-fit: cover; opacity: .32;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%), linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); -webkit-mask-composite: source-in;
            mask-image: linear-gradient(90deg, transparent, #000 70%), linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-composite: intersect; }
.pilot .wrap { position: relative; }
.pilot-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); margin: var(--s6) 0 0; border-top: 1px solid var(--line-dark); max-width: 980px; }
.pilot-grid li { padding: 28px 30px 0 0; }
.pilot-grid li + li { padding-left: 30px; border-left: 1px solid var(--line-dark); }
.pilot-grid .label { color: var(--teal); margin-bottom: 12px; }
.pilot-grid h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pilot-grid p { font-size: 0.95rem; color: var(--on-dark-muted); }
.terms { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: var(--s5); font-size: 0.9rem; color: var(--on-dark); }
.terms span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-right: 10px; vertical-align: 2px; }

/* ── Industries ────────────────────────────── */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s5); }
.industry { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.industry svg { width: 40px; height: 40px; margin-bottom: 8px; }
.industry svg * { fill: none; stroke: var(--slate); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.industry svg .accent { stroke: var(--lake); }
.industry p { font-size: 0.95rem; color: var(--text-muted); }
.industry .reg { margin-top: auto; padding-top: 14px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; color: var(--glacier); }
.next { margin-top: var(--s3); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font-size: 0.92rem; color: var(--text-muted); }
.next .chip { border-style: dashed; background: transparent; }

/* ── Approach ──────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-art img { width: 100%; }
/* Light board art: feather every edge into the warm page so no rectangle shows */
.feather { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); margin: var(--s6) 0 0; border-top: 1px solid #D9D7D0; }
.step { padding: 32px 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid #E2E0DA; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--teal); }
.step + .step::before { left: 28px; }
.step-icon { width: 44px; height: 44px; margin-bottom: 20px; }
.step-icon * { fill: none; stroke: var(--slate); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.step-icon .accent { stroke: var(--lake); }
.step .label { margin-bottom: 6px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--text-muted); }

/* ── About ─────────────────────────────────── */
.about-art { padding: clamp(8px, 2vw, 24px); display: flex; flex-direction: column; align-items: center; gap: var(--s4); }

.about-copy p { color: var(--text-muted); margin-top: var(--s2); max-width: 540px; }
.about-copy h2 + p { margin-top: var(--s3); }
.facts { margin-top: var(--s4); display: grid; grid-template-columns: repeat(3, auto); gap: 18px 40px; justify-content: start; }
.facts div { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--text-muted); }
.facts b { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.05rem; color: var(--charcoal); letter-spacing: 0; margin-bottom: 2px; }

/* ── Contact ───────────────────────────────── */
.contact { position: relative; overflow: hidden; padding-bottom: calc(var(--section) + var(--s5)); }
.contact .wrap { position: relative; }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .5; }
.contours path { fill: none; stroke: var(--glacier); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .45; }
.contours path.t { stroke: var(--teal); opacity: .5; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.expect { list-style: none; margin: var(--s4) 0 0; padding: 0; }
.expect li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line-dark); position: relative; color: var(--on-dark); font-size: 0.95rem; }
.expect li::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; height: 1px; background: var(--teal); }
.contact-alt { margin-top: var(--s3); font-size: 0.92rem; color: var(--on-dark-muted); }
.contact-alt a { color: var(--teal); }

.form { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; color: var(--on-dark); font-weight: 500; }
.field label span { color: var(--on-dark-muted); font-weight: 400; }
.field input, .field select, .field textarea {
    font: 400 1rem/1.4 var(--font); color: var(--white);
    background: rgba(7, 20, 27, .6); border: 1px solid rgba(148,163,171,.38); border-radius: 6px;
    padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 104px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #A9B6BD 50%), linear-gradient(135deg, #A9B6BD 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: var(--charcoal); }
.field input::placeholder, .field textarea::placeholder { color: #7D8C95; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form .btn { justify-self: start; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form-foot small { color: var(--on-dark-muted); font-size: 0.8rem; }
.form-done { grid-column: 1 / -1; border: 1px solid rgba(14,197,199,.45); background: rgba(14,197,199,.08); border-radius: 6px; padding: 16px 18px; color: var(--white); font-size: 0.95rem; }
.form-done[hidden] { display: none; }
.form-done a { color: var(--teal); }

/* ── Footer ────────────────────────────────── */
.footer { background: var(--deep); color: var(--on-dark-muted); padding: var(--s7) 0 var(--s4); font-size: 0.88rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s4); }
.footer-brand p { margin-top: var(--s2); max-width: 320px; line-height: 1.6; }
.footer h2 { font: 500 0.7rem/1 var(--font); letter-spacing: 0.26em; text-transform: uppercase; color: var(--white); margin-bottom: var(--s2); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer a { color: var(--on-dark-muted); display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--white); }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid var(--line-dark); padding-top: var(--s3); margin-top: var(--s3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.8rem; }

/* ── Detail page (tm.html) ─────────────────── */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 10vw, 136px) 0 clamp(72px, 9vw, 120px); }
.page-head .hero-art { inset: 0 0 0 42%; }
.page-head .hero-art img { opacity: .6; }
.families { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; margin-top: var(--s5); }
.family { padding: 22px 0; border-top: 1px solid var(--line); }
.family p { font-size: 0.93rem; color: var(--text-muted); margin-top: 4px; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-top: var(--s5); }
.role { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.role .label { margin-bottom: 10px; }
.role p { font-size: 0.93rem; color: var(--text-muted); margin-top: 6px; }
.assurances { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s3); }
.assurance { border-top: 2px solid var(--teal); padding-top: 18px; }
.assurance p { font-size: 0.95rem; color: var(--text-muted); margin-top: 6px; }
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.cap { padding: 20px 0; border-top: 1px solid var(--line); }
.cap p { font-size: 0.93rem; color: var(--text-muted); margin-top: 4px; }
.faq { margin-top: var(--s5); border-bottom: 1px solid #D6D3CC; }
.faq details { border-top: 1px solid #D6D3CC; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--font-head); font-weight: 400; font-size: 1.15rem; color: var(--charcoal); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--lake); border-bottom: 1.5px solid var(--lake); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--text-muted); max-width: 760px; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s4); }
.cta-band .actions { margin-top: 0; }

/* ── Reveal ────────────────────────────────── */
.reveal { transform: translateY(10px); transition: transform .7s ease; } /* motion only: content is readable before it is scrolled to */
.reveal.visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-flows .run { animation: none; }
    .reveal { transform: none; transition: none; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 1080px) {
    .nav-links { gap: 20px; }
    .themes { grid-template-columns: 1fr; }
    .theme ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
    .proof { grid-template-columns: 1fr; }
    .trust ul { grid-template-columns: 1fr 1fr; }
    .trust li:nth-child(3) { border-left: 0; }
    .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .steps { grid-template-columns: 1fr 1fr; border-top: 0; }
    .step, .step + .step { padding: 28px 24px 28px 0; border-left: 0; border-top: 1px solid #D9D7D0; }
    .step::before, .step + .step::before { left: 0; }
    .roles { grid-template-columns: 1fr 1fr; }
    .industries, .families { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
    .nav-links {
        display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--charcoal); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line-dark);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--line-dark); }
    .nav-links a.active::after, .nav-links a[aria-current="page"]::after { display: none; }
    .nav-links .nav-cta { margin: 18px 0 0; padding: 13px 22px; text-align: center; border-bottom: 1px solid var(--teal); }
    .nav-toggle { display: block; }
    .split, .product-head, .offer, .agent, .pack-wrap, .contact-grid { grid-template-columns: 1fr; }
    .offer { align-items: start; }
    .pack-wrap .section-head { position: static; }
    .product-head { align-items: start; gap: 18px; }
    .hero-art { inset: 0; }
    .hero-art img { opacity: .5; object-position: 70% 50%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%); }
    .page-head .hero-art { inset: 0; }
    .page-head .hero-art img { opacity: .35; }
    .pilot-grid { grid-template-columns: 1fr; }
    .pilot-grid li, .pilot-grid li + li { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
    .pilot-grid li:first-child { border-top: 0; }
    .pilot-art { width: 100%; }
    .pilot-art img { opacity: .16; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .theme ul { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,20,27,.2) 0%, rgba(7,20,27,.72) 45%, rgba(7,20,27,.35) 100%); pointer-events: none; }
    .theme { padding: 26px 22px 8px; }
    .theme::before { left: 22px; }
    .theme li { padding: 12px 0; }
    .theme li p { display: none; }  /* titles stay scannable on phones; detail lives on the OI365 page */
    .industry { padding: 24px 22px; }
    .pack li { padding: 14px 0; }
    .hero-inner { min-height: 0; padding-top: 56px; padding-bottom: 120px; }
    .announce { font-size: 0.8rem; }
    .actions .btn { flex: 1 1 100%; }
    .trust ul { grid-template-columns: 1fr; }
    .trust li, .trust li + li { border-left: 0; padding: 16px 20px; }
    .trust li + li { border-top: 1px solid var(--line); }
    .steps, .industries, .roles, .families, .caps, .assurances { grid-template-columns: 1fr; }
    .step, .step + .step { padding-right: 0; }
    .agent-list li { grid-template-columns: 1fr; gap: 2px; }
    .facts { grid-template-columns: 1fr 1fr; }
    .form { grid-template-columns: 1fr; }
    .form .btn { justify-self: stretch; }
    .panel-bar { padding: 12px 18px; }
    .lineage dl { grid-template-columns: 1fr; }
    .lineage dt { padding-bottom: 0; }
    .lineage dd { border-top: 0; padding-top: 2px; }
}
.field [aria-invalid="true"] { border-color: #F2A7A7; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #F2A7A7; }
.lede + p { margin-top: 1rem; }

/* ── Light hero: the panorama's sky is the page — no edge anywhere ── */
.hero-light { background: var(--snow); color: var(--charcoal); }
.hero-light .hero-art { inset: auto 0 0 24%; height: min(70%, 30vw); min-height: 260px; }
.hero-light .hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; opacity: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%), linear-gradient(to bottom, transparent 0, #000 22%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 22%), linear-gradient(to bottom, transparent 0, #000 22%); mask-composite: intersect; }
.hero-light::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(249,248,245,1) 0, rgba(249,248,245,.9) 28%, rgba(249,248,245,0) 52%); }
.hero-light::after { display: none; }
.hero-light .hero-inner { align-items: flex-start; padding-top: clamp(56px, 7vw, 104px); }
.hero-light h1 { color: var(--charcoal); }
.hero-light h1 em { color: var(--lake); }
.hero-light .lede { color: var(--slate); }
.hero-light .announce { background: rgba(255,255,255,.7); border-color: rgba(46,58,70,.14); color: var(--slate); }
.hero-light .btn-ghost { color: var(--charcoal); border-color: rgba(15,23,42,.28); }
.hero-light .btn-ghost:hover { border-color: var(--lake); color: var(--lake); }
@media (max-width: 760px) {
  .hero-light .hero-art { inset: auto 0 64px 0; height: 50vw; min-height: 0; }
  .hero-light::before { background: linear-gradient(180deg, rgba(249,248,245,.9) 0, rgba(249,248,245,.6) 55%, rgba(249,248,245,0) 75%); }
  .hero-light .hero-inner { min-height: 0; padding-bottom: calc(50vw + 96px); }
}

/* ── Hero: two ways in ─────────────────────── */
.doors { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: var(--s4); font-size: 0.9rem; color: var(--text-muted); }
.doors a { font-weight: 500; color: var(--lake); }
.doors .label { display: inline; margin-right: 8px; letter-spacing: 0.2em; }

/* ── Status chips ──────────────────────────── */
.status-chip { display: inline-flex; align-items: center; gap: 7px; font: 500 0.68rem/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid #D3D0C8; color: var(--text-quiet); background: transparent; }
.status-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.st-available { color: var(--lake); border-color: #A9C9CC; background: rgba(14,197,199,.07); }
.st-available::before { background: var(--teal); opacity: 1; box-shadow: 0 0 0 3px rgba(14,197,199,.18); }
.st-pilot { color: var(--glacier); border-color: #B9CDD0; }
.st-next { border-style: dashed; color: var(--slate); }
.st-later { border-style: dashed; color: var(--text-quiet); }
.st-later::before { background: transparent; border: 1px solid currentColor; }
.st-addon { color: var(--glacier); border-color: #B9CDD0; }
.st-addon::before { display: none; }

/* ── Strata: one core, products on top, domains as configuration ── */
.platform-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.layers-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: end; margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(36px, 5vw, 52px); border-top: 1px solid var(--line); }
.layers-intro h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.layers-intro p { color: var(--text-muted); max-width: 520px; }
.layers-intro p + p { margin-top: var(--s2); }
.strata { margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -60px rgba(15,23,42,.45); }
.stratum { position: relative; padding: clamp(26px, 3vw, 36px) clamp(20px, 3vw, 36px) clamp(26px, 3vw, 34px); }
.stratum + .stratum { border-top: 1px solid var(--line); }
.seam { position: absolute; left: 0; top: -1px; width: 100%; height: 22px; pointer-events: none; }
.seam path { fill: none; stroke: var(--teal); stroke-width: 1; opacity: .55; vector-effect: non-scaling-stroke; }
.seam path + path { stroke: var(--stone); opacity: .35; }
.stratum-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; }
.stratum-head .label { color: var(--lake); }
.stratum-head h3 { font-size: 1.25rem; font-weight: 300; margin-top: 6px; }
.stratum-head .text-link { font-size: 0.88rem; }
.s-domains { background: var(--card); }
.s-products { background: var(--mist); }
.s-core { background: var(--grad-hero); color: var(--on-dark); border-top-color: transparent !important; }
.s-core .label { color: var(--teal); }
.s-core h3 { color: var(--white); }
.s-core .seam path { opacity: .9; }
.s-bc { background: #1F2A35; color: var(--on-dark-muted); padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(148,163,171,.25) !important; font-size: 0.9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.s-bc b { color: var(--white); font-family: var(--font-head); font-weight: 400; font-size: 1rem; }
.lcards { display: grid; gap: 12px; }
.lcards.c4 { grid-template-columns: repeat(4, 1fr); }
.lcards.c7 { grid-template-columns: repeat(7, 1fr); }
.lcard { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--snow); color: var(--text); transition: border-color .2s, transform .2s; min-width: 0; }
.s-products .lcard { background: var(--card); }
.lcard:hover { text-decoration: none; border-color: #A9C9CC; transform: translateY(-2px); }
.lcard h4 { font-size: 0.98rem; }
.lcard p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.5; }
.lcard .status-chip { margin-top: auto; align-self: flex-start; }
.lcard.is-next { border-style: dashed; background: transparent; }
.core-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.core-grid div { padding: 18px 20px 0 0; }
.core-grid div + div { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.core-grid h4 { color: var(--white); font-size: 0.98rem; }
.core-grid p { font-size: 0.86rem; color: var(--on-dark-muted); margin-top: 4px; line-height: 1.5; }
.layers-note { margin-top: var(--s3); color: var(--text-muted); font-size: 0.92rem; max-width: 820px; }

/* ── Domain tabs (AML section) ─────────────── */
.domain-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 48px); }
.domain-tabs a, .domain-tabs span { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.88rem; color: var(--slate); background: var(--card); }
.domain-tabs .is-current { border-color: var(--lake); color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--lake); }
.domain-tabs span { border-style: dashed; background: transparent; color: var(--text-muted); }
.domain-more { margin-top: var(--s4); }

/* ── Platform page blocks ──────────────────── */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-top: var(--s5); }
.principle { border-top: 2px solid var(--teal); padding-top: 18px; }
.principle p { font-size: 0.93rem; color: var(--text-muted); margin-top: 6px; }
.inside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; margin-top: var(--s5); }
.inside div { padding: 18px 0; border-top: 1px solid var(--line); }
.inside p { font-size: 0.92rem; color: var(--text-muted); margin-top: 4px; }
.pblocks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s5); }
.pblock { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 24px; position: relative; display: flex; flex-direction: column; }
.pblock::before { content: ""; position: absolute; left: 28px; top: -1px; width: 40px; height: 2px; background: var(--teal); }
.pblock-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.pblock h3 { font-size: 1.45rem; font-weight: 300; }
.pblock .sum { color: var(--slate); margin-top: 8px; font-size: 1rem; }
.pblock dl { margin: 18px 0 0; display: grid; grid-template-columns: 110px 1fr; }
.pblock dt, .pblock dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.pblock dt { color: var(--text-quiet); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; padding-top: 15px; }
.pblock dd { color: var(--text-muted); }
.pblock.wide { grid-column: 1 / -1; }
.builton { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); }
.builton a { font-size: 0.85rem; padding: 6px 14px; border: 1px solid #D3D0C8; border-radius: 999px; color: var(--slate); background: var(--card); }
.builton a:hover { border-color: var(--lake); color: var(--lake); text-decoration: none; }
.contents { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s5); }
.contents > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contents p { font-size: 0.92rem; color: var(--text-muted); margin-top: 6px; }
.footer-inner.f4 { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

@media (max-width: 1080px) {
    .lcards.c7 { grid-template-columns: repeat(4, 1fr); }
    .principles { grid-template-columns: 1fr 1fr; }
    .core-grid { grid-template-columns: 1fr 1fr; }
    .core-grid div, .core-grid div + div { padding: 16px 20px 16px 0; border-left: 0; }
    .core-grid div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
    .core-grid div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
    .inside, .contents { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
    .platform-head, .layers-intro { grid-template-columns: 1fr; align-items: start; gap: 18px; }
    .lcards.c4 { grid-template-columns: 1fr 1fr; }
    .lcards.c7 { grid-template-columns: repeat(3, 1fr); }
    .pblocks { grid-template-columns: 1fr; }
    .footer-inner.f4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .lcards.c4, .lcards.c7 { grid-template-columns: 1fr 1fr; }
    .lcard { padding: 14px 14px 12px; }
    .core-grid, .principles, .inside, .contents { grid-template-columns: 1fr; }
    .core-grid div:nth-child(even) { padding-left: 0; border-left: 0; }
    .core-grid div + div { border-top: 1px solid var(--line-dark); }
    .pblock { padding: 24px 20px 18px; }
    .pblock::before { left: 20px; }
    .pblock dl { grid-template-columns: 1fr; }
    .pblock dt { border-top: 1px solid var(--line); padding-bottom: 0; }
    .pblock dd { border-top: 0; padding-top: 4px; }
    .s-bc { flex-direction: column; }
}
@media (max-width: 420px) {
    .lcards.c4, .lcards.c7 { grid-template-columns: 1fr; }
}
.s-core .text-link { color: var(--teal); }
.domain-tabs .status-chip { border: 0; padding: 4px 6px; background: transparent; box-shadow: none; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* pilot: the panorama as dark-water mist — sharp at any width, faded into the band */
.pilot-art { width: 62%; }
.pilot-art img { object-fit: cover; object-position: 78% 70%; opacity: .2; filter: saturate(.7) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%), linear-gradient(180deg, transparent 0, transparent 22%, #000 58%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 45%), linear-gradient(180deg, transparent 0, transparent 22%, #000 58%); mask-composite: intersect; }

/* ── Centred art (Dale, 2026-10-04): the big images sit centred on the page ── */
@media (min-width: 761px) {
  .hero-light .hero-art { inset: auto 0 0 0; height: min(30vw, 560px); min-height: 0; }
  .hero-light .hero-art img { object-position: 50% 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%); mask-image: linear-gradient(to bottom, transparent 0, #000 24%); -webkit-mask-composite: initial; mask-composite: initial; }
  .hero-light::before { background: linear-gradient(180deg, rgba(249,248,245,.9) 0, rgba(249,248,245,.55) 40%, rgba(249,248,245,0) 62%); }
  .hero-light .hero-inner { min-height: 0; padding-bottom: calc(min(30vw, 560px) + 40px); }
}
.pilot-art { inset: 0; width: 100%; }
.pilot-art img { object-position: 50% 72%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, transparent 22%, #000 60%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, transparent 22%, #000 60%);
  mask-composite: intersect; }

/* Privacy notice: a plain page head and readable prose. */
.page-head-plain { padding-block: clamp(120px, 14vw, 170px) clamp(32px, 4vw, 48px); background: var(--snow, #FAFBFC); }
.page-head-plain .updated { margin-top: 18px; font-size: .85rem; color: var(--slate); opacity: .7; letter-spacing: .04em; }
.prose-section { padding-block: 0 clamp(64px, 8vw, 110px); }
.prose > * { max-width: 46rem; }
.prose h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: clamp(36px, 4vw, 52px); }
.prose p, .prose li, .prose dd { line-height: 1.7; color: var(--slate, #2E3A46); }
.prose p { margin-top: 14px; }
.prose ul { margin-top: 14px; padding-left: 1.2em; display: grid; gap: 8px; }
.prose a { color: var(--lake, #0A6D75); text-decoration: underline; text-underline-offset: 3px; }
.prose .details { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin-top: 16px; }
.prose .details dt { font-weight: 500; color: var(--charcoal, #0F172A); }
.prose .table-wrap { overflow-x: auto; margin-top: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid rgba(46,58,70,.14); line-height: 1.55; }
.prose th { font-weight: 500; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); opacity: .75; }
@media (max-width: 480px) { .prose .details { grid-template-columns: 1fr; gap: 2px; } .prose .details dd { margin-bottom: 10px; } }
.form-foot small a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a { color: inherit; }

/* Page heads (platform, domains): the landscape keeps its own proportions, anchored bottom-right near its native size, fading into the dark. */
@media (min-width: 761px) {
    .page-head .hero-art { inset: auto 0 0 auto; width: min(64vw, 960px); height: auto; aspect-ratio: 858 / 418; }
    .page-head .hero-art img { object-fit: contain; object-position: 100% 100%; opacity: .75;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%), linear-gradient(180deg, transparent 0, #000 30%);
        mask-image: linear-gradient(90deg, transparent 0, #000 35%), linear-gradient(180deg, transparent 0, #000 30%);
        -webkit-mask-composite: source-in; mask-composite: intersect; }
}

/* Partners: the services we integrate beside what a partner gains. */
.partner-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 72px); margin-top: var(--s5); align-items: start; }
.partner-kinds h3 { font-size: 1rem; font-weight: 500; }
.partner-kinds .chips { list-style: none; padding: 0; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.partner-kinds .chips li { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 14px; font-size: .86rem; color: var(--slate); }
.partner-gains { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.partner-cta { margin-top: var(--s5); align-items: center; }
.partner-note { font-size: .88rem; color: var(--text-muted); }
@media (max-width: 900px) { .partner-grid, .partner-gains { grid-template-columns: 1fr; } }

/* The walkthrough button is a pill: no section underline when the contact section is in view. */
.nav-links a.nav-cta::after { content: none; }
.nav-links a.nav-cta.active { background: rgba(14, 197, 199, .12); }
section[id] { scroll-margin-top: calc(var(--nav-h) - var(--section) + 40px); } /* a jump lands with the eyebrow just under the bar, not a full section padding below it */

/* Page heads: the dark panorama fills the full width; a fade from the left keeps the headline readable. */
.page-head .hero-art.banner-dark { inset: 0; width: auto; height: auto; aspect-ratio: auto; }
.page-head .hero-art.banner-dark img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; opacity: 1;
    -webkit-mask-image: none; mask-image: none; }
.page-head .hero-art.banner-dark::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,16,24,.94) 0%, rgba(10,16,24,.8) 40%, rgba(10,16,24,.25) 72%, rgba(10,16,24,0) 100%),
                linear-gradient(0deg, rgba(10,16,24,.55) 0%, rgba(10,16,24,0) 30%); }
.page-head:has(.banner-dark) { min-height: min(46vw, 760px); display: flex; align-items: center; }
@media (max-width: 760px) {
    .page-head .hero-art.banner-dark img { object-position: 35% 50%; }
    .page-head .hero-art.banner-dark::after { background: rgba(10,16,24,.62); }
    .page-head:has(.banner-dark) { min-height: 0; }
}
.contents.uses h4 a { color: inherit; } .contents.uses h4 a:hover { color: var(--lake); }
.builton-note { margin-top: var(--s3); font-size: .9rem; color: var(--text-muted); } .builton-note a { color: var(--lake); }
.contents.uses { margin-top: var(--s3); }
.contents.uses > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.stack-grid { row-gap: var(--s5); }
@media (max-width: 1000px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stack-grid { grid-template-columns: 1fr; } }
.lcards.c2 { grid-template-columns: repeat(2, 1fr); }
.lcard.speak .text-link { margin-top: auto; font-size: .85rem; color: var(--lake); }
