/* =========================================================
   ICO BROTHERS LIMITED — Corporate Website
   Design system + layout styles (shared by EN / TC pages)
   ========================================================= */

:root {
  /* Brand palette — anchored on Azure blue */
  --navy-950: #060d1a;
  --navy-900: #0a1628;
  --navy-800: #10203a;
  --navy-700: #1a2f4f;
  --azure: #0078d4;
  --azure-text: #0067b8; /* darker azure for small text — meets WCAG AA on light backgrounds */
  --azure-bright: #2899f5;
  --cyan: #38bdf8;
  --violet: #7c6ae8;
  --ink: #16263d;
  --ink-soft: #46586f;
  --ink-faint: #5f7088;
  --bg: #f6f9fc;
  --surface: #ffffff;
  --line: #e3eaf2;
  --line-strong: #cfdae6;

  --grad-ai: linear-gradient(120deg, #2899f5 0%, #38bdf8 45%, #7c6ae8 100%);
  --grad-cta: linear-gradient(120deg, #0078d4, #2899f5);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-card: 0 1px 2px rgba(10, 22, 40, 0.05), 0 10px 30px -12px rgba(10, 22, 40, 0.12);
  --shadow-card-hover: 0 2px 4px rgba(10, 22, 40, 0.06), 0 18px 44px -14px rgba(0, 120, 212, 0.28);

  --font-sans: "Inter", "Noto Sans HK", "PingFang HK", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1160px;
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h); /* keep anchor targets clear of the sticky header */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--azure-text); text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.22; letter-spacing: -0.015em; }
p { margin: 0; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--azure-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px;
  z-index: 200; padding: 10px 16px;
  background: var(--navy-900); color: #fff;
  border-radius: 0 0 10px 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 13, 26, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  /* box-shadow instead of border so the header's in-flow height stays exactly --header-h */
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background .3s ease;
}

.nav {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
}

.brand {
  display: flex; align-items: center; gap: 12px;
  margin-right: auto;
  color: #fff;
}
.brand:hover { text-decoration: none; }

.brand-logo { height: 34px; width: auto; flex: none; display: block; }
.footer-brand .brand-logo { height: 36px; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: block; padding: 9px 14px; white-space: nowrap;
  font-size: 14.5px; font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover {
  color: #fff; background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  display: inline-block; padding: 10px 20px; white-space: nowrap;
  font-size: 14.5px; font-weight: 600; color: #fff !important;
  background: var(--grad-cta);
  border-radius: 999px;
  box-shadow: 0 4px 14px -4px rgba(0, 120, 212, 0.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(0, 120, 212, 0.65);
  background: var(--grad-cta) !important;
}

.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 13.5px; font-weight: 600;
  color: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color .2s ease, background .2s ease;
}
.lang-switch:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}
.lang-switch svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
  /* pull hero behind the translucent sticky header */
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-bg .glow-a, .hero-bg .glow-b {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
}
.hero-bg .glow-a {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.55), transparent 65%);
  top: -180px; right: -120px;
}
.hero-bg .glow-b {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(124, 106, 232, 0.4), transparent 65%);
  bottom: -220px; left: -140px;
}
.hero-bg .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  padding: 96px 0 110px;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
}
.hero-badge .dot-grid { width: 22px; height: 22px; flex: none; }

.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: var(--grad-ai);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16.5px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: 15.5px; font-weight: 600;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn svg { width: 17px; height: 17px; }

.btn-primary {
  color: #fff;
  background: var(--grad-cta);
  box-shadow: 0 6px 20px -6px rgba(0, 120, 212, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(0, 120, 212, 0.7);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-solutions-strip {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 56px;
}
.hero-solutions-strip span {
  padding: 7px 15px;
  font-size: 13px; font-weight: 500;
  color: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Partner bar ---------- */
.partner-bar {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
}
.partner-bar-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 14px 28px;
  padding: 22px 0;
  text-align: center;
}
.partner-bar .label {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}
.ms-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}
.ms-badge .ms-squares { width: 22px; height: 22px; flex: none; }
.ms-badge .ms-text { text-align: left; line-height: 1.3; }
.ms-badge .ms-text .t1 { font-size: 14.5px; font-weight: 700; color: #fff; }
.ms-badge .ms-text .t2 { font-size: 12.5px; color: rgba(255, 255, 255, 0.62); }

/* ---------- Generic section scaffolding ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--azure-text);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px;
  background: var(--grad-cta); border-radius: 2px;
}
.section-head.center .eyebrow::after {
  content: ""; width: 22px; height: 2px;
  background: var(--grad-cta); border-radius: 2px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-head p { font-size: 17px; color: var(--ink-soft); }

/* ---------- Solutions grid ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.solution-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-ai);
  opacity: 0;
  transition: opacity .25s ease;
}
.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 120, 212, 0.35);
}
.solution-card:hover::before { opacity: 1; }

.solution-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(124, 106, 232, 0.12));
  color: var(--azure);
  margin-bottom: 22px;
}
.solution-icon svg { width: 26px; height: 26px; }

.solution-card h3 {
  font-size: 19.5px; font-weight: 700;
  margin-bottom: 10px;
}
.solution-card > p {
  font-size: 15px; color: var(--ink-soft);
  margin-bottom: 18px;
}

.solution-features {
  list-style: none; margin: auto 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 9px;
}
.solution-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.8px; color: var(--ink-soft);
}
.solution-features li svg {
  width: 15px; height: 15px; flex: none;
  margin-top: 3px;
  color: var(--azure-bright);
}

.solution-card:focus-within { border-color: rgba(0, 120, 212, 0.45); }

.solution-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font-size: 14px; font-weight: 600;
  color: var(--azure-text);
}
.solution-more svg {
  width: 16px; height: 16px;
  transition: transform .2s ease;
}
.solution-card:hover .solution-more svg { transform: translateX(4px); }

/* ---------- AI-native pillars ---------- */
.ai-native { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.ai-native .section-head h2 { color: #fff; }
.ai-native .section-head p { color: rgba(255, 255, 255, 0.68); }
.ai-native .eyebrow { color: var(--cyan); }

.ai-native-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 85% 15%, rgba(0, 120, 212, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 55% at 10% 90%, rgba(124, 106, 232, 0.16), transparent 70%);
}

.pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pillar {
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.pillar:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-4px);
}
.pillar .num {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 14px;
}
.pillar h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.pillar p { font-size: 14.2px; color: rgba(255, 255, 255, 0.66); }

/* ---------- Partnership section ---------- */
.partnership-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.partnership-card {
  position: relative;
  padding: 44px 40px;
  background: var(--navy-900);
  border-radius: 24px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(10, 22, 40, 0.45);
}
.partnership-card::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 90% 0%, rgba(0, 120, 212, 0.35), transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(124, 106, 232, 0.25), transparent 70%);
}
.partnership-card > * { position: relative; z-index: 1; }
.partnership-card .ms-squares { width: 44px; height: 44px; margin-bottom: 24px; }
.partnership-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.partnership-card .designation {
  font-size: 15.5px; color: var(--cyan); font-weight: 600;
  margin-bottom: 18px;
}
.partnership-card p { font-size: 14.8px; color: rgba(255, 255, 255, 0.72); }

.partnership-copy h2 {
  font-size: clamp(26px, 3.4vw, 36px); font-weight: 800;
  margin-bottom: 18px;
}
.partnership-copy > p {
  font-size: 16.5px; color: var(--ink-soft);
  margin-bottom: 26px;
}

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.check-list li strong { display: block; }
.check-list li span { color: var(--ink-soft); font-size: 14.5px; }
.check-list .check {
  flex: none; width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.12), rgba(56, 189, 248, 0.18));
  color: var(--azure);
  margin-top: 2px;
}
.check-list .check svg { width: 13px; height: 13px; }

/* ---------- About ---------- */
.about-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.about-copy h2 {
  font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 18px;
}
.about-copy p {
  font-size: 16px; color: var(--ink-soft); margin-bottom: 16px;
}

.about-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.fact {
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.fact .fact-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(124, 106, 232, 0.12));
  color: var(--azure);
  margin-bottom: 14px;
}
.fact .fact-icon svg { width: 20px; height: 20px; }
.fact h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.fact p { font-size: 13.8px; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.cta-band .cta-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(0, 120, 212, 0.35), transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% -10%, rgba(124, 106, 232, 0.22), transparent 70%);
}
.cta-band-inner { position: relative; padding: 88px 0; max-width: 680px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.cta-band p { font-size: 17px; color: rgba(255, 255, 255, 0.7); margin-bottom: 36px; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  padding: 36px 32px;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  color: #fff;
}
.contact-info-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.contact-row { display: flex; gap: 15px; align-items: flex-start; }
.contact-row + .contact-row { margin-top: 22px; }
.contact-row .ci {
  flex: none; width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
}
.contact-row .ci svg { width: 19px; height: 19px; }
.contact-row .label {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}
.contact-row .value { font-size: 14.8px; color: rgba(255, 255, 255, 0.88); }
.contact-row .value a { color: var(--cyan); }

.contact-form {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit; font-size: 14.5px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fbfdfe;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--azure-bright);
  box-shadow: 0 0 0 3px rgba(40, 153, 245, 0.18);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.form-submit { margin-top: 22px; }
.form-note { margin-top: 14px; font-size: 12.8px; color: var(--ink-faint); }
/* Live region stays in the DOM (empty) so screen readers announce the injected text */
.form-status {
  display: block;
  color: #0c7a49; font-size: 14px; font-weight: 500;
}
.form-status.visible {
  margin-top: 16px; padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(16, 160, 96, 0.1);
  border: 1px solid rgba(16, 160, 96, 0.3);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 340px; }

.footer-col h4 {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.2px; color: rgba(255, 255, 255, 0.72); transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: 14.2px; line-height: 1.7; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom .ms-note { font-size: 12.2px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .partnership-wrap, .about-wrap { grid-template-columns: 1fr; gap: 44px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .hero-inner { padding: 72px 0 84px; }

  .nav { gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 18px;
    background: rgba(6, 13, 26, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }
  .nav-open .nav-links { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 15.5px; }
  .nav-cta { display: none; }

  .solutions-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .partnership-card { padding: 34px 26px; }
}

/* Narrow phones: keep brand + language pill + menu toggle on one row */
@media (max-width: 460px) {
  .nav { gap: 8px; }
  .brand-logo { height: 28px; }
  .lang-switch { padding: 8px 10px; }
  .lang-switch .lang-label { display: none; } /* aria-label on the link keeps it accessible */
  .lang-switch svg { width: 18px; height: 18px; }
}

/* =========================================================
   Multi-page additions (generated pages, widget, forms)
   ========================================================= */

/* ---------- Nav dropdowns ---------- */
.nav-links > li { position: relative; }
.nav-menu-btn {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 9px 14px; font-size: 14.5px; font-weight: 500;
  color: rgba(255, 255, 255, 0.78); background: transparent; border: 0; border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav-menu-btn svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-menu-btn:hover, .has-menu.is-open > .nav-menu-btn, .has-menu:hover > .nav-menu-btn { color: #fff; background: rgba(255, 255, 255, 0.08); }
.has-menu.is-open > .nav-menu-btn svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 120;
  min-width: 260px; padding: 8px; margin: 0; list-style: none;
  background: #0e1c31; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px;
  box-shadow: 0 24px 48px -16px rgba(6, 13, 26, 0.7);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-menu.is-open > .nav-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 721px) {
  .has-menu:hover > .nav-menu, .has-menu:focus-within > .nav-menu { opacity: 1; visibility: visible; transform: none; }
}
.nav-menu li a { padding: 10px 12px; font-size: 14px; border-radius: 8px; white-space: nowrap; }
.nav-menu li a[aria-current="page"], .nav-links > li > a[aria-current="page"] { color: #fff; background: rgba(40, 153, 245, 0.18); }
@media (max-width: 720px) {
  .nav-menu-btn { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: 15.5px; }
  .nav-menu { position: static; min-width: 0; padding: 0 0 6px 14px; background: transparent; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-menu.is-open > .nav-menu { display: block; }
  .nav-menu li a { white-space: normal; }
  .nav-links { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
}

/* ---------- Hero industry strip (links) ---------- */
.hero-solutions-strip { align-items: center; }
.hero-solutions-strip .strip-label { border: 0; background: none; padding: 0 4px 0 0; color: rgba(255, 255, 255, 0.5); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.hero-solutions-strip a {
  padding: 7px 15px; font-size: 13px; font-weight: 500;
  color: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.hero-solutions-strip a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }
.hero-actions.center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn-outline { color: var(--azure-text); border: 1px solid var(--line-strong); background: var(--surface); }
.btn-outline:hover { border-color: var(--azure-bright); background: rgba(40, 153, 245, 0.06); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Breadcrumb + page hero ---------- */
.breadcrumb { background: var(--navy-950); color: rgba(255, 255, 255, 0.55); font-size: 13px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 14px 0 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, 0.3); }
.breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li[aria-current] { color: rgba(255, 255, 255, 0.9); }

.page-hero { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; }
.page-hero-inner { position: relative; padding: 56px 0 72px; max-width: 820px; }
.page-hero.compact .page-hero-inner { padding: 40px 0 56px; }
.page-hero-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, 0.08); color: var(--cyan); margin-bottom: 22px; }
.page-hero-icon svg { width: 30px; height: 30px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.page-hero .hero-sub { margin-bottom: 32px; max-width: 720px; }
.eyebrow.light { color: var(--cyan); }

/* ---------- Cards: industries, insights, use cases ---------- */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry-card, .insight-card, .usecase, .why, .challenge {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden;
}
.industry-card::before, .insight-card::before, .usecase::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-ai); opacity: 0; transition: opacity .25s ease;
}
a.industry-card:hover, a.insight-card:hover, a.usecase:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: rgba(0, 120, 212, 0.35); }
a.industry-card:hover::before, a.insight-card:hover::before, a.usecase:hover::before { opacity: 1; }
.industry-card h3, .insight-card h3, .usecase h3, .why h3, .challenge h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.industry-card > p, .insight-card > p, .usecase > p, .why p, .challenge p { font-size: 14.8px; color: var(--ink-soft); }
.industry-card .solution-more, .insight-card .solution-more, .usecase .solution-more { margin-top: auto; padding-top: 18px; }
.industry-card:hover .solution-more svg, .insight-card:hover .solution-more svg, .usecase:hover .solution-more svg { transform: translateX(4px); }
.industry-card-cloud { background: var(--navy-900); color: #fff; border-color: rgba(255, 255, 255, 0.1); }
.industry-card-cloud h3 { color: #fff; }
.industry-card-cloud > p { color: rgba(255, 255, 255, 0.7); }
.industry-card-cloud .solution-icon { background: rgba(255, 255, 255, 0.1); color: var(--cyan); }
.industry-card-cloud .solution-more { color: var(--cyan); }

.insights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.insight-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-faint); margin-bottom: 14px; }
.insight-cat { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--azure-text); }
.insight-card-resource { background: linear-gradient(135deg, rgba(0, 120, 212, 0.06), rgba(124, 106, 232, 0.08)); }
.insight-card-resource .solution-icon { margin-bottom: 14px; }

/* ---------- Solution page ---------- */
.solution-page .sol-section + .sol-section, .solution-page .sol-two + .sol-section, .solution-page .sol-section + .sol-two { margin-top: 48px; }
.solution-page .sol-section h2 {
  display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--azure-text); margin-bottom: 18px;
}
.solution-page .sol-section h2::before { content: ""; width: 20px; height: 2px; background: var(--grad-cta); border-radius: 2px; }
.solution-page .lead { font-size: 18px; color: var(--ink-soft); max-width: 820px; }
.sol-caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sol-caps li { padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.sol-caps strong { display: block; font-size: 15.5px; margin-bottom: 6px; color: var(--ink); }
.sol-caps span { font-size: 14px; color: var(--ink-soft); }
.sol-caps.services li { padding: 26px 26px; }
.sol-caps.services strong { font-size: 18px; }
.sol-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.sol-list, .sol-outcomes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sol-list li, .sol-outcomes li { position: relative; padding-left: 24px; font-size: 15.5px; color: var(--ink-soft); }
.sol-list li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-ai); }
.sol-outcomes li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--azure); }
.sol-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sol-chips span { padding: 7px 13px; font-size: 13px; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; }
.sol-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.sol-pager a { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink); font-weight: 600; transition: border-color .2s ease, background .2s ease; }
.sol-pager a:hover { border-color: var(--azure-bright); background: rgba(40, 153, 245, 0.06); }
.sol-pager a.next { justify-content: flex-end; text-align: right; }
.sol-pager small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.sol-pager svg { width: 18px; height: 18px; flex: none; color: var(--azure); }

/* ---------- Industry & cloud page blocks ---------- */
.challenge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.challenge .num { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--azure-text); margin-bottom: 12px; }
.usecase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.usecase-tag { display: inline-block; align-self: flex-start; padding: 5px 11px; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--azure-text); background: rgba(0, 120, 212, 0.08); border-radius: 999px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why .solution-icon { margin-bottom: 18px; }
.approach-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.step-num { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-cta); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 6px 16px -6px rgba(0, 120, 212, 0.6); }
.steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--ink-soft); }
.azure-aside { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px 28px; background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); }
.azure-aside h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.azure-aside .sol-chips { margin-bottom: 24px; }
.azure-aside .sol-chips span { color: #fff; background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.18); }
.azure-aside .btn { width: 100%; justify-content: center; }
.faq details { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 12px 0; }
.faq details:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-weight: 700; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }

/* ---------- Article ---------- */
.article-head { background: var(--navy-950); color: #fff; padding: 40px 0 64px; }
.article-head .insight-meta { color: rgba(255, 255, 255, 0.6); }
.article-head .insight-cat { color: var(--cyan); }
.article-head h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; max-width: 860px; margin-bottom: 18px; }
.article-head .lead { font-size: 18px; color: rgba(255, 255, 255, 0.75); max-width: 760px; margin-bottom: 14px; }
.article-head .byline { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding: 56px 24px 80px; align-items: start; }
.article-body { font-size: 17px; line-height: 1.75; color: var(--ink); max-width: 720px; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { font-size: 26px; font-weight: 800; margin: 44px 0 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.article-body h3 { font-size: 19px; font-weight: 700; margin: 28px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.article-toc { padding: 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.article-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.article-toc a { display: block; font-size: 14px; color: var(--ink-soft); padding-left: 12px; border-left: 2px solid var(--line); transition: color .2s ease, border-color .2s ease; }
.article-toc a:hover, .article-toc a.is-active { color: var(--azure-text); border-color: var(--azure); }
.aside-cta { padding: 26px 24px; background: var(--navy-900); color: #fff; border-radius: var(--radius-md); }
.aside-cta h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.aside-cta p { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-bottom: 18px; }
.aside-cta .btn { width: 100%; justify-content: center; }

/* ---------- Resources ---------- */
.resource-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.resource-wrap + .resource-wrap { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.resource-card { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
.resource-card h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; }
.resource-card .lead { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 10px; }
.resource-card .audience { font-size: 14px; color: var(--ink-faint); margin-bottom: 20px; }
.resource-cover { aspect-ratio: 1 / 1.38; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 20px; background: var(--navy-950); color: #fff; border-radius: 12px; box-shadow: 0 24px 50px -20px rgba(10, 22, 40, 0.6); position: relative; overflow: hidden; }
.resource-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 100% 0%, rgba(0, 120, 212, 0.5), transparent 70%), radial-gradient(ellipse 60% 40% at 0% 100%, rgba(124, 106, 232, 0.4), transparent 70%); }
.resource-cover > * { position: relative; z-index: 1; }
.resource-cover span { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--cyan); }
.resource-cover strong { font-size: 17px; font-weight: 800; line-height: 1.25; }
.gate-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.gate-form .form-intro { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 20px; }
.download-ready[hidden] { display: none !important; }
.download-ready { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.download-ready .btn { flex: 1 1 auto; justify-content: center; }

/* ---------- Forms ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-error { color: #a3271d; background: rgba(204, 50, 38, 0.08); border-color: rgba(204, 50, 38, 0.3); }
button[aria-busy="true"] { opacity: .7; cursor: progress; }
.footer-sub { margin-top: 22px; }
.footer-contact { margin-top: 10px; font-size: 14px; }
.footer-contact a { color: var(--cyan); }
.footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; }

/* ---------- Floating assistant widget ---------- */
.ai-panel[hidden] { display: none !important; }
.ai-widget { position: fixed; right: 20px; bottom: 20px; z-index: 400; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ai-fab {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px;
  background: var(--grad-cta); color: #fff; border: 0; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  box-shadow: 0 10px 28px -8px rgba(0, 120, 212, 0.75); transition: transform .2s ease, box-shadow .2s ease;
}
.ai-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(0, 120, 212, 0.85); }
.ai-fab-icon { display: grid; place-items: center; width: 26px; height: 26px; }
.ai-fab-icon svg { width: 24px; height: 24px; }
.ai-widget.is-open .ai-fab-label { display: none; }
.ai-panel {
  width: min(400px, calc(100vw - 40px)); height: min(640px, calc(100vh - 110px));
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(6, 13, 26, 0.5); overflow: hidden;
  order: -1; animation: ai-in .25s ease;
}
@keyframes ai-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ai-head { display: flex; align-items: flex-start; gap: 10px; padding: 16px 16px 12px; background: var(--navy-950); color: #fff; }
.ai-head-text { flex: 1; min-width: 0; }
.ai-head h2 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.ai-head p { font-size: 12.5px; color: rgba(255, 255, 255, 0.65); }
.ai-icon-btn { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: #fff; }
.ai-icon-btn svg { width: 16px; height: 16px; }
.ai-icon-btn:hover { background: rgba(255, 255, 255, 0.14); }
.ai-note { padding: 10px 16px; font-size: 12px; color: var(--ink-faint); background: #eef4fa; border-bottom: 1px solid var(--line); }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.ai-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.2px; line-height: 1.55; word-wrap: break-word; }
.ai-assistant { align-self: flex-start; background: #f1f5fa; color: var(--ink); border-bottom-left-radius: 6px; }
.ai-user { align-self: flex-end; background: var(--grad-cta); color: #fff; border-bottom-right-radius: 6px; }
.ai-msg a { color: var(--azure-text); text-decoration: underline; text-underline-offset: 2px; }
.ai-link { display: inline-block; margin-top: 6px; font-weight: 600; text-decoration: none !important; }
.ai-typing span { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--ink-faint); animation: ai-dot 1s infinite ease-in-out; }
.ai-typing span:nth-child(2) { animation-delay: .15s; } .ai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ai-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.ai-chip { padding: 7px 12px; font-size: 12.5px; font-weight: 500; color: var(--azure-text); background: rgba(0, 120, 212, 0.07); border: 1px solid rgba(0, 120, 212, 0.2); border-radius: 999px; text-align: left; }
.ai-chip:hover { background: rgba(0, 120, 212, 0.14); }
.ai-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.ai-form input { flex: 1; min-width: 0; padding: 11px 14px; font: inherit; font-size: 14.5px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fbfdfe; }
.ai-form input:focus { outline: none; border-color: var(--azure-bright); box-shadow: 0 0 0 3px rgba(40, 153, 245, 0.18); }
.ai-send { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--grad-cta); color: #fff; }
.ai-send svg { width: 18px; height: 18px; }
.ai-links { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 4px 16px 8px; font-size: 12.5px; }
.ai-links a { font-weight: 600; }
.ai-disclaimer { padding: 0 16px 12px; font-size: 11px; color: var(--ink-faint); }
.ai-lead { display: flex; gap: 6px; margin-top: 10px; }
.ai-lead input { flex: 1; min-width: 0; padding: 9px 12px; font: inherit; font-size: 13.5px; border: 1px solid var(--line-strong); border-radius: 999px; }
.ai-lead .btn { padding: 9px 14px; font-size: 13.5px; }
.ai-ok { margin-top: 8px; font-size: 13px; color: #0c7a49; font-weight: 600; }
@media (max-width: 520px) {
  .ai-widget { right: 12px; bottom: 12px; left: 12px; align-items: stretch; }
  .ai-fab { align-self: flex-end; }
  .ai-panel { width: 100%; height: min(600px, calc(100vh - 90px)); }
}
@media print { .ai-widget { display: none; } }

/* ---------- Responsive for new layouts ---------- */
@media (max-width: 1024px) {
  .industries-grid, .sol-caps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-wrap, .resource-wrap { grid-template-columns: 1fr; gap: 40px; }
  .azure-aside { position: static; }
  .article-wrap { grid-template-columns: 1fr; gap: 40px; }
  .article-aside { position: static; }
  .article-toc { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .industries-grid, .insights-grid, .sol-caps, .challenge-grid, .usecase-grid, .why-grid { grid-template-columns: 1fr; }
  .sol-two { grid-template-columns: 1fr; gap: 32px; }
  .sol-pager { grid-template-columns: 1fr; }
  .sol-pager a.next { justify-content: space-between; }
  .resource-card { grid-template-columns: 1fr; }
  .resource-cover { max-width: 200px; }
  .page-hero-inner { padding: 40px 0 56px; }
  .footer-top { grid-template-columns: 1fr; }
}
