:root {
  --bg: #090909;
  --bg-soft: #101010;
  --panel: rgba(20, 20, 20, 0.94);
  --panel-soft: rgba(28, 28, 28, 0.86);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 145, 41, 0.28);
  --text: #f7f4ef;
  --muted: #b2aaa2;
  --accent: #ff8a1c;
  --accent-strong: #ff6b00;
  --accent-soft: rgba(255, 138, 28, 0.18);
  --radius: 34px;
  --radius-sm: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 138, 28, 0.12), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(255, 138, 28, 0.08), transparent 20%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-glow {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.24;
  animation: drift 18s ease-in-out infinite;
}

.ambient-glow-left {
  left: -12rem;
  top: -14rem;
  background: rgba(255, 138, 28, 0.5);
}

.ambient-glow-right {
  right: -14rem;
  bottom: -14rem;
  background: rgba(255, 138, 28, 0.28);
  animation-delay: -8s;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black 16%, transparent 82%);
  opacity: 0.3;
}

.topbar,
.section,
.metrics-strip {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.52));
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 28px rgba(255, 138, 28, 0.32);
}

.brand-copy {
  display: grid;
}

.brand-copy strong,
.brand-copy small,
.eyebrow,
.button,
.device-pill,
.topnav a,
.metric-box span,
.proof-tags span,
.tag-list span {
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 0.94rem;
  letter-spacing: 0.14em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.topnav a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.topnav-cta {
  padding: 0.82rem 1.1rem;
  border-radius: 999px;
  color: #140a03;
  background: linear-gradient(135deg, var(--accent), #ffb25c);
  box-shadow: 0 14px 30px rgba(255, 138, 28, 0.22);
}

.section {
  padding: 5.5rem 0;
}

.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: 2rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #ffb56d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1,
h2 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.9rem);
}

h1 span {
  color: var(--accent);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.9rem);
}

h3 {
  font-size: 1.18rem;
  font-weight: 700;
}

p {
  margin: 0;
}

.hero-subheadline,
.microcopy,
.stat-card span,
.icon-list li,
.section-note,
.lead-text,
.authority-copy p,
.proof-panel-top span,
.floating-card span,
.metric-box span {
  color: var(--muted);
}

.hero-subheadline {
  max-width: 42rem;
  margin-top: 1.45rem;
  font-size: 1.06rem;
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.95rem;
  padding: 1rem 1.6rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  transition: transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}

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

.button-primary {
  color: #140a03;
  background: linear-gradient(135deg, var(--accent), #ffb25c);
  box-shadow: 0 18px 40px rgba(255, 138, 28, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.button-block {
  width: 100%;
}

.microcopy {
  margin-top: 0.85rem;
  font-size: 0.88rem;
}

.center {
  text-align: center;
}

.hero-stats,
.metrics-strip,
.benefits-grid,
.class-grid,
.tag-list {
  display: grid;
  gap: 1rem;
}

.hero-stats {
  margin-top: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card,
.metric-box,
.benefit-card,
.class-card,
.authority-badge,
.floating-card,
.proof-panel,
.lead-form,
.split-visual,
.authority-panel,
.final-shell {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.94), rgba(15, 15, 15, 0.92));
  box-shadow: var(--shadow);
}

.stat-card,
.metric-box,
.benefit-card,
.class-card,
.authority-badge,
.floating-card,
.proof-panel,
.lead-form {
  border-radius: var(--radius-sm);
}

.stat-card {
  padding: 1.15rem;
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.hero-visual {
  position: relative;
  min-height: 38rem;
}

.device-stack {
  position: absolute;
  inset: 0;
}

.device {
  position: absolute;
  width: 18rem;
  border-radius: 2.6rem;
  background: linear-gradient(180deg, #151515, #090909);
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.48);
}

.device-main {
  z-index: 3;
  left: 50%;
  top: 2rem;
  transform: translateX(-50%) rotate(10deg);
  padding: 0.65rem;
}

.device-back {
  z-index: 1;
  right: 1.2rem;
  top: 4.2rem;
  transform: rotate(18deg);
  padding: 1rem;
  opacity: 0.52;
}

.device-side {
  z-index: 2;
  left: 0.2rem;
  bottom: 2rem;
  transform: rotate(-18deg);
  padding: 1rem;
  opacity: 0.76;
}

.device-notch {
  width: 6.4rem;
  height: 1.35rem;
  margin: 0 auto;
  border-radius: 999px;
  background: #050505;
}

.device-screen {
  margin-top: 0.7rem;
  min-height: 28rem;
  padding: 1.1rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top, rgba(255, 138, 28, 0.08), transparent 30%),
    linear-gradient(180deg, #111111, #090909);
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.device-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 138, 28, 0.14);
  color: #ffb56d;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.device-top strong,
.device-value {
  font-size: 0.95rem;
  font-weight: 700;
}

.chart-card {
  margin-top: 1.3rem;
  padding: 1rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chart-head span,
.device-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.chart-head strong,
.device-metrics strong,
.proof-panel-top strong,
.floating-card strong {
  display: block;
  margin-top: 0.3rem;
}

.chart-line {
  height: 10rem;
  margin-top: 1rem;
  border-radius: 1.2rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 138, 28, 0.08), rgba(255, 138, 28, 0.02));
  background-size: 32px 32px, 32px 32px, auto;
  overflow: hidden;
}

.chart-line svg {
  width: 100%;
  height: 100%;
}

.chart-line path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(255, 138, 28, 0.36));
}

.chart-tags,
.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.chart-tags span,
.proof-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.device-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.device-metrics div {
  padding: 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.device-list,
.device-side-bars,
.proof-bars,
.mini-rows {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.device-list span,
.device-side-bars span,
.proof-bars span,
.mini-rows span {
  display: block;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 138, 28, 0.9), rgba(255, 255, 255, 0.08));
}

.device-side-bars span:nth-child(2),
.proof-bars span:nth-child(2) {
  width: 78%;
}

.device-side-bars span:nth-child(3),
.proof-bars span:nth-child(3) {
  width: 60%;
}

.floating-card {
  position: absolute;
  z-index: 4;
  max-width: 14rem;
  padding: 1rem;
  backdrop-filter: blur(12px);
}

.floating-card-top {
  top: 0;
  left: 0;
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card-bottom {
  right: 0;
  bottom: 0;
  animation: floatCard 6.8s ease-in-out infinite;
  animation-delay: -1.5s;
}

.metrics-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 1rem;
}

.metric-box {
  padding: 1.35rem 1rem;
  text-align: center;
}

.metric-box strong {
  display: block;
  color: var(--accent);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.metric-box-active {
  background: linear-gradient(180deg, rgba(255, 138, 28, 0.96), rgba(255, 112, 8, 0.96));
}

.metric-box-active strong,
.metric-box-active span {
  color: #1f1208;
}

.split-section {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split-visual {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.feature-device,
.proof-panel {
  height: 100%;
}

.feature-device {
  display: grid;
  place-items: center;
  padding: 2rem;
}

.feature-device-screen {
  width: min(19rem, 100%);
  height: 28rem;
  padding: 1.2rem;
  border-radius: 2.2rem;
  background: linear-gradient(180deg, #161616, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
  transform: rotate(-16deg);
}

.mini-chart {
  height: 12rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top, rgba(255, 138, 28, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  position: relative;
  overflow: hidden;
}

.mini-chart::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  height: 65%;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 35%, #ffb25c 100%);
  clip-path: polygon(0 100%, 0 72%, 20% 60%, 42% 68%, 58% 34%, 76% 43%, 100% 10%, 100% 100%);
  filter: drop-shadow(0 0 12px rgba(255, 138, 28, 0.36));
}

.split-copy h2,
.section-heading h2,
.final-copy h2,
.authority-copy h2 {
  max-width: 15ch;
}

.icon-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.icon-list li {
  position: relative;
  padding-left: 1.7rem;
}

.icon-list li + li {
  margin-top: 0.95rem;
}

.icon-list li::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffb25c);
  box-shadow: 0 0 14px rgba(255, 138, 28, 0.28);
}

.section-note {
  margin-top: 1.25rem;
  font-size: 1rem;
}

.center-section {
  text-align: center;
}

.section-heading {
  max-width: 58rem;
  margin: 0 auto 2rem;
}

.lead-text {
  margin-top: 1rem;
  font-size: 1.15rem;
}

.benefits-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.benefit-card {
  padding: 1.4rem;
  text-align: left;
}

.benefit-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  color: #1d1208;
  background: linear-gradient(135deg, var(--accent), #ffb25c);
}

.reverse-section .split-copy {
  order: 1;
}

.reverse-section .split-visual {
  order: 2;
}

.proof-panel {
  padding: 1.6rem;
}

.proof-panel-top strong {
  font-size: 1.45rem;
}

.proof-mini-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.3rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.proof-mini-card {
  padding: 1rem;
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.proof-mini-card span,
.proof-mini-card small,
.authority-badge small {
  display: block;
  color: var(--muted);
}

.proof-mini-card span {
  margin-bottom: 0.45rem;
  color: #ffb56d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.proof-mini-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.proof-mini-card small {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

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

.class-card {
  padding: 1.6rem;
}

.class-card .button {
  margin-top: 1.3rem;
}

.class-card-accent {
  background:
    radial-gradient(circle at top right, rgba(255, 138, 28, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(32, 22, 14, 0.96), rgba(18, 14, 11, 0.94));
}

.authority-panel,
.final-shell {
  display: grid;
  gap: 1.5rem;
  padding: 1.9rem;
  border-radius: var(--radius);
}

.authority-side {
  display: grid;
  gap: 1rem;
}

.authority-badge {
  padding: 1.2rem;
}

.authority-badge span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.authority-badge strong {
  display: block;
  margin-top: 0.4rem;
}

.authority-badge small {
  margin-top: 0.6rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.lead-form {
  padding: 1.2rem;
  background: rgba(12, 12, 12, 0.96);
}

.lead-box-title {
  margin-bottom: 0.55rem;
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.lead-form .button {
  margin-top: 1rem;
}

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

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1rem, 1.6rem, 0) scale(1.04);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (min-width: 768px) {
  .topbar,
  .section,
  .metrics-strip {
    width: min(calc(100% - 3rem), var(--container));
  }

  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  }

  .split-section,
  .authority-panel,
  .final-shell {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .class-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

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

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

  .benefit-card:last-child {
    grid-column: 2 / 3;
  }
}

@media (max-width: 767px) {
  .topnav a:not(.topnav-cta) {
    display: none;
  }

  .topnav-cta {
    padding: 0.75rem 0.95rem;
  }

  .section {
    padding: 4.2rem 0;
  }

  .hero-stats,
  .metrics-strip,
  .tag-list,
  .device-metrics {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 32rem;
  }

  .device {
    width: 14.8rem;
  }

  .device-main {
    top: 3rem;
  }

  .device-back {
    right: 0;
    top: 5rem;
  }

  .device-side {
    left: 0;
    bottom: 1rem;
  }

  .floating-card-top {
    top: 0.5rem;
    left: 0.5rem;
  }

  .floating-card-bottom {
    right: 0.5rem;
    bottom: 0.5rem;
  }

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
