/* ═══════════════════════════════════════════════════════════════
   OCS — Only Corporate Solutions
   Design system v2 · dark navy base · teal signal accent
   Type: Space Grotesk (display) · Inter (body) · JetBrains Mono (data)

   Structure:
   01 Tokens          02 Base & typography    03 Layout & sections
   04 Motion          05 Buttons              06 Navigation
   07 Hero            08 Services             09 Process
   10 Demo            11 Innovations          12 Proof
   13 Stack           14 About / Why          15 Contact & forms
   16 Footer          17 Toast                18 Careers
   19 Responsive      20 Reduced motion
   ═══════════════════════════════════════════════════════════════ */

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

/* ─── 01 · Tokens ─── */
:root {
  /* Surfaces — layered depth, darkest at the base */
  --bg-0: #05080f;
  --bg-1: #080e1a;
  --bg-card: linear-gradient(
    180deg,
    rgba(148, 196, 235, 0.05) 0%,
    rgba(148, 196, 235, 0.02) 100%
  );
  --bg-card-hover: rgba(148, 196, 235, 0.07);
  --bg-input: rgba(159, 197, 232, 0.045);
  --bg-input-focus: rgba(159, 197, 232, 0.08);

  /* Accent — teal signal */
  --teal: #2dd4a8;
  --teal-bright: #7cf5d5;
  --teal-deep: #0e9f7e;
  --teal-gradient: linear-gradient(
    120deg,
    #7cf5d5 0%,
    #2dd4a8 45%,
    #0e9f7e 100%
  );
  --teal-glow: rgba(45, 212, 168, 0.14);
  --teal-glow-strong: rgba(45, 212, 168, 0.32);
  --on-accent: #041c14;

  /* Text — tuned for contrast on --bg-0 */
  --ink: #eaf0f8;
  --muted: #a4b4c8;
  --hint: #7487a0;

  /* Lines */
  --line: rgba(159, 197, 232, 0.09);
  --line-strong: rgba(159, 197, 232, 0.2);
  --line-teal: rgba(45, 212, 168, 0.35);
  --hairline: linear-gradient(
    90deg,
    transparent,
    rgba(159, 197, 232, 0.16),
    transparent
  );

  /* Secondary hues (badges only) */
  --violet: #b99cf5;
  --amber: #f0bd66;
  --blue: #78b8f7;
  --coral: #f5928a;
  --green: #96d886;

  /* Elevation */
  --shadow-1: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 12px 32px -8px rgba(0, 0, 0, 0.55);
  --shadow-3:
    0 24px 48px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(45, 212, 168, 0.06);
  --shadow-accent: 0 4px 18px rgba(45, 212, 168, 0.22);
  --shadow-accent-hover: 0 8px 30px rgba(45, 212, 168, 0.36);

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-smooth: all 0.45s var(--ease-out);
  --t-fast: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Type */
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}

/* ─── 02 · Base & typography ─── */
html {
  scroll-behavior: smooth;
  /* Anchor targets clear the fixed nav */
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: rgba(45, 212, 168, 0.28);
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-0);
}
::-webkit-scrollbar-thumb {
  background: rgba(159, 197, 232, 0.16);
  border-radius: 5px;
  border: 2px solid var(--bg-0);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--teal-deep);
}

/* ─── 03 · Layout & sections ─── */
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

section {
  padding: 7.5rem 0;
  position: relative;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.section-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--teal-gradient);
  box-shadow: 0 0 8px var(--teal-glow-strong);
}

.section-heading {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1.2rem;
  max-width: 760px;
  letter-spacing: -0.025em;
}

.section-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.75;
}

.section-header {
  margin-bottom: 4rem;
}

/* ─── 04 · Motion ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 168, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(45, 212, 168, 0); }
}

/* ─── 05 · Buttons ─── */
.btn-primary,
.btn-outline {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--t-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-gradient);
  color: var(--on-accent);
  border: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    var(--shadow-accent);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    var(--shadow-accent-hover);
  transform: translateY(-2px);
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: rgba(159, 197, 232, 0.03);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-bright);
  background: rgba(45, 212, 168, 0.06);
  box-shadow: 0 4px 18px var(--teal-glow);
  transform: translateY(-2px);
}
.btn-outline:active {
  transform: translateY(0);
}

/* ─── 06 · Navigation ─── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 8, 15, 0.42);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: var(--t-smooth);
}

/* Gradient hairline that fades in on scroll */
#nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--hairline);
  opacity: 0;
  transition: opacity 0.45s ease;
}

#nav.scrolled {
  background: rgba(5, 8, 15, 0.86);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
#nav.scrolled::after {
  opacity: 1;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
  min-height: 44px;
  padding: 4px 0;
}

.nav-logo-ocs {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  background: var(--teal-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--teal);
}

.nav-logo-full {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hint);
  border-left: 1px solid var(--line-strong);
  padding-left: 0.7rem;
  transition: var(--t-fast);
}

.nav-logo:hover .nav-logo-full {
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--t-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--teal-gradient);
  transform: translateX(-50%);
  transition: var(--t-smooth);
}

.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  width: 100%;
}

/* Current page indicator */
.nav-links a[aria-current="page"] {
  color: var(--teal);
}
.nav-links a[aria-current="page"]::after {
  width: 100%;
  box-shadow: 0 0 8px var(--teal-glow-strong);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: var(--teal-gradient);
  color: var(--on-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 1.4rem;
  border-radius: 7px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 15px rgba(45, 212, 168, 0.2);
  transition: var(--t-smooth);
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-cta:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 22px rgba(45, 212, 168, 0.4);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  min-height: 44px;
  min-width: 44px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--ink);
  transition:
    transform 0.25s var(--ease-out),
    opacity 0.25s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  background: rgba(6, 10, 18, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 2rem 2.2rem;
  position: absolute;
  width: 100%;
  left: 0;
  top: 72px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8);
  transform: translateY(-16px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--ease-out),
    visibility 0.35s;
  z-index: 99;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: var(--t-fast);
}

.mobile-menu a:last-child {
  border-bottom: none;
}
.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  color: var(--teal);
  padding-left: 0.35rem;
}

/* ─── 07 · Hero ─── */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 90% 60% at 70% 18%,
      rgba(13, 45, 62, 0.6) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 40% at 15% 80%,
      rgba(14, 159, 126, 0.06) 0%,
      transparent 70%
    ),
    var(--bg-0);
}

/* Fine blueprint grid, masked so it dissolves toward the edges */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(159, 197, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 197, 232, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 35%,
    black 0%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 35%,
    black 0%,
    transparent 80%
  );
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

.hero-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  background: linear-gradient(to bottom, transparent, var(--bg-0));
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2.2rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(45, 212, 168, 0.22);
  border-radius: var(--radius-pill);
  background: linear-gradient(
    180deg,
    rgba(45, 212, 168, 0.09),
    rgba(45, 212, 168, 0.03)
  );
  box-shadow: inset 0 1px 0 rgba(124, 245, 213, 0.08);
  animation: fadeUp 0.8s var(--ease-out) both;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulseDot 2.4s ease-out infinite;
  flex-shrink: 0;
}

.hero-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}

.hero-heading {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.8rem;
  max-width: 900px;
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}

.hero-heading .accent {
  background: var(--teal-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--teal);
  filter: drop-shadow(0 0 24px rgba(45, 212, 168, 0.25));
}

.hero-sub {
  font-size: clamp(15px, 2.5vw, 17.5px);
  font-weight: 300;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 2.8rem;
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4.5rem;
  animation: fadeUp 0.8s var(--ease-out) 0.3s both;
}

.hero-stats {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 760px;
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
  position: relative;
}

/* Teal tick where the rule starts */
.hero-stats::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--teal-gradient);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  background: var(--teal-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--teal);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hint);
}

/* ─── 08 · Services ─── */
#services {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.4rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.2rem;
  position: relative;
  overflow: hidden;
  transition: var(--t-smooth);
  display: flex;
  flex-direction: column;
}

/* Pointer-tracked spotlight (coords set from JS) */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    320px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--teal-glow),
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Top light — reads as machined edge */
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--hairline);
  opacity: 0.7;
  transition: opacity 0.5s ease;
}

.service-card:hover::before {
  opacity: 1;
}
.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  border-color: var(--line-teal);
  transform: translateY(-5px);
  box-shadow: var(--shadow-3);
}

.service-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--hint);
  letter-spacing: 0.15em;
  margin-bottom: 1.4rem;
}

.service-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    180deg,
    rgba(45, 212, 168, 0.1),
    rgba(45, 212, 168, 0.04)
  );
  border: 1px solid rgba(45, 212, 168, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  color: var(--teal);
  transition: var(--t-smooth);
}

.service-card:hover .service-icon-wrapper {
  background: var(--teal);
  color: var(--on-accent);
  border-color: var(--teal-bright);
  box-shadow: 0 0 24px var(--teal-glow-strong);
  transform: scale(1.06) rotate(-3deg);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  line-height: 1.35;
}

.service-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── 09 · Process ─── */
#process {
  background: var(--bg-0);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 2rem;
}

.process-step {
  position: relative;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
  transition: var(--t-smooth);
}

.process-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--teal-gradient);
  transition: width 0.6s var(--ease-out);
}

.process-step:hover::before {
  width: 100%;
}

.process-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  display: block;
}

.process-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.process-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── 10 · Demo ─── */
#demo {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.demo-box {
  background: #04070e;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}

.demo-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--teal-gradient);
}

.demo-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
  align-items: center;
}

.demo-inputs .demo-input {
  flex: 2 1 220px;
  min-width: 0;
}
.demo-inputs .demo-select {
  flex: 1.2 1 180px;
  min-width: 0;
}
.demo-inputs .demo-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 170px;
  padding: 0 1.8rem;
}

.demo-input,
.demo-select {
  background: var(--bg-input);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 0 1.2rem;
  height: 52px;
  outline: none;
  transition: var(--t-fast);
  width: 100%;
}

.demo-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239FB0C3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 3rem;
  -webkit-appearance: none;
  appearance: none;
}

.demo-input:hover,
.demo-select:hover {
  border-color: var(--line-strong);
}

.demo-input:focus,
.demo-select:focus {
  border-color: var(--teal);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 3px rgba(45, 212, 168, 0.12);
}

.demo-input::placeholder {
  color: var(--hint);
}

.demo-btn {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--teal-gradient);
  color: var(--on-accent);
  border: none;
  border-radius: var(--radius-sm);
  height: 52px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--t-smooth);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 15px rgba(45, 212, 168, 0.2);
  padding: 0 1.2rem;
  width: 100%;
}

.demo-btn:hover:not(:disabled) {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 22px rgba(45, 212, 168, 0.4);
  transform: translateY(-1px);
}

.demo-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.demo-output {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.8;
  background: #02050c;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  min-height: 250px;
  max-height: 420px;
  color: var(--muted);
  overflow: auto;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.8);
  overscroll-behavior: contain;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
  font-size: 11px;
  color: var(--hint);
  margin-left: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--teal);
  animation: blink 0.9s step-start infinite;
  vertical-align: text-bottom;
  margin-left: 4px;
}

.demo-hint {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--hint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ─── 11 · Innovations ─── */
#innovations {
  background: var(--bg-0);
}

.innovations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}

.inno-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.3rem 2.1rem;
  transition: var(--t-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.inno-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(45, 212, 168, 0.07),
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.inno-card:hover::before {
  opacity: 1;
}

.inno-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-5px);
  box-shadow: var(--shadow-3);
}

.inno-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 5px;
  border: 1px solid;
  margin-bottom: 1.4rem;
}

.badge-operations {
  color: var(--teal);
  border-color: rgba(45, 212, 168, 0.35);
  background: rgba(45, 212, 168, 0.06);
}
.badge-hr {
  color: var(--violet);
  border-color: rgba(185, 156, 245, 0.35);
  background: rgba(185, 156, 245, 0.06);
}
.badge-finance {
  color: var(--amber);
  border-color: rgba(240, 189, 102, 0.35);
  background: rgba(240, 189, 102, 0.06);
}
.badge-data {
  color: var(--blue);
  border-color: rgba(120, 184, 247, 0.35);
  background: rgba(120, 184, 247, 0.06);
}
.badge-customer {
  color: var(--coral);
  border-color: rgba(245, 146, 138, 0.35);
  background: rgba(245, 146, 138, 0.06);
}
.badge-legal {
  color: var(--green);
  border-color: rgba(150, 216, 134, 0.35);
  background: rgba(150, 216, 134, 0.06);
}

.inno-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.inno-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.inno-impact {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  margin-top: auto;
  transition: var(--t-smooth);
}

.inno-card:hover .inno-impact {
  color: var(--teal-bright);
}

/* ─── 12 · Proof placeholder ─── */
#proof {
  background: var(--bg-0);
  padding-top: 0;
}

.proof-placeholder {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(159, 197, 232, 0.015);
  transition: var(--t-smooth);
}

.proof-placeholder:hover {
  border-color: rgba(45, 212, 168, 0.3);
}

.proof-placeholder-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.proof-placeholder-sub {
  font-size: 14px;
  color: var(--hint);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── 13 · Stack ─── */
#stack {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.stack-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.2rem;
  min-height: 38px;
  display: flex;
  align-items: center;
  transition: var(--t-smooth);
  cursor: default;
  background: linear-gradient(
    180deg,
    rgba(159, 197, 232, 0.03),
    rgba(159, 197, 232, 0.01)
  );
}

.stack-pill:hover {
  border-color: var(--teal);
  color: var(--teal-bright);
  background: rgba(45, 212, 168, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--teal-glow);
}

/* ─── 14 · About / Why ─── */
#about {
  background: var(--bg-0);
  border-top: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.why-item {
  border-left: 2px solid var(--line);
  padding-left: 1.8rem;
  transition: var(--t-smooth);
}

.why-item:hover {
  border-left-color: var(--teal);
  transform: translateX(4px);
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.why-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.about-facts {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
  position: relative;
}

.about-facts::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--teal-gradient);
}

.about-fact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.about-fact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hint);
}

.about-fact-value {
  font-size: 15px;
  color: var(--ink);
}

/* CTA strip — quiet spotlight behind the closing pitch */
#cta {
  background:
    radial-gradient(
      ellipse 60% 80% at 50% 100%,
      rgba(14, 159, 126, 0.08) 0%,
      transparent 70%
    ),
    var(--bg-0);
  border-top: 1px solid var(--line);
}

/* ─── Founder card ─── */
.founder-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--teal-gradient);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 26px rgba(45, 212, 168, 0.35);
}

.founder-photo {
  width: 200px;
  height: 200px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(45, 212, 168, 0.5);
}

.founder-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.5);
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}

.founder-pills {
  justify-content: center;
  margin-top: 0.3rem;
}

/* ─── 15 · Contact & forms ─── */
#contact {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-info-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.8rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 0 1.2rem;
  height: 52px;
  outline: none;
  transition: var(--t-fast);
  border-radius: var(--radius-sm);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239FB0C3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 3rem;
  -webkit-appearance: none;
  appearance: none;
}

.form-textarea {
  height: auto;
  min-height: 120px;
  padding: 1rem 1.2rem;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--hint);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--line-strong);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 3px rgba(45, 212, 168, 0.12);
}

/* Flag invalid fields only after the user has interacted */
.form-input:user-invalid {
  border-color: rgba(245, 146, 138, 0.55);
}
.form-input:user-invalid:focus {
  box-shadow: 0 0 0 3px rgba(245, 146, 138, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-submit {
  width: 100%;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--teal-gradient);
  color: var(--on-accent);
  border: none;
  height: 52px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 15px rgba(45, 212, 168, 0.2);
  transition: var(--t-smooth);
}

.form-submit:hover:not(:disabled) {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 25px rgba(45, 212, 168, 0.4);
  transform: translateY(-2px);
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* Calendly card */
.calendly-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.3rem;
  transition: var(--t-smooth);
  position: relative;
  overflow: hidden;
}

.calendly-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal-gradient);
}

.calendly-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}

.calendly-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgba(45, 212, 168, 0.1),
    rgba(45, 212, 168, 0.04)
  );
  border: 1px solid rgba(45, 212, 168, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: var(--t-smooth);
}

.calendly-card:hover .calendly-icon {
  background: var(--teal);
  color: var(--on-accent);
  box-shadow: 0 0 24px var(--teal-glow-strong);
  transform: scale(1.05);
}

.calendly-title {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  margin: 0;
}

.calendly-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 320px;
  margin: 0;
}

.calendly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 2.3rem;
  min-height: 50px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: var(--teal-gradient);
  color: var(--on-accent);
  border-radius: var(--radius-sm);
  transition: var(--t-smooth);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 15px rgba(45, 212, 168, 0.2);
  text-align: center;
  line-height: 1.4;
}

.calendly-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 25px rgba(45, 212, 168, 0.4);
}

.calendly-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hint);
  margin: 0;
}

/* ─── 16 · Footer ─── */
footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line);
  padding: 3rem 2rem;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--hairline);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  background: var(--teal-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--teal);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--hint);
  letter-spacing: 0.06em;
  line-height: 1.8;
  text-align: right;
}

.footer-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hint);
  text-decoration: none;
  transition: var(--t-fast);
  padding: 0.5rem 0.25rem;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-links a:hover {
  color: var(--teal);
}

/* ─── 17 · Toast ─── */
#toast {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  background: var(--teal-gradient);
  color: var(--on-accent);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 1.1rem 1.8rem;
  z-index: 1000;
  display: none;
  max-width: 350px;
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s var(--ease-out) both;
  line-height: 1.45;
}

/* ─── 18 · Careers (+ about hero) ─── */
#careers-hero,
#about-hero {
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding: 11rem 0 5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 90% 60% at 70% 15%,
      rgba(13, 45, 62, 0.6) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 40% at 15% 85%,
      rgba(14, 159, 126, 0.05) 0%,
      transparent 70%
    ),
    var(--bg-0);
}

/* Same blueprint grid treatment as the home hero */
#careers-hero::before,
#about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(159, 197, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 197, 232, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 35%,
    black 0%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 35%,
    black 0%,
    transparent 80%
  );
  pointer-events: none;
}

#why-join {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}

#why-join .why-grid {
  margin-top: 0;
}

#roles {
  background: var(--bg-0);
  border-top: 1px solid var(--line);
}

.roles-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.role-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.3rem;
  transition: var(--t-smooth);
  position: relative;
  overflow: hidden;
}

.role-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--hairline);
  opacity: 0.7;
}

.role-card:hover {
  border-color: var(--line-teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}

.role-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.role-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 5px;
  border: 1px solid;
  margin-bottom: 1rem;
}

.role-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.role-tagline {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}

.role-meta {
  display: flex;
  gap: 2.2rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.role-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.role-meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hint);
}

.role-meta-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  background: var(--teal-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--teal);
  white-space: nowrap;
}

.role-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
  margin-bottom: 1.8rem;
}

.role-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.role-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.role-ul li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.role-ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-family: var(--font-mono);
}

.role-apply {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(45, 212, 168, 0.04);
  color: var(--teal);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  min-height: 46px;
  padding: 0.7rem 1.8rem;
  cursor: pointer;
  transition: var(--t-smooth);
}

.role-apply:hover {
  border-color: var(--teal);
  color: var(--teal-bright);
  background: rgba(45, 212, 168, 0.08);
  box-shadow: 0 4px 18px var(--teal-glow);
  transform: translateY(-2px);
}

#hiring-process {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}

#apply {
  background: var(--bg-0);
  border-top: 1px solid var(--line);
}

.apply-wrap {
  max-width: 640px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  position: relative;
  overflow: hidden;
}

.apply-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal-gradient);
}

.apply-hint {
  font-size: 12.5px;
  color: var(--hint);
  line-height: 1.6;
  margin-top: -0.4rem;
}

.role-apply.flash {
  animation: applyFlash 1s var(--ease-out);
}

@keyframes applyFlash {
  0%,
  100% {
    box-shadow: 0 4px 18px var(--teal-glow);
    border-color: var(--teal);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(45, 212, 168, 0.35);
    border-color: var(--teal-bright);
  }
}

/* ─── 19 · Responsive ─── */
@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .services-grid,
  .innovations-grid,
  .why-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-inputs .demo-btn {
    flex: 1 0 100%;
    width: 100%;
  }
  .contact-grid {
    gap: 3rem;
  }
}

@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .demo-inputs .demo-input,
  .demo-inputs .demo-select,
  .demo-inputs .demo-btn {
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
  }
  .role-head {
    gap: 1.2rem;
  }
  .role-meta {
    gap: 1.6rem;
  }
  .role-body {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .apply-wrap {
    padding: 2rem 1.4rem;
  }
}

@media (max-width: 640px) {
  section {
    padding: 5rem 0;
  }
  #hero {
    padding: 7.5rem 0 4rem;
  }
  #careers-hero,
  #about-hero {
    padding: 8.5rem 0 4rem;
  }
  #proof {
    padding-top: 0;
  }

  .section-inner,
  .hero-inner {
    padding: 0 1.25rem;
  }
  .nav-inner {
    padding: 0 1.25rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
  }

  .hero-stats {
    gap: 1rem;
  }

  .service-card {
    padding: 2.1rem 1.6rem;
  }
  .inno-card {
    padding: 2rem 1.6rem;
  }

  .demo-box {
    padding: 2rem 1.25rem;
  }
  .demo-output {
    padding: 1.3rem 1rem;
    font-size: 12.5px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-facts {
    gap: 1.8rem 2.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    text-align: center;
  }

  #toast {
    bottom: 1.5rem;
    right: 1.25rem;
    left: 1.25rem;
    max-width: unset;
  }

  .calendly-card {
    padding: 2.5rem 1.5rem;
  }

  .role-card {
    padding: 2rem 1.4rem;
  }
  .role-apply {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: clamp(2.1rem, 9vw, 2.6rem);
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .nav-logo-full {
    display: none;
  }
}

/* ═══ SUBPAGES (Demo · Contact) — clearance below the fixed nav ═══ */
body.subpage main > section:first-of-type {
  padding-top: 10.5rem;
}

/* Node network behind subpage content: quieter, and fading out
   toward the bottom so forms and the terminal stay calm */
body.subpage #hero-canvas {
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 45%,
    transparent 95%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 45%,
    transparent 95%
  );
}

@media (max-width: 640px) {
  body.subpage main > section:first-of-type {
    padding-top: 8rem;
  }
}

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