/* ==========================================================================
   Ayush Software - site stylesheet
   Light + dark themes. Theme follows the visitor's system setting unless they
   pick one with the toggle (stored as <html data-theme="light|dark">).
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  color-scheme: light;
  /* Fallback (light) for browsers without light-dark() */
  --bg: #f6f7f2;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --field: #ffffff;
  --border: rgba(21, 24, 15, 0.1);
  --border-strong: rgba(21, 24, 15, 0.2);
  --text: #15180f;
  --text-2: #4a5044;
  --text-3: #5c6356;
  --accent: #4f6905;
  --accent-soft: rgba(121, 157, 8, 0.12);
  --glow: rgba(121, 157, 8, 0.22);
  --grid-line: rgba(21, 24, 15, 0.055);
  --grad-a: #4f6905;
  --grad-b: #799d08;
  --shadow-color: rgba(21, 24, 15, 0.1);
  --danger: #b42318;
  --danger-soft: rgba(180, 35, 24, 0.08);
  --header-bg: rgba(246, 247, 242, 0.75);

  --brand: #799d08;
  --brand-ink: #404040;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1160px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@supports (color: light-dark(#fff, #000)) {
  :root {
    color-scheme: light dark;
    --bg: light-dark(#f6f7f2, #0a0b09);
    --surface: light-dark(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.035));
    --surface-solid: light-dark(#ffffff, #121411);
    --field: light-dark(#ffffff, rgba(255, 255, 255, 0.04));
    --border: light-dark(rgba(21, 24, 15, 0.1), rgba(255, 255, 255, 0.08));
    --border-strong: light-dark(rgba(21, 24, 15, 0.2), rgba(255, 255, 255, 0.2));
    --text: light-dark(#15180f, #eceee6);
    --text-2: light-dark(#4a5044, #b3b9aa);
    --text-3: light-dark(#5c6356, #9aa191);
    --accent: light-dark(#4f6905, #a8d11c);
    --accent-soft: light-dark(rgba(121, 157, 8, 0.12), rgba(168, 209, 28, 0.12));
    --glow: light-dark(rgba(121, 157, 8, 0.22), rgba(168, 209, 28, 0.3));
    --grid-line: light-dark(rgba(21, 24, 15, 0.055), rgba(255, 255, 255, 0.065));
    --grad-a: light-dark(#4f6905, #c9ef3d);
    --grad-b: light-dark(#799d08, #799d08);
    --shadow-color: light-dark(rgba(21, 24, 15, 0.1), rgba(0, 0, 0, 0.5));
    --danger: light-dark(#b42318, #ff8a7a);
    --danger-soft: light-dark(rgba(180, 35, 24, 0.08), rgba(255, 138, 122, 0.1));
    --header-bg: light-dark(rgba(246, 247, 242, 0.75), rgba(10, 11, 9, 0.7));
  }
  :root[data-theme="light"] { color-scheme: light; }
  :root[data-theme="dark"] { color-scheme: dark; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 650; text-wrap: balance; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 650; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; }
.grid, .bento, .job-list, .check-grid, .feature-list, .tag-list, .footer-col ul, .site-nav ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.muted { color: var(--text-3); }
.nowrap { white-space: nowrap; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  color: var(--text);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Futuristic backdrop: masked grid + glow ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.backdrop-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 100%);
}
.backdrop-glow {
  position: absolute;
  top: -320px;
  left: 50%;
  width: min(1100px, 140vw);
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--glow), transparent);
  filter: blur(20px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}
/* Glass bar once the page scrolls (always on without JS, or while the mobile menu is open). */
.site-header[data-scrolled], :root:not(.js) .site-header, .site-header:has([data-open]) {
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--border);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; flex: none; border-radius: 8px; }
.brand-logo { height: 46px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}
.site-nav a:hover { color: var(--text); background: var(--accent-soft); }
.site-nav a[aria-current] { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.site-nav .nav-cta { margin-inline: 8px; }
.site-nav .nav-cta a {
  color: #0e1108;
  background: linear-gradient(180deg, #a8d11c, #799d08);
  box-shadow: 0 6px 20px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-weight: 600;
}
.site-nav .nav-cta a:hover { color: #0e1108; filter: brightness(1.06); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, transform 0.15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn:active { transform: scale(0.95); }
.icon-btn .icon { width: 18px; height: 18px; }

/* Theme toggle shows the theme you would switch TO */
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    padding: 12px clamp(20px, 4vw, 32px) 24px;
    background: var(--surface-solid);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px -24px var(--shadow-color);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .site-nav[data-open] { visibility: visible; opacity: 1; transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a { padding: 14px 16px; font-size: 1.0625rem; border-radius: var(--radius-sm); }
  .site-nav .nav-cta { margin: 8px 0; }
  .site-nav .nav-cta a { text-align: center; border-radius: 999px; }
}
@media (max-width: 520px) {
  :root { --header-h: 64px; }
  .brand-logo { height: 34px; }
}

/* ---------- Buttons, chips, labels ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s var(--ease), filter 0.15s, border-color 0.15s, background-color 0.15s, box-shadow 0.2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn:active { transform: scale(0.98); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  color: #0e1108;
  background: linear-gradient(180deg, #a8d11c, #799d08);
  box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 14px 36px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 12px var(--brand);
}
.chip-dot-live { animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px transparent, 0 0 16px var(--brand); } }

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.text-gradient {
  background: linear-gradient(100deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translate(2px, -1px); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 6.5vw, 88px); }
.section-tight { padding-block: clamp(28px, 4vw, 56px); }
/* Consecutive sections share one gap instead of stacking two paddings. */
.section + .section { padding-top: 0; }
.section-flush-top { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.section-sub { margin-top: 12px; color: var(--text-2); }
.section-text { max-width: 72ch; margin-top: clamp(28px, 4vw, 40px); color: var(--text-2); }
.section-text-wide { max-width: none; font-size: 1.1875rem; }

/* Hero (home) */
.hero { padding-block: clamp(40px, 8vw, 104px) clamp(32px, 5vw, 64px); }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px; }
.hero-title { font-size: clamp(3.25rem, 9vw, 7rem); letter-spacing: -0.045em; font-weight: 700; line-height: 1; }
.hero-lead { max-width: 34em; margin-top: 24px; color: var(--text-2); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 480px) { .hero-actions .btn { flex: 1 1 100%; } }

.hero-visual { display: grid; place-items: center; }
.orbit { position: relative; width: min(420px, 100%); aspect-ratio: 1; }
.orbit-ring {
  position: absolute;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  animation: spin linear infinite;
}
.orbit-ring-1 { inset: 0; animation-duration: 38s; border-style: dashed; }
.orbit-ring-2 { inset: 14%; animation-duration: 26s; animation-direction: reverse; }
.orbit-ring-3 { inset: 28%; animation-duration: 18s; border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.orbit-dot {
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 18px 2px var(--brand);
}
.orbit-ring-2 .orbit-dot { top: auto; bottom: 12%; left: 4%; width: 8px; height: 8px; }
.orbit-core {
  position: absolute;
  inset: 37%;
  width: 26%;
  height: 26%;
  filter: drop-shadow(0 0 32px var(--glow)) drop-shadow(0 12px 24px var(--shadow-color));
  animation: float 6s ease-in-out infinite;
}
.orbit::before {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(40px, 8vw, 104px) clamp(32px, 5vw, 56px); }
.page-title { max-width: 18ch; font-size: clamp(2.25rem, 5.5vw, 4.25rem); letter-spacing: -0.04em; font-weight: 700; }
.page-lead { max-width: 62ch; text-wrap: pretty; margin-top: 20px; color: var(--text-2); font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.grid > li { display: flex; }
.grid > li > .card { flex: 1; }

/* ---------- Cards (glass + pointer spotlight) ---------- */
.card {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px var(--shadow-color), 0 18px 40px -28px var(--shadow-color);
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -200%), var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
a.card { display: flex; color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px var(--shadow-color), 0 24px 48px -28px var(--shadow-color); }

.feature, .service, .model { display: flex; flex-direction: column; }
.feature-num, .service-index {
  position: absolute;
  top: 24px;
  right: 26px;
  color: var(--text-3);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
}
.feature-icon .icon { width: 22px; height: 22px; }
.feature-title, .service-title { margin-top: 22px; font-size: 1.1875rem; letter-spacing: -0.015em; font-weight: 600; }
.service-title { margin-top: 28px; font-size: 1.25rem; line-height: 1.2; }
@media (min-width: 641px) { .service-title { min-height: calc(2 * 1.2em); } }
.model p, .service-text { margin: 10px 0 0; color: var(--text-2); }
.service-text { font-size: 0.9875rem; }

/* Statement */
.statement {
  margin: 0;
  padding: clamp(32px, 6vw, 64px) 0;
  border-block: 1px solid var(--border);
  text-align: center;
}
.statement p {
  max-width: 28ch;
  margin-inline: auto;
  font-size: clamp(1.625rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.statement strong { font-weight: 700; }


/* Bento stats */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento { --stat-top: clamp(64px, 6.5vw, 80px); }
.stat { grid-column: span 2; display: flex; flex-direction: column; gap: 20px; min-height: 190px; }
.stat-wide { grid-column: span 3; min-height: 210px; }
.stat p { margin: 0; color: var(--text-2); }
.stat .link-arrow { display: flex; width: fit-content; margin-top: 10px; }
.stat-figure {
  min-height: var(--stat-top); /* same as .stat-icon, so the text below lines up across cards */
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-icon { display: inline-grid; place-items: center; width: var(--stat-top); height: var(--stat-top); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: 20px; background: var(--accent-soft); color: var(--accent); }
.stat-icon .icon { width: 34px; height: 34px; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat-wide { grid-column: span 1; min-height: 180px; }
  .stat:last-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .stat, .stat-wide, .stat:last-child { grid-column: auto; min-height: 0; }
}

/* Spotlight panel */
.spotlight { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 32px); align-items: start; padding: clamp(22px, 5vw, 56px); }
.spotlight .section-text { max-width: 80ch; }
.spotlight .section-text { margin-top: 16px; }
.spotlight-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  color: #0e1108;
  background: linear-gradient(160deg, #a8d11c, #799d08);
  box-shadow: 0 12px 32px -12px var(--glow);
}
.spotlight-icon .icon { width: 28px; height: 28px; }
@media (max-width: 640px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-icon { width: 46px; height: 46px; border-radius: var(--radius-sm); }
  .spotlight-icon .icon { width: 22px; height: 22px; }
}

/* About */
.card.fact { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; row-gap: 2px; }
.fact .feature-icon { grid-row: span 2; margin: 0; }
.fact-label { align-self: end; color: var(--text-3); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.fact-value { align-self: start; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; }
.promoter { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); padding: clamp(22px, 5vw, 56px); }
.promoter-badge {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  color: #0e1108;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(160deg, #c9ef3d, #799d08);
  box-shadow: 0 0 0 6px var(--accent-soft), 0 20px 40px -16px var(--glow);
}
.promoter-body .section-title { margin-bottom: 20px; }
.promoter-body p { color: var(--text-2); max-width: 70ch; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 0.875rem; font-weight: 500; }
.tag .icon { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 640px) {
  .promoter { grid-template-columns: 1fr; }
  .promoter-badge { width: 56px; height: 56px; font-size: 1.125rem; box-shadow: 0 0 0 4px var(--accent-soft); }
}

/* Contact */

.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.split-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.split-intro .section-title { margin-bottom: 20px; }
.split-subtitle { margin: clamp(36px, 5vw, 52px) 0 12px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; }
.split-intro p, .split-intro address { color: var(--text-2); }
.split-intro address { margin-bottom: 1em; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-intro { position: static; }
}

/* Careers */
.job-list { display: grid; gap: 20px; }
.job-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.job-head .job-title { flex: 1; min-width: 0; }
.job-head .badge { flex: none; margin-top: 2px; }
.job-title { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 650; }
.job-summary { margin: 16px 0 0; color: var(--text-2); max-width: 80ch; }
.job-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin: 24px 0 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.job-meta dt { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 0.75rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }
.job-meta dt .icon { width: 15px; height: 15px; color: var(--accent); }
.job-meta dd { margin: 4px 0 0; font-size: 0.9875rem; }
@media (max-width: 640px) { .job-meta { grid-template-columns: 1fr; } }

.note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
  color: var(--text-2);
}
.note > .icon { margin-top: 3px; color: var(--accent); }
.note strong { font-weight: 550; }
.note > span { text-wrap: pretty; }
@media (max-width: 640px) { .note { padding: 16px 18px; font-size: 0.9375rem; } }

/* Tick lists (incubation, service pages) */
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.check-grid li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  font-size: 0.9875rem;
}
.check-grid .icon {
  width: 22px;
  height: 22px;
  flex: none;
  padding: 4px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  stroke-width: 2.5;
}
.check-grid-optional .icon { background: transparent; box-shadow: inset 0 0 0 1px var(--border-strong); }
.check-grid-optional { display: block; columns: 2 340px; column-gap: 12px; }
.check-grid-optional li { break-inside: avoid; margin-bottom: 12px; }
@media (max-width: 960px) { .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .check-grid { grid-template-columns: 1fr; } }

/* Service pages */
.page-title-wide { max-width: 22ch; text-wrap: balance; }
.prose { max-width: 75ch; display: grid; gap: 1em; color: var(--text-2); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }
.prose p { margin: 0; text-wrap: pretty; }
.step { display: flex; flex-direction: column; }
.step-num {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step .feature-title { margin-top: 18px; }
.step p { margin: 8px 0 0; color: var(--text-2); font-size: 0.9875rem; }
.spotlight-link { margin-top: 20px; }

.faq { max-width: 880px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { width: 20px; height: 20px; color: var(--accent); transition: transform 0.25s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { max-width: 72ch; margin: -4px 0 0; padding: 0 4px 22px; color: var(--text-2); }

.card.related { display: grid; grid-template-columns: auto 1fr; grid-template-areas: 'icon arrow' 'title title'; align-items: center; gap: 18px 16px; padding: 24px; }
.related .feature-icon { grid-area: icon; }
.related-title { grid-area: title; font-weight: 600; font-size: 1.0625rem; }
.related-arrow { grid-area: arrow; justify-self: end; color: var(--text-3); transition: transform 0.2s var(--ease), color 0.2s; }
.related:hover .related-arrow { color: var(--accent); transform: translateX(3px); }

/* Service cards on the home page and What We Do (whole card is a link) */
.card.service-link { flex-direction: column; }
.service-points { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: 0.9375rem; }
.service-points li { display: flex; gap: 10px; align-items: flex-start; }
.service-points .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); stroke-width: 2.25; }
.service-link .link-arrow { margin-top: auto; padding-top: 22px; color: var(--accent); }

/* Icon rows (address, phone) */
.info-list { display: grid; gap: 16px; margin: 24px 0; list-style: none; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); }
.info-list li > .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.info-list address { margin: 0; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
/* Full-width form (careers): three columns on wide screens, compact submit button. */
@media (min-width: 900px) {
  .form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid-3 .field-span-2 { grid-column: span 2; }
  .form-grid-3 .field-span-1 { grid-column: auto; }
}
@media (min-width: 641px) {
  .form-card-wide .btn-block { width: auto; min-width: 280px; }
}
.field label:not(.file-drop) { display: block; margin-bottom: 8px; font-size: 0.875rem; font-weight: 550; line-height: 1.25rem; }
.optional { margin-left: 4px; line-height: 1; color: var(--text-3); font-weight: 400; font-size: 0.8125rem; }
.field input:not([type="file"]), .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--field);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
.field textarea { min-height: 136px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); opacity: 0.8; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select select { padding-right: 40px; cursor: pointer; }
.select select:has(option[value=""]:checked) { color: var(--text-3); }
.select option { background: var(--surface-solid); color: var(--text); }

.file-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  border: 1.5px dashed color-mix(in srgb, var(--text-3) 75%, transparent);
  border-radius: var(--radius-sm);
  background: var(--field);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--accent); background: var(--accent-soft); }
.file-drop:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.file-drop .icon { width: 24px; height: 24px; color: var(--accent); }
.file-drop-text { font-weight: 550; font-size: 0.9375rem; overflow-wrap: anywhere; }
.file-drop.has-file .file-drop-text { color: var(--accent); }
.file-drop-hint { color: var(--text-3); font-size: 0.8125rem; }
.file-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.field-error { margin: 6px 0 0; color: var(--danger); font-size: 0.8125rem; font-weight: 500; }
.field-error[hidden] { display: none; }
.has-error input:not([type="file"]), .has-error textarea, .has-error select, .has-error .file-drop { border-color: var(--danger); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.alert:only-child { margin-bottom: 0; }
.alert .icon { margin-top: 2px; }
.alert-success { border-color: color-mix(in srgb, var(--brand) 45%, transparent); background: var(--accent-soft); color: var(--text); }
.alert-success .icon { color: var(--accent); }
.alert-error { border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: var(--danger-soft); color: var(--text); }
.alert-error .icon { color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--border); }
.footer-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(48px, 7vw, 80px);
  padding: clamp(22px, 5vw, 56px);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--border));
  border-radius: 28px;
  background:
    radial-gradient(600px circle at 0% 0%, var(--accent-soft), transparent 60%),
    var(--surface);
  overflow: hidden;
}
.footer-cta-title { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.035em; font-weight: 700; }
.footer-cta-text { margin-top: 12px; color: var(--text-2); }
/* Link columns take their natural width so no link wraps; the brand column takes the rest. */
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) max-content max-content 12rem max-content; gap: 40px clamp(32px, 4vw, 56px); padding-bottom: 48px; }
.footer-logo { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 30ch; color: var(--text-2); font-size: 0.9375rem; }
.footer-heading { margin-bottom: 16px; color: var(--text-3); font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); text-decoration: none; font-size: 0.9375rem; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-col address { margin-bottom: 16px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.55; }
.footer-col address:last-child { margin-bottom: 0; }
.footer-col address strong { display: block; margin-bottom: 2px; color: var(--text); font-weight: 600; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--text-3); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 0.875rem;
}
.footer-bottom p { margin: 0; }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: minmax(max-content, 1fr) minmax(max-content, 1fr) minmax(12rem, 1fr) minmax(max-content, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 60ch; }
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Error page ---------- */
.error-hero { min-height: 52vh; }
.error-code { margin: 0 0 16px; font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; line-height: 1; letter-spacing: -0.06em; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .backdrop, .site-header, .footer-cta, .form-card, .hero-visual { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; backdrop-filter: none; }
}
