/* =========================================================================
   New Zealand Robotics AI Technology — public site
   ========================================================================= */

:root {
  --navy-950: #061229;
  --navy-900: #0a1c3c;
  --navy-800: #0f2a55;
  --navy-700: #12346a;
  --blue: #2f6fed;
  --blue-600: #255ed1;
  --cyan: #5cc8ff;
  --ink: #0d1829;
  --ink-2: #48546a;
  --ink-3: #7b8699;
  --line: #e3e8f0;
  --line-2: #d3dbe7;
  --bg: #ffffff;
  --tint: #f4f7fb;
  --tint-2: #eaf0f8;
  --ok: #138a5a;
  --err: #cf3b3b;
  --gold: #e3a832;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(13, 24, 41, .05);
  --shadow: 0 1px 2px rgba(13, 24, 41, .04), 0 12px 32px -8px rgba(13, 24, 41, .12);
  --shadow-lg: 0 2px 4px rgba(13, 24, 41, .04), 0 28px 60px -16px rgba(13, 34, 80, .25);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Plus Jakarta Sans", var(--font);
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.022em; line-height: 1.15; color: var(--ink); }
h3 { font-weight: 700; letter-spacing: -.012em; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(47, 111, 237, .18); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-sm { width: 1.05em; height: 1.05em; }
.icon-xs { width: .85em; height: .85em; }

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); white-space: nowrap; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(47, 111, 237, .7), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn-primary:hover { background: var(--blue-600); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: #e8eef8; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn[disabled] { opacity: .65; pointer-events: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background .3s, box-shadow .3s, color .3s;
}
.announcement { background: linear-gradient(90deg, var(--blue), #3b8cf0); color: #fff; text-align: center; font-size: 14px; font-weight: 500; padding: 9px 16px; }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-header.solid { background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(13, 24, 41, .25); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 30px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 800 16px/1.15 var(--display); letter-spacing: -.01em; }
.brand-text small { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a:not(.btn) { position: relative; padding: 10px 14px; font-size: 15px; font-weight: 500; opacity: .8; border-radius: 10px; transition: opacity .2s, background .2s; }
.main-nav > a:not(.btn):hover { opacity: 1; background: rgba(127, 127, 127, .1); }
.main-nav > a[aria-current="page"] { opacity: 1; }
.main-nav > a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--cyan); }
.site-header.solid .main-nav > a[aria-current="page"]::after { background: var(--blue); }
.nav-cta { margin-left: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 11px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.menu-btn span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- shared dark backdrop ---------- */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 65% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 65% 35%, #000 20%, transparent 75%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 78% 18%, rgba(47, 111, 237, .34), transparent 65%),
    radial-gradient(520px 360px at 8% 95%, rgba(92, 200, 255, .14), transparent 65%);
}

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-950); color: #b7c4d9; padding: calc(var(--header-h) + 88px) 0 104px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #d5def0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); margin-bottom: 28px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(92, 200, 255, .2); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(92, 200, 255, 0); } }
.hero h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.035em; color: #fff; margin-bottom: 24px; }
.grad { background: linear-gradient(95deg, #9ec5ff 0%, var(--cyan) 45%, #e9eef6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; max-width: 560px; color: #b7c4d9; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 44px; margin: 52px 0 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.hero-stats dt { font-size: 13.5px; color: #8796b0; }
.hero-stats dd { margin: 0 0 4px; font: 800 34px/1 var(--display); color: #fff; letter-spacing: -.02em; }

.hero-visual { position: relative; }
.hero-orbit { position: absolute; left: 50%; top: 52%; width: 118%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .07); }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.hero-orbit::before { inset: 16%; border: 1px dashed rgba(92, 200, 255, .18); animation: spin 80s linear infinite; }
.hero-orbit::after { width: 9px; height: 9px; top: 50%; left: -4.5px; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-tiles { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.hero-tile {
  --ill-bg: #0d1d3b;
  position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: 22px;
  background: linear-gradient(160deg, #12264a, #0b1a36); border: 1px solid rgba(255, 255, 255, .1);
  color: #d8e2f1; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6);
  transition: transform .35s var(--ease), border-color .35s;
}
.hero-tile:nth-child(even) { margin-top: 40px; }
.hero-tile:hover { transform: translateY(-6px); border-color: rgba(92, 200, 255, .45); }
.hero-tile .ill { width: 100%; max-width: 132px; margin: 4px auto 14px; --accent: var(--cyan); }
.hero-tile span { font: 700 16px var(--display); color: #fff; }
.hero-tile small { font-size: 13px; color: #8796b0; }
.hero-fern {
  position: absolute; left: 50%; top: calc(50% + 20px); z-index: 2; width: 92px; height: 92px; transform: translate(-50%, -50%);
  object-fit: contain; padding: 16px; border-radius: 50%; background: #0b1a35;
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 10px rgba(6, 18, 41, .7), 0 0 60px rgba(92, 200, 255, .35);
}

/* ---------- stack marquee ---------- */
.stack-strip { padding: 36px 0 40px; border-bottom: 1px solid var(--line); background: #fff; }
.stack-strip > p { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 64px; list-style: none; margin: 0; padding: 0 32px; }
.marquee li { font: 800 22px var(--display); color: #a3aec0; letter-spacing: -.01em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: 112px 0; }
.section-sm { padding: 24px 0 112px; }
.section-flush-top { padding-top: 56px; }
.section-tint { background: var(--tint); }
.section-tint + .section-sm { background: var(--tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.section-head > div { max-width: 680px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .section-text { margin-left: auto; margin-right: auto; }
.section-head h2, .split-side h2 { font-size: clamp(30px, 3.6vw, 46px); }
.section-text { font-size: 17.5px; color: var(--ink-2); margin-top: 16px; max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.section-head.center .eyebrow::before { display: none; }
.eyebrow-light { color: var(--cyan); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--blue); }
.more .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* ---------- illustrations ---------- */
.ill { --ill-bg: #fff; --accent: var(--blue); width: 100%; height: auto; overflow: visible; }
.ill .f { fill: currentColor; fill-opacity: .08; }
.ill .a { fill: var(--accent); }
.ill .b { fill: var(--ill-bg); }
.ill .co { stroke-width: 13; }
.ill .ci { stroke: var(--ill-bg); stroke-width: 9; }

/* ---------- domains ---------- */
.domain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.domain-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.domain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.domain-art {
  --ill-bg: #f1f5fb;
  position: relative; display: grid; place-items: center; height: 200px; color: var(--navy-700);
  background: radial-gradient(circle at 50% 60%, #fff 0%, #eef3fa 70%);
  border-bottom: 1px solid var(--line);
}
.domain-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 24px 24px; opacity: .55; -webkit-mask-image: radial-gradient(circle at 50% 55%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 55%, #000, transparent 70%); }
.domain-art .ill { position: relative; width: 132px; transition: transform .5s var(--ease); }
.domain-card:hover .domain-art .ill { transform: scale(1.06) translateY(-2px); }
.domain-card h3 { font-size: 20px; padding: 24px 24px 0; }
.domain-card p { padding: 10px 24px 0; color: var(--ink-2); font-size: 15px; flex: 1; }
.domain-card .more { padding: 18px 24px 24px; }
.domain-card:hover .more .icon, .platform-card:hover .more .icon, .post-card:hover .more .icon { transform: translateX(4px); }

/* ---------- services ---------- */
.split { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.split-side .btn { margin-top: 32px; }
.mini-process { list-style: none; margin: 32px 0 0; padding: 0; display: grid; }
.mini-process li { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding-bottom: 18px; }
.mini-process li:not(:last-child)::before { content: ""; position: absolute; left: 18.5px; top: 42px; bottom: 4px; width: 1px; background: linear-gradient(var(--line-2), transparent); }
.mini-process span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font: 700 13px var(--display); color: var(--blue); background: #fff; border: 1px solid #cfdcf6; box-shadow: var(--shadow-sm); }
.mini-process strong { display: block; margin-top: 7px; font: 700 16px/1.3 var(--display); color: var(--ink); }
.mini-process small { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-grid-3 { grid-template-columns: repeat(3, 1fr); }
.service-card, .value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .35s var(--ease), box-shadow .35s; }
.service-card:hover, .value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; margin-bottom: 22px; color: #fff; background: linear-gradient(140deg, var(--blue), var(--navy-700)); box-shadow: 0 10px 22px -10px rgba(47, 111, 237, .8); }
.service-icon .icon { width: 24px; height: 24px; }
.service-card h3, .value-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.service-card p, .value-card p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process li { position: relative; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 72px; right: -14px; height: 1px; background: linear-gradient(90deg, rgba(92, 200, 255, .55), rgba(255, 255, 255, .06)); }
.process-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 24px; font: 800 17px var(--display); color: var(--cyan); background: rgba(92, 200, 255, .08); border: 1px solid rgba(92, 200, 255, .3); }
.process h3 { font-size: 21px; margin-bottom: 8px; }
.process p { font-size: 15.5px; }
.process-light li:not(:last-child)::after { background: linear-gradient(90deg, rgba(47, 111, 237, .45), var(--line)); }
.process-light .process-num { color: var(--blue); background: #eef3fd; border-color: #cfdcf6; }
.process-light p { color: var(--ink-2); }

/* ---------- platform cards ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.platform-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.platform-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.platform-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.platform-ill { --ill-bg: #eef3fa; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: #eef3fa; color: var(--navy-700); }
.platform-ill .ill { width: 48px; stroke-width: 3.4; }
.platform-ill .ill .co { stroke-width: 15; }
.platform-ill .ill .ci { stroke-width: 8; }
.badge { display: inline-flex; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--navy-700); background: var(--tint-2); white-space: nowrap; }
.platform-card h3 { font-size: 20px; }
.repo { margin-top: -6px; font: 12.5px/1.4 var(--mono); color: var(--ink-3); word-break: break-all; }
.platform-summary { font-size: 15px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-tag { font-size: 12px; font-weight: 500; color: var(--ink-2); background: var(--tint); border: 1px solid var(--line); border-radius: 7px; padding: 3px 9px; }
.platform-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--ink-3); }
.stars { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--ink-2); }
.stars .icon { width: 15px; height: 15px; fill: var(--gold); stroke: var(--gold); }
.platform-foot .more { margin-left: auto; font-size: 13.5px; }

/* ---------- catalog ---------- */
.catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.filter span { font-size: 12px; font-weight: 600; color: var(--ink-3); background: var(--tint); border-radius: 999px; padding: 1px 8px; }
.filter:hover { border-color: var(--ink-3); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.filter[aria-pressed="true"] span { background: rgba(255, 255, 255, .15); color: #fff; }
.search input {
  width: 300px; max-width: 100%; height: 46px; padding: 0 18px 0 46px; border-radius: 999px; border: 1px solid var(--line-2);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237b8699' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 17px center;
  font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 111, 237, .14); }
.empty { text-align: center; color: var(--ink-3); padding: 48px 0; }
.fineprint { margin-top: 36px; font-size: 13.5px; color: var(--ink-3); text-align: center; }

/* ---------- posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-feature { margin-bottom: 22px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-cover { position: relative; display: grid; place-items: center; height: 190px; overflow: hidden; }
.post-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 28px 28px; }
.post-cover img { position: relative; width: 58px; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); transition: transform .5s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.1) rotate(-4deg); }
.post-cover span { position: absolute; top: 16px; left: 16px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.cover-1 { background: radial-gradient(circle at 70% 20%, #2f6fed, transparent 60%), linear-gradient(135deg, #0a1c3c, #12346a); }
.cover-2 { background: radial-gradient(circle at 30% 80%, #19a3b8, transparent 60%), linear-gradient(135deg, #061229, #0f2a55); }
.cover-3 { background: radial-gradient(circle at 80% 80%, #6a5cf0, transparent 60%), linear-gradient(135deg, #0a1c3c, #15306a); }
.cover-4 { background: radial-gradient(circle at 20% 20%, #3b8cf0, transparent 55%), linear-gradient(135deg, #0b2147, #071630); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.post-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.post-card h3 { font-size: 19.5px; margin-bottom: 10px; }
.post-body > p:not(.post-meta) { color: var(--ink-2); font-size: 15px; flex: 1; margin-bottom: 18px; }
.post-card-big { display: grid; grid-template-columns: 1.1fr 1fr; }
.post-card-big .post-cover { height: auto; min-height: 340px; }
.post-card-big .post-cover img { width: 96px; }
.post-card-big .post-body { padding: 44px; justify-content: center; }
.post-card-big h3 { font-size: clamp(24px, 2.4vw, 32px); }
.post-card-big .post-body > p:not(.post-meta) { flex: 0; font-size: 16.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 64px; border-radius: 32px; color: #c3d0e6; background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 55%, #1b4ea8 100%); box-shadow: var(--shadow-lg); }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(500px 300px at 85% 0%, rgba(92, 200, 255, .3), transparent 70%); }
.cta-fern { position: absolute; right: 26%; bottom: -70px; width: 240px; opacity: .1; transform: rotate(-14deg); }
.cta-copy, .cta-actions { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 12px; }
.cta-band p { font-size: 17px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-950); color: #b7c4d9; padding: calc(var(--header-h) + 76px) 0 88px; }
.page-hero-inner { position: relative; }
.page-hero-inner > div:first-child { max-width: 820px; }
.page-hero-inner.has-art { display: grid; grid-template-columns: 1fr 280px; gap: 64px; align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); letter-spacing: -.032em; margin-bottom: 20px; }
.page-hero .lead { font-size: 19px; color: #b7c4d9; max-width: 720px; }
.page-hero .hero-actions { margin-top: 32px; }
.page-hero-art { --ill-bg: var(--navy-950); color: #d8e2f1; padding: 36px; border-radius: 32px; border: 1px solid rgba(255, 255, 255, .1); background: radial-gradient(circle at 50% 40%, rgba(47, 111, 237, .25), transparent 70%); }
.page-hero-art .ill { --accent: var(--cyan); }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: #8796b0; margin-bottom: 22px; }
.crumbs a { color: #c9d4e6; }
.crumbs a:hover { color: #fff; }
.hero-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-jump a { padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: #dbe4f2; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); transition: all .2s; }
.hero-jump a:hover { border-color: var(--cyan); color: #fff; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; font-size: 14.5px; color: #c3cee0; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { color: var(--cyan); }

/* ---------- solutions ---------- */
.solution { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; padding: 64px 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.solution + .solution { border-top: 1px solid var(--line); }
.solution:first-child { padding-top: 0; }
.solution.flip .solution-art { order: 2; }
.solution-art {
  --ill-bg: #f2f6fc;
  position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; border-radius: 32px; color: var(--navy-700); overflow: hidden;
  background: radial-gradient(circle at 50% 55%, #fff 0%, #eaf0f9 75%); border: 1px solid var(--line);
}
.solution-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 32px 32px; opacity: .5; -webkit-mask-image: radial-gradient(circle, #000, transparent 72%); mask-image: radial-gradient(circle, #000, transparent 72%); }
.solution-art .ill { position: relative; width: 50%; }
.solution-copy h2 { font-size: clamp(28px, 3vw, 40px); }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.check-list .icon { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; color: var(--ok); background: #e3f5ec; stroke-width: 2.6; }
.check-grid { grid-template-columns: 1fr 1fr; }
.solution-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.chip-link { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--ink); background: #fff; transition: all .2s; }
.chip-link:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- platform detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 72px; align-items: start; }
.detail-main h2 { font-size: 26px; margin: 48px 0 18px; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main > p { color: var(--ink-2); font-size: 16.5px; }
.detail-main > .lead-dark { font-size: 19px; color: var(--ink); }
.detail-side { position: sticky; top: calc(var(--header-h) + 28px); }
.fact-card { padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.fact-card h3 { font-size: 18px; margin-bottom: 14px; }
.fact-card dl { display: grid; grid-template-columns: auto 1fr; margin: 0 0 24px; }
.fact-card dt, .fact-card dd { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.fact-card dt { color: var(--ink-3); padding-right: 16px; }
.fact-card dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.fact-card dd a { color: var(--blue); }

/* ---------- prose ---------- */
.prose { max-width: 760px; margin: 0 auto; font-size: 17.5px; line-height: 1.8; color: var(--ink-2); }
.prose-flush { max-width: none; margin: 18px 0 0; font-size: 17px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 28px; margin: 52px 0 16px; }
.prose h3 { font-size: 21px; margin: 36px 0 12px; }
.prose h4 { font-size: 18px; margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre { margin: 0 0 22px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 8px 0; padding-left: 4px; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { padding: 22px 26px; border-left: 3px solid var(--blue); border-radius: 0 16px 16px 0; background: var(--tint); color: var(--ink); font-size: 19px; font-family: var(--display); font-weight: 600; line-height: 1.55; }
.prose blockquote p { margin: 0; }
.prose code { font: .88em var(--mono); background: var(--tint-2); padding: 2px 7px; border-radius: 6px; color: var(--navy-700); }
.prose pre { padding: 20px 22px; border-radius: 16px; background: var(--navy-950); color: #d8e2f1; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.about-grid h2 { font-size: clamp(30px, 3.4vw, 44px); }
.about-card { position: relative; overflow: hidden; padding: 56px 40px 40px; border-radius: 32px; text-align: center; background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); box-shadow: var(--shadow-lg); }
.about-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(92, 200, 255, .3), transparent 60%); }
.about-card img { position: relative; width: 130px; margin: 0 auto 40px; filter: drop-shadow(0 10px 30px rgba(92, 200, 255, .35)); }
.about-card dl { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.about-card dt { font: 800 30px/1 var(--display); color: #fff; }
.about-card dd { margin: 6px 0 0; font-size: 13px; color: #8796b0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.registry-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.registry-wrap h2 { font-size: clamp(28px, 3vw, 40px); }
.registry-wrap .btn { margin-top: 28px; }
.registry { display: grid; grid-template-columns: auto 1fr; margin: 0; padding: 12px 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.registry dt, .registry dd { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.registry dt { color: var(--ink-3); padding-right: 24px; }
.registry dd { margin: 0; text-align: right; font-weight: 600; }
.registry > :nth-last-child(-n + 2) { border-bottom: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 28px; align-items: start; }
.form-card { display: grid; gap: 20px; padding: 44px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 28px; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: 12px; background: #fbfcfe;
  padding: 12px 14px; font-size: 15.5px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input, .field select { height: 52px; }
.field select { appearance: none; padding-right: 40px; background: #fbfcfe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237b8699' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47, 111, 237, .13); }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.field-error { font-size: 13px; color: var(--err); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 4px; }
.form-note { font-size: 13.5px; color: var(--ink-3); }
.form-note a { color: var(--blue); text-decoration: underline; }
.form-msg { font-size: 14.5px; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.notice { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; font-size: 15px; }
.notice-ok { background: #e7f6ef; color: #0d6b45; }
.form-success { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 40px 12px; }
.form-success .icon { width: 64px; height: 64px; padding: 16px; border-radius: 50%; color: var(--ok); background: #e3f5ec; stroke-width: 2.4; }
.form-success h3 { font-size: 24px; }
.form-success p { color: var(--ink-2); max-width: 420px; }
.contact-side { display: grid; gap: 20px; }
.side-card { padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.side-card h3 { font-size: 18px; margin-bottom: 18px; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.next-steps li { position: relative; display: grid; gap: 2px; padding-left: 44px; counter-increment: s; }
.next-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 700 13px var(--display); color: var(--blue); background: #eef3fd; }
.next-steps strong { font-size: 15px; }
.next-steps span { font-size: 14px; color: var(--ink-3); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; font-size: 15px; color: var(--ink-2); }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--blue); margin-top: 2px; }
.contact-list a { color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--blue); }
.contact-list small { color: var(--ink-3); font-size: 12.5px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #8f9db5; padding: 88px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 48px; }
.site-footer .brand { color: #fff; }
.footer-brand > p { margin: 20px 0 28px; font-size: 15px; max-width: 380px; }
.subscribe label { font-size: 13px; font-weight: 600; color: #cdd7e6; }
.subscribe-row { display: flex; gap: 8px; margin-top: 12px; max-width: 420px; }
.subscribe-row input[type="email"] { flex: 1; min-width: 0; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #fff; font-size: 14.5px; outline: none; }
.subscribe-row input[type="email"]::placeholder { color: #6f7f99; }
.subscribe-row input[type="email"]:focus { border-color: var(--cyan); }
.subscribe .btn { --h: 44px; }
.subscribe .form-msg { margin-top: 10px; font-size: 13.5px; }
.subscribe .form-msg.ok { color: #6fdcaa; }
.subscribe .form-msg.err { color: #ff8f8f; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 15px; }
.footer-col h4 { font: 700 13px var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.footer-col a, .footer-col span { display: inline-flex; align-items: center; gap: 9px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: #6f7f99; }

/* ---------- message page ---------- */
.page-message .page-hero { min-height: 72vh; display: flex; align-items: center; }
.page-message .site-footer { padding-top: 64px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; }
.js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; }
.js .platform-card.reveal.in:hover, .js .domain-card.reveal.in:hover { transform: translateY(-6px); }

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr 320px; gap: 48px; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .menu-btn { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; background: #fff; color: var(--ink); border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(13, 24, 41, .3); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.btn) { padding: 15px 8px; font-size: 17px; opacity: 1; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav > a[aria-current="page"] { color: var(--blue); }
  .main-nav > a[aria-current="page"]::after { display: none; }
  .nav-cta { margin: 18px 0 0; --h: 52px; font-size: 16px; }
  .platform-grid, .post-grid, .service-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process li:nth-child(2)::after { display: none; }
  .detail-grid, .contact-grid, .about-grid, .registry-wrap { grid-template-columns: 1fr; gap: 48px; }
  .detail-side { position: static; }
  .solution { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .solution.flip .solution-art { order: 0; }
  .solution-art { aspect-ratio: 16 / 10; }
  .solution-art .ill { width: 34%; }
  .page-hero-inner.has-art { grid-template-columns: 1fr; }
  .page-hero-art { display: none; }
  .post-card-big { grid-template-columns: 1fr; }
  .post-card-big .post-cover { min-height: 220px; }
  .post-card-big .post-body { padding: 28px; }
  .cta-band { grid-template-columns: 1fr; padding: 48px 36px; }
  .cta-fern { right: -30px; }
  .section { padding: 88px 0; }
  .section-sm { padding-bottom: 88px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { padding: calc(var(--header-h) + 48px) 0 72px; }
  .hero .lead, .page-hero .lead { font-size: 17px; }
  .hero-stats { gap: 22px; }
  .hero-stats dd { font-size: 26px; }
  .hero-stats dt { font-size: 12px; }
  .hero-tiles { gap: 12px; }
  .hero-tile { padding: 16px 14px; border-radius: 18px; }
  .hero-tile span { font-size: 14px; }
  .hero-tile:nth-child(even) { margin-top: 24px; }
  .hero-fern { width: 70px; height: 70px; padding: 12px; top: calc(50% + 12px); }
  .page-hero { padding: calc(var(--header-h) + 48px) 0 64px; }
  .domain-grid, .platform-grid, .post-grid, .service-grid, .service-grid-3, .values-grid, .process, .field-row, .check-grid { grid-template-columns: 1fr; }
  .process li::after { display: none; }
  .section { padding: 72px 0; }
  .section-sm { padding: 8px 0 72px; }
  .section-flush-top { padding-top: 32px; }
  .section-head { margin-bottom: 40px; }
  .form-card { padding: 26px 20px; border-radius: 22px; }
  .cta-band { padding: 40px 24px; border-radius: 24px; }
  .catalog-bar { flex-direction: column; align-items: stretch; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .filter { flex: none; }
  .search input { width: 100%; }
  .registry { padding: 8px 20px; grid-template-columns: 1fr; }
  .registry dt { border-bottom: 0; padding-bottom: 2px; }
  .registry dd { text-align: left; padding-top: 0; }
  .registry > :nth-last-child(2) { border-bottom: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .marquee li { font-size: 18px; }
  .brand-text small { display: none; }
}

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