/* ══════════════════════════════════════════════════════════════════════
   ADRISHTA LABS — Static corporate site
   Hand-written CSS. No framework, no build step, no dependencies.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Design tokens ──────────────────────────────────────────────────── */
:root {
  --bg:            #0B0F19;
  --bg-elevated:   #0F1421;
  --bg-card:       #151C2C;
  --bg-surface:    #1A2332;

  --violet:        #7C5CFF;
  --violet-soft:   #A78BFA;
  --cyan:          #00D4FF;

  /* Button fills are a shade deeper than the accent so white label text
     clears WCAG AA (4.5:1). The accent itself is unchanged. */
  --violet-btn:       #795AF9;
  --violet-btn-hover: #6A4FE0;

  --text:          #E6EDF3;
  --muted:         #8B949E;
  --muted-light:   #B0BAC5;
  --border:        #21262D;
  --border-light:  #30363D;

  --font-heading: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 0;
}

p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

::selection { background: rgba(124, 92, 255, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Keyboard-only skip link — off-screen until focused */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--violet-btn);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ── Layout primitives ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section--tight { padding: 96px 0; }

.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--border) 22%, rgba(124,92,255,0.28) 50%, var(--border) 78%, transparent 100%);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  max-width: 22ch;
}

.section-lead {
  margin-top: 22px;
  max-width: 62ch;
  font-size: 1.0625rem;
  color: var(--muted-light);
}

.text-gradient {
  background: linear-gradient(120deg, var(--violet) 0%, var(--violet-soft) 45%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease, color 0.2s ease;
}

.btn svg { flex: none; transition: transform 0.3s var(--ease); }

.btn--primary {
  background: var(--violet-btn);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 92, 255, 0.28);
}
.btn--primary:hover {
  background: var(--violet-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(124, 92, 255, 0.36);
}
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost {
  border-color: var(--border-light);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.07);
  transform: translateY(-2px);
}

.btn--sm { padding: 11px 20px; font-size: 0.875rem; }

/* ── Navigation ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(11, 15, 25, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.is-scrolled {
  background: rgba(11, 15, 25, 0.94);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand__mark { transform: scale(1.06); }
.brand__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9688rem;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--text);
  background: rgba(124, 92, 255, 0.1);
}

.nav__sep {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 10px;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav__toggle:hover { color: var(--text); border-color: var(--border-light); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer.is-open { visibility: visible; opacity: 1; }

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(300px, 84vw);
  height: 100%;
  padding: 22px;
  background: rgba(26, 35, 50, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.drawer__close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.drawer__close:hover { color: var(--text); }

.drawer__link {
  display: block;
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.drawer__link:hover { color: var(--text); background: rgba(124, 92, 255, 0.1); }

.drawer__cta {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.drawer__cta .btn { width: 100%; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 108px 0 80px;
  overflow: hidden;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 78% 58% at 50% -8%, rgba(124, 92, 255, 0.20) 0%, transparent 62%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.22;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 0%, transparent 78%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.5;
}
.hero__orb--a {
  top: 24%; left: -14%;
  width: 560px; height: 560px;
  background: rgba(124, 92, 255, 0.20);
}
.hero__orb--b {
  bottom: -8%; right: -12%;
  width: 480px; height: 480px;
  background: rgba(0, 212, 255, 0.13);
}

.hero__content { position: relative; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: rgba(21, 28, 44, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.16);
}

/* 4.1rem keeps "Engineering Practical AI Products" on one line at desktop
   widths. At 4.5rem it wrapped, orphaning "Products" and pushing the
   portfolio strip below the fold on a 768px-tall laptop. */
.hero__title {
  margin-top: 26px;
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  letter-spacing: -0.035em;
}

.hero__lead {
  margin: 24px auto 0;
  max-width: 66ch;
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  color: var(--muted-light);
  line-height: 1.7;
}

/* ── Hero product portfolio strip ───────────────────────────────────── */
.hero-portfolio {
  max-width: 620px;
  margin: 30px auto 0;
  padding: 22px 0 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-portfolio__label {
  margin-bottom: 16px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(21, 28, 44, 0.42);
  text-align: left;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.hero-tile:hover {
  border-color: rgba(124, 92, 255, 0.4);
  background: rgba(21, 28, 44, 0.72);
}

.hero-tile__logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex: none;
}
.hero-tile__name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9063rem;
  letter-spacing: -0.012em;
  color: var(--text);
}
.hero-tile__desc {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-hint__rail {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--border-light), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint__rail::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 14px;
  background: var(--violet);
  animation: railDrop 2.4s var(--ease) infinite;
}

@keyframes railDrop {
  0%   { transform: translateY(-14px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(44px); opacity: 0; }
}

/* ── Cards / surfaces ───────────────────────────────────────────────── */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(21, 28, 44, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ── Our Products (at-a-glance, directly below the hero) ────────────── */
.portfolio__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

/* ── About ──────────────────────────────────────────────────────────── */
/* Constrain the copy, not the container, so it stays on the page gutter. */
.about__inner > * { max-width: 74ch; }

.portfolio-note {
  margin-top: 30px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--border-light);
  font-size: 0.9063rem;
  color: var(--muted);
}
.portfolio-note strong { color: var(--text); font-weight: 600; }

/* ── Product portfolio chart (parent → owned products) ──────────────── */
.orgchart {
  margin: 0;
  padding: 34px 30px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(124, 92, 255, 0.1) 0%, transparent 70%),
    rgba(21, 28, 44, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
}

.orgchart__caption {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.org-node {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 14px 20px;
  border: 1px solid var(--border-light);
  border-radius: 15px;
  background: rgba(11, 15, 25, 0.62);
  text-align: left;
}
.org-node__logo { border-radius: 10px; flex: none; }
.org-node__name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.012em;
  color: var(--text);
}
.org-node__role {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--muted);
}

.org-node--parent {
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 0 28px rgba(124, 92, 255, 0.12);
}

.org-node--child {
  display: flex;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--ease);
}
.org-node--child:hover {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(21, 28, 44, 0.85);
  transform: translateY(-2px);
}

/* connectors */
.org-stem {
  width: 1px;
  height: 22px;
  margin: 0 auto;
  background: var(--border-light);
}
.org-branch {
  position: relative;
  height: 22px;
  margin: 0 25%;
  border-top: 1px solid var(--border-light);
}
.org-branch::before,
.org-branch::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 22px;
  background: var(--border-light);
}
.org-branch::before { left: 0; }
.org-branch::after  { right: 0; }

.org-children {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.orgchart__foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ── Products ───────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 64px;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(26, 35, 50, 0.62) 0%, rgba(15, 20, 33, 0.5) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.product::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-line);
  opacity: 0.85;
}
.product::after {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--accent-glow);
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.product:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.product:hover::after { opacity: 0.85; }

.product > * { position: relative; }

.product--rank {
  --accent:        #7C5CFF;
  --accent-line:   linear-gradient(90deg, transparent, #7C5CFF 30%, #A78BFA 70%, transparent);
  --accent-glow:   rgba(124, 92, 255, 0.22);
  --accent-border: rgba(124, 92, 255, 0.42);
  --accent-tint:   rgba(124, 92, 255, 0.12);
}
.product--shield {
  --accent:        #00D4FF;
  --accent-line:   linear-gradient(90deg, transparent, #00D4FF 30%, #5EEAD4 70%, transparent);
  --accent-glow:   rgba(0, 212, 255, 0.18);
  --accent-border: rgba(0, 212, 255, 0.4);
  --accent-tint:   rgba(0, 212, 255, 0.1);
}

.product__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.product__logo {
  width: 54px; height: 54px;
  border-radius: 15px;
  flex: none;
}
.product__name {
  font-size: 1.5rem;
  letter-spacing: -0.022em;
}
.product__domain {
  display: block;
  margin-top: 3px;
  font-size: 0.8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.product__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 22px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product__desc {
  margin-top: 18px;
  color: var(--muted-light);
  font-size: 0.9688rem;
}

.product__label {
  margin: 32px 0 16px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 18px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--muted-light);
}
.feature-list svg { flex: none; margin-top: 4px; color: var(--accent); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(11, 15, 25, 0.5);
  font-size: 0.8125rem;
  color: var(--muted);
}

.product__note {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(11, 15, 25, 0.45);
  font-size: 0.8438rem;
  color: var(--muted);
  line-height: 1.6;
}
.product__note strong { color: var(--muted-light); font-weight: 600; }

.product__footer {
  margin-top: auto;
  padding-top: 32px;
}
.product__footer .btn { width: 100%; }
/* Cyan is too light to carry white text, so this button inverts:
   full-strength accent with dark label text (10.8:1). */
.product--shield .btn--primary {
  background: var(--cyan);
  color: #0B0F19;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.22);
}
.product--shield .btn--primary:hover {
  background: #22DDF5;
  box-shadow: 0 10px 32px rgba(0, 212, 255, 0.3);
}

/* ── Technology ─────────────────────────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 60px;
}
.tech {
  padding: 26px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(21, 28, 44, 0.4);
  transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.35s var(--ease);
}
.tech:hover {
  border-color: rgba(124, 92, 255, 0.32);
  background: rgba(21, 28, 44, 0.72);
  transform: translateY(-3px);
}
.tech__icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: rgba(124, 92, 255, 0.11);
  color: var(--violet-soft);
  margin-bottom: 18px;
}
.tech h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
}
.tech p { font-size: 0.8438rem; color: var(--muted); line-height: 1.6; }

/* ── Vision ─────────────────────────────────────────────────────────── */
.vision {
  position: relative;
  overflow: hidden;
}
.vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(124, 92, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.vision__inner { position: relative; text-align: center; }
.vision .section-title { margin: 0 auto; }
.vision .section-lead { margin-left: auto; margin-right: auto; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 60px;
  text-align: left;
}
.pillar {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(21, 28, 44, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.12);
  color: var(--violet-soft);
}
.pillar h3 {
  margin: 20px 0 10px;
  font-size: 1.25rem;
}
.pillar p { font-size: 0.9063rem; color: var(--muted); }

/* ── Payments ───────────────────────────────────────────────────────── */
.payments__card {
  padding: 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(26, 35, 50, 0.6) 0%, rgba(15, 20, 33, 0.45) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.payments__head { max-width: 68ch; }
.payments__head .section-title { max-width: 26ch; }

/* Scannable two-column checklist */
.check-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  margin-top: 44px;
}

.check-panel {
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(11, 15, 25, 0.5);
}
.check-panel--yes { border-color: rgba(0, 212, 255, 0.24); }

.check-panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.check-panel--yes .check-panel__title { color: var(--cyan); }

.check-list { display: grid; gap: 15px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9063rem;
  color: var(--muted-light);
  line-height: 1.55;
}
.check-list strong { color: var(--text); font-weight: 600; }

.check-mark {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border-radius: 50%;
}
.check-mark--yes { background: rgba(0, 212, 255, 0.14); color: var(--cyan); }
.check-mark--no  { background: rgba(139, 148, 158, 0.13); color: var(--muted); }

.payments__foot {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 78ch;
}
.payments__foot a {
  color: var(--muted-light);
  border-bottom: 1px solid var(--border-light);
}
.payments__foot a:hover { color: var(--text); border-bottom-color: var(--violet); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
  background: var(--bg-elevated);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 48px;
}
.footer__tagline {
  margin-top: 16px;
  font-size: 0.9063rem;
  color: var(--muted);
  max-width: 34ch;
}
.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer__links li + li { margin-top: 11px; }
.footer__links a {
  font-size: 0.9063rem;
  color: var(--muted-light);
}
.footer__links a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ── Scroll reveal ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }

/* No-JS fallback: content must always be visible */
.no-js .reveal { opacity: 1; transform: none; }

/* ── Scrollbar ──────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio__inner { gap: 44px; }
  .payments__card { padding: 40px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .section { padding: 88px 0; }
  .section--tight { padding: 72px 0; }

  .portfolio__inner,
  .product-grid,
  .pillar-grid,
  .check-grid { grid-template-columns: minmax(0, 1fr); }

  .portfolio__inner { gap: 40px; }
  .product-grid { gap: 22px; margin-top: 48px; }
  .pillar-grid { margin-top: 44px; }

  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .hero { padding-top: 128px; min-height: auto; }
  .hero__actions .btn { width: 100%; }
  .scroll-hint { display: none; }

  /* Portfolio tiles stack on mobile */
  .hero-portfolio__grid { grid-template-columns: minmax(0, 1fr); }

  .product { padding: 28px 24px; }
  .payments__card { padding: 28px 24px; }
  .pillar { padding: 26px 24px; }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .tech-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }

  .check-panel { padding: 22px 20px; }

  /* Org chart: stack the two products vertically on narrow screens */
  .orgchart { padding: 26px 18px 22px; }
  .org-children { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .org-branch {
    margin: 0 auto;
    width: 1px;
    height: 22px;
    border-top: 0;
    background: var(--border-light);
  }
  .org-branch::before, .org-branch::after { display: none; }
}

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

/* ── Print ──────────────────────────────────────────────────────────── */
@media print {
  .nav, .drawer, .scroll-hint, .hero__bg, .hero__orb { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
