/* Ikai Labs Inc. — modern enterprise visual system
   Brand palette is centralized here for easy future updates. */
:root {
  color-scheme: light dark;
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --brand-deep: #123b8f;
  --brand-soft: #eaf2ff;
  --accent: #06b6d4;
  --accent-strong: #0891b2;
  --accent-soft: #e6faff;
  --teal: #14b8a6;
  --violet: #7c3aed;
  --ink: #0b1220;
  --ink-soft: #162033;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --surface-3: #e7eef8;
  --text: #101828;
  --muted: #596579;
  --line: #dbe4ef;
  --line-strong: #c8d5e5;
  --header-bg: rgba(246, 248, 252, 0.78);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 28px 70px rgba(25, 55, 99, 0.14);
  --shadow-soft: 0 12px 36px rgba(25, 55, 99, 0.08);
  --shadow-blue: 0 18px 42px rgba(37, 99, 235, 0.22);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --radius-xl: 40px;
  --max: 1200px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #60a5fa;
    --brand-strong: #3b82f6;
    --brand-deep: #93c5fd;
    --brand-soft: #102349;
    --accent: #22d3ee;
    --accent-strong: #06b6d4;
    --accent-soft: #082c37;
    --teal: #2dd4bf;
    --violet: #a78bfa;
    --ink: #f8fbff;
    --ink-soft: #dfe9f7;
    --bg: #07111f;
    --surface: #0d1929;
    --surface-2: #122238;
    --surface-3: #172b45;
    --text: #f7faff;
    --muted: #a8b6ca;
    --line: #203550;
    --line-strong: #294463;
    --header-bg: rgba(7, 17, 31, 0.78);
    --glass: rgba(13, 25, 41, 0.72);
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
    --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.22);
    --shadow-blue: 0 18px 42px rgba(59, 130, 246, 0.18);
  }
}

:root[data-theme="dark"] {
  --brand: #60a5fa;
  --brand-strong: #3b82f6;
  --brand-deep: #93c5fd;
  --brand-soft: #102349;
  --accent: #22d3ee;
  --accent-strong: #06b6d4;
  --accent-soft: #082c37;
  --teal: #2dd4bf;
  --violet: #a78bfa;
  --ink: #f8fbff;
  --ink-soft: #dfe9f7;
  --bg: #07111f;
  --surface: #0d1929;
  --surface-2: #122238;
  --surface-3: #172b45;
  --text: #f7faff;
  --muted: #a8b6ca;
  --line: #203550;
  --line-strong: #294463;
  --header-bg: rgba(7, 17, 31, 0.78);
  --glass: rgba(13, 25, 41, 0.72);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.22);
  --shadow-blue: 0 18px 42px rgba(59, 130, 246, 0.18);
}

:root[data-theme="light"] {
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --brand-deep: #123b8f;
  --brand-soft: #eaf2ff;
  --accent: #06b6d4;
  --accent-strong: #0891b2;
  --accent-soft: #e6faff;
  --teal: #14b8a6;
  --violet: #7c3aed;
  --ink: #0b1220;
  --ink-soft: #162033;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --surface-3: #e7eef8;
  --text: #101828;
  --muted: #596579;
  --line: #dbe4ef;
  --line-strong: #c8d5e5;
  --header-bg: rgba(246, 248, 252, 0.78);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 28px 70px rgba(25, 55, 99, 0.14);
  --shadow-soft: 0 12px 36px rgba(25, 55, 99, 0.08);
  --shadow-blue: 0 18px 42px rgba(37, 99, 235, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% -10%, rgba(37, 99, 235, .08), transparent 26rem),
    radial-gradient(circle at 92% 8%, rgba(6, 182, 212, .07), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--brand); color: #fff; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 44px), var(--max)); margin-inline: auto; }
.section { padding: 118px 0; }
.section-sm { padding: 86px 0 104px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  color: var(--brand); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.section-title {
  margin: 0; max-width: 820px; font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.02; letter-spacing: -.052em; text-wrap: balance;
}
.section-lede { margin: 22px 0 0; max-width: 750px; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.16rem); }
.muted { color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent; padding: 14px 0 0;
  transition: padding .22s ease;
}
.nav-wrap {
  min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 0 10px 0 16px; background: var(--header-bg); border: 1px solid rgba(200, 213, 229, .72);
  border-radius: 19px; -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 8px 30px rgba(25, 55, 99, .06);
  transition: box-shadow .2s ease, border-color .2s ease, min-height .2s ease;
}
.site-header.scrolled { padding-top: 8px; }
.site-header.scrolled .nav-wrap { min-height: 62px; border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: -.03em; white-space: nowrap; }
.brand img { width: 36px; height: 36px; filter: drop-shadow(0 7px 14px rgba(37, 99, 235, .18)); }
.brand .inc { color: var(--muted); font-weight: 650; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 720;
  padding: 10px 12px; border-radius: 10px; transition: color .18s ease, background .18s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.icon-button, .menu-button {
  width: 42px; height: 42px; display: inline-grid; place-items: center;
  color: var(--text); background: rgba(255,255,255,.4); border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.icon-button:hover, .menu-button:hover { transform: translateY(-1px); border-color: var(--brand); background: var(--surface); box-shadow: 0 8px 18px rgba(37,99,235,.10); }
.icon-button svg, .menu-button svg { width: 19px; height: 19px; }
.menu-button { display: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 20px; border-radius: 13px; border: 1px solid transparent;
  text-decoration: none; font-weight: 800; font-size: .93rem; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #3b82f6 56%, var(--accent) 135%);
  box-shadow: var(--shadow-blue);
}
.button-primary:hover { background: linear-gradient(135deg, var(--brand-strong), var(--brand), var(--accent-strong)); box-shadow: 0 20px 44px rgba(37,99,235,.28); }
.button-secondary { background: var(--glass); border-color: var(--line-strong); color: var(--text); box-shadow: 0 8px 24px rgba(25,55,99,.05); }
.button-secondary:hover { background: var(--surface); border-color: var(--brand); }
.button svg { width: 18px; height: 18px; }

.hero { position: relative; overflow: hidden; padding: 108px 0 96px; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -320px; top: -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.19) 0, rgba(6,182,212,.09) 34%, transparent 67%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(37,99,235,.15) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent 3%, #000 42%, transparent 88%); -webkit-mask-image: linear-gradient(90deg, transparent 3%, #000 42%, transparent 88%);
  opacity: .34;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); gap: 72px; align-items: center; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(3.2rem, 6.9vw, 6.35rem); line-height: .95; letter-spacing: -.067em; text-wrap: balance; }
.hero h1 .gradient {
  background: linear-gradient(118deg, var(--brand) 5%, #3b82f6 45%, var(--accent) 105%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy { margin: 28px 0 0; max-width: 650px; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .86rem; font-weight: 720; }
.hero-trust li {
  display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.38);
}
.hero-trust svg { width: 16px; height: 16px; color: var(--teal); }

.tech-panel {
  position: relative; min-height: 516px; border: 1px solid rgba(200,213,229,.88); border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 86% 8%, rgba(34,211,238,.13), transparent 34%),
    radial-gradient(circle at 8% 94%, rgba(37,99,235,.12), transparent 34%),
    var(--surface);
  box-shadow: var(--shadow); overflow: hidden; isolation: isolate;
}
.tech-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(37,99,235,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.09) 1px, transparent 1px);
  background-size: 36px 36px; opacity: .66; mask-image: linear-gradient(to bottom, #000, transparent 83%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 83%);
}
.tech-panel::after {
  content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(6,182,212,.22); border-radius: 50%; right: -70px; bottom: -72px;
  box-shadow: 0 0 0 34px rgba(37,99,235,.035), 0 0 0 68px rgba(6,182,212,.025);
}
.panel-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 21px 24px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.18); }
.panel-dots { display: flex; gap: 6px; }
.panel-dots i { width: 8px; height: 8px; border-radius: 50%; }
.panel-dots i:nth-child(1) { background: #fb7185; }
.panel-dots i:nth-child(2) { background: #fbbf24; }
.panel-dots i:nth-child(3) { background: #34d399; }
.panel-status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .76rem; font-weight: 800; }
.panel-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(20,184,166,.14); }
.stack { position: relative; z-index: 2; padding: 42px 28px; display: grid; gap: 15px; }
.stack-row {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 17px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--glass); box-shadow: 0 10px 28px rgba(25,55,99,.08);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.stack-row:hover { transform: translateY(-3px) translateX(3px); border-color: var(--brand); box-shadow: 0 18px 38px rgba(37,99,235,.13); }
.stack-row:nth-child(2) { margin-left: 28px; }
.stack-row:nth-child(3) { margin-left: 56px; }
.stack-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.stack-icon.accent { background: var(--accent-soft); color: var(--accent-strong); }
.stack-icon svg { width: 24px; height: 24px; }
.stack-label strong { display: block; font-size: .92rem; }
.stack-label span { display: block; margin-top: 2px; color: var(--muted); font-size: .75rem; }
.stack-tag { color: var(--brand-deep); font-size: .69rem; font-weight: 850; padding: 5px 9px; border: 1px solid rgba(37,99,235,.18); border-radius: 999px; background: var(--brand-soft); }

.signal-strip { position: relative; z-index: 3; border: 0; background: transparent; margin-top: -24px; }
.signals {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 12px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.signal { position: relative; padding: 23px 24px; border: 0; border-radius: 16px; background: rgba(255,255,255,.26); }
.signal::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 2px; border-radius: 99px; background: linear-gradient(var(--brand), var(--accent)); opacity: .7; }
.signal strong { display: block; font-size: 1.08rem; letter-spacing: -.025em; }
.signal span { display: block; margin-top: 3px; color: var(--muted); font-size: .86rem; }

#services { position: relative; }
#services::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent, rgba(37,99,235,.027) 35%, transparent 100%); }
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 8px 28px rgba(25,55,99,.055);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.card::after {
  content: ""; position: absolute; width: 170px; height: 170px; right: -90px; bottom: -100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.09), transparent 68%); pointer-events: none; transition: transform .3s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(37,99,235,.48); box-shadow: 0 22px 46px rgba(25,55,99,.12); }
.card:hover::after { transform: scale(1.18); }
.card-large { grid-column: span 7; min-height: 340px; }
.card-medium { grid-column: span 5; min-height: 340px; }
.card-half { grid-column: span 6; min-height: 275px; }
.card-third { grid-column: span 4; min-height: 286px; }
.card-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: var(--brand-soft); color: var(--brand); border: 1px solid rgba(37,99,235,.10); }
.card-icon.accent { background: var(--accent-soft); color: var(--accent-strong); border-color: rgba(6,182,212,.12); }
.card-icon svg { width: 25px; height: 25px; }
.card h3 { margin: 64px 0 11px; max-width: 90%; font-size: clamp(1.25rem, 2.35vw, 1.76rem); letter-spacing: -.038em; line-height: 1.12; }
.card p { margin: 0; max-width: 93%; color: var(--muted); }
.card-number { position: absolute; top: 25px; right: 27px; color: #97a6ba; font-size: .72rem; font-weight: 850; letter-spacing: .14em; }
.card.featured {
  background:
    radial-gradient(circle at 88% 12%, rgba(34,211,238,.19), transparent 28%),
    linear-gradient(145deg, #0b1730 0%, #102a58 58%, #0c3d63 115%);
  color: #f8fbff; border-color: rgba(96,165,250,.20); box-shadow: 0 24px 54px rgba(15,48,100,.26);
}
.card.featured::after { background: radial-gradient(circle, rgba(34,211,238,.18), transparent 68%); }
.card.featured p { color: #c8d8ef; }
.card.featured .card-icon { background: rgba(255,255,255,.10); color: #7dd3fc; border-color: rgba(255,255,255,.12); }
.card.featured .card-number { color: #6e8eb9; }
.card-medium { background: linear-gradient(155deg, var(--surface), var(--accent-soft)); }
.card:nth-child(4) { background: linear-gradient(155deg, var(--surface), var(--brand-soft)); }
.card:nth-child(6) { background: linear-gradient(155deg, var(--surface), rgba(20,184,166,.055)); }

#company { position: relative; }
#company::before {
  content: ""; position: absolute; inset: 30px 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(37,99,235,.025));
  border-block: 1px solid rgba(219,228,239,.6);
}
.values-grid { margin-top: 50px; display: grid; grid-template-columns: .94fr 1.06fr; gap: 20px; }
.value-panel, .quote-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 10px 32px rgba(25,55,99,.07); }
.value-panel { padding: 36px; display: grid; gap: 10px; }
.value-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 16px; border-radius: 16px; transition: background .18s ease, transform .18s ease; }
.value-item:hover { background: var(--surface-2); transform: translateX(3px); }
.value-index { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-size: .74rem; font-weight: 900; border: 1px solid rgba(37,99,235,.10); }
.value-item:nth-child(2) .value-index, .value-item:nth-child(4) .value-index { background: var(--accent-soft); color: var(--accent-strong); border-color: rgba(6,182,212,.12); }
.value-item h3 { margin: 1px 0 4px; font-size: 1rem; letter-spacing: -.015em; }
.value-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.quote-panel {
  position: relative; overflow: hidden; padding: 44px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(circle at 84% 15%, rgba(6,182,212,.10), transparent 31%),
    linear-gradient(145deg, var(--surface), var(--brand-soft));
}
.quote-panel::after { content: ""; position: absolute; width: 220px; height: 220px; border: 1px solid rgba(37,99,235,.14); border-radius: 50%; right: -105px; bottom: -110px; box-shadow: 0 0 0 36px rgba(37,99,235,.025); }
.quote-mark { width: 50px; height: 50px; color: var(--brand); }
blockquote { position: relative; z-index: 1; margin: 24px 0 34px; font-size: clamp(1.2rem, 2.35vw, 1.68rem); line-height: 1.43; letter-spacing: -.028em; }
.quote-byline { position: relative; z-index: 1; display: inline-flex; flex-direction: column; padding-left: 14px; border-left: 2px solid var(--accent); }
.quote-byline strong { display: block; }
.quote-byline span { color: var(--muted); font-size: .9rem; }

.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 68px;
  background:
    radial-gradient(circle at 90% 10%, rgba(34,211,238,.24), transparent 26%),
    radial-gradient(circle at 74% 112%, rgba(37,99,235,.42), transparent 32%),
    linear-gradient(135deg, #071426, #0b2851 58%, #073d59 125%);
  color: #f8fbff; box-shadow: 0 28px 64px rgba(11,40,81,.24);
}
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 28px 28px; opacity: .2; mask-image: linear-gradient(90deg, transparent, #000 58%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 58%, transparent); }
.cta::after { content: ""; position: absolute; width: 390px; height: 390px; right: -150px; top: -175px; border-radius: 50%; border: 1px solid rgba(125,211,252,.18); box-shadow: 0 0 0 44px rgba(34,211,238,.035), 0 0 0 88px rgba(59,130,246,.025); }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.cta h2 { margin: 0; max-width: 760px; font-size: clamp(2.35rem, 5vw, 4.65rem); line-height: .98; letter-spacing: -.057em; text-wrap: balance; }
.cta p { margin: 18px 0 0; max-width: 660px; color: #c3d4ea; }
.cta a:not(.button) { color: #dbeafe; text-decoration-color: rgba(219,234,254,.4); }
.cta .button-secondary { color: #0b1e38; background: #fff; border-color: rgba(255,255,255,.22); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.cta .button-secondary:hover { background: #eaf6ff; }

.site-footer { padding: 82px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .65fr; gap: 48px; }
.footer-brand { max-width: 520px; }
.footer-brand p { color: var(--muted); }
.footer-title { margin: 2px 0 14px; color: var(--text); font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: var(--muted); text-decoration: none; width: fit-content; transition: color .16s ease, transform .16s ease; }
.footer-links a:hover { color: var(--brand); transform: translateX(2px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

.legal-hero { padding: 92px 0 42px; }
.legal-hero h1 { margin: 0; max-width: 800px; font-size: clamp(2.7rem, 7vw, 5.25rem); line-height: .96; letter-spacing: -.06em; }
.legal-shell { display: grid; grid-template-columns: 230px minmax(0, 780px); gap: 60px; align-items: start; padding: 38px 0 110px; }
.legal-nav {
  position: sticky; top: 108px; display: grid; gap: 6px; font-size: .89rem;
  padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--glass); box-shadow: var(--shadow-soft); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.legal-nav a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 9px; }
.legal-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.legal-content section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-content section:first-child { border-top: 0; padding-top: 0; }
.legal-content h2 { margin: 0 0 12px; font-size: 1.55rem; letter-spacing: -.027em; }
.legal-content h3 { margin: 22px 0 8px; font-size: 1rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { padding-left: 20px; }
.legal-note { padding: 19px 21px; border: 1px solid rgba(37,99,235,.18); border-radius: 15px; background: var(--brand-soft); }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid rgba(6,182,212,.55); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero { padding-top: 78px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .tech-panel { min-height: 450px; max-width: 720px; }
  .card-large, .card-medium, .card-half { grid-column: span 12; }
  .card-third { grid-column: span 6; }
  .values-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.25fr .75fr; }
  .footer-brand { grid-column: span 2; }
  .legal-shell { grid-template-columns: 1fr; gap: 28px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { padding-top: 8px; }
  .nav-wrap { min-height: 62px; border-radius: 16px; padding-left: 12px; }
  .nav-links {
    position: absolute; left: 14px; right: 14px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; border-radius: 10px; }
  .nav-links a:hover { background: var(--surface-2); }
  .menu-button { display: inline-grid; }
  .nav-actions > .button { display: none; }
  .section { padding: 86px 0; }
  .section-sm { padding: 64px 0 84px; }
  .signal-strip { margin-top: -12px; }
  .signals { grid-template-columns: 1fr; }
  .signal { padding: 18px 20px; }
  .signal::before { top: 18px; bottom: 18px; }
  .stack-row:nth-child(2), .stack-row:nth-child(3) { margin-left: 0; }
  .card-third { grid-column: span 12; }
  .card { padding: 25px; min-height: auto; }
  .card h3 { margin-top: 50px; }
  .quote-panel { padding: 32px; }
  .cta { padding: 46px 30px; border-radius: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
  .brand .inc { display: none; }
  .brand img { width: 33px; height: 33px; }
  .hero { padding-top: 58px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(2.85rem, 15vw, 4.35rem); }
  .hero-actions .button { width: 100%; }
  .hero-trust { gap: 8px; }
  .hero-trust li { width: 100%; }
  .tech-panel { min-height: 430px; border-radius: 26px; }
  .stack { padding: 30px 16px; }
  .stack-row { grid-template-columns: 42px 1fr; padding: 14px; }
  .stack-icon { width: 42px; height: 42px; }
  .stack-tag { display: none; }
  .cta { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav-wrap, .signals, .legal-nav { background: var(--surface); }
}

/* V3 — compact, richer section rhythm + rotating hero */
:root {
  --section-pad: 78px;
  --section-pad-sm: 58px;
  --card-pad: 24px;
}
body {
  background:
    radial-gradient(circle at 8% 2%, rgba(37,99,235,.12), transparent 25rem),
    radial-gradient(circle at 92% 12%, rgba(6,182,212,.10), transparent 24rem),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--brand-soft) 24%, var(--bg)) 46%, var(--bg) 100%);
}
.section { padding: var(--section-pad) 0; }
.section-sm { padding: var(--section-pad-sm) 0 70px; }
.section-title { max-width: 760px; font-size: clamp(2rem, 3.8vw, 3.45rem); line-height: 1.04; }
.section-lede { margin-top: 16px; max-width: 710px; }

.hero-carousel { position: relative; overflow: hidden; padding: 62px 0 38px; min-height: 650px; }
.hero-carousel::before { width: 660px; height: 660px; right: -280px; top: -290px; }
.hero-track { position: relative; }
.hero-slide { display: none; animation: heroIn .52s ease both; }
.hero-slide.is-active { display: block; }
.hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(390px, .88fr); gap: 52px; min-height: 520px; }
.hero h1 { max-width: 720px; font-size: clamp(2.9rem, 5.7vw, 5.15rem); line-height: .97; }
.hero-copy { margin-top: 20px; font-size: clamp(1rem, 1.35vw, 1.13rem); }
.hero-actions { margin-top: 24px; }
.hero-trust { margin-top: 24px; gap: 9px; }
.hero-trust li { padding: 6px 9px; background: color-mix(in srgb, var(--surface) 58%, transparent); }
.hero-visual { min-height: 438px; }
.tech-panel { min-height: 438px; border-radius: 30px; }
.stack { padding: 30px 24px; gap: 11px; }
.stack-row { padding: 14px; }
.stack-row:nth-child(2) { margin-left: 20px; }
.stack-row:nth-child(3) { margin-left: 40px; }

.hero-controls {
  position: relative; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: -3px;
}
.hero-arrow {
  width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border-radius: 50%;
  color: var(--muted); background: var(--glass); border: 1px solid var(--line); cursor: pointer;
  transition: color .18s ease, border-color .18s ease, transform .18s ease, background .18s ease;
}
.hero-arrow:hover { color: var(--brand); border-color: var(--brand); background: var(--surface); transform: translateY(-1px); }
.hero-arrow svg { width: 16px; height: 16px; }
.hero-dots { display: flex; align-items: center; gap: 7px; }
.hero-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: width .22s ease, background .22s ease; }
.hero-dot.is-active { width: 27px; background: linear-gradient(90deg, var(--brand), var(--accent)); }

.journey-panel, .canada-panel {
  position: relative; overflow: hidden; min-height: 438px; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow);
}
.journey-panel {
  padding: 28px;
  background:
    radial-gradient(circle at 96% 0%, rgba(6,182,212,.20), transparent 34%),
    linear-gradient(150deg, #08172c 0%, #102a55 62%, #075067 125%);
  color: #f8fbff;
}
.journey-panel::before { content:""; position:absolute; inset:0; opacity:.24; background-image:radial-gradient(rgba(255,255,255,.22) 1px,transparent 1px); background-size:24px 24px; mask-image:linear-gradient(100deg,#000,transparent 72%); -webkit-mask-image:linear-gradient(100deg,#000,transparent 72%); }
.journey-heading, .journey-steps, .journey-footer { position: relative; z-index: 1; }
.journey-heading span { color: #7dd3fc; text-transform: uppercase; font-size: .7rem; letter-spacing: .13em; font-weight: 850; }
.journey-heading strong { display:block; margin-top:5px; font-size:1.3rem; letter-spacing:-.03em; }
.journey-steps { list-style:none; margin:22px 0 18px; padding:0; display:grid; gap:8px; }
.journey-steps li { display:grid; grid-template-columns:42px 1fr; gap:12px; align-items:center; padding:10px 12px; border:1px solid rgba(255,255,255,.12); border-radius:14px; background:rgba(255,255,255,.065); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.journey-no { display:grid; place-items:center; width:34px; height:34px; border-radius:11px; background:rgba(125,211,252,.12); color:#7dd3fc; font-size:.67rem; font-weight:900; }
.journey-steps strong { display:block; font-size:.92rem; }
.journey-steps small { display:block; margin-top:1px; color:#b9cae2; font-size:.72rem; }
.journey-footer { display:flex; justify-content:space-between; gap:12px; padding-top:14px; border-top:1px solid rgba(255,255,255,.12); color:#b9cae2; font-size:.74rem; }

.canada-panel {
  display:grid; grid-template-columns:.78fr 1.22fr; align-items:center; gap:18px; padding:28px;
  background:
    radial-gradient(circle at 6% 10%, rgba(239,68,68,.14), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(37,99,235,.18), transparent 36%),
    linear-gradient(150deg, var(--surface), color-mix(in srgb, var(--brand-soft) 66%, var(--surface)));
}
.canada-panel::after { content:""; position:absolute; width:240px; height:240px; right:-95px; top:-95px; border-radius:50%; border:1px solid color-mix(in srgb, var(--brand) 20%, transparent); box-shadow:0 0 0 36px color-mix(in srgb, var(--brand) 4%, transparent),0 0 0 72px color-mix(in srgb, var(--accent) 3%, transparent); }
.canada-orbit { position:relative; z-index:1; display:grid; place-items:center; min-height:250px; border-radius:50%; background:radial-gradient(circle, rgba(239,68,68,.13), rgba(37,99,235,.05) 54%, transparent 55%); color:#dc2626; }
.canada-orbit::before, .canada-orbit::after { content:""; position:absolute; border-radius:50%; border:1px dashed color-mix(in srgb, var(--brand) 24%, transparent); }
.canada-orbit::before { inset:20px; }
.canada-orbit::after { inset:46px; border-style:solid; opacity:.42; }
.canada-orbit svg { width:78px; filter:drop-shadow(0 12px 22px rgba(220,38,38,.15)); }
.canada-benefits { position:relative; z-index:1; display:grid; gap:8px; }
.canada-benefits > div { display:grid; grid-template-columns:28px 1fr; column-gap:9px; padding:10px 11px; border:1px solid var(--line); border-radius:13px; background:color-mix(in srgb, var(--surface) 76%, transparent); box-shadow:0 8px 22px rgba(25,55,99,.05); }
.canada-benefits span { grid-row:1 / span 2; color:var(--brand); font-size:.67rem; font-weight:900; }
.canada-benefits strong { font-size:.86rem; line-height:1.25; }
.canada-benefits small { margin-top:2px; color:var(--muted); font-size:.7rem; line-height:1.35; }

.signal-strip { margin-top: -10px; }
.signals { gap: 8px; padding: 8px; border-radius: 20px; }
.signal { padding: 16px 18px; border-radius: 13px; background: color-mix(in srgb, var(--surface) 52%, transparent); }
.signal::before { top: 16px; bottom: 16px; }
.signal strong { font-size: .98rem; }
.signal span { font-size: .8rem; }

#services { isolation:isolate; }
#services::before {
  inset: 10px 0; border-block: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background:
    radial-gradient(circle at 12% 24%, rgba(6,182,212,.09), transparent 24rem),
    radial-gradient(circle at 88% 72%, rgba(37,99,235,.10), transparent 27rem),
    linear-gradient(145deg, color-mix(in srgb, var(--surface-2) 70%, transparent), color-mix(in srgb, var(--brand-soft) 28%, transparent));
}
.bento { margin-top: 30px; gap: 14px; }
.card { padding: var(--card-pad); border-radius: 18px; box-shadow: 0 7px 22px rgba(25,55,99,.05); }
.card-large, .card-medium, .card-half, .card-third { min-height: 0; }
.card-large { grid-column: span 7; }
.card-medium { grid-column: span 5; }
.card-half { grid-column: span 6; }
.card-third { grid-column: span 4; }
.card-icon { width: 42px; height: 42px; border-radius: 12px; }
.card-icon svg { width: 21px; height: 21px; }
.card h3 { margin: 38px 0 8px; font-size: clamp(1.16rem, 1.7vw, 1.48rem); }
.card p { font-size: .93rem; line-height: 1.55; }
.card-number { top: 20px; right: 21px; }
.card.featured { background: radial-gradient(circle at 90% 8%, rgba(34,211,238,.22), transparent 30%), linear-gradient(145deg,#09172d,#10325f 66%,#07576b 130%); }
.card-medium { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--accent-soft) 72%, var(--surface))); }
.card:nth-child(3) { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, #ede9fe 60%, var(--surface))); }
.card:nth-child(4) { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--brand-soft) 74%, var(--surface))); }
.card:nth-child(5) { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, #ecfdf5 64%, var(--surface))); }
.card:nth-child(6) { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, #fff7ed 58%, var(--surface))); }
.card:nth-child(7) { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, #eff6ff 70%, var(--surface))); }

#company::before {
  inset: 8px 0;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--brand-soft) 35%, transparent), transparent 46%),
    radial-gradient(circle at 92% 20%, rgba(6,182,212,.08), transparent 26rem),
    color-mix(in srgb, var(--surface) 55%, transparent);
}
.values-grid { margin-top: 30px; gap: 14px; }
.value-panel, .quote-panel { border-radius: 22px; }
.value-panel { padding: 22px; gap: 4px; }
.value-item { grid-template-columns: 38px 1fr; gap: 12px; padding: 12px; border-radius: 13px; }
.value-index { width: 36px; height: 36px; border-radius: 10px; }
.value-item p { font-size: .87rem; line-height: 1.48; }
.quote-panel { padding: 30px; }
.quote-mark { width: 42px; height: 42px; }
blockquote { margin: 17px 0 24px; font-size: clamp(1.12rem, 1.8vw, 1.42rem); }

.cta { padding: 46px 50px; border-radius: 28px; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
.cta p { margin-top: 13px; }
.site-footer { padding: 56px 0 24px; }
.footer-bottom { margin-top: 36px; }

@keyframes heroIn { from { opacity:0; transform:translateX(18px); } to { opacity:1; transform:none; } }

@media (max-width: 980px) {
  .hero-carousel { min-height: 0; padding-top: 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .hero-visual { max-width: 720px; min-height: 390px; }
  .canada-panel { min-height: 390px; }
  .hero-controls { margin-top: 20px; }
}

@media (max-width: 760px) {
  :root { --section-pad: 58px; --section-pad-sm: 46px; --card-pad: 20px; }
  .hero-carousel { padding: 42px 0 28px; }
  .hero h1 { font-size: clamp(2.55rem, 12.5vw, 4.1rem); }
  .hero-copy { margin-top: 16px; }
  .hero-actions { margin-top: 20px; }
  .hero-trust { margin-top: 18px; }
  .tech-panel, .journey-panel, .canada-panel { min-height: 0; border-radius: 22px; }
  .journey-panel, .canada-panel { padding: 21px; }
  .canada-panel { grid-template-columns: 1fr; }
  .canada-orbit { min-height: 150px; }
  .canada-orbit::before { inset: 6px 52px; }
  .canada-orbit::after { inset: 25px 72px; }
  .canada-orbit svg { width: 60px; }
  .signals { grid-template-columns: 1fr; }
  .signal { padding: 13px 16px; }
  .card h3 { margin-top: 28px; }
  .cta { padding: 36px 26px; }
}

@media (max-width: 460px) {
  .hero-carousel { padding-top: 34px; }
  .hero-trust li { width: auto; }
  .hero-controls { margin-top: 14px; }
  .stack { padding: 22px 14px; }
  .journey-steps li { padding: 9px 10px; }
  .canada-benefits > div { padding: 9px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; }
}
