:root {
  color-scheme: dark;
  --bg: #040406;
  --bg-soft: #120f1f;
  --bg-bright: #ece8e2;
  --text: #f6f3ea;
  --muted: #c2bcc7;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.05);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Geist", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(180deg, #f2eee9 0%, #76648d 24%, #1a1326 48%, #07070b 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1 {
  margin: 0;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.bg-lights {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 16%),
    radial-gradient(circle at 50% 28%, rgba(148, 114, 190, 0.22), transparent 28%);
  pointer-events: none;
}

.bg-macbook {
  position: fixed;
  left: 50%;
  bottom: -6vh;
  width: min(1300px, 120vw);
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.9;
  z-index: 1;
}

.bg-screen {
  width: min(920px, 82vw);
  height: min(560px, 46vw);
  margin: 0 auto;
  border-radius: 34px 34px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(8, 8, 12, 0.96), rgba(15, 11, 25, 0.94));
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.45);
}

.bg-hinge {
  width: min(300px, 26vw);
  height: 14px;
  margin: 0 auto;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, rgba(220, 220, 226, 0.75), rgba(91, 91, 106, 0.75));
}

.bg-base {
  width: min(1180px, 100vw);
  height: 42px;
  margin: 0 auto;
  border-radius: 0 0 120px 120px;
  background: linear-gradient(180deg, rgba(233, 232, 236, 0.85), rgba(115, 113, 126, 0.86));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 10px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 16px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, rgba(8, 8, 11, 0.95), rgba(24, 19, 35, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 14px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.top-scroll {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, white 12%, white 88%, transparent);
}

.top-scroll-track {
  display: inline-flex;
  width: max-content;
  min-width: max-content;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: marquee-left 16s linear infinite;
}

.top-scroll-track span {
  display: inline-flex;
  align-items: center;
}

.top-scroll-track span::after {
  content: "·";
  margin: 0 18px;
  color: rgba(255, 255, 255, 0.3);
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
}

.hero {
  padding: 30px 0 0;
}

.notch-stage {
  max-width: 900px;
  margin: 0 auto 36px;
  position: relative;
}

.notch-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 24px;
  width: 280px;
  height: 120px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(187, 171, 255, 0.14);
  filter: blur(44px);
  pointer-events: none;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, white 12%, white 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  min-width: max-content;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 26px;
  letter-spacing: -0.04em;
  font-weight: 500;
  animation: marquee-left 12s linear infinite;
  will-change: transform;
}

.marquee-track.reverse {
  animation: marquee-right 12s linear infinite;
}

.marquee-group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
}

.marquee-track span::after {
  content: "";
  width: 34px;
}

.notch-row {
  display: grid;
  grid-template-columns: 1fr 198px 1fr;
  gap: 18px;
  align-items: center;
  margin: 8px 0 10px;
}

.notch-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.notch {
  position: relative;
  height: 56px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #010203 0%, #171225 55%, #06050b 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.notch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 48%);
}

.notch::after {
  content: "";
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-20deg);
  animation: sheen 1.9s linear infinite;
}

.camera-dot {
  position: absolute;
  left: 50%;
  top: 13px;
  width: 44px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.pill-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.35);
  font-size: 13px;
  backdrop-filter: blur(16px);
}

.pill-muted {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1 {
  max-width: 10ch;
  margin: 0 auto;
  font-family: "Instrument Serif", serif;
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.kicker {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  text-transform: lowercase;
  font-size: 18px;
}

.lede,
.meta {
  color: rgba(245, 240, 235, 0.84);
  line-height: 1.68;
}

.lede {
  max-width: 40rem;
  margin: 18px auto 0;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.topbar-cta:hover,
.topbar-cta:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #05080b;
  background: linear-gradient(180deg, #ffffff 0%, #e9ecef 100%);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(10, 9, 14, 0.3);
  backdrop-filter: blur(14px);
}

.meta {
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes sheen {
  from {
    transform: translateX(0) skewX(-20deg);
  }
  to {
    transform: translateX(520%) skewX(-20deg);
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
  }

  .topbar {
    gap: 10px;
  }

  .top-scroll {
    display: none;
  }

  .marquee-track {
    font-size: 19px;
  }

  .notch-row {
    grid-template-columns: 1fr 168px 1fr;
    gap: 10px;
  }

  .notch {
    height: 52px;
  }

  .kicker {
    font-size: 16px;
  }
}
