@font-face {
  font-family: ManropeLocal;
  src: local("Manrope"), local("Manrope Regular");
  font-display: swap;
}

:root {
  --bg: oklch(12% 0.02 165);
  --bg-2: oklch(16% 0.025 165);
  --panel: oklch(18% 0.025 165);
  --panel-2: oklch(22% 0.035 165);
  --text: oklch(96% 0.018 160);
  --muted: oklch(74% 0.035 165);
  --line: oklch(36% 0.055 165);
  --accent: oklch(82% 0.22 160);
  --accent-2: oklch(89% 0.16 132);
  --ink: oklch(10% 0.025 165);
  --danger: oklch(72% 0.18 35);
  --shadow: 0 26px 80px oklch(5% 0.02 165 / 0.52);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, oklch(100% 0 0 / 0.035) 1px, transparent 1px),
    linear-gradient(0deg, oklch(100% 0 0 / 0.028) 1px, transparent 1px),
    linear-gradient(135deg, var(--bg), var(--bg-2) 46%, oklch(9% 0.02 165));
  background-size: 46px 46px, 46px 46px, auto;
  color: var(--text);
  font-family: ManropeLocal, "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .25;
  background-image: repeating-linear-gradient(0deg, transparent 0 7px, oklch(100% 0 0 / .045) 8px);
  mix-blend-mode: soft-light;
}
a { color: inherit; }
.site-header, main, footer { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 64px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: oklch(13% 0.02 165 / .94);
  box-shadow: 0 18px 50px oklch(5% 0.02 165 / .35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; text-decoration: none; }
.brand span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
}
.site-header nav { display: flex; justify-content: flex-end; gap: 6px; }
.site-header nav a, footer a {
  border-radius: 8px;
  color: var(--muted);
  font-size: .94rem;
  padding: 10px 12px;
  text-decoration: none;
}
.site-header nav a:hover, footer a:hover { background: oklch(100% 0 0 / .06); color: var(--accent); }
.header-cta {
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  padding: 12px 16px;
  font-weight: 950;
  text-decoration: none;
}
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(420px, 1.12fr);
  gap: 64px;
  align-items: center;
  min-height: 720px;
  padding: 88px 0 68px;
}
.hero::after {
  content: "INCY";
  position: absolute;
  right: -22px;
  bottom: 14px;
  z-index: -1;
  color: oklch(100% 0 0 / .045);
  font-size: 13rem;
  font-weight: 950;
  line-height: .8;
}
.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: 0;
  padding: 8px 10px;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: 5.05rem;
  line-height: .9;
  letter-spacing: 0;
}
h2 { font-size: 3.35rem; line-height: .98; letter-spacing: 0; }
h3 { font-size: 1.22rem; line-height: 1.22; }
.lead, .section-head > p, .notice p, .final-cta p, .hero-panel p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 950;
  text-decoration: none;
  transition: transform .18s ease-out, box-shadow .18s ease-out, background .18s ease-out;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .header-cta:focus-visible, .site-header a:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.btn--primary { background: var(--accent); color: var(--ink); box-shadow: 0 18px 0 oklch(4% 0.02 165); }
.btn--ghost { border: 1px solid var(--line); background: oklch(100% 0 0 / .045); color: var(--text); }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-row span, .logo-strip span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: oklch(100% 0 0 / .04);
  color: var(--muted);
  padding: 8px 12px;
  font-size: .86rem;
}
.phone-stack {
  position: relative;
  min-height: 650px;
  perspective: 1200px;
}
.phone-stack::before {
  content: "profile imported / route active / tls ready";
  position: absolute;
  left: 0;
  top: 28px;
  z-index: 5;
  max-width: 270px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--ink);
  color: var(--accent);
  font-family: "Cascadia Code", "JetBrains Mono", monospace;
  font-size: .82rem;
  line-height: 1.5;
  padding: 14px;
}
.phone-shot {
  position: absolute;
  width: 300px;
  margin: 0;
  border: 1px solid oklch(100% 0 0 / .2);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone-shot img { display: block; width: 100%; height: auto; }
.phone-shot--1 { right: 26%; top: 0; transform: rotate(-6deg); z-index: 3; }
.phone-shot--2 { right: 0; top: 90px; transform: rotate(5deg); z-index: 2; }
.phone-shot--3 { right: 44%; top: 268px; transform: rotate(1deg); z-index: 1; opacity: .86; }
.section { padding: 86px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 820px; margin-bottom: 32px; }
.card-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 14px; }
.feature-card, .notice, .final-cta, .hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
  box-shadow: 0 22px 70px oklch(5% 0.02 165 / .28);
}
.feature-card { min-height: 250px; padding: 26px; }
.feature-card:first-child { background: linear-gradient(135deg, oklch(26% 0.08 160), var(--panel)); }
.feature-card span { color: var(--accent); font-family: "Cascadia Code", "JetBrains Mono", monospace; font-size: .78rem; font-weight: 950; letter-spacing: 0; text-transform: uppercase; }
.feature-card p { color: var(--muted); line-height: 1.66; }
.gallery { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 14px; align-items: start; }
.gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); overflow: hidden; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { display: block; width: 100%; height: 390px; object-fit: cover; object-position: top; background: var(--panel); }
.gallery figure:first-child img { height: 560px; }
.gallery figcaption { padding: 14px; color: var(--muted); font-size: .92rem; }
.logo-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-strip span:nth-child(2n) { color: var(--accent); border-color: oklch(82% 0.22 160 / .55); }
.steps { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 20px; align-items: start; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 20px; }
.steps li > span { color: var(--accent); font-size: 2.1rem; font-weight: 950; letter-spacing: 0; }
.steps p { color: var(--muted); line-height: 1.66; }
.notice, .final-cta, .hero-panel { padding: 34px; margin: 64px 0; }
.hero-panel { align-self: center; }
.final-cta {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background:
    linear-gradient(90deg, oklch(100% 0 0 / .035) 1px, transparent 1px),
    linear-gradient(0deg, oklch(100% 0 0 / .028) 1px, transparent 1px),
    var(--panel-2);
  background-size: 34px 34px, 34px 34px, auto;
  text-align: left;
}
.final-cta h2 { max-width: 760px; }
.final-cta div { display: flex; flex-wrap: wrap; gap: 12px; }
footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 34px 0 46px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  h1 { font-size: 4.7rem; }
  h2 { font-size: 2.6rem; }
  .phone-stack { min-height: 590px; }
  .card-grid, .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-row: auto; }
  .gallery img, .gallery figure:first-child img { height: auto; max-height: 560px; object-fit: contain; }
}
@media (max-width: 560px) {
  .site-header, main, footer { width: min(100% - 24px, 1180px); }
  .site-header { top: 8px; min-height: 58px; }
  .header-cta { display: none; }
  h1 { font-size: 3.15rem; }
  h2 { font-size: 2.1rem; }
  .hero { padding-top: 52px; }
  .phone-stack { min-height: 470px; }
  .phone-stack::before { left: 0; top: 8px; max-width: 220px; }
  .phone-shot { width: 224px; }
  .phone-shot--1 { right: 16%; top: 72px; }
  .phone-shot--2 { right: 0; top: 150px; }
  .phone-shot--3 { right: 34%; top: 262px; }
  .steps li { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
