@font-face {
  font-family: 'Anek Latin Variable';
  src: url('/fonts/anek-latin-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --blue: #0052ff;
  --blue-dark: #003fc7;
  --ink: #07111f;
  --ink-soft: #243147;
  --muted: #65748b;
  --line: #dbe3ef;
  --wash: #f5f8fc;
  --surface: #ffffff;
  --cream: #f8f5ee;
  --green: #0f8f69;
  --amber: #b56b00;
  --radius: 1.65rem;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Anek Latin Variable', sans-serif;
  color: var(--ink);
  background: var(--wash);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  padding: 0.75rem 1rem;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 227, 239, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}
.nav {
  width: min(100% - 2rem, 1220px);
  margin: 0 auto;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  font-size: 1.22rem;
}
.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 2px solid var(--blue);
  position: relative;
  box-shadow: inset 0 0 0 0.32rem white, 0 0 0 0.18rem rgba(0, 82, 255, 0.08);
}
.logo-mark::before,
.logo-mark::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform-origin: center bottom;
}
.logo-mark::before { height: 0.72rem; transform: translate(-50%, -88%) rotate(0deg); }
.logo-mark::after { height: 0.58rem; transform: translate(-50%, -88%) rotate(128deg); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  color: var(--muted);
  font-weight: 760;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 0.65rem; }
.btn {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.05rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 18px 38px rgba(0, 82, 255, 0.22); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: white; color: var(--ink); border-color: #b8c5d8; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { color: var(--muted); border-color: #dbe3ef; background: rgba(255,255,255,0.6); }
.btn-ghost:hover { color: var(--blue); border-color: #adc3ff; }

.hero {
  min-height: calc(100svh - 4.25rem);
  position: relative;
  display: grid;
  overflow: hidden;
  background: var(--ink);
  color: white;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 82, 255, 0.34), transparent 34rem),
    linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.78) 34%, rgba(2, 6, 23, 0.32) 68%, rgba(2, 6, 23, 0.12) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.12) 0%, rgba(2, 6, 23, 0.82) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 1220px);
  margin: 0 auto;
  display: flex;
  min-height: calc(100svh - 4.25rem);
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 0 4rem;
}
.hero-copy { max-width: 48rem; }
h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-weight: 850;
  text-wrap: balance;
}
.hero-copy p {
  max-width: 43rem;
  margin: 1.4rem 0 0;
  color: rgba(255,255,255,0.88);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.proof-strip {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 55rem;
}
.proof-tile {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(2,6,23,0.44);
  backdrop-filter: blur(16px);
  border-radius: 1.35rem;
  padding: 1rem;
  box-shadow: 0 18px 58px rgba(2,6,23,0.24);
}
.proof-tile span {
  font-family: 'IBM Plex Mono', monospace;
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  color: #bfd2ff;
  font-size: 0.72rem;
  margin-bottom: 0.65rem;
}
.proof-tile p { margin: 0; color: rgba(255,255,255,0.92); font-weight: 720; }

.section {
  width: min(100% - 2rem, 1220px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.section-dark { width: 100%; background: #07111f; color: white; }
.section-dark .section { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 4rem; }
.section h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 850;
  text-wrap: balance;
}
.section-lede { color: var(--muted); font-size: 1.2rem; line-height: 1.65; max-width: 44rem; }
.section-dark .section-lede { color: #a8b4c7; }
.problem-list { border-block: 1px solid rgba(255,255,255,0.12); }
.problem-item { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.problem-item:last-child { border-bottom: 0; }
.problem-icon { width: 3rem; height: 3rem; border-radius: 1rem; display: grid; place-items: center; background: rgba(0,82,255,0.18); color: #bcd0ff; }
.problem-item h3 { margin: 0; font-size: 1.6rem; letter-spacing: -0.02em; }
.problem-item p { margin: 0.4rem 0 0; color: #a8b4c7; }

.industries-head { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(18rem, auto); gap: 1rem; }
.industry-card { position: relative; overflow: hidden; min-height: 19rem; border-radius: 1.75rem; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0b1220; }
.industry-card.feature { grid-column: span 2; grid-row: span 2; min-height: 30rem; }
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.industry-card:hover img { transform: scale(1.035); }
.industry-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(2,6,23,0.76) 100%); }
.industry-card.feature::after { background: linear-gradient(180deg, transparent 42%, rgba(2,6,23,0.72) 100%); }
.industry-copy { position: absolute; inset-inline: 1.4rem; bottom: 1.2rem; z-index: 2; color: white; max-width: 30rem; }
.industry-copy h3 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.05; letter-spacing: -0.035em; }
.industry-copy p { margin: 0.65rem 0 0; color: rgba(255,255,255,0.86); font-weight: 600; }
.industry-card:not(.feature) .industry-copy p { font-size: 0.95rem; line-height: 1.45; }

.models { background: var(--cream); }
.models-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; }
.model-card { border: 1px solid #e5ded1; background: rgba(255,255,255,0.68); border-radius: 1.35rem; padding: 1rem; min-height: 14rem; }
.model-card strong { display: block; font-size: 1.08rem; letter-spacing: -0.02em; }
.model-card p { color: var(--muted); margin: 0.6rem 0 0; font-weight: 620; }
.model-card .mono { font-family: 'IBM Plex Mono', monospace; color: var(--blue); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem; display: block; }

.flow { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.flow-steps { display: grid; gap: 0.8rem; }
.flow-step { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; border: 1px solid var(--line); border-radius: 1.35rem; padding: 1rem; background: white; }
.flow-step span { font-family: 'IBM Plex Mono', monospace; width: 2.5rem; height: 2.5rem; border-radius: 999px; display: grid; place-items: center; background: #eaf1ff; color: var(--blue); font-weight: 800; }
.flow-step h3 { margin: 0; font-size: 1.35rem; }
.flow-step p { margin: 0.25rem 0 0; color: var(--muted); }

.trust { background: #07111f; color: white; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.trust-list { display: grid; gap: 0.75rem; }
.trust-item { display: flex; gap: 0.75rem; align-items: flex-start; border: 1px solid rgba(255,255,255,0.12); border-radius: 1.1rem; padding: 0.9rem; background: rgba(255,255,255,0.04); color: #dbe6f7; font-weight: 680; }
.trust-item b { color: #4fd0a8; }

.demo { background: white; }
.demo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.demo-points { margin-top: 1.4rem; display: grid; gap: 0.75rem; color: var(--ink-soft); font-weight: 720; }
.demo-form { border: 1px solid var(--line); border-radius: 2rem; background: white; padding: clamp(1.1rem, 3vw, 1.6rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: 0.45rem; color: var(--ink-soft); font-size: 0.95rem; font-weight: 820; }
input, select, textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid #cfd9e8;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: white;
  outline: none;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,82,255,0.12); }
.form-wide { grid-column: 1 / -1; }
.form-status { margin-top: 1rem; border-radius: 1rem; padding: 0.9rem 1rem; font-weight: 760; display: none; }
.form-status.error { display: block; background: #fff4d8; color: #7a4200; border: 1px solid #f4cd74; }
.form-status.success { display: block; background: #e9fbf4; color: #086448; border: 1px solid #9ee5cc; }
.hidden-field { position: absolute; left: -100vw; opacity: 0; }

.site-footer { border-top: 1px solid var(--line); background: white; }
.footer-inner { width: min(100% - 2rem, 1220px); margin: 0 auto; padding: 2rem 0; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.footer-inner p { margin: 0.7rem 0 0; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-end; color: var(--muted); font-weight: 760; }

.info-page { background: var(--wash); }
.info-card { width: min(100% - 2rem, 900px); margin: 3rem auto; border: 1px solid var(--line); border-radius: 2rem; background: white; box-shadow: var(--shadow); padding: clamp(1.4rem, 4vw, 3rem); }
.info-card h1 { color: var(--ink); font-size: clamp(2.6rem, 6vw, 4.8rem); }
.info-card section { border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 1.4rem; }
.info-card h2 { margin: 0 0 0.4rem; font-size: 1.45rem; }
.info-card p { color: var(--muted); font-size: 1.08rem; }

.reveal { opacity: 1; transform: translateY(0); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@supports (animation-timeline: view()) {
  .reveal {
    animation: staffklok-rise both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }
}
@keyframes staffklok-rise {
  from { opacity: 0.72; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .industry-card img, .btn { transition: none; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .proof-strip, .section-dark .section, .industries-head, .flow, .trust-grid, .demo-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .industry-card.feature { grid-column: span 2; }
  .models-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nav { min-height: 4rem; }
  .logo span:last-child { display: none; }
  .nav-actions .btn-secondary { display: none; }
  .hero-content { padding-bottom: 2rem; }
  .proof-strip, .industry-grid, .models-grid, .form-grid, .footer-inner { grid-template-columns: 1fr; }
  .industry-card.feature { grid-column: span 1; min-height: 26rem; }
  .industry-card { min-height: 22rem; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .footer-links { justify-content: flex-start; }
}
