:root {
  --bg: #f5f7fb;
  --bg-soft: #eef3f8;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-tint: rgba(245, 248, 252, 0.92);
  --line: rgba(25, 43, 68, 0.08);
  --line-strong: rgba(34, 54, 84, 0.14);
  --text: #1f2732;
  --muted: #66758a;
  --accent: #7d9dff;
  --accent-strong: #456bc4;
  --accent-soft: #edf3ff;
  --accent-glow: rgba(125, 157, 255, 0.18);
  --shadow: 0 28px 70px rgba(71, 94, 131, 0.12);
  --shadow-soft: 0 16px 40px rgba(71, 94, 131, 0.08);
  --font-sans: "SF Pro Display", "SF Pro Text", "Avenir Next",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 12% 10%, rgba(125, 157, 255, 0.18), transparent 26%),
    radial-gradient(circle at 82% 6%, rgba(188, 214, 255, 0.22), transparent 20%),
    linear-gradient(180deg, #fcfdff 0%, #f5f8fc 55%, #eef3f8 100%);
}

::selection {
  background: rgba(125, 157, 255, 0.22);
  color: #18202a;
}

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

button,
a {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  width: 30rem;
  height: 30rem;
  top: -8rem;
  right: -12rem;
  background: rgba(125, 157, 255, 0.16);
}

.page-shell::after {
  width: 24rem;
  height: 24rem;
  bottom: 10rem;
  left: -10rem;
  background: rgba(176, 205, 255, 0.22);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  padding: 1.25rem 0 0;
}

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

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

.brand-mark {
  position: relative;
  width: 2.75rem;
  aspect-ratio: 1;
  border-radius: 0.95rem;
  background: linear-gradient(145deg, #ffffff, #e9f1ff);
  border: 1px solid rgba(98, 128, 196, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 30px rgba(98, 128, 196, 0.12);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(69, 107, 196, 0.46);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  right: 0.55rem;
  bottom: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status-pill {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(34, 54, 84, 0.09);
  color: var(--muted);
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(70, 92, 126, 0.06);
  backdrop-filter: blur(14px);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.75rem, 10vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.hero-lead {
  max-width: 37rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
}

.cta-button {
  padding: 1rem 1.45rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f76d9 0%, #7ea4ff 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow:
    0 20px 38px rgba(104, 135, 213, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.cta-button:disabled {
  opacity: 1;
  cursor: not-allowed;
}

.hero-note {
  max-width: 19rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 249, 253, 0.92));
  border: 1px solid rgba(34, 54, 84, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% 15%;
  height: 60%;
  background: radial-gradient(circle, rgba(125, 157, 255, 0.2), transparent 60%);
}

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

.panel-chip,
.screen-pill {
  display: inline-flex;
  width: max-content;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(237, 243, 255, 0.95);
  border: 1px solid rgba(125, 157, 255, 0.18);
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-hero-copy {
  max-width: 22rem;
  margin-top: 2rem;
}

.panel-kicker {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-hero-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.panel-metrics {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.metric-card {
  padding: 1rem 1.05rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(34, 54, 84, 0.08);
  box-shadow: var(--shadow-soft);
}

.metric-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-card strong {
  font-size: 1.05rem;
  font-weight: 600;
}

.features,
.visuals {
  padding: 3.5rem 0;
}

.section-heading {
  max-width: 40rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.section-heading p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

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

.feature-card {
  padding: 1.5rem;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 253, 0.96));
  border: 1px solid rgba(34, 54, 84, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    var(--shadow-soft);
}

.feature-index {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--accent-strong);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.feature-card p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.visuals-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.device-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  min-height: 34rem;
  padding: 1rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top, rgba(125, 157, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(241, 246, 251, 0.94));
  border: 1px solid rgba(34, 54, 84, 0.08);
  box-shadow: var(--shadow);
}

.device {
  position: relative;
  flex: 0 0 auto;
  width: min(30vw, 13rem);
  min-width: 9rem;
  padding: 0.55rem;
  border-radius: 2.4rem;
  background: linear-gradient(180deg, #24303d, #10161f);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 50px rgba(43, 58, 82, 0.22);
}

.device-center {
  width: min(34vw, 15.5rem);
  min-width: 10.5rem;
  transform: translateY(-0.5rem);
}

.device-left {
  transform: rotate(-8deg) translateY(1rem);
}

.device-right {
  transform: rotate(8deg) translateY(1rem);
}

.device-notch {
  width: 38%;
  height: 0.5rem;
  margin: 0.2rem auto 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.device-screen {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 24rem;
  padding: 1rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(238, 244, 250, 0.96)),
    radial-gradient(circle at top, rgba(125, 157, 255, 0.16), transparent 48%),
    #edf3f9;
  border: 1px solid rgba(255, 255, 255, 0.46);
}

.device-center .device-screen {
  min-height: 28rem;
}

.screen-placeholder {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
  padding: 1.05rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(69, 107, 196, 0.22);
}

.screen-placeholder.emphasis {
  background: linear-gradient(180deg, rgba(125, 157, 255, 0.18), rgba(255, 255, 255, 0.68));
  border-style: solid;
}

.screen-placeholder p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.screen-placeholder span {
  color: var(--muted);
  font-size: 0.92rem;
}

.screen-lines,
.screen-chart,
.screen-dots {
  margin-top: auto;
}

.screen-lines {
  display: grid;
  gap: 0.6rem;
}

.screen-lines span,
.screen-chart span,
.screen-dots span {
  display: block;
  border-radius: 999px;
  background: rgba(113, 137, 176, 0.22);
}

.screen-lines span:nth-child(1) {
  width: 100%;
  height: 0.6rem;
}

.screen-lines span:nth-child(2) {
  width: 78%;
  height: 0.6rem;
}

.screen-lines span:nth-child(3) {
  width: 62%;
  height: 0.6rem;
}

.screen-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  min-height: 7rem;
}

.screen-chart span:nth-child(1) {
  flex: 1;
  height: 42%;
}

.screen-chart span:nth-child(2) {
  flex: 1;
  height: 68%;
}

.screen-chart span:nth-child(3) {
  flex: 1;
  height: 86%;
  background: linear-gradient(180deg, rgba(92, 128, 223, 0.95), rgba(171, 196, 255, 0.65));
}

.screen-chart span:nth-child(4) {
  flex: 1;
  height: 58%;
}

.screen-dots {
  display: flex;
  gap: 0.65rem;
}

.screen-dots span {
  flex: 1;
  height: 4.5rem;
  border-radius: 1rem;
}

.site-footer {
  padding: 1rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  color: var(--muted);
}

.footer-note {
  margin: 0;
  color: var(--muted);
}

.footer-links a {
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--accent-strong);
}

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

@media (max-width: 900px) {
  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-grid,
  .visuals-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 38rem;
  }

  .device-stage {
    min-height: auto;
    padding: 1.25rem 0.75rem;
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-pill {
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.25rem);
  }

  .hero-actions {
    align-items: flex-start;
  }

  .device-stage {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .device,
  .device-center {
    width: min(78vw, 18rem);
  }

  .device-left,
  .device-right,
  .device-center {
    transform: none;
  }

  .device-screen,
  .device-center .device-screen {
    min-height: 21rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
