/* ==========================================================================
   C2TA — Change2Test Automation
   Corporate design system
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #050F24;
  --navy-900: #081735;
  --navy-800: #0C2150;
  --navy-700: #13306E;
  --blue-600: #1F4FD1;
  --blue-500: #2F63E8;
  --blue-100: #DCE6FF;
  --blue-50: #EEF3FF;
  --red-600: #D71F28;
  --red-700: #B5161E;
  --red-50: #FDECEC;
  --teal-500: #0EA5A4;
  --green-600: #16A34A;
  --amber-500: #F59E0B;

  /* Neutrals */
  --ink: #0B1324;
  --body: #44526A;
  --muted: #6B7A90;
  --line: #E3E8F0;
  --line-strong: #CBD4E1;
  --surface: #F5F7FB;
  --white: #FFFFFF;

  /* Type */
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(8, 23, 53, .06), 0 1px 3px rgba(8, 23, 53, .06);
  --shadow: 0 10px 30px -12px rgba(8, 23, 53, .18);
  --shadow-lg: 0 30px 60px -20px rgba(8, 23, 53, .30);
  --header-h: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-surface { background: var(--surface); }
.bg-navy { background: var(--navy-900); color: #B9C5DB; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }

.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.bg-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #FF8A8F; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.125rem; color: var(--body); }
.bg-navy .lead { color: #B9C5DB; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 14px 26px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: all .2s ease; white-space: nowrap; line-height: 1.2;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.btn-primary { background: var(--red-600); color: var(--white); box-shadow: 0 8px 20px -8px rgba(215, 31, 40, .6); }
.btn-primary:hover { background: var(--red-700); color: var(--white); transform: translateY(-1px); }
.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-dark:hover { background: var(--navy-950); color: var(--white); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--blue-600); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Top bar + Header
   ========================================================================== */
.topbar { background: var(--navy-950); color: #9FB0CC; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 24px; }
.topbar-tags { display: flex; align-items: center; flex-wrap: wrap; font-weight: 500; letter-spacing: .02em; }
.topbar-tags span { display: inline-flex; align-items: center; }
.topbar-tags span + span::before { content: ""; width: 1px; height: 12px; background: rgba(255, 255, 255, .22); margin: 0 14px; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-right a { color: #D5DEEE; display: inline-flex; align-items: center; gap: 7px; }
.topbar-right a:hover { color: var(--white); }
.topbar-right .icon { width: 15px; height: 15px; }
.topbar-cta { background: var(--red-600); color: var(--white) !important; padding: 5px 14px; border-radius: 6px; font-weight: 600; }
.topbar-cta:hover { background: var(--red-700); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 8px 24px -12px rgba(8, 23, 53, .18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 78px; width: auto; }

.main-nav { display: flex; align-items: center; height: 100%; }
.nav-list { display: flex; align-items: center; list-style: none; height: 100%; gap: 2px; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--ink); padding: 10px 10px; border-radius: 8px;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link .chev { width: 14px; height: 14px; stroke-width: 2.4; transition: transform .2s; }
.nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link { color: var(--blue-600); }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }
.nav-link.active { color: var(--blue-600); }
.nav-link.active::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px;
  background: var(--red-600); border-radius: 3px 3px 0 0;
}
.header-cta { margin-left: 4px; }

/* Dropdowns */
.dropdown {
  position: absolute; top: 100%; left: -8px; min-width: 300px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  color: var(--ink); font-weight: 500; font-size: .92rem; line-height: 1.35;
}
.dropdown a:hover { background: var(--surface); color: var(--blue-600); }
.dropdown a .icon { width: 20px; height: 20px; color: var(--blue-600); }
.dd-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--blue-50); display: grid; place-items: center; flex-shrink: 0; }

.mega { width: 860px; left: 50%; transform: translate(-50%, 8px); padding: 0; overflow: hidden; }
.nav-item:hover > .mega, .nav-item:focus-within > .mega, .nav-item.open > .mega { transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; padding: 22px; }
.mega-group { padding: 8px 8px 10px; }
.mega-group > a.mega-title {
  padding: 6px 8px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink);
}
.mega-group > a.mega-title .icon { width: 18px; height: 18px; }
.mega-sub { list-style: none; margin: 2px 0 0 36px; }
.mega-sub a { padding: 4px 8px; font-size: .86rem; color: var(--muted); font-weight: 500; }
.mega-sub a:hover { background: none; color: var(--blue-600); }
.mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface); border-top: 1px solid var(--line); padding: 16px 30px; font-size: .9rem;
}
.mega-foot strong { color: var(--ink); font-family: var(--font-head); }

/* Mobile nav */
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.nav-toggle .icon { width: 24px; height: 24px; }

.mobile-panel {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 15, 36, .5);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.mobile-panel.open { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--white); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
}
.mobile-panel.open .mobile-drawer { transform: translateX(0); }
.mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mobile-head img { height: 48px; width: auto; }
.mobile-body { overflow-y: auto; padding: 8px 16px 24px; flex: 1; }
.m-item { border-bottom: 1px solid var(--line); }
.m-link, .m-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-align: left;
}
.m-toggle .icon { width: 18px; height: 18px; transition: transform .2s; }
.m-item.open .m-toggle .icon { transform: rotate(180deg); }
.m-sub { display: none; padding: 0 4px 14px; list-style: none; }
.m-item.open .m-sub { display: block; }
.m-sub a { display: block; padding: 7px 0 7px 14px; color: var(--body); font-size: .94rem; border-left: 2px solid var(--line); }
.m-sub a:hover { color: var(--blue-600); border-color: var(--blue-600); }
.m-sub .m-sub-group { font-weight: 600; color: var(--ink); }
.mobile-foot { padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.mobile-foot .btn { width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: #C3CFE3;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(47, 99, 232, .35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(215, 31, 40, .18), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 .accent { background: linear-gradient(90deg, #7FA6FF, #B9CCFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #B9C5DB; font-size: 1.16rem; max-width: 580px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--font-head); color: var(--white); font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.hero-proof span { font-size: .85rem; color: #93A3BF; }

/* Hero pipeline console */
.console {
  position: relative; background: rgba(12, 33, 80, .72); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  backdrop-filter: blur(8px); overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; color: #93A3BF; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #334A7A; display: inline-block; }
.console-bar .title { margin-left: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.console-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #7EE2A8; font-weight: 600; }
.console-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.console-body { padding: 20px 20px 22px; display: grid; gap: 16px; }
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stage { position: relative; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; padding: 10px 8px; text-align: center; }
.stage .icon { width: 20px; height: 20px; margin: 0 auto 6px; color: #8FB0FF; }
.stage b { display: block; color: var(--white); font-family: var(--font-head); font-size: .74rem; font-weight: 600; line-height: 1.2; }
.stage small { display: block; font-size: .66rem; color: #7EE2A8; margin-top: 3px; }
.stage.run small { color: #FFD27A; }
.stage.run { border-color: rgba(255, 210, 122, .45); }
.suite-list { display: grid; gap: 8px; }
.suite { display: grid; grid-template-columns: 110px 1fr 54px; align-items: center; gap: 12px; font-size: .78rem; color: #C3CFE3; }
.suite .bar { height: 7px; background: rgba(255, 255, 255, .08); border-radius: 6px; overflow: hidden; }
.suite .bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #2F63E8, #7FA6FF); }
.suite em { font-style: normal; text-align: right; color: var(--white); font-weight: 600; font-family: var(--font-head); }
.console-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ai-card { background: linear-gradient(135deg, rgba(47, 99, 232, .25), rgba(47, 99, 232, .06)); border: 1px solid rgba(127, 166, 255, .25); border-radius: 12px; padding: 12px 14px; }
.ai-card .tag { display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9DBBFF; }
.ai-card .tag .icon { width: 13px; height: 13px; }
.ai-card p { margin: 6px 0 0; font-size: .78rem; line-height: 1.45; color: #DCE6FF; }
.ai-card.healed { background: linear-gradient(135deg, rgba(34, 197, 94, .2), rgba(34, 197, 94, .04)); border-color: rgba(126, 226, 168, .25); }
.ai-card.healed .tag { color: #7EE2A8; }
.float-badge {
  position: absolute; background: var(--white); color: var(--ink); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600;
}
.float-badge .dot { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--red-50); color: var(--red-600); }
.float-badge .dot .icon { width: 18px; height: 18px; }
.float-badge small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.hero-visual { position: relative; }
.hero-visual .float-badge { left: -28px; bottom: -54px; }

/* Inner page hero */
.page-hero {
  position: relative; overflow: hidden; color: #B9C5DB;
  background:
    radial-gradient(800px 380px at 90% 0%, rgba(47, 99, 232, .32), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.page-hero .container { position: relative; padding-top: 72px; padding-bottom: 80px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.1rem); max-width: 820px; }
.page-hero .lead { color: #B9C5DB; max-width: 720px; margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin: 0 0 22px; padding: 0; color: #8595B3; list-style: none; }
.breadcrumb a { color: #B9C5DB; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #52648A; }
.page-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.page-hero-chips a {
  font-size: .85rem; font-weight: 600; color: #DCE6FF; padding: 7px 14px; border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
}
.page-hero-chips a:hover { background: rgba(255, 255, 255, .12); color: var(--white); }

/* ==========================================================================
   Components
   ========================================================================== */
.strip { border-bottom: 1px solid var(--line); background: var(--white); }
.strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; align-items: center; gap: 14px; padding: 28px 22px; border-left: 1px solid var(--line); }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex-shrink: 0; }
.strip-item b { display: block; font-family: var(--font-head); color: var(--ink); font-size: .98rem; line-height: 1.3; }
.strip-item span { font-size: .85rem; color: var(--muted); line-height: 1.4; display: block; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; margin-bottom: 16px; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px; flex-shrink: 0;
  background: var(--blue-50); color: var(--blue-600);
}
.card-icon .icon { width: 26px; height: 26px; }
.card-icon.red { background: var(--red-50); color: var(--red-600); }
.card-icon.navy { background: var(--navy-800); color: var(--white); }
.card .tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--navy-700);
  background: var(--surface); border: 1px solid var(--line); padding: 4px 10px; border-radius: 30px; line-height: 1.4;
}
.chip.ai { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-600); }
.card-featured { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border-color: transparent; color: #B9C5DB; }
.card-featured h3 { color: var(--white); }
.card-featured .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #DCE6FF; }
.card-featured .card-icon { background: rgba(127, 166, 255, .16); color: #9DBBFF; }
.card-featured .link-arrow { color: #9DBBFF; }
.badge-new {
  position: absolute; top: 22px; right: 22px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; background: var(--red-600); color: var(--white);
}

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide-left { grid-template-columns: 1.1fr .9fr; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4FD1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.check-list li b { color: var(--ink); font-weight: 600; }
.bg-navy .check-list li b { color: var(--white); }
.bg-navy .check-list li::before { background-color: rgba(127, 166, 255, .16); }

/* Diagram frame */
.diagram {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow);
}
.diagram-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.diagram-title b { font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.diagram-title span { font-size: .75rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.diagram svg text { font-family: var(--font-head); }
.bg-navy .diagram { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.bg-navy .diagram-title b { color: var(--white); }

/* Layered architecture */
.layers { display: grid; gap: 8px; }
.layer { display: grid; grid-template-columns: 150px 1fr; align-items: stretch; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.layer-name { background: var(--navy-800); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .8rem; padding: 12px 14px; display: flex; align-items: center; line-height: 1.3; }
.layer-items { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; background: var(--surface); align-items: center; }
.layer-items span { font-size: .76rem; font-weight: 600; color: var(--navy-700); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }
.layer.l2 .layer-name { background: var(--navy-700); }
.layer.l3 .layer-name { background: var(--blue-600); }
.layer.l4 .layer-name { background: var(--blue-500); }
.layer.l5 .layer-name { background: var(--red-600); }

/* Flow / pipeline diagram */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; counter-reset: flow; }
.flow-step { position: relative; text-align: center; padding: 0 8px; }
.flow-step .node {
  position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px;
  display: grid; place-items: center; background: var(--white); color: var(--blue-600);
  border: 2px solid var(--blue-100); box-shadow: var(--shadow-sm);
}
.flow-step .node .icon { width: 28px; height: 28px; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; left: calc(50% + 40px); right: calc(-50% + 40px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-500) 0 6px, transparent 6px 11px);
}
.flow-step:not(:last-child)::before {
  content: ""; position: absolute; top: 28px; right: calc(-50% + 36px); width: 0; height: 0;
  border-left: 8px solid var(--blue-500); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.flow-step h4 { font-size: .95rem; margin-bottom: 6px; }
.flow-step p { font-size: .84rem; line-height: 1.5; color: var(--muted); margin: 0; }
.flow-step.gate .node { border-color: var(--red-600); color: var(--red-600); }
.flow-step.highlight .node { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.bg-navy .flow-step .node { background: var(--navy-800); border-color: rgba(127, 166, 255, .35); color: #9DBBFF; }
.bg-navy .flow-step h4 { color: var(--white); }
.bg-navy .flow-step p { color: #93A3BF; }

/* Numbered process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding: 26px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--blue-100); line-height: 1; margin-bottom: 14px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: .88rem; margin: 0; line-height: 1.55; }
.process-step::after { content: ""; position: absolute; top: 0; left: 22px; width: 36px; height: 3px; background: var(--red-600); border-radius: 0 0 3px 3px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 8px 0 8px 22px; border-left: 3px solid var(--red-600); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: var(--white); line-height: 1.1; }
.stat span { font-size: .92rem; color: #93A3BF; }
.bg-surface .stat strong, .section:not(.bg-navy) .stat strong { color: var(--ink); }

/* Tech logos grid */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tech-tile {
  display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.tech-tile:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.tech-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0;
  font-size: .78rem; font-weight: 800; color: var(--white); letter-spacing: -.02em;
}

/* Tabs-like category list (Technology page) */
.tech-section { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); }
.tech-section:first-child { border-top: 0; padding-top: 0; }
.tech-section .sticky { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.tool-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tool-card { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tool-card h4 { margin-bottom: 4px; }
.tool-card p { font-size: .88rem; margin: 0; line-height: 1.55; }
.tool-card .tech-mark { width: 44px; height: 44px; font-size: .9rem; border-radius: 11px; }

/* Service detail blocks */
.service-block { padding: 88px 0; border-top: 1px solid var(--line); }
.service-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 44px; }
.service-head .num { font-family: var(--font-head); font-weight: 800; color: var(--red-600); font-size: .85rem; letter-spacing: .12em; margin-bottom: 10px; display: block; }
.service-head h2 { margin-bottom: 0; }
.service-head p { margin: 0 0 12px; }
.deliverables { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; margin-top: 18px; }
.deliverables li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink); font-weight: 500; line-height: 1.45; }
.deliverables li .icon { width: 18px; height: 18px; color: var(--green-600); margin-top: 2px; stroke-width: 2.4; }

/* Solutions */
.solution { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.solution + .solution { margin-top: 22px; }
.solution-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--blue-100); }
.solution h3 { font-size: 1.45rem; margin-bottom: 8px; }
.solution .summary { font-size: 1.02rem; margin-bottom: 24px; }
.psr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.psr > div { border-radius: 12px; padding: 18px 20px; background: var(--surface); }
.psr h5 { font-family: var(--font-head); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.psr h5 .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.psr .p h5 { color: var(--red-600); }
.psr .s h5 { color: var(--blue-600); }
.psr .r h5 { color: var(--green-600); }
.psr p, .psr li { font-size: .9rem; line-height: 1.55; margin: 0; }
.psr ul { list-style: none; display: grid; gap: 6px; }
.psr li { padding-left: 14px; position: relative; }
.psr li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .45; }

/* Industries */
.industry { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.industry + .industry { margin-top: 26px; }
.industry-intro { padding: 40px; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #B9C5DB; position: relative; overflow: hidden; }
.industry-intro h3 { color: var(--white); font-size: 1.55rem; }
.industry-intro .card-icon { background: rgba(127, 166, 255, .16); color: #9DBBFF; }
.industry-intro .apps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.industry-intro .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #DCE6FF; }
.industry-body { padding: 40px; }
.industry-body h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.usecases { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.usecases li { padding: 14px 16px; border-radius: 12px; background: var(--surface); font-size: .9rem; line-height: 1.5; }
.usecases li b { display: block; color: var(--ink); font-family: var(--font-head); font-size: .92rem; margin-bottom: 2px; }
.compliance { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; align-items: center; font-size: .85rem; }
.compliance b { color: var(--ink); margin-right: 4px; }

/* Case studies */
.cs-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.cs-flow span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; font-family: var(--font-head);
  font-size: .85rem; font-weight: 700; background: rgba(255, 255, 255, .06); color: var(--white); border: 1px solid rgba(255, 255, 255, .16);
}
.cs-flow .arrow { width: 18px; height: 18px; color: #7FA6FF; }
.case { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.case + .case { margin-top: 36px; }
.case-head { padding: 36px 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; border-bottom: 1px solid var(--line); background: var(--surface); }
.case-head .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.case-head h3 { font-size: 1.6rem; margin: 0; }
.case-body { display: grid; grid-template-columns: repeat(3, 1fr); }
.case-cell { padding: 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-cell:nth-child(3n) { border-right: 0; }
.case-cell h5 { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.case-cell h5 i { font-style: normal; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--navy-800); color: var(--white); font-size: .72rem; letter-spacing: 0; }
.case-cell p, .case-cell li { font-size: .9rem; line-height: 1.6; }
.case-cell ul { list-style: none; display: grid; gap: 6px; }
.case-cell li { padding-left: 16px; position: relative; }
.case-cell li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--blue-500); }
.case-impact { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy-900); }
.case-impact div { padding: 24px 28px; border-right: 1px solid rgba(255, 255, 255, .08); }
.case-impact div:last-child { border-right: 0; }
.case-impact strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--white); line-height: 1.1; }
.case-impact span { font-size: .84rem; color: #93A3BF; }
.arch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.arch span { font-size: .76rem; font-weight: 700; color: var(--navy-700); background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 6px; padding: 4px 8px; }
.arch .icon { width: 14px; height: 14px; color: var(--muted); stroke-width: 2.4; }
.note {
  display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; padding: 14px 18px; border-radius: 12px;
  background: #FFF8E6; border: 1px solid #F7DFA0; color: #7A5A00; margin-bottom: 36px;
}
.note .icon { width: 20px; height: 20px; margin-top: 1px; }

/* Leadership / about */
.leader { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.avatar {
  width: 220px; height: 220px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-950)); color: var(--white);
  font-family: var(--font-head); font-size: 3.6rem; font-weight: 800; letter-spacing: -.02em;
}
.leader .role { color: var(--red-600); font-weight: 700; font-family: var(--font-head); font-size: .9rem; margin-bottom: 14px; display: block; }
.leader h3 { font-size: 1.6rem; margin-bottom: 4px; }
.location { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.location .tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); margin-bottom: 8px; }
.location h3 { margin-bottom: 8px; }
.location address { font-style: normal; font-size: .95rem; margin-bottom: 18px; flex: 1; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-head); font-size: .86rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select {
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A90' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat;
  padding-right: 40px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 99, 232, .14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red-600); }
.field .err { font-size: .78rem; color: var(--red-600); display: none; }
.field.invalid .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.radio-row label { position: relative; cursor: pointer; }
.radio-row input { position: absolute; opacity: 0; }
.radio-row span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px;
  border: 1.5px solid var(--line-strong); font-size: .9rem; font-weight: 500; color: var(--body); font-family: var(--font-body);
}
.radio-row span .icon { width: 16px; height: 16px; }
.radio-row input:checked + span { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-600); font-weight: 600; }
.radio-row input:focus-visible + span { box-shadow: 0 0 0 4px rgba(47, 99, 232, .2); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); max-width: 380px; line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .card-icon { margin: 0 auto 20px; background: #E7F7EE; color: var(--green-600); }
.contact-side { display: grid; gap: 18px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.info-card h4 .icon { color: var(--blue-600); width: 20px; height: 20px; }
.info-card a { display: block; font-weight: 600; color: var(--ink); font-size: 1rem; }
.info-card a:hover { color: var(--blue-600); }
.info-card address { font-style: normal; font-size: .92rem; line-height: 1.6; }
.info-card address + address { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.info-card address b { color: var(--ink); display: block; font-family: var(--font-head); }
.info-card.dark { background: var(--navy-900); border-color: var(--navy-900); color: #B9C5DB; }
.info-card.dark h4 { color: var(--white); }
.info-card.dark h4 .icon { color: #9DBBFF; }
.info-card.dark ol { margin: 0; padding-left: 18px; font-size: .9rem; display: grid; gap: 8px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); border-radius: var(--radius-lg); padding: 56px 60px; display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(215, 31, 40, .16); pointer-events: none; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.cta-band p { color: #B9C5DB; margin: 0; max-width: 620px; }
.cta-band .actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy-950); color: #93A3BF; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding: 80px 0 56px; }
.footer-brand img { height: 74px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { max-width: 300px; line-height: 1.7; }
.site-footer h5 { font-family: var(--font-head); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin: 6px 0 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #93A3BF; }
.footer-links a:hover { color: var(--white); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact div { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: #7FA6FF; margin-top: 3px; }
.footer-contact a { color: #D5DEEE; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.footer-bottom a { color: #93A3BF; }
.footer-bottom a:hover { color: var(--white); }

/* Reveal animation */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.pre { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.pre { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1320px) {
  .nav-link { padding: 10px 8px; font-size: .88rem; }
  .brand img { height: 66px; }
  .header-cta { display: none; }
}
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero .container { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 88px; }
  .hero-visual { max-width: 620px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .tech-section { grid-template-columns: 1fr; gap: 28px; }
  .tech-section .sticky { position: static; }
  .case-body { grid-template-columns: repeat(2, 1fr); }
  .case-cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .case-cell:nth-child(2n) { border-right: 0; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-side { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .split, .split.wide-left, .service-head { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .strip .container { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-item { border-top: 1px solid var(--line); }
  .strip-item:nth-child(-n+2) { border-top: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-auto-flow: row; grid-auto-columns: auto; gap: 18px; }
  .flow-step { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; text-align: left; padding: 0; }
  .flow-step .node { margin: 0; grid-row: span 2; }
  .flow-step h4 { align-self: end; margin-top: 6px; }
  .flow-step:not(:last-child)::after { top: 68px; bottom: -16px; left: 31px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-500) 0 6px, transparent 6px 11px); }
  .flow-step:not(:last-child)::before { display: none; }
  .psr { grid-template-columns: 1fr; }
  .industry { grid-template-columns: 1fr; }
  .case-head { grid-template-columns: 1fr; }
  .case-impact { grid-template-columns: repeat(2, 1fr); }
  .case-impact div:nth-child(2) { border-right: 0; }
  .case-impact div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .cta-band { grid-template-columns: 1fr; padding: 44px 36px; }
  .leader { grid-template-columns: 1fr; }
  .avatar { width: 120px; height: 120px; font-size: 2.2rem; }
  .topbar-tags { display: none; }
  .topbar .container { justify-content: center; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .tool-cards, .usecases, .deliverables { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .strip .container { grid-template-columns: 1fr; }
  .strip-item { border-left: 0 !important; padding: 18px 0 !important; border-top: 1px solid var(--line) !important; }
  .strip-item:first-child { border-top: 0 !important; }
  .solution { grid-template-columns: 1fr; padding: 26px 22px; gap: 10px; }
  .solution-num { font-size: 1.8rem; }
  .industry-intro, .industry-body { padding: 28px 22px; }
  .case-head { padding: 26px 22px; }
  .case-body { grid-template-columns: 1fr; }
  .case-cell { border-right: 0 !important; padding: 22px; }
  .case-impact div { padding: 18px 20px; }
  .case-impact strong { font-size: 1.5rem; }
  .form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-side { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 56px; }
  .footer-contact-col { grid-column: 1 / -1; }
  .cta-band { padding: 36px 22px; }
  .layer { grid-template-columns: 1fr; }
  .layer-name { padding: 8px 12px; }
  .pipeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .stage { padding: 8px 2px; }
  .stage b { font-size: .6rem; }
  .stage small { font-size: .56rem; }
  .suite { grid-template-columns: 84px 1fr 44px; }
  .console-grid { grid-template-columns: 1fr; }
  .hero-visual .float-badge { display: none; }
  .diagram { padding: 20px 16px; }
  .topbar-right { gap: 14px; }
  .topbar-right .hide-sm { display: none; }
  .hero-proof { grid-template-columns: repeat(2, auto); justify-content: start; gap: 20px 40px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .brand img { height: 60px; }
  :root { --header-h: 76px; }
  .btn { white-space: normal; text-align: center; }
}

/* ---------- Additions: link list, linked cards ---------- */
a.card { display: block; color: var(--body); }
a.card:hover { color: var(--body); }
.link-list { display: grid; gap: 12px; }
.link-list a {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white); color: var(--body); transition: all .2s;
}
.link-list a:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateX(4px); }
.link-list .dd-icon { width: 44px; height: 44px; color: var(--blue-600); }
.link-list b { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; margin-bottom: 2px; }
.link-list small { font-size: .9rem; color: var(--muted); line-height: 1.5; display: block; }
.header-inner { position: relative; }
.nav-item.mega-parent { position: static; }
.nav-item.mega-parent .nav-link.active::after { display: none; }
.nav-item.mega-parent .nav-link.active { box-shadow: inset 0 -3px 0 var(--red-600); border-radius: 8px 8px 0 0; }

/* ---------- Technology stack diagram & toolkit ---------- */
.stack { display: grid; gap: 10px; }
.stack-row, .stack-col { border-radius: 12px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.stack-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.stack-label .icon { width: 18px; height: 18px; }
.stack-items { font-size: .88rem; }
.stack-ai { background: linear-gradient(90deg, #4F46E5, #1F4FD1); color: #DCE6FF; }
.stack-ai .stack-label { color: var(--white); }
.stack-mid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stack-col { background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--body); }
.stack-col .stack-label { color: var(--navy-800); }
.stack-col .stack-label .icon { color: var(--blue-600); }
.stack-devops { background: var(--navy-900); color: #B9C5DB; }
.stack-devops .stack-label { color: var(--white); }
.toolkit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.toolkit > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.toolkit h4 { margin-bottom: 12px; font-size: .95rem; }
@media (max-width: 900px) { .toolkit { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .toolkit, .stack-mid { grid-template-columns: 1fr; } }
