@font-face {
  font-family: SottoSans;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/brand/sotto-sans.woff2") format("woff2");
}

@font-face {
  font-family: SottoMono;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/assets/brand/sotto-mono.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-soft: #090b10;
  --surface-0: #0b0d12;
  --surface-1: #10131a;
  --surface-2: #151a23;
  --surface-3: #1b2230;
  --ink: #f4f3ee;
  --ink-soft: #c5c8d1;
  --muted: #8b909d;
  --faint: #7d8491;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --line-faint: rgba(255, 255, 255, 0.07);
  --sotto-blue: #4f7cff;
  --sotto-signal: #85a5ff;
  --purple: #8d6cff;
  --indigo: #6674ff;
  --cyan: #57cce8;
  --grad-brand: linear-gradient(110deg, var(--sotto-signal), #9d83ff 54%, var(--cyan));
  --grad-cta: var(--sotto-blue);
  --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
  --grad-card-hover: linear-gradient(180deg, rgba(79, 124, 255, 0.08), transparent);
  --glow-page:
    radial-gradient(circle at 68% 2%, rgba(79, 124, 255, 0.11), transparent 31rem),
    linear-gradient(180deg, #050608, #070910 52%, #050608);
  --fz-display: clamp(4.4rem, 10vw, 9.6rem);
  --fz-h1: clamp(3.2rem, 6vw, 6.2rem);
  --fz-h2: clamp(2.2rem, 4.4vw, 4.5rem);
  --fz-h3: clamp(1.25rem, 1.8vw, 1.65rem);
  --fz-lead: clamp(1.08rem, 1.7vw, 1.35rem);
  --max: 1480px;
  --max-prose: 760px;
  --nav-h: 82px;
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 6px;
  --shadow-sm: 0 10px 35px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 28px 80px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 40px 120px rgba(0, 0, 0, 0.48);
  --shadow-glow: 0 0 34px rgba(79, 124, 255, 0.26);
}

body {
  background: var(--glow-page);
  background-attachment: fixed;
  font-family: SottoSans, Manrope, Arial, sans-serif;
  font-feature-settings: normal;
  letter-spacing: -0.008em;
}

h1,
h2,
h3,
h4 {
  font-weight: 620;
  letter-spacing: -0.045em;
}

.container {
  width: min(100% - clamp(2.5rem, 9vw, 10rem), var(--max));
}

.nav {
  height: var(--nav-h);
  border-color: var(--line);
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(26px) saturate(120%);
}

.nav__inner {
  height: var(--nav-h);
}

.nav__identity,
.footer__identity {
  display: flex;
  gap: 16px;
  align-items: center;
}

.brand-rail {
  width: 1px;
  height: 31px;
  flex: 0 0 auto;
  background: var(--line-strong);
}

.master-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.master-brand svg {
  width: 30px;
  height: 30px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.master-brand b {
  color: var(--sotto-signal);
  font-weight: 500;
}

.nav__brand,
.footer__brand {
  gap: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.035em;
}

.nav__brand .orb {
  --orb-size: 22px;
}

.orb {
  background:
    radial-gradient(circle at 38% 32%, #eef5ff, transparent 11%),
    radial-gradient(circle at 56% 52%, #8db1ff, transparent 26%),
    radial-gradient(circle at 50% 55%, #7359e8, #11162e 60%, #050608 100%);
  box-shadow: 0 0 24px rgba(111, 99, 255, 0.38);
}

.nav__links {
  gap: clamp(18px, 2.1vw, 34px);
}

.nav__link {
  color: #aeb3be;
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.015em;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--ink);
}

.nav__link[aria-current="page"] {
  text-decoration-color: var(--sotto-signal);
  text-decoration-thickness: 1px;
  text-underline-offset: 10px;
}

.pill,
.tag,
.eyebrow,
.evidence,
.tech-note,
.footer__meta {
  font-family: SottoMono, "IBM Plex Mono", monospace;
}

.pill {
  border-color: rgba(133, 165, 255, 0.4);
  border-radius: 999px;
  color: var(--sotto-signal);
  background: rgba(79, 124, 255, 0.08);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  min-height: 620px;
  padding: calc(var(--nav-h) + clamp(5rem, 9vw, 9rem)) 0 clamp(5rem, 8vw, 8rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.98), rgba(5, 6, 8, 0.9) 52%, rgba(5, 6, 8, 0.35)),
    radial-gradient(circle at 82% 34%, rgba(79, 124, 255, 0.18), transparent 30rem);
}

.home .hero {
  min-height: max(820px, 100svh);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sotto-blue), transparent);
  content: "";
  opacity: 0.48;
}

.hero .cta-band__bg,
.hero .orb--lg {
  display: none;
}

.hero__render {
  inset: var(--nav-h) -3vw 0 auto;
  width: min(66vw, 1100px);
  height: calc(100% - var(--nav-h));
  object-fit: contain;
  object-position: right center;
  opacity: 0.9;
  filter: saturate(0.92) contrast(1.04);
}

.hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, #050608 0%, rgba(5, 6, 8, 0.99) 40%, rgba(5, 6, 8, 0.68) 65%, rgba(5, 6, 8, 0.08)),
    radial-gradient(circle at 58% 32%, rgba(79, 124, 255, 0.12), transparent 30%);
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 28px;
  color: var(--sotto-signal);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.eyebrow--amber,
.eyebrow--purple,
.eyebrow--rose {
  color: var(--sotto-signal);
}

.hero h1 {
  max-width: 900px;
  margin-top: 0;
  color: var(--ink);
  font-size: var(--fz-display);
  font-weight: 660;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.hero__line {
  max-width: 820px;
  margin-top: 42px;
  color: var(--ink);
  background: none;
  font-size: clamp(2rem, 4vw, 4.1rem);
  font-weight: 520;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.hero__subtitle {
  max-width: 700px;
  margin-top: 34px;
  color: #b8bdc8;
  font-size: var(--fz-lead);
  line-height: 1.62;
}

.hero__actions {
  margin-top: 40px;
}

.button {
  min-height: 48px;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 680;
}

.button:hover {
  border-color: var(--sotto-signal);
  background: rgba(133, 165, 255, 0.08);
}

.button-primary {
  border: 1px solid var(--sotto-blue);
  color: var(--bg);
  background: var(--sotto-blue);
  box-shadow: 0 16px 44px rgba(36, 75, 195, 0.28);
}

.button-primary:hover {
  border-color: var(--sotto-signal);
  background: #658cff;
}

.proof-strip {
  max-width: 830px;
  margin-top: 58px;
  gap: 0;
  border-block: 1px solid var(--line);
}

.proof-item {
  min-height: 96px;
  padding: 22px 24px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: rgba(5, 6, 8, 0.52);
  box-shadow: none;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  font-size: 14px;
}

.proof-item span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding-block: clamp(6rem, 10vw, 11rem);
}

.band {
  border-color: var(--line);
  background:
    linear-gradient(90deg, rgba(79, 124, 255, 0.045), transparent 36%),
    var(--bg-soft);
}

.section-head {
  margin-bottom: clamp(4rem, 7vw, 7.5rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.42fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.section-head h2,
.quote p {
  font-weight: 560;
  letter-spacing: -0.052em;
}

.section-head h2 {
  max-width: 900px;
  font-size: var(--fz-h2);
}

.lead {
  color: #aeb3bd;
  line-height: 1.65;
}

.grid {
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.card,
.compare-col,
.stack-row {
  border-radius: 0;
  background: var(--surface-0);
  box-shadow: none;
}

.card {
  min-height: 240px;
  border: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.card:hover {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(79, 124, 255, 0.08), transparent),
    var(--surface-0);
  box-shadow: none;
  transform: none;
}

.card h3 {
  font-weight: 590;
  letter-spacing: -0.035em;
}

.card p {
  line-height: 1.62;
}

.card__head {
  align-items: flex-start;
}

.tag {
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.media-frame,
.render-placeholder {
  border-radius: var(--r-lg);
  border-color: var(--line-strong);
  background: var(--surface-0);
}

.media-frame {
  box-shadow: var(--shadow-md);
}

.render-placeholder {
  background:
    linear-gradient(135deg, rgba(79, 124, 255, 0.1), transparent 45%),
    var(--surface-0);
}

.stack-row {
  border-color: var(--line);
  padding: 1.35rem 1.6rem;
}

.compare-grid {
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.compare-col {
  border: 0;
  padding: clamp(1.5rem, 3vw, 2.8rem);
}

.compare-col--nebula {
  background:
    linear-gradient(180deg, rgba(79, 124, 255, 0.08), transparent),
    var(--surface-0);
}

.quote p {
  font-size: clamp(2rem, 4.7vw, 4.5rem);
  line-height: 1.02;
}

.cta-band::before {
  background:
    linear-gradient(90deg, #050608 0%, rgba(5, 6, 8, 0.91) 57%, rgba(5, 6, 8, 0.5)),
    linear-gradient(180deg, rgba(5, 6, 8, 0.45), rgba(5, 6, 8, 0.92));
}

.footer {
  padding-block: clamp(4rem, 8vw, 8rem) 2rem;
  border-color: var(--line);
  background: #030405;
}

.footer__top {
  align-items: flex-start;
}

.footer__identity {
  flex-wrap: wrap;
}

.footer__links {
  max-width: 680px;
  justify-content: flex-end;
  gap: 1rem 1.5rem;
}

.footer__links a {
  color: #aeb3bd;
  font-size: 13px;
}

.footer__links a:hover {
  color: var(--sotto-signal);
}

.footer__meta {
  margin-top: clamp(4rem, 8vw, 8rem);
  padding-top: 1.25rem;
  color: #7d8491;
  font-size: 10px;
  letter-spacing: 0.06em;
}

@media (max-width: 1180px) {
  .nav__links {
    gap: 17px;
  }

  .nav__link {
    font-size: 11px;
  }

  .home .hero__render {
    width: 72vw;
    opacity: 0.62;
  }
}

@media (max-width: 980px) {
  .nav__links {
    top: var(--nav-h);
    padding: 1.2rem max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem)) 1.5rem;
    border-color: var(--line);
    background: rgba(5, 6, 8, 0.98);
  }

  .nav__link {
    width: 100%;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line-faint);
    font-size: 15px;
  }

  .home .hero {
    min-height: 940px;
  }

  .hero__render {
    inset: auto -13% 0 auto;
    width: 100%;
    height: 54%;
    object-position: right bottom;
    opacity: 0.42;
  }

  .hero::before {
    background:
      linear-gradient(180deg, #050608 0%, rgba(5, 6, 8, 0.95) 58%, rgba(5, 6, 8, 0.62)),
      radial-gradient(circle at 60% 70%, rgba(79, 124, 255, 0.13), transparent 40%);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --nav-h: 70px;
  }

  .container {
    width: min(100% - 2rem, var(--max));
  }

  .nav__identity {
    gap: 9px;
  }

  .brand-rail {
    height: 24px;
  }

  .master-brand {
    gap: 7px;
    font-size: 14px;
  }

  .master-brand svg {
    width: 24px;
    height: 24px;
  }

  .nav__brand {
    font-size: 13px;
  }

  .nav__brand .orb {
    --orb-size: 19px;
  }

  .hero {
    min-height: 660px;
    padding-top: calc(var(--nav-h) + 4.6rem);
  }

  .home .hero {
    min-height: auto;
    padding-bottom: 350px;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 22vw, 6rem);
  }

  .hero__line {
    margin-top: 28px;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero__subtitle {
    margin-top: 26px;
  }

  .home .hero__render {
    right: -5%;
    bottom: 16px;
    width: 120%;
    height: 320px;
    object-fit: cover;
    object-position: 76% center;
    opacity: 0.94;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

  .button + .button {
    margin-top: 0.75rem;
    margin-left: 0 !important;
  }

  .tag {
    max-width: 100%;
    white-space: normal;
  }

  .chip-list {
    max-width: 100%;
  }

  .section {
    padding-block: 5.5rem;
  }

  .footer__top,
  .footer__identity {
    align-items: flex-start;
  }

  .footer__identity {
    flex-direction: column;
  }

  .footer__identity .brand-rail {
    width: 48px;
    height: 1px;
  }

  .footer__links {
    justify-content: flex-start;
  }
}
