@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08080b;
  --bg-raise: #12121a;
  --ink: #f4f6fb;
  --muted: #c5c7d4;
  --faint: #9aa0b4;
  --blue: #55aaff;
  --violet: #a342e6;
  --orange: #ff8625;
  --line: rgba(255, 255, 255, 0.12);
  --wrap: 1120px;
  --header: 76px;
  --radius: 22px;
  --focus: 0 0 0 3px #08080b, 0 0 0 6px var(--blue);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  background: rgba(8, 8, 11, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand img {
  width: 168px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  gap: 8px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 72px;
}

.hero-glow,
.trail {
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: -10% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(85, 170, 255, 0.35), transparent 46%),
    radial-gradient(ellipse at 78% 10%, rgba(163, 66, 230, 0.38), transparent 42%),
    radial-gradient(ellipse at 92% 40%, rgba(255, 134, 37, 0.22), transparent 40%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.center,
.market h2,
.plans h2,
.setup-price,
.setup-note,
.market-note {
  text-align: center;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  font-weight: 700;
  max-width: 11ch;
  margin-bottom: 16px;
}

.accent {
  background: linear-gradient(100deg, var(--blue), var(--violet) 55%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 36ch;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  color: #061018;
  background: var(--blue);
}

.btn:hover {
  filter: brightness(1.08);
}

.btn-primary {
  background: linear-gradient(180deg, #7cbcff, var(--blue));
  box-shadow: 0 10px 30px rgba(85, 170, 255, 0.28);
}

.hero-media {
  position: relative;
  margin-inline: auto;
  width: min(100%, 460px);
}

.hero-video,
.hero-poster {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border: 0;
  background: transparent;
}

.reduce-motion .hero-video {
  display: none;
}

html:not(.reduce-motion) .hero-poster {
  display: none;
}

.trail {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.85;
}

.trail-a {
  width: 70%;
  height: 18%;
  left: -8%;
  top: 18%;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: drift-a 6s ease-in-out infinite;
}

.trail-b {
  width: 64%;
  height: 16%;
  right: -12%;
  bottom: 22%;
  background: linear-gradient(90deg, transparent, var(--violet), var(--orange), transparent);
  animation: drift-b 6s ease-in-out infinite;
}

.trail-c {
  width: 28%;
  height: 28%;
  left: 36%;
  top: 34%;
  background: radial-gradient(circle, rgba(85, 170, 255, 0.55), transparent 68%);
  animation: pulse 6s ease-in-out infinite;
}

.hero.is-paused .trail,
html.reduce-motion .trail {
  animation-play-state: paused;
  animation: none;
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18px, 10px, 0); }
}

@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-16px, -12px, 0); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

.case-section {
  padding: 12px 0 72px;
}

.case-panel {
  display: grid;
  gap: 28px;
  padding: 28px 22px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(163, 66, 230, 0.28), transparent 46%),
    linear-gradient(180deg, #14141f, #0d0d14);
  border: 1px solid rgba(163, 66, 230, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.case-kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.case-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #1a120f;
  flex: none;
}

.case-brand h2,
.market h2,
.plans h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin: 0;
}

.case-copy p {
  color: var(--muted);
  max-width: 42ch;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  margin-top: 22px;
}

.text-link {
  font-weight: 700;
  text-underline-offset: 4px;
}

.case-shots {
  display: grid;
  grid-template-columns: 1.25fr 0.72fr;
  gap: 12px;
  align-items: stretch;
}

.shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #1b120e;
  min-height: 0;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 3 / 4;
}

.shot-delivery img {
  aspect-ratio: 9 / 16;
  object-position: center 18%;
}

.market {
  padding: 24px 0 80px;
}

.market h2,
.plans h2 {
  margin: 8px auto 12px;
  max-width: 16ch;
}

.market-note,
.setup-note {
  color: var(--faint);
  max-width: 62ch;
  margin: 0 auto 28px;
}

.market-grid,
.plan-grid {
  display: grid;
  gap: 16px;
}

.market-card,
.plan {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.market-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.market-body,
.plan {
  padding: 18px 18px 20px;
}

.market-body h3,
.plan h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.market-body h3 span,
.plan h3 {
  font-weight: 700;
}

.market-body h3 span {
  display: block;
  color: var(--ink);
}

.market-body h3 {
  color: var(--faint);
  font-size: 0.92rem;
  letter-spacing: 0;
  font-weight: 600;
}

.market-body p,
.plan p {
  color: var(--muted);
  margin-bottom: 14px;
}

.market-body a {
  font-weight: 700;
}

.plans {
  padding: 10px 0 80px;
}

.setup-price {
  margin: 0 auto 8px;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.price span {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.price small {
  color: var(--faint);
  font-size: 1rem;
  font-weight: 600;
}

.plan .btn {
  width: 100%;
  background: transparent;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.28);
}

.plan .btn:hover,
.plan .btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.plan-featured {
  border-color: var(--violet);
  box-shadow: 0 0 0 1px var(--violet), 0 18px 50px rgba(163, 66, 230, 0.22);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(163, 66, 230, 0.22), transparent 55%),
    var(--bg-raise);
}

.plan-featured .btn {
  background: var(--violet);
  color: white;
  border-color: var(--violet);
}

.plan-featured .btn:hover,
.plan-featured .btn[aria-pressed="true"] {
  background: #c06cff;
  color: white;
  border-color: #c06cff;
}

.plan-summary {
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(85, 170, 255, 0.45);
  background: #101018;
}

.plan-summary h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.plan-summary dl {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.plan-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.plan-summary dt {
  color: var(--faint);
}

.plan-summary dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.sum-message {
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 14px;
  background: #08080b;
  color: var(--ink);
  white-space: pre-wrap;
  user-select: text;
}

.sum-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.copy-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: #9be7b5;
  font-weight: 600;
}

.multi-unit {
  margin: 16px 0 0;
  color: var(--faint);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 32px;
  color: var(--faint);
  font-size: 0.92rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 48px;
  }

  .hero-media {
    width: min(100%, 520px);
  }

  .case-panel {
    padding: 36px;
  }

  .market-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }

  .hero-media {
    width: 100%;
    justify-self: end;
  }

  .case-panel {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 36px;
  }

  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .plan {
    display: flex;
    flex-direction: column;
  }

  .plan .btn {
    margin-top: auto;
  }

  .plan-featured {
    transform: translateY(-8px);
  }
}

@media (max-width: 420px) {
  .site-nav a {
    padding-inline: 8px;
    font-size: 0.92rem;
  }

  .brand img {
    width: 132px;
  }

  h1 {
    font-size: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .trail,
  .hero-glow {
    animation: none;
  }
}
