/* ==========================================================================
   Manisri Technologies — manisritech.in
   One stylesheet, no build step. Sections:
   1 Fonts · 2 Tokens · 3 Base · 4 Layout · 5 Header · 6 Type & buttons
   7 Badges · 8 Hero & panel · 9 Cards & grids · 10 Page parts
   11 Illustrations · 12 Footer · 13 Motion · 14 Utilities
   ========================================================================== */

/* 1 Fonts ----------------------------------------------------------------- */

/* Inter Display SemiBold, Latin subset. SIL Open Font License: fonts/OFL.txt */
@font-face {
  font-family: "MT Display";
  src: url("fonts/InterDisplay-SemiBold-subset.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}

/* 2 Tokens ---------------------------------------------------------------- */

:root {
  --font-text: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "MT Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Code", "Roboto Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-label: 0.75rem;
  --fs-badge: 0.6875rem;
  --fs-sm: 0.875rem;
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.4vw, 4.25rem);
  --fs-display: clamp(2.625rem, 1.55rem + 4.6vw, 5.25rem);

  --gutter: clamp(20px, 5vw, 48px);
  --maxw: 1200px;
  --section-y: clamp(4rem, 2.5rem + 5vw, 8.5rem);
  --card-pad: clamp(20px, 1rem + 1.4vw, 32px);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-1: 140ms;
  --dur-2: 220ms;
  --dur-3: 420ms;

  /* Light theme */
  color-scheme: light;
  --bg: #F6F6F2;
  --bg-elev: #FFFFFF;
  --bg-sunk: #EDEDE7;
  --bg-header: rgba(246, 246, 242, 0.8);
  --panel-bg: rgba(255, 255, 255, 0.82);
  --ink: #0D1015;
  --ink-2: #454C56;
  --ink-3: #5F6670;
  --line: #DEDFD9;
  --line-strong: #C8CAC3;
  --hover: rgba(13, 16, 21, 0.045);
  --hover-strong: rgba(13, 16, 21, 0.075);
  --accent: #0A7357;
  --accent-hover: #075E47;
  --on-accent: #FFFFFF;
  --accent-soft: #DEF3EA;
  --accent-line: #A6DCC6;
  --focus: #0A7357;
  --selection: #BFE9D8;
  --glow: rgba(16, 170, 120, 0.16);
  --glow-2: rgba(214, 160, 50, 0.1);
  --lattice: rgba(13, 16, 21, 0.07);
  --sheen: rgba(255, 255, 255, 0.9);
  --dot: rgba(13, 16, 21, 0.09);

  --live-ink: #0A6B51;   --live-bg: #DEF3EA;   --live-line: #A6DCC6;
  --pilot-ink: #8A4F00;  --pilot-bg: #FBEFD8;  --pilot-line: #EBCB91;
  --dev-ink: #1D5DA6;    --dev-bg: #E3EDFA;    --dev-line: #B3CBEE;
  --svc-ink: #5A3DB0;    --svc-bg: #EEE9FB;    --svc-line: #CDC0F2;
  --res-ink: #454C56;    --res-line: #9AA0A8;
  --beta-ink: #5F6670;   --beta-bg: #EDEDE7;   --beta-line: #D3D5CF;

  --ill-surface: #FFFFFF;
  --ill-sunk: #F1F1EC;
  --ill-stroke: #B9BCB5;
  --ill-muted: #E4E5DF;
  --ill-muted-2: #D3D5CE;
  --ill-ink: #2A3039;
  --ill-grid: rgba(13, 16, 21, 0.06);
  --ill-bp: #7D848D;

  --gem-tl: #5AD8AE; --gem-t: #3BC69A; --gem-l: #2DB88D; --gem-tr: #20A580;
  --gem-bl: #169270; --gem-r: #0F7E61; --gem-b: #0B6A51; --gem-br: #075641;
  --gem-table: #8EEACB;

  --shadow-1: 0 1px 2px rgba(13, 16, 21, 0.04), 0 1px 1px rgba(13, 16, 21, 0.02);
  --shadow-2: 0 1px 2px rgba(13, 16, 21, 0.04), 0 14px 32px -16px rgba(13, 16, 21, 0.16);
  --shadow-3: 0 2px 6px rgba(13, 16, 21, 0.04), 0 30px 70px -30px rgba(13, 16, 21, 0.28);
  --inset: inset 0 1px 0 rgba(255, 255, 255, 0);
}

/* Dark theme is the default (owner, 26 Oct 2026). Light applies only when the visitor chooses it with the switch. */
:root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #08090C;
  --bg-elev: #111318;
  --bg-sunk: #0C0E12;
  --bg-header: rgba(8, 9, 12, 0.74);
  --panel-bg: rgba(17, 19, 24, 0.78);
  --ink: #ECEEF1;
  --ink-2: #AAB1BA;
  --ink-3: #8C939D;
  --line: #1E2229;
  --line-strong: #2B3039;
  --hover: rgba(255, 255, 255, 0.05);
  --hover-strong: rgba(255, 255, 255, 0.085);
  --accent: #3DD6A3;
  --accent-hover: #6BE3BA;
  --on-accent: #03130D;
  --accent-soft: rgba(61, 214, 163, 0.12);
  --accent-line: rgba(61, 214, 163, 0.32);
  --focus: #3DD6A3;
  --selection: rgba(61, 214, 163, 0.3);
  --glow: rgba(61, 214, 163, 0.2);
  --glow-2: rgba(242, 194, 106, 0.07);
  --lattice: rgba(255, 255, 255, 0.055);
  --sheen: rgba(255, 255, 255, 0.12);
  --dot: rgba(255, 255, 255, 0.07);

  --live-ink: #5CE3B6;   --live-bg: rgba(61, 214, 163, 0.12);   --live-line: rgba(61, 214, 163, 0.32);
  --pilot-ink: #F2C26A;  --pilot-bg: rgba(242, 194, 106, 0.12); --pilot-line: rgba(242, 194, 106, 0.32);
  --dev-ink: #80B6F7;    --dev-bg: rgba(128, 182, 247, 0.12);   --dev-line: rgba(128, 182, 247, 0.32);
  --svc-ink: #B9A6FF;    --svc-bg: rgba(185, 166, 255, 0.13);   --svc-line: rgba(185, 166, 255, 0.34);
  --res-ink: #B3BAC3;    --res-line: rgba(179, 186, 195, 0.45);
  --beta-ink: #AAB1BA;   --beta-bg: rgba(170, 177, 186, 0.1);   --beta-line: rgba(170, 177, 186, 0.24);

  --ill-surface: #151820;
  --ill-sunk: #0E1015;
  --ill-stroke: #363C46;
  --ill-muted: #232830;
  --ill-muted-2: #2F353F;
  --ill-ink: #D5DAE0;
  --ill-grid: rgba(255, 255, 255, 0.045);
  --ill-bp: #8C939D;

  --gem-tl: #B8F8E1; --gem-t: #8DEECC; --gem-l: #6BE3BB; --gem-tr: #4CD5A9;
  --gem-bl: #38C197; --gem-r: #27A781; --gem-b: #1C8D6C; --gem-br: #137258;
  --gem-table: #A6F4D9;

  --shadow-1: none;
  --shadow-2: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  --shadow-3: 0 40px 80px -32px rgba(0, 0, 0, 0.75);
  --inset: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}


/* 3 Base ------------------------------------------------------------------ */

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

html {
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-text);
  font-size: var(--fs-base);
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  overflow-wrap: break-word;
}

main {
  flex: 1 0 auto;
}

main:focus {
  outline: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent-hover);
}

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

::selection {
  background: var(--selection);
  color: var(--ink);
}

svg {
  flex-shrink: 0;
}

/* Inline sprite holder: kept rendered (not display:none) so symbols always resolve. */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.22em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 4 Layout ---------------------------------------------------------------- */

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2 * var(--gutter), 760px);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section--sunk {
  background: var(--bg-sunk);
}

.section--flush-top {
  padding-top: 0;
}

.section + .section--flush-top {
  border-top: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--bg);
}

/* 5 Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-header);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  padding: 6px 0;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: block;
  width: 28px;
  height: 28px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.012em;
  line-height: 1;
  white-space: nowrap;
}

.brand-name__b {
  color: var(--ink-2);
}

.g-tl { fill: var(--gem-tl); }
.g-t { fill: var(--gem-t); }
.g-l { fill: var(--gem-l); }
.g-tr { fill: var(--gem-tr); }
.g-bl { fill: var(--gem-bl); }
.g-r { fill: var(--gem-r); }
.g-b { fill: var(--gem-b); }
.g-br { fill: var(--gem-br); }
.g-table { fill: var(--gem-table); }
.g-glint { fill: #FFFFFF; fill-opacity: 0.38; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--hover);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--hover-strong);
}

.site-nav .nav-cta a {
  margin-left: 8px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.site-nav .nav-cta a:hover,
.site-nav .nav-cta a[aria-current="page"] {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}

.icon-btn:hover {
  color: var(--ink);
  background: var(--hover);
}

.icon-btn .icon {
  width: 20px;
  height: 20px;
}

.theme-toggle .i-sun {
  display: none;
}

:root:not([data-theme="light"]) .theme-toggle .i-sun {
  display: inline-block;
}

:root:not([data-theme="light"]) .theme-toggle .i-moon {
  display: none;
}

.menu-toggle .i-close,
.menu-toggle[aria-expanded="true"] .i-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .i-close {
  display: inline-block;
}

.no-js .theme-toggle,
.no-js .menu-toggle {
  display: none;
}

@media (min-width: 860px) {
  .menu-toggle {
    display: none;
  }

  .header-actions {
    order: 3;
  }
}

@media (max-width: 859.98px) {
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 10px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-3);
  }

  .js .site-nav[data-open] {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .js .site-nav a {
    display: flex;
    min-height: 52px;
    padding: 0 14px;
    border-radius: var(--r-md);
    font-size: 1.125rem;
  }

  .js .site-nav .nav-cta a {
    justify-content: center;
    margin: 12px 0 0;
  }

  .no-js .header-inner {
    flex-wrap: wrap;
    padding-bottom: 8px;
  }

  .no-js .site-nav {
    order: 3;
    width: 100%;
  }

  .no-js .site-nav ul {
    flex-wrap: wrap;
  }
}

/* 6 Type & buttons -------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--accent);
  transform: rotate(45deg);
}

.display {
  margin-top: 22px;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.title {
  margin-top: 18px;
  max-width: 20ch;
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 62ch;
  margin-top: 22px;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-2);
}

.muted {
  color: var(--ink-2);
}

.label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform var(--dur-2) var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn--secondary {
  background: var(--bg-elev);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--secondary:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}

.link-arrow .icon {
  width: 17px;
  height: 17px;
  transition: transform var(--dur-2) var(--ease);
}

.link-arrow:hover {
  text-decoration: underline;
}

/* 7 Badges ---------------------------------------------------------------- */

.badge {
  --b-ink: var(--res-ink);
  --b-bg: transparent;
  --b-line: var(--res-line);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px 0 9px;
  border: 1px solid var(--b-line);
  border-radius: var(--r-pill);
  background: var(--b-bg);
  color: var(--b-ink);
  font-family: var(--font-mono);
  font-size: var(--fs-badge);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}

.badge__glyph {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.badge--live { --b-ink: var(--live-ink); --b-bg: var(--live-bg); --b-line: var(--live-line); }
.badge--pilot { --b-ink: var(--pilot-ink); --b-bg: var(--pilot-bg); --b-line: var(--pilot-line); }
.badge--dev { --b-ink: var(--dev-ink); --b-bg: var(--dev-bg); --b-line: var(--dev-line); }
.badge--service { --b-ink: var(--svc-ink); --b-bg: var(--svc-bg); --b-line: var(--svc-line); }
.badge--research { border-style: dashed; }
.badge--beta { --b-ink: var(--beta-ink); --b-bg: var(--beta-bg); --b-line: var(--beta-line); padding: 0 9px; }

.badge--live .badge__glyph {
  background: currentColor;
}

.badge--live .badge__glyph::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0;
}

.badge--pilot .badge__glyph {
  border: 1.5px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.badge--dev .badge__glyph {
  border: 1.5px solid currentColor;
  background: conic-gradient(currentColor 0 25%, transparent 25% 100%);
}

.badge--service .badge__glyph {
  width: 7px;
  height: 7px;
  margin-inline: 0.5px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.badge--research .badge__glyph {
  border: 1.5px solid currentColor;
}

.badge--sm {
  height: 22px;
  padding: 0 8px 0 7px;
  gap: 6px;
  font-size: 0.625rem;
}

.badge--sm .badge__glyph {
  width: 7px;
  height: 7px;
}

.badge--inline {
  height: 20px;
  padding: 0 7px 0 6px;
  gap: 5px;
  margin-inline: 2px;
  font-size: 0.625rem;
  vertical-align: 0.12em;
}

.badge--inline .badge__glyph {
  width: 6px;
  height: 6px;
}

/* 8 Hero & panel ---------------------------------------------------------- */

.hero,
.page-head {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.hero {
  padding-block: clamp(44px, 2rem + 6vw, 128px) clamp(40px, 1.5rem + 3vw, 80px);
}

.page-head {
  padding-block: clamp(48px, 2rem + 5vw, 112px) clamp(40px, 2rem + 3.5vw, 88px);
  border-bottom: 1px solid var(--line);
}

.backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.backdrop__lattice {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--lattice);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 78% 18%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 78% 18%, #000 10%, transparent 72%);
}

.backdrop__glow {
  position: absolute;
  top: -42%;
  right: -18%;
  width: min(1100px, 130vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--glow), transparent 72%),
    radial-gradient(closest-side at 30% 70%, var(--glow-2), transparent 70%);
}

.page-head .backdrop__glow {
  top: -70%;
  right: -25%;
  width: min(900px, 120vw);
}

.hero__grid {
  display: grid;
  gap: clamp(44px, 5vw, 72px);
  align-items: center;
}

.hero__copy .lead {
  max-width: 56ch;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
}

.panel {
  position: relative;
  container-type: inline-size;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--panel-bg);
  box-shadow: var(--shadow-3), var(--inset);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 10px;
}

.panel__head h2 {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.panel__list,
.rows {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  grid-template-areas: "icon text badge";
  align-items: center;
  column-gap: 14px;
  row-gap: 8px;
  padding: 12px 14px;
  border-radius: var(--r-lg);
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--dur-1) var(--ease);
}

.row:hover {
  background: var(--hover);
  color: var(--ink);
}

.row__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-sunk);
  color: var(--ink-2);
}

.row__icon .icon {
  width: 20px;
  height: 20px;
}

.row__text {
  grid-area: text;
  min-width: 0;
}

.row__name {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}

.row__desc {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-sm);
  line-height: 1.35;
  color: var(--ink-3);
}

.row .badge {
  grid-area: badge;
  justify-self: end;
}

.row--research .row__icon {
  border-style: dashed;
  border-color: var(--res-line);
  background: transparent;
}

@media (max-width: 540px) {
  .row {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas: "icon text" "icon badge";
    align-items: start;
  }

  .row .badge {
    justify-self: start;
  }
}

/* The panel decides by its own width, so it also stacks when the hero splits at 1024px. */
@container (max-width: 470px) {
  .row {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas: "icon text" "icon badge";
    align-items: start;
  }

  .row .badge {
    justify-self: start;
  }
}

.panel__foot {
  margin-top: 6px;
  padding: 12px 14px 8px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* 9 Cards & grids --------------------------------------------------------- */

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head .h2 {
  margin-top: 16px;
}

.section-head .lead {
  margin-top: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--card-pad);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  box-shadow: var(--shadow-1), var(--inset);
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}

.card--research {
  border-style: dashed;
  border-color: var(--res-line);
  background: transparent;
  box-shadow: none;
}

.card--link {
  color: inherit;
  text-decoration: none;
}

.card--link:hover {
  color: inherit;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-2), var(--inset);
}

.card__art {
  margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) var(--card-pad);
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background-color: var(--bg-sunk);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 18px 18px;
  overflow: clip;
}

.card--research .card__art {
  border-bottom-style: dashed;
  border-bottom-color: var(--res-line);
  background-color: transparent;
}

.card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card__badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card__kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.card__title {
  margin-top: 16px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.card__title--sm {
  margin-top: 18px;
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 10px;
  color: var(--ink-2);
}

.card__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
  margin-top: auto;
  padding-top: 20px;
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-tile .icon {
  width: 22px;
  height: 22px;
}

.icon-tile--neutral {
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.icon-tile--research {
  background: transparent;
  border: 1px dashed var(--res-line);
  color: var(--res-ink);
}

.bento {
  display: grid;
  gap: 20px;
}

@media (min-width: 800px) {
  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .bento > :nth-child(1),
  .bento > :nth-child(4) {
    grid-column: span 7;
  }

  .bento > :nth-child(2),
  .bento > :nth-child(3) {
    grid-column: span 5;
  }
}

.rules {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: clip;
}

@media (min-width: 640px) {
  .rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .rules {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.rule {
  padding: 28px 24px 32px;
  background: var(--bg-elev);
}

.rule .h3 {
  margin-top: 22px;
}

.rule p {
  margin-top: 8px;
  font-size: 0.9688rem;
  color: var(--ink-2);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.areas {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .areas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .areas > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .areas {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .areas > * {
    grid-column: span 2;
  }

  .areas > :nth-child(n + 4),
  .areas > :last-child:nth-child(odd) {
    grid-column: span 3;
  }
}

.split {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .split--top {
    align-items: start;
  }

  .split--flip > :first-child {
    order: 2;
  }
}

ul.grid-2,
ul.grid-3 {
  margin-inline: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.card > .icon-tile,
.card > .badge {
  align-self: flex-start;
}

.offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  box-shadow: var(--shadow-1), var(--inset);
}

.offer p {
  max-width: 54ch;
  font-weight: 500;
}

.further {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
  padding: clamp(24px, 1rem + 2.5vw, 48px);
}

.further p {
  margin-top: 12px;
}

.privacy-note {
  margin-top: 40px;
  color: var(--ink-2);
}

.team-label {
  margin-bottom: 18px;
}

/* 10 Page parts ----------------------------------------------------------- */

/* Team */
.team {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .split .team {
    grid-template-columns: minmax(0, 1fr);
  }
}

.person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  box-shadow: var(--shadow-1), var(--inset);
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 60px;
  height: 60px;
  clip-path: polygon(22% 0, 78% 0, 100% 22%, 100% 78%, 78% 100%, 22% 100%, 0 78%, 0 22%);
  background: linear-gradient(135deg, var(--gem-tl), var(--gem-tr) 55%, var(--gem-b));
  color: #03130D;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.avatar--alt {
  background: linear-gradient(225deg, var(--gem-tl), var(--gem-l) 50%, var(--gem-r));
}

.person__name {
  display: block;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.person__role {
  display: block;
  margin-top: 2px;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

/* Company block (home) */
.company__legal {
  margin-top: 16px;
}

.company__text {
  margin-top: 18px;
  max-width: 54ch;
  color: var(--ink-2);
}

.company__more {
  margin-top: 18px;
}

/* CTA band — always dark, a contrast moment in the light theme */
.cta {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(32px, 1.5rem + 4vw, 72px);
  border: 1px solid #1E2229;
  border-radius: var(--r-xl);
  background: #0B0D11;
  color-scheme: dark;
  --ink: #ECEEF1;
  --ink-2: #AAB1BA;
  --ink-3: #8C939D;
  --accent: #3DD6A3;
  --accent-hover: #6BE3BA;
  --on-accent: #03130D;
  --focus: #3DD6A3;
  --line: #1E2229;
  --lattice: rgba(255, 255, 255, 0.06);
  --glow: rgba(61, 214, 163, 0.22);
  --glow-2: rgba(242, 194, 106, 0.07);
  color: var(--ink);
}

.cta .backdrop__glow {
  top: -60%;
  right: -30%;
  width: min(900px, 140vw);
}

.cta .backdrop__lattice {
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 90% 10%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 90% 10%, #000 10%, transparent 70%);
}

.cta .h2 {
  max-width: 18ch;
}

.cta p {
  max-width: 52ch;
  margin-top: 16px;
  font-size: var(--fs-lead);
  color: var(--ink-2);
}

.cta .actions {
  margin-top: 30px;
}

/* Jump links (products) */
.jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.jump .label {
  margin-right: 4px;
}

.jump a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 8px 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--bg-elev);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--dur-1) var(--ease);
}

.jump a:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

/* Product sections */
.product__title {
  margin-top: 18px;
  font-size: clamp(2.25rem, 1.5rem + 2.8vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.product__sub {
  margin-top: 12px;
  max-width: 44ch;
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--ink-2);
}

.facts {
  display: grid;
  gap: 22px;
  margin: 30px 0 0;
}

.facts dt {
  margin-bottom: 10px;
}

.facts dd {
  margin: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg-elev);
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--ink);
}

.runs {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
}

.runs .icon {
  margin-top: 2px;
  color: var(--ink-3);
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  line-height: 1.45;
}

.ticks .icon {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.ticks .badge {
  margin-left: 4px;
  vertical-align: 0.05em;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.features {
  display: grid;
  gap: 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.feature p {
  margin-top: 4px;
  color: var(--ink-2);
}

.devbox {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 88px);
  padding: var(--card-pad);
  border: 1px dashed var(--dev-line);
  border-radius: var(--r-xl);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, var(--dev-bg) 14px 15px),
    var(--bg-elev);
}

@media (min-width: 1024px) {
  .devbox {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    padding: 40px;
  }
}

.devbox .h3 {
  margin-top: 16px;
  font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem);
  letter-spacing: -0.02em;
}

.devbox p {
  margin-top: 12px;
  color: var(--ink-2);
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.inline-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 14px 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg-elev);
  font-size: 0.9375rem;
  color: var(--ink);
}

.inline-list .icon {
  width: 18px;
  height: 18px;
  color: var(--dev-ink);
}

.devbox .link-arrow {
  margin-top: 18px;
}

/* Agents diagram caption */
.flow-caption {
  display: grid;
  grid-template-columns: 40% 22% 38%;
  margin: 0;
  padding: 0 0 18px;
  list-style: none;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Pipeline */
.pipeline {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  --node: var(--res-ink);
  position: relative;
  padding: 0 0 36px 46px;
}

.step::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--node);
  background: var(--bg);
  z-index: 1;
}

.step::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 26px;
  bottom: 2px;
  width: 2px;
  background: var(--accent);
  opacity: 0.55;
}

.step:last-child::after {
  display: none;
}

.step--live { --node: var(--live-ink); }
.step--pilot { --node: var(--pilot-ink); }
.step--dev { --node: var(--dev-ink); }

.step--live::before {
  background: var(--node);
  box-shadow: 0 0 0 5px var(--live-bg);
}

.step--pilot::before {
  background: linear-gradient(90deg, var(--node) 50%, var(--bg) 50%);
}

.step--dev::before {
  background: conic-gradient(var(--node) 0 25%, var(--bg) 25% 100%);
}

.step--research::before {
  border-style: dashed;
}

.step--dev::after,
.step--research::after {
  background: repeating-linear-gradient(to bottom, var(--line-strong) 0 5px, transparent 5px 10px);
  opacity: 1;
}

.step .h3 {
  margin-top: 12px;
}

.step p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.9688rem;
  max-width: 40ch;
}

@media (min-width: 1024px) {
  .pipeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
  }

  .step {
    padding: 48px 0 0;
  }

  .step::before {
    left: 0;
    top: 0;
  }

  .step::after {
    left: 28px;
    right: -20px;
    top: 9px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .step--dev::after,
  .step--research::after {
    background: repeating-linear-gradient(to right, var(--line-strong) 0 5px, transparent 5px 10px);
  }
}

.callout {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px dashed var(--dev-line);
  border-radius: var(--r-lg);
  background: var(--dev-bg);
}

.callout p {
  margin: 0;
  color: var(--ink);
}

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 2px solid var(--res-line);
  background: var(--hover);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--ink);
}

/* Mission (about) */
.mission {
  margin-top: 18px;
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.15rem + 2.4vw, 3.125rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.mission__mark {
  color: var(--accent);
}

/* Company details */
.details {
  margin: 0;
  border-top: 1px solid var(--line);
}

.details > div {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
  .details > div {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
}

.details dt {
  color: var(--ink-3);
}

.details dd {
  margin: 0;
  font-weight: 500;
}

/* Contact */
.email-block {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 1rem + 2.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--bg-elev);
  box-shadow: var(--shadow-2), var(--inset);
}

.email-big {
  font-family: var(--font-display);
  font-size: clamp(1.3125rem, 0.62rem + 3.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.email-big:hover {
  color: var(--accent);
}

.email-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.topic .card__top {
  justify-content: flex-start;
}

.topic__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-weight: 600;
  color: var(--accent);
}

.topic__go .icon {
  width: 17px;
  height: 17px;
  transition: transform var(--dur-2) var(--ease);
}

/* Legal prose */
.prose {
  max-width: 68ch;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h2 {
  margin-top: 44px;
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.prose p {
  margin-top: 12px;
  color: var(--ink-2);
}

.updated {
  display: inline-block;
  margin-top: 22px;
}

/* 404 */
.lost {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .lost {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  }
}

.lost__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.page-head--lost {
  border-bottom: 0;
}

.lost__art {
  width: min(260px, 60vw);
  justify-self: center;
  color: var(--ink-3);
}

/* 10b Fills (owner, 26 Oct 2026: "a little empty here and there") -------- */

/* Mesh: a faint jade/amber light and an engineering grid, masked to the middle. */
.section--mesh {
  isolation: isolate;
  overflow: clip;
}

.section--mesh::before,
.section--mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.section--mesh::before {
  background:
    radial-gradient(45% 55% at 6% 12%, var(--glow), transparent 70%),
    radial-gradient(40% 50% at 96% 88%, var(--glow-2), transparent 70%);
  opacity: 0.75;
}

.section--mesh::after {
  background-image:
    linear-gradient(var(--ill-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ill-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 60% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 60% 45%, #000 20%, transparent 75%);
}

.section--sunk {
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 22px 22px;
}

/* Product showcase: real screenshots in a browser and a phone frame.
   The frames are always dark because the screenshots are of PrepKar's dark theme. */
.showcase {
  position: relative;
  isolation: isolate;
  overflow: clip;
  margin: 0;
  padding: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 36px) clamp(52px, 7vw, 76px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(80% 70% at 0% 0%, var(--glow), transparent 65%),
    radial-gradient(70% 60% at 100% 100%, var(--svc-bg), transparent 65%),
    var(--bg-sunk);
  box-shadow: var(--shadow-2), var(--inset);
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 18px 18px;
}

.frame-browser {
  position: relative;
  width: 90%;
  overflow: hidden;
  border: 1px solid #2B3039;
  border-radius: 14px;
  background: #0F1218;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.frame-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #161A21;
}

.frame-browser__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2E343E;
}

.frame-browser__url {
  margin-inline: auto;
  padding: 2px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-pill);
  background: #0C0F14;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #9AA3AE;
}

.frame-browser img,
.frame-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.frame-phone {
  position: absolute;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 2.5vw, 28px);
  width: clamp(104px, 27%, 184px);
  padding: 5px;
  border: 1px solid #333A45;
  border-radius: 24px;
  background: #05070A;
  box-shadow: 0 30px 50px -18px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.frame-phone img {
  border-radius: 19px;
}

.frame-phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 28%;
  height: 6px;
  border-radius: var(--r-pill);
  background: #05070A;
  transform: translateX(-50%);
}

.showcase__cap {
  position: absolute;
  left: clamp(18px, 3vw, 36px);
  bottom: clamp(16px, 2.4vw, 26px);
  max-width: 58%;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ink-3);
}

@media (max-width: 639.98px) {
  .showcase {
    padding-bottom: 40px;
  }

  .showcase__cap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* Exam chips with a tick */
.chips--exam {
  margin-top: 24px;
}

.chips--exam .chip {
  gap: 8px;
  padding-inline: 12px 14px;
  background: var(--bg-elev);
}

.chips--exam .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* How we work: problem → system → AI → product */
.how {
  position: relative;
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 60% at 100% 0%, var(--accent-soft), transparent 70%),
    var(--bg-elev);
  box-shadow: var(--shadow-2), var(--inset);
}

.how__list {
  position: relative;
  display: grid;
  gap: 22px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.how__list::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 21px;
  width: 2px;
  background: linear-gradient(var(--line-strong), var(--accent-line) 60%, var(--accent));
}

.how__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.how__node {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg-elev);
  color: var(--ink-2);
}

.how__node .icon {
  width: 22px;
  height: 22px;
}

.how__node--ai {
  border-color: var(--svc-line);
  background: var(--svc-bg);
  color: var(--svc-ink);
}

.how__node--end {
  border-color: transparent;
  background: var(--accent);
  color: var(--on-accent);
}

.how__text {
  display: grid;
  gap: 2px;
}

.how__text strong {
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.how__text span {
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.split--mission {
  align-items: center;
}

/* Capability lists with an icon per item */
.caps {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.caps li {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
  color: var(--ink);
}

.cap-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-sunk);
  color: var(--accent);
}

.cap-ico .icon {
  width: 18px;
  height: 18px;
}

.caps .badge {
  margin-left: 4px;
  vertical-align: 0.05em;
}

.lesson-art {
  margin-top: auto;
  padding-top: 20px;
}

.lesson-art .ill {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background-color: var(--bg-sunk);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 16px 16px;
}

/* Varadhi privacy principles */
.principles {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--pilot-line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--pilot-bg), transparent 140%);
}

.principles__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  line-height: 1.3;
}

.principles__title .icon {
  width: 20px;
  height: 20px;
  color: var(--pilot-ink);
}

.principles ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.principles li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.3;
}

.principles__ico {
  display: grid;
  flex: none;
  place-items: center;
  color: var(--pilot-ink);
}

.principles__ico .icon {
  width: 20px;
  height: 20px;
}

/* Stage legend (About) */
.legend {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.legend li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.legend .badge {
  justify-self: start;
}

/* Facet card (About, beside company details) */
.facet {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  min-height: 300px;
  padding: 40px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 60% at 50% 40%, var(--glow), transparent 70%),
    var(--bg-elev);
  box-shadow: var(--shadow-2), var(--inset);
  text-align: center;
}

.facet .backdrop__lattice {
  z-index: -1;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 10%, transparent 75%);
}

.facet__mark {
  width: 112px;
  height: 112px;
  margin-bottom: 14px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.25));
}

.facet__name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.facet__name span {
  color: var(--ink-2);
}

.facet__sub {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (prefers-reduced-motion: no-preference) {
  .showcase .frame-browser,
  .showcase .frame-phone,
  .how__node,
  .cap-ico,
  .principles li {
    transition: transform var(--dur-3) var(--ease), border-color var(--dur-2) var(--ease);
  }

  .showcase:hover .frame-browser {
    transform: translateY(-4px);
  }

  .showcase:hover .frame-phone {
    transform: translateY(-10px);
  }

  .how__step:hover .how__node,
  .caps li:hover .cap-ico {
    transform: translateY(-2px);
    border-color: var(--accent-line);
  }

  .principles li:hover {
    transform: translateY(-2px);
    border-color: var(--pilot-line);
  }
}

/* 11 Illustrations -------------------------------------------------------- */

.art {
  position: relative;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background-color: var(--bg-sunk);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 18px 18px;
}

figure.art {
  margin: 0;
}

.art--research {
  border-style: dashed;
  border-color: var(--res-line);
  background-color: transparent;
}

.art--service {
  background-color: var(--bg-elev);
}

.art--dev {
  border-style: dashed;
  border-color: var(--dev-line);
  background-color: var(--bg-elev);
}

.ill {
  display: block;
  width: 100%;
  height: auto;
}

.ill .s { fill: var(--ill-surface); stroke: var(--ill-stroke); stroke-width: 1.5; }
.ill .s-a { fill: var(--ill-surface); stroke: var(--accent); stroke-width: 1.5; }
.ill .a-soft-ln { fill: none; stroke: var(--accent-line); stroke-width: 1.5; }
.ill .k { fill: var(--ill-sunk); }
.ill .ln { fill: none; stroke: var(--ill-stroke); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ill .rule-ln { fill: none; stroke: var(--ill-muted-2); stroke-width: 1.25; }
.ill .m { fill: var(--ill-muted); }
.ill .m2 { fill: var(--ill-muted-2); }
.ill .ink { fill: var(--ill-ink); }
.ill .ink-ln { fill: none; stroke: var(--ill-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ill .a { fill: var(--accent); }
.ill .as { fill: var(--accent-soft); }
.ill .a-ln { fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ill .on-a { fill: none; stroke: var(--on-accent); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.ill .p-ln { fill: none; stroke: var(--pilot-ink); stroke-width: 1.75; stroke-linecap: round; stroke-dasharray: 5 4; }
.ill .p-soft { fill: var(--pilot-bg); stroke: var(--pilot-line); stroke-width: 1.25; }
.ill .p { fill: var(--pilot-ink); }
.ill .d-ln { fill: none; stroke: var(--dev-ink); stroke-width: 1.25; stroke-dasharray: 4 5; opacity: 0.8; }
.ill .v { fill: var(--svc-ink); }
.ill .v-soft { fill: var(--svc-bg); stroke: var(--svc-line); stroke-width: 1.5; }
.ill .v-ln { fill: none; stroke: var(--svc-ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ill .v-dash { fill: none; stroke: var(--svc-ink); stroke-width: 1.75; stroke-linecap: round; stroke-dasharray: 5 6; }
.ill .bp { fill: none; stroke: var(--ill-bp); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 5; }
.ill .bp-a { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 3 5; }
.ill .grid-ln { fill: none; stroke: var(--ill-grid); stroke-width: 1; }

/* 12 Footer --------------------------------------------------------------- */

.site-footer {
  padding-block: 56px 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  gap: 40px 32px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.25fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  }
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 16px;
  color: var(--ink-2);
}

.footer-brand .link-arrow {
  margin-top: 10px;
}

.footer-col h2 {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.footer-col ul {
  display: grid;
  gap: 2px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  color: var(--ink-2);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--ink);
}

.legal-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.legal-line p {
  margin: 0;
}

/* 13 Motion --------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 200ms;
  }

  .badge--live .badge__glyph::after {
    animation: live-pulse 2.4s var(--ease) infinite;
  }

  .hero .backdrop__glow {
    animation: drift 22s ease-in-out infinite alternate;
  }

  .panel .row {
    animation: rise var(--dur-3) var(--ease) both;
    animation-delay: calc(140ms + var(--i, 0) * 60ms);
  }

  .card--link:hover,
  .topic:hover {
    transform: translateY(-2px);
  }

  .btn:hover .i-arrow,
  .link-arrow:hover .i-arrow,
  .card--link:hover .i-arrow {
    transform: translateX(3px);
  }

  .btn:hover .i-external,
  .link-arrow:hover .i-external {
    transform: translate(2px, -2px);
  }

  .ill .flow-dash {
    animation: march 1.6s linear infinite;
  }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

@keyframes live-pulse {
  0% { transform: scale(0.5); opacity: 0.75; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-6%, 5%, 0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
}

/* A rise without a fade: text keeps full contrast at every point of the scroll. */
@keyframes reveal {
  from { transform: translateY(28px); }
}

@keyframes march {
  to { stroke-dashoffset: -22; }
}

/* 14 Utilities ------------------------------------------------------------ */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 48px; }

@media (forced-colors: active) {
  .badge,
  .card,
  .panel,
  .row__icon {
    border: 1px solid CanvasText;
  }
}

@media print {
  .site-header,
  .backdrop,
  .cta {
    display: none;
  }
}
