:root {
  color-scheme: dark;
  --color-bg: #030304;
  --color-border: rgba(255, 255, 255, 0.14);
  --color-border-strong: rgba(255, 255, 255, 0.24);
  --color-text: #f4f1f4;
  --color-muted: #aaa2aa;
  --color-dim: #756d75;
  --color-accent: #ff315f;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-padding: 40px 72px 28px;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 49, 95, 0.18), transparent 31rem),
    radial-gradient(circle at 24% 78%, rgba(135, 20, 58, 0.15), transparent 25rem),
    linear-gradient(135deg, #020203 0%, #080607 48%, #030304 100%);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 64% 38%, rgba(255, 49, 95, 0.2), transparent 20rem),
    radial-gradient(circle at 38% 64%, rgba(160, 18, 66, 0.13), transparent 18rem);
  filter: blur(28px);
  opacity: 0.78;
  animation: glow-drift 18s ease-in-out infinite alternate;
}

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

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: var(--page-padding);
  grid-template-rows: auto 1fr auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  min-height: 2rem;
}

.topbar-logo {
  display: inline-flex;
  width: clamp(10.5rem, 14vw, 13rem);
}

.topbar-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.domain,
.site-footer {
  color: var(--color-dim);
  font-size: 0.8rem;
}

.domain {
  transition: color 180ms ease;
}

.domain:hover {
  color: var(--color-text);
}

.hero {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.75rem);
  padding: clamp(1.5rem, 3.5vh, 3rem) 0 clamp(1.25rem, 3vh, 2.25rem);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1.35rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--color-border-strong);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(58px, 5.2vw, 78px);
  font-weight: 750;
  line-height: 0.92;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.lead {
  max-width: 39rem;
  margin: clamp(1.25rem, 2.5vw, 2rem) 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.secondary {
  max-width: 35rem;
  margin: 1rem 0 0;
  color: var(--color-dim);
  font-size: 0.95rem;
}

.product-side {
  position: relative;
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  width: clamp(260px, 26vw, 340px);
  gap: 0.9rem;
  align-self: center;
  justify-self: end;
}

.product-side::before {
  position: absolute;
  inset: 10% 0 22%;
  z-index: -1;
  border-radius: 999px;
  content: "";
  background: radial-gradient(circle, rgba(255, 49, 95, 0.2), rgba(135, 20, 58, 0.075) 44%, transparent 72%);
  filter: blur(34px);
  opacity: 0.72;
}

.product-visual {
  width: 100%;
  margin: 0;
}

.product-screenshot {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 38rem);
  object-fit: contain;
  object-position: center;
  filter: brightness(0.96) contrast(1.03) saturate(0.98);
}

.signal-panel {
  position: relative;
  grid-column: 1;
  max-width: 34rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--color-border);
}

.signal-panel::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 4.5rem;
  height: 1px;
  content: "";
  background: var(--color-accent);
}

.signal-panel p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  padding-bottom: 0.34rem;
  border-bottom: 1px solid rgba(255, 49, 95, 0.68);
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: border-color 180ms ease, color 180ms ease;
}

.contact-link::after {
  margin-left: 0.65rem;
  color: var(--color-accent);
  content: "->";
  font-weight: 700;
}

.contact-link:hover {
  border-color: var(--color-text);
  color: #ffffff;
}

.site-footer {
  min-height: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes glow-drift {
  from {
    transform: translate3d(-1.5rem, 0, 0) scale(1);
  }

  to {
    transform: translate3d(1.5rem, -1rem, 0) scale(1.04);
  }
}

@media (max-width: 820px) {
  .hero {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .product-side {
    grid-column: auto;
    grid-row: auto;
    width: min(100%, 22rem);
    justify-self: start;
  }

  .signal-panel {
    grid-column: auto;
    max-width: 30rem;
  }
}

@media (max-width: 560px) {
  :root {
    --page-padding: 28px 20px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .topbar-logo {
    width: clamp(9rem, 48vw, 10.75rem);
  }

  .eyebrow {
    margin-bottom: 1.2rem;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .lead {
    font-size: 1.02rem;
  }

  .product-side {
    width: min(100%, 20rem);
  }

  .product-screenshot {
    max-height: 66vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
