@font-face { font-family: "Clash Display"; src: url("/fonts/ClashDisplay-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/fonts/ClashDisplay-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --lime: #C6FF00;
  --lime-dim: rgba(198, 255, 0, .12);
  --bg: #0F0F0F;
  --surface: #1A1A1A;
  --surface-2: #222;
  --line: #2C2C2C;
  --text: #FFFFFF;
  --muted: #8A8A8A;
  --display: "Clash Display", "Helvetica Neue", Arial, sans-serif;
  --body: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 20px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: 22px; line-height: 1.2; font-weight: 500; }
p { margin: 0; }
.lime { color: var(--lime); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.lead { color: var(--muted); font-size: 18px; max-width: 34em; margin-top: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  font: 600 16px/1 var(--body); text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn--primary { background: var(--lime); color: #0F0F0F; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(198, 255, 0, .25); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--muted); }
.btn--sm { padding: 11px 18px; font-size: 14px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.header.is-scrolled {
  background: rgba(15, 15, 15, .78); border-bottom-color: var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header__logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; }
.nav a.lang { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; }
.nav a.lang:hover { border-color: var(--muted); }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(640px, 56vw, 900px); margin-top: -76px; padding: 76px 0 44px;
  display: flex; flex-direction: column; background: #000;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 72% 50%; animation: heroIn 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.06); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .7) 30%, rgba(0, 0, 0, 0) 58%),
    linear-gradient(0deg, var(--bg) 0%, rgba(15, 15, 15, 0) 26%),
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%);
}
.hero__content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; }
.hero__title { font-size: clamp(46px, 6.2vw, 96px); line-height: .98; }
.hero__lead { color: #B5B5B5; font-size: clamp(17px, 1.45vw, 21px); max-width: 26em; margin-top: 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.hero__link { color: var(--text); text-decoration: none; font-weight: 500; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .2s; }
.hero__link:hover { border-color: var(--lime); }

.hero__formats { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero__formats-label { font: 500 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero__formats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 56px; }
.hero__formats li { font: 500 clamp(18px, 1.9vw, 26px)/1 var(--display); color: #A8A8A8; }

/* Sections */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section__head { margin-bottom: 56px; }
.statement__text { font: 500 clamp(28px, 3.8vw, 52px)/1.12 var(--display); max-width: 22em; letter-spacing: -.01em; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(198, 255, 0, .45); transform: translateY(-4px); }
.card__icon { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--lime-dim); fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* Testing matrix */
.testing { background: linear-gradient(180deg, transparent, #141414 30%, #141414 70%, transparent); }
.testing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' stroke='%230F0F0F' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.matrix { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: grid; gap: 14px; }
.matrix__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.matrix__label { width: 76px; color: var(--muted); font-size: 14px; font-weight: 500; }
.chip { min-width: 52px; text-align: center; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font: 600 16px/1 var(--body); }
.matrix__row:first-child .chip { border-color: rgba(198, 255, 0, .5); color: var(--lime); }
.matrix__op { padding-left: 86px; color: var(--muted); font: 500 22px/1 var(--display); }
.matrix__result { display: flex; align-items: center; gap: 20px; padding: 18px; border-radius: 18px; background: var(--lime-dim); border: 1px solid rgba(198, 255, 0, .3); }
.matrix__result p { font-size: 15px; color: var(--muted); }
.matrix__result strong { display: block; font: 600 44px/1 var(--display); color: var(--lime); }
.matrix__cells { display: grid; grid-template-columns: repeat(6, 18px); gap: 6px; }
.matrix__cells i { width: 18px; height: 32px; border-radius: 4px; background: rgba(198, 255, 0, .18); }
.matrix.is-visible .matrix__cells i { animation: cell .5s ease forwards; }
.matrix__cells i:nth-child(n) { animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes cell { to { background: var(--lime); } }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 32px 28px; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--lime); transition: width .9s ease .2s; }
.step.is-visible::before { width: 100%; }
.step__num { display: block; font: 600 14px/1 var(--body); color: var(--lime); letter-spacing: .1em; margin-bottom: 40px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* Pilot */
.pilot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 32px;
  background: radial-gradient(circle at 0% 100%, rgba(198, 255, 0, .16), transparent 50%), var(--surface);
  border: 1px solid var(--line);
}
.pilot .btn { margin-top: 32px; }
.pilot__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.pilot__list li { display: grid; gap: 2px; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); position: relative; }
.pilot__list li:last-child { border-bottom: 0; }
.pilot__list li::before { content: "→"; position: absolute; left: 4px; top: 17px; color: var(--lime); font-weight: 600; }
.pilot__list span { font-weight: 600; font-size: 18px; }
.pilot__list small { color: var(--muted); font-size: 15px; }

/* Contact */
.contact { text-align: center; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 60%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(198, 255, 0, .14), transparent); pointer-events: none; }
.contact__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.contact__title { font-size: clamp(64px, 12vw, 168px); line-height: .9; }
.contact .lead { margin-inline: auto; }
.contact__mail {
  margin-top: 40px; font: 500 clamp(22px, 3.4vw, 40px)/1.1 var(--display); color: var(--lime);
  text-decoration: none; border-bottom: 2px solid rgba(198, 255, 0, .35); padding-bottom: 6px;
  transition: border-color .2s; overflow-wrap: anywhere;
}
.contact__mail:hover { border-color: var(--lime); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__inner img { height: 28px; width: auto; }
.footer__tag, .footer__copy { color: var(--muted); font-size: 14px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .testing__grid, .pilot { grid-template-columns: 1fr; }
  .hero__media img { object-position: 78% 50%; }
  .hero__media::after { background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .78) 40%, rgba(0, 0, 0, .1) 75%), linear-gradient(0deg, var(--bg) 0%, rgba(15, 15, 15, 0) 26%); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .nav a.lang { align-self: flex-start; margin-top: 14px; padding: 8px 14px; border: 1px solid var(--line); }
  .header__logo img { height: 28px; }

  .hero { min-height: 0; margin-top: -76px; padding: 0 0 36px; display: block; background: var(--bg); }
  .hero__media { position: relative; inset: auto; z-index: 0; height: 68svh; min-height: 380px; max-height: 600px; margin-bottom: -150px; }
  .hero__media img { object-position: 55% 40%; }
  .hero__media::after { background: linear-gradient(0deg, var(--bg) 4%, rgba(15, 15, 15, 0) 55%), linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 22%); }
  .hero__content { position: relative; z-index: 1; padding: 0 0 40px; }
  .hero__formats ul { gap: 12px 26px; }
  .hero__formats li { font-size: 17px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .matrix { padding: 22px; }
  .matrix__op { padding-left: 0; }
  .matrix__result { flex-direction: column; align-items: flex-start; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .matrix__cells i { background: var(--lime); }
  .step::before { width: 100%; }
}
