/* ==========================================================================
   Vardhayan Technologies — site design system
   Brand: ink navy + signal blue/cyan + steel (from the folded "V" logo).
   Type: Archivo — expanded width for display, normal width for text.
   Colours below are overridden at runtime from Admin › Settings › Branding.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff") format("woff");
  font-weight: 400 700;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #060A14;
  --ink-2: #0C1426;
  --ink-3: #15203A;
  --blue: #0A6CFF;
  --cyan: #14D2FF;
  --steel: #A8B0BE;
  --paper: #F3F5F9;
  --white: #FFFFFF;
  --text: #0B1324;
  --text-2: #475268;
  --line: #DDE3EC;
  --line-dark: rgba(168, 176, 190, .18);
  --on-dark: #E9EDF4;
  --on-dark-2: #A3ADBF;
  --blue-strong: color-mix(in srgb, var(--blue) 84%, #000);
  --blue-soft: color-mix(in srgb, var(--blue) 9%, #fff);
  --success: #0F8A5F;
  --danger: #C2283A;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wide: 118%;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 18px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --shadow: 0 1px 2px rgba(6, 10, 20, .06), 0 8px 24px -12px rgba(6, 10, 20, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cyan); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4, .display { font-stretch: var(--wide); font-weight: 650; line-height: 1.1; letter-spacing: -.012em; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
.display { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.02; letter-spacing: -.022em; font-weight: 680; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.2; letter-spacing: -.005em; }
h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-2); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; color: var(--blue-strong); margin-bottom: 18px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.on-dark .kicker, .kicker.on-dark { color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--blue-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-sm); border: 1px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--b); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--blue) 70%, #000); }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--white); }
.btn-outline:hover { border-color: var(--text); }
.on-dark .btn-outline, .btn-outline.on-dark { background: transparent; color: var(--on-dark); border-color: rgba(168, 176, 190, .4); }
.on-dark .btn-outline:hover, .btn-outline.on-dark:hover { border-color: var(--on-dark); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--blue-strong); }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.on-dark .text-link { color: var(--cyan); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--ink) 94%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > ul { display: flex; list-style: none; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--on-dark); text-decoration: none; font-size: .96875rem; font-weight: 500; background: none; border: 0; }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 0; background: none; }
.nav-link .icon { width: 16px; height: 16px; opacity: .7; transition: transform .2s; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -16px; width: 440px; padding: 10px; border-radius: var(--r);
  background: var(--ink-2); border: 1px solid var(--line-dark); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--on-dark); }
.dropdown a:hover { background: rgba(255, 255, 255, .05); }
.dropdown .d-icon { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: rgba(20, 210, 255, .08); color: var(--cyan); }
.dropdown strong { display: block; font-weight: 600; font-size: .96875rem; color: #fff; }
.dropdown span { display: block; font-size: .875rem; color: var(--on-dark-2); line-height: 1.4; margin-top: 2px; }
.dropdown .d-all { display: flex; justify-content: space-between; margin-top: 4px; border-top: 1px solid var(--line-dark); border-radius: 0; padding-top: 14px; font-weight: 600; color: var(--cyan); font-size: .9375rem; }
.header-cta { display: flex; gap: 10px; margin-left: 12px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line-dark); background: transparent; color: #fff; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 1140px) {
  .header-cta .btn-outline { display: none; }
  .nav-link { padding: 10px 9px; }
}
@media (max-width: 1000px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0; z-index: 99; display: block; overflow-y: auto; padding: 16px var(--gutter) 40px;
    background: var(--ink); border-top: 1px solid var(--line-dark); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav-link[aria-current="page"] { box-shadow: none; color: var(--cyan); }
  .dropdown { position: static; width: auto; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 12px; }
  .has-dropdown.open .dropdown { display: block; }
  .header-cta { flex-direction: column; margin: 24px 0 0; }
  .header-cta .btn-outline { display: inline-flex; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.on-dark { background: var(--ink); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark .display { color: #fff; }
.on-dark .lead, .on-dark .muted { color: var(--on-dark-2); }
.on-dark a:not(.btn) { color: var(--cyan); }

.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); isolation: isolate; }
.hero::before { /* faint engineering grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(168, 176, 190, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 176, 190, .06) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .lead { margin: 22px 0 34px; }
.hero-copy .display { max-width: 17ch; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; font-size: .9375rem; color: var(--on-dark-2); list-style: none; }
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note .icon { color: var(--cyan); width: 18px; height: 18px; }

/* The fold: two planes echoing the logo's V, set behind the product console */
.fold { position: absolute; z-index: -1; pointer-events: none; }
.fold-blue { width: 46%; height: 150%; right: 18%; top: -30%; background: linear-gradient(170deg, var(--cyan) 0%, var(--blue) 55%, color-mix(in srgb, var(--blue) 50%, var(--ink)) 100%); transform: skewX(-28deg); opacity: .16; }
.fold-steel { width: 26%; height: 150%; right: -6%; top: -30%; background: linear-gradient(180deg, #E4E7EC, var(--steel) 55%, #5E6676); transform: skewX(28deg); opacity: .09; }

/* ---------- Product console (interactive preview) ---------- */
.console { position: relative; }
.console-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); width: max-content; max-width: 100%; margin-bottom: 14px; overflow-x: auto; }
.console-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 7px; border: 0; background: transparent; color: var(--on-dark-2); font-size: .9375rem; font-weight: 500; white-space: nowrap; }
.console-tab .icon { width: 17px; height: 17px; }
.console-tab[aria-selected="true"] { background: var(--white); color: var(--ink); }
.console-tab:not([aria-selected="true"]):hover { color: #fff; }
.window { border-radius: 14px; background: #0E1729; border: 1px solid rgba(168, 176, 190, .22); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid rgba(168, 176, 190, .14); background: #0B1322; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2A3550; }
.window-url { flex: 1; font-size: .78rem; color: #7D889E; background: #121C31; border-radius: 6px; padding: 5px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app { display: grid; grid-template-columns: 52px 1fr; min-height: 380px; font-size: .8125rem; color: #C9D1DF; }
.app-rail { background: #0B1322; border-right: 1px solid rgba(168, 176, 190, .1); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; }
.app-rail span { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: #6F7B93; }
.app-rail span.on { background: rgba(20, 210, 255, .12); color: var(--cyan); }
.app-rail .icon { width: 17px; height: 17px; }
.app-main { padding: 18px; display: grid; gap: 14px; align-content: start; }
.app-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.app-head b { font-size: .95rem; color: #fff; font-weight: 600; font-stretch: var(--wide); }
.app-head small { color: #7D889E; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: #121C31; border: 1px solid rgba(168, 176, 190, .1); border-radius: 9px; padding: 11px 12px; }
.kpi small { display: block; color: #7D889E; font-size: .72rem; }
.kpi b { display: block; font-size: 1.3rem; color: #fff; font-weight: 650; font-stretch: var(--wide); margin-top: 2px; }
.kpi em { font-style: normal; font-size: .72rem; color: #4ADE9C; }
.panel { background: #121C31; border: 1px solid rgba(168, 176, 190, .1); border-radius: 9px; padding: 12px; }
.panel-title { display: flex; justify-content: space-between; color: #9AA5BA; font-size: .74rem; margin-bottom: 8px; }
.rows { display: grid; gap: 2px; }
.row { display: grid; grid-template-columns: 50px 1fr auto; gap: 10px; align-items: center; padding: 7px 4px; border-bottom: 1px solid rgba(168, 176, 190, .07); }
.row:last-child { border-bottom: 0; }
.row code { font-family: inherit; color: #7D889E; font-size: .74rem; }
.row span { color: #DCE2EE; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font-style: normal; display: inline-block; font-size: .68rem; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: rgba(168, 176, 190, .12); color: #B8C1D1; white-space: nowrap; }
.pill.blue { background: rgba(10, 108, 255, .2); color: #8CBBFF; }
.pill.green { background: rgba(74, 222, 156, .14); color: #69E5AE; }
.pill.amber { background: rgba(251, 191, 36, .14); color: #F8CF5F; }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; padding-top: 6px; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--cyan), var(--blue)); opacity: .85; }
.bars i:nth-child(even) { opacity: .5; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.dots i { aspect-ratio: 1; border-radius: 3px; background: rgba(74, 222, 156, .55); }
.dots i.a { background: rgba(239, 68, 68, .55); }
.dots i.l { background: rgba(251, 191, 36, .6); }
.meter { height: 8px; border-radius: 99px; background: rgba(168, 176, 190, .14); overflow: hidden; margin: 8px 0 6px; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.app-view[hidden] { display: none; }
.app-view { animation: viewIn .35s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section.tight { padding: calc(var(--section) * .7) 0; }
.bg-paper { background: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin: 0; max-width: 24ch; }
.section-head p { margin: 0; }
.section-head.stack { grid-template-columns: 1fr; max-width: 760px; }
.section-head .actions { justify-self: end; }

/* Proof band (key figures) */
.proof { border-top: 1px solid var(--line-dark); }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 34px 24px 34px 0; }
.figure + .figure { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.figure b { display: block; font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 650; font-stretch: var(--wide); color: #fff; line-height: 1; letter-spacing: -.02em; }
.figure span { display: block; margin-top: 10px; color: var(--on-dark-2); font-size: .9375rem; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; padding: 28px 0 8px; border-top: 1px solid var(--line-dark); }
.logos-label { color: var(--on-dark-2); font-size: .9375rem; }
.logos img { height: 34px; width: auto; filter: grayscale(1) brightness(1.8); opacity: .75; }
.logos .logo-text { font-weight: 650; font-stretch: var(--wide); color: var(--on-dark-2); }

/* Product rows */
.product-list { display: grid; gap: 20px; }
.product-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px 56px; padding: clamp(28px, 4vw, 44px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.product-row::before { content: ""; position: absolute; left: clamp(28px, 4vw, 44px); top: -1px; width: 96px; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--blue) 60%, var(--steel) 60%); }
.product-row .p-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--cyan); margin-bottom: 22px; }
.product-row .p-icon .icon { width: 26px; height: 26px; }
.product-row h3 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); margin-bottom: 10px; }
.product-row h3 a { color: inherit; text-decoration: none; }
.product-row h3 a::after { content: ""; position: absolute; inset: 0; }
.product-row .tagline { color: var(--blue-strong); font-weight: 600; margin-bottom: 12px; }
.product-row .btn-row, .product-row .text-link { position: relative; z-index: 1; }
.product-row:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.module-list { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; list-style: none; }
.module-list li { padding: 7px 12px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-size: .875rem; color: var(--text-2); }
.module-label { font-size: .875rem; font-weight: 600; color: var(--text-2); margin: 0 0 12px; }

/* Service grid */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-cell { position: relative; padding: clamp(28px, 3.5vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .2s; }
.service-cell:hover { background: var(--blue-soft); }
.service-cell .s-icon { color: var(--blue-strong); margin-bottom: 20px; }
.service-cell .s-icon .icon { width: 32px; height: 32px; stroke-width: 1.4; }
.service-cell h3 a { color: inherit; text-decoration: none; }
.service-cell h3 a::after { content: ""; position: absolute; inset: 0; }
.service-cell p { color: var(--text-2); margin-bottom: 18px; }
.tech { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; font-size: .875rem; color: var(--text-2); }
.tech li::before { content: "/ "; color: var(--steel); }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); transition: border-color .2s; }
.industry:hover { border-color: var(--blue); }
.industry .icon { width: 28px; height: 28px; color: var(--blue-strong); margin-top: 2px; }
.industry strong { display: block; font-size: 1.125rem; font-stretch: var(--wide); font-weight: 600; margin-bottom: 4px; }
.industry span { display: block; color: var(--text-2); font-size: .9375rem; line-height: 1.5; }

/* Process (a real sequence, so numbered) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; list-style: none; }
.step { position: relative; padding: 28px 28px 8px 0; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-size: .9375rem; font-weight: 600; color: var(--cyan); margin-bottom: 40px; }
.step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); }
.step:first-child::after { background: linear-gradient(90deg, var(--cyan), var(--line-dark)); }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--on-dark-2); font-size: .96875rem; }
.light-steps .step::before { color: var(--blue-strong); }
.light-steps .step::after { background: var(--line); }
.light-steps .step p { color: var(--text-2); }

/* Why / point lists */
.two-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky-col { position: sticky; top: 112px; }
.points { display: grid; gap: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.points li:first-child { padding-top: 0; }
.points .icon { color: var(--blue-strong); width: 24px; height: 24px; margin-top: 2px; }
.points h3 { font-size: 1.15rem; margin-bottom: 6px; }
.points p { margin: 0; color: var(--text-2); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 32px; }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature h3 { font-size: 1.0625rem; font-stretch: 100%; font-weight: 650; margin: 14px 0 8px; letter-spacing: 0; }
.feature p { color: var(--text-2); font-size: .96875rem; margin: 0; }
.feature .f-mark { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-strong); }
.feature .f-mark .icon { width: 20px; height: 20px; }
.on-dark .feature p { color: var(--on-dark-2); }
.on-dark .feature .f-mark { background: rgba(20, 210, 255, .1); color: var(--cyan); }

/* Cards (blog, portfolio) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--ink); margin-bottom: 18px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-meta { font-size: .875rem; color: var(--text-2); margin-bottom: 8px; }
.card-meta a { color: var(--blue-strong); text-decoration: none; font-weight: 600; position: relative; z-index: 1; }
.card h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 10px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a { color: var(--blue-strong); }
.card p { color: var(--text-2); font-size: .96875rem; margin: 0; }
.cover-art { width: 100%; height: 100%; display: grid; place-items: end start; padding: 22px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--blue) 70%, transparent), transparent 60%), linear-gradient(160deg, var(--ink-3), var(--ink)); }
.cover-art::before { content: ""; position: absolute; width: 60%; height: 160%; right: 8%; top: -30%; background: linear-gradient(170deg, var(--cyan), var(--blue)); transform: skewX(-28deg); opacity: .28; }
.cover-art::after { content: ""; position: absolute; width: 30%; height: 160%; right: -12%; top: -30%; background: linear-gradient(180deg, #E4E7EC, var(--steel)); transform: skewX(28deg); opacity: .14; }
.cover-art .icon { position: relative; z-index: 1; width: 40px; height: 40px; color: var(--cyan); }
.cover-art b { position: relative; z-index: 1; font-stretch: var(--wide); font-weight: 600; font-size: 1.05rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; padding: 32px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 24px; font-size: 1.0625rem; line-height: 1.6; flex: 1; }
.quote figcaption { display: flex; gap: 12px; align-items: center; font-size: .9375rem; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; }
.quote figcaption span { color: var(--text-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--blue-strong); transition: transform .2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--text-2); max-width: 75ch; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px); background: var(--ink); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; max-width: 22ch; }
.cta-band p { color: var(--on-dark-2); margin: 0; max-width: 56ch; }
.cta-band .fold-blue { width: 34%; right: 4%; opacity: .22; }
.cta-band .fold-steel { width: 18%; right: -8%; opacity: .1; }
.cta-band .btn-row { flex-direction: column; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.page-hero .fold-blue { width: 30%; right: 2%; opacity: .14; }
.page-hero .fold-steel { width: 16%; right: -7%; opacity: .08; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 18px; }
.page-hero .btn-row { margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .875rem; color: var(--on-dark-2); margin-bottom: 26px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: #4E5A72; }
.crumbs a { color: var(--on-dark-2) !important; text-decoration: none; }
.crumbs a:hover { color: #fff !important; }
.crumbs [aria-current] { color: var(--on-dark); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }

/* Product detail */
.subnav { position: sticky; top: 76px; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav ul a { display: block; padding: 16px 14px; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .9375rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav ul a:hover { color: var(--text); border-color: var(--line); }
.subnav .btn { margin: 6px 0 6px auto; }
.subnav-inner { display: flex; align-items: center; gap: 12px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
.benefit { background: var(--ink); padding: 32px 28px; }
.benefit h3 { font-size: 1.2rem; margin-bottom: 10px; }
.benefit p { color: var(--on-dark-2); margin: 0; font-size: .96875rem; }
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.usecase { padding: 28px; border-radius: var(--r); background: var(--paper); }
.usecase h3 { font-size: 1.15rem; }
.usecase p { color: var(--text-2); margin: 0; }
.aside-box { padding: 28px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.aside-box h3 { font-size: 1.1rem; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.checklist .icon { width: 20px; height: 20px; color: var(--blue-strong); margin-top: 3px; }
.on-dark .checklist .icon { color: var(--cyan); }

/* Prose (rich text from the CMS) */
.prose { max-width: 70ch; font-size: 1.0625rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--blue); font-size: 1.15rem; color: var(--text); }
.prose img { border-radius: var(--r); margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96875rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; }
.prose pre { background: var(--ink); color: var(--on-dark); padding: 18px; border-radius: var(--r); overflow-x: auto; font-size: .9rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* Article */
.article-head > * { max-width: 860px; }
.article-head h1 { max-width: 24ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--on-dark-2); font-size: .9375rem; margin-top: 22px; }
.article-cover { margin-top: -48px; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); color: var(--text-2); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip[aria-current="true"], .chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-inline { display: flex; gap: 8px; margin-left: auto; }
.search-inline input { min-height: 42px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); min-width: 220px; }

/* Careers */
.jobs { display: grid; gap: 12px; }
.job { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.job:hover { border-color: var(--blue); }
.job h3 { font-size: 1.2rem; margin-bottom: 6px; }
.job h3 a { color: inherit; text-decoration: none; }
.job h3 a::after { content: ""; position: absolute; inset: 0; }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--text-2); font-size: .9375rem; list-style: none; }
.job-meta li { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .icon { width: 16px; height: 16px; color: var(--steel); }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .9375rem; }
.field .req { color: var(--danger); }
.field .hint { font-size: .8125rem; color: var(--text-2); font-weight: 400; }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #C5CDDA; border-radius: var(--r-sm); background: var(--white); transition: border-color .15s, box-shadow .15s; }
textarea.input { min-height: 132px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475268' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.input:hover { border-color: #9AA6B8; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.error { color: var(--danger); font-size: .875rem; font-weight: 500; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .9375rem; color: var(--text-2); font-weight: 400 !important; align-items: start; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot small { color: var(--text-2); }
.alert { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 22px; font-size: .9375rem; }
.alert-error { background: #FDECEE; color: #8A1C2B; border: 1px solid #F5C2C9; }
.alert-success { background: #E7F6EF; color: #0B5E41; border: 1px solid #B7E3CE; }
.file-drop { position: relative; border: 1.5px dashed #B6C0CF; border-radius: var(--r); padding: 22px; text-align: center; color: var(--text-2); background: var(--paper); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop:focus-within { border-color: var(--blue); }
.file-drop b { color: var(--blue-strong); }
.contact-list { list-style: none; display: grid; gap: 22px; margin-top: 36px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .c-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-strong); display: grid; place-items: center; }
.contact-list small { display: block; color: var(--text-2); font-size: .875rem; }
.contact-list a, .contact-list span { color: var(--text); font-weight: 600; text-decoration: none; }
.map { margin-top: 32px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); font-size: .9375rem; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 44px 0; border-bottom: 1px solid var(--line-dark); }
.footer-cta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 6px; color: #fff; }
.footer-cta p { margin: 0; }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding: 56px 0 44px; }
.footer-cta + .footer-main { padding-top: 56px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 36ch; }
.footer-col h3 { font-size: .9375rem; font-stretch: 100%; color: #fff; font-weight: 600; letter-spacing: 0; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.site-footer a:not(.btn) { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; }
.footer-contact { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--cyan); margin-top: 3px; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.socials a:hover { border-color: var(--cyan); color: var(--cyan); }
.socials .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid var(--line-dark); font-size: .875rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 99px; background: #128C4A; color: #fff !important; text-decoration: none; font-weight: 600; font-size: .9375rem; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); }
.wa-float:hover { background: #0E7A40; }
.wa-float .icon { width: 22px; height: 22px; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 48px; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 500; }
.pagination [aria-current] span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .disabled span { color: #A0A9B8; }

/* Empty state */
.empty { padding: 48px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); text-align: center; color: var(--text-2); }
.empty h3 { color: var(--text); }

/* Thank you / error */
.center-hero { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.center-hero .lead { margin: 18px auto 32px; }
.center-hero .btn-row { justify-content: center; }
.big-code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; font-stretch: var(--wide); line-height: 1; background: linear-gradient(170deg, var(--cyan), var(--blue) 60%, var(--steel)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tick { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px; background: rgba(20, 210, 255, .12); color: var(--cyan); }
.tick .icon { width: 36px; height: 36px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .hero-split { grid-template-columns: 1fr; }
  .hero-copy .display { max-width: 18ch; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 860px) {
  .section-head, .two-col, .form-shell, .product-row { grid-template-columns: 1fr; }
  .section-head .actions { justify-self: start; }
  .sticky-col { position: static; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .service-grid, .industry-grid, .card-grid, .quotes, .usecases, .feature-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { flex-direction: row; }
  .search-inline { margin-left: 0; width: 100%; }
  .search-inline input { flex: 1; min-width: 0; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .service-grid, .industry-grid, .card-grid, .quotes, .usecases, .feature-grid, .feature-grid.cols-3, .benefit-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .figure { padding: 24px 12px 24px 0; }
  .figure + .figure { padding-left: 16px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis .kpi:nth-child(3) { display: none; }
  .split { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-rail { display: none; }
  .job { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .btn-row .btn { flex: 1 1 auto; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .faq .answer { padding-right: 0; }
  .subnav .btn { display: none; }
  .product-row .module-list li:nth-child(n+7):not(:last-child) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .wa-float, .subnav, .cta-band { display: none !important; }
  .on-dark { background: #fff !important; color: #000 !important; }
}
