:root {
  --bg: #0d1117;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --bg-strong: rgba(255, 255, 255, 0.08);
  --panel: rgba(12, 16, 23, 0.82);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #f4efe8;
  --muted: #b8b0a6;
  --accent: #e2b86f;
  --accent-soft: rgba(226, 184, 111, 0.16);
  --accent-cool: #7ed0c6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(126, 208, 198, 0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(226, 184, 111, 0.18), transparent 26%),
    linear-gradient(180deg, #101721 0%, #0a0d13 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
  opacity: 0.18;
  pointer-events: none;
}

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

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

video {
  border: 0;
}

.page-shell {
  width: min(100%, calc(var(--content-width) + 64px));
  margin: 0 auto;
  padding: 24px 32px 48px;
}

.section {
  padding: 48px 0;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 16px 0 24px;
  padding: 14px 18px;
  background: rgba(10, 13, 19, 0.72);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #111;
  background: linear-gradient(135deg, var(--accent) 0%, #f2d8aa 100%);
  overflow: hidden;
}

.brand-mark img {
  position: absolute;
  inset: 0;
  object-fit: contain;
  padding: 6px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.brand-mark img.is-ready {
  opacity: 1;
}

.brand-mark-fallback {
  position: relative;
  z-index: 1;
}

.brand-name {
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

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

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

.button-primary {
  color: #111;
  background: linear-gradient(135deg, var(--accent) 0%, #f6d6a0 100%);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  border-color: var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 160px);
}

.eyebrow,
.mini-label,
.feature-index,
.panel-label,
.metric-value {
  font-family: "Space Grotesk", sans-serif;
}

.eyebrow,
.mini-label,
.panel-label {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.site-footer h2,
.about-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 0.96;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 8vw, 6.6rem);
}

.hero-text,
.feature-card p,
.showcase-card p,
.about-copy p,
.site-footer p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-metrics li,
.feature-card,
.showcase-card,
.video-card,
.about-panel,
.device-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  padding: 18px;
  border-radius: var(--radius-md);
}

.metric-value {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-cool);
  font-size: 1.4rem;
}

.metric-label {
  color: var(--muted);
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.orb-large {
  top: 8%;
  right: 3%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(126, 208, 198, 0.34) 0%, transparent 72%);
}

.orb-small {
  bottom: 3%;
  left: 6%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(226, 184, 111, 0.26) 0%, transparent 72%);
}

.device-card {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.device-card-main {
  inset: 6% 4% 14% 10%;
  padding: 22px;
}

.device-card-float {
  right: 0;
  bottom: 6%;
  width: min(280px, 54%);
  padding: 22px;
}

.device-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.screen-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  min-height: 100%;
}

.screen-panel {
  min-height: 180px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius-lg) - 4px);
}

.screen-panel-accent {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  background:
    radial-gradient(circle at top right, rgba(126, 208, 198, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(226, 184, 111, 0.13), rgba(255, 255, 255, 0.03));
}

.screen-panel h2,
.showcase-card h3,
.video-card h3,
.feature-card h3 {
  margin: 10px 0 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.section-band {
  padding-top: 88px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,
.site-footer h2,
.about-copy h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.feature-grid,
.showcase-grid,
.video-strip {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.showcase-card,
.video-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-index {
  margin: 0 0 16px;
  color: var(--accent-cool);
}

.showcase-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.showcase-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-card-large {
  grid-row: span 2;
  min-height: 100%;
}

.media-slot {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.media-slot img {
  object-fit: cover;
  background: rgba(255, 255, 255, 0.03);
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100%;
  color: var(--muted);
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(126, 208, 198, 0.06), rgba(226, 184, 111, 0.06));
}

.video-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.about-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.about-note {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.about-note ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

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

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

@media (max-width: 1080px) {
  .hero,
  .about-panel,
  .feature-grid,
  .showcase-grid,
  .video-strip,
  .section-heading,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .device-card-main {
    inset: 4% 0 20% 0;
  }

  .device-card-float {
    width: 72%;
  }

  .section-heading,
  .site-footer {
    display: grid;
  }

  .showcase-card-large {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 16px 16px 40px;
  }

  .site-header {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 18px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .hero-visual {
    min-height: 420px;
  }

  .device-card-main {
    position: relative;
    inset: auto;
    margin-top: 12px;
  }

  .device-card-float {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    margin-top: 16px;
  }

  .screen-grid {
    grid-template-columns: 1fr;
  }

  .screen-panel-accent {
    min-height: 240px;
  }

  .showcase-card,
  .feature-card,
  .video-card,
  .about-panel,
  .about-note {
    padding: 20px;
  }
}
