:root {
  color-scheme: light;
  --bg: #f4f1eb;
  --surface: #ffffff;
  --surface-muted: #ece7de;
  --text: #181a1f;
  --muted: #5d6470;
  --line: #d8d2c7;
  --line-strong: #c6beb1;
  --cyan: #00b7d8;
  --pink: #ed5a9d;
  --gold: #d7932d;
  --shadow: 0 20px 50px rgba(20, 25, 35, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: min(1240px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 183, 216, 0.08), transparent 24rem),
    radial-gradient(circle at top left, rgba(237, 90, 157, 0.08), transparent 24rem),
    linear-gradient(180deg, #f7f3ee 0%, var(--bg) 36%, #efebe4 100%);
  color: var(--text);
  font-family: "Avenir Next", "SF Pro Display", "Helvetica Neue", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 241, 235, 0.88);
  border-bottom: 1px solid rgba(24, 26, 31, 0.08);
  backdrop-filter: blur(18px);
}

.topbar__inner,
.hero,
.section-nav,
.spec-strip,
.intro,
.feature-band,
.screens,
.cta {
  width: var(--content);
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
}

.topnav,
.section-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.topnav {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.9fr);
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 3rem;
}

.eyebrow,
.feature-row__eyebrow,
.spec-card__label {
  margin: 0 0 1rem;
  color: #6a6f7b;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.breadcrumb {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero h1,
.section-head h2,
.feature-row h3,
.cta__panel h2 {
  margin: 0;
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 7vw, 6rem);
}

.hero__lede,
.intro-card p,
.feature-row__copy p,
.screen-grid__item p,
.cta__panel p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero__lede {
  max-width: 36rem;
  margin: 1.5rem 0 0;
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.2rem;
  margin: 1.5rem 0 0;
}

.hero-meta div {
  min-width: 7rem;
}

.hero-meta dt {
  color: #6a6f7b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-meta dd {
  margin: 0.35rem 0 0;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button--primary {
  background: #16191f;
  color: #fff;
  box-shadow: var(--shadow);
}

.button--secondary {
  background: transparent;
  border-color: var(--line-strong);
}

.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;
}

.hero__highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.2rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.signup-form__input {
  flex: 1 1 18rem;
  min-height: 3rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
}

.signup-form__input::placeholder {
  color: #7a7f88;
}

.signup-form__input:focus {
  outline: 2px solid rgba(0, 183, 216, 0.22);
  outline-offset: 2px;
}

.signup-form__button {
  flex: 0 0 auto;
}

.signup-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero__highlights li,
.detail-list li {
  position: relative;
  padding-left: 1rem;
  line-height: 1.55;
}

.hero__highlights li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.hero__media {
  position: relative;
  min-height: 42rem;
  display: grid;
  place-items: center;
}

.device {
  position: absolute;
  overflow: hidden;
  border-radius: 2.4rem;
  background: #10131a;
  box-shadow:
    0 12px 40px rgba(18, 21, 27, 0.22),
    0 0 0 1px rgba(18, 21, 27, 0.08);
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device--main {
  z-index: 2;
  width: 19rem;
  height: 41rem;
}

.device--side {
  z-index: 1;
  width: 13.5rem;
  height: 29rem;
  right: 0.5rem;
  bottom: 1rem;
  transform: rotate(10deg);
}

.section-nav {
  position: sticky;
  top: 4.5rem;
  z-index: 15;
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  margin-top: 1rem;
  background: rgba(244, 241, 235, 0.92);
  border-top: 1px solid rgba(24, 26, 31, 0.06);
  border-bottom: 1px solid rgba(24, 26, 31, 0.06);
  color: var(--muted);
  font-size: 0.95rem;
  backdrop-filter: blur(12px);
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 2rem 0 0;
}

.spec-card,
.intro-card,
.screen-grid__item,
.cta__panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 26, 31, 0.08);
  box-shadow: var(--shadow);
}

.spec-card,
.intro-card,
.screen-grid__item {
  border-radius: var(--radius-md);
}

.spec-card {
  padding: 1.2rem 1.1rem;
}

.spec-card strong {
  line-height: 1.45;
}

.intro,
.feature-band,
.screens,
.cta {
  padding: 4.5rem 0 0;
}

.section-head {
  max-width: 44rem;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.3rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.intro-card {
  padding: 1.5rem;
}

.intro-card h3,
.screen-grid__item h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.intro-card--lead {
  background: #171a21;
  color: #fff;
}

.intro-card--lead p {
  color: rgba(255, 255, 255, 0.74);
}

.feature-band {
  display: grid;
  gap: 2rem;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.85fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-top: 1px solid var(--line);
}

.feature-row--reverse {
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 0.9fr);
}

.feature-row--reverse .feature-row__copy {
  order: 2;
}

.feature-row--reverse .screen-card {
  order: 1;
}

.feature-row h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.detail-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.screen-card {
  width: min(22rem, 100%);
  margin-inline: auto;
}

.screen-card img,
.screen-grid__item img {
  border-radius: 2rem;
  box-shadow:
    0 16px 40px rgba(18, 21, 27, 0.14),
    0 0 0 1px rgba(18, 21, 27, 0.08);
}

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

.screen-grid__item {
  padding: 1rem;
}

.screen-grid__item h3 {
  margin-top: 1rem;
}

.cta {
  padding-bottom: 4.5rem;
}

.cta__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.cta-signup-form {
  justify-content: flex-end;
  min-width: min(100%, 28rem);
  margin-top: 0;
}

.cta__panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

@media (prefers-reduced-motion: no-preference) {
  .device--main {
    animation: float-main 8s ease-in-out infinite;
  }

  .device--side {
    animation: float-side 8.5s ease-in-out infinite;
  }
}

@keyframes float-main {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.5rem);
  }
}

@keyframes float-side {
  0%,
  100% {
    transform: rotate(10deg) translateY(0);
  }

  50% {
    transform: rotate(10deg) translateY(-0.75rem);
  }
}

@media (max-width: 1080px) {
  .hero,
  .spec-strip,
  .intro-grid,
  .screen-grid,
  .feature-row,
  .feature-row--reverse,
  .cta__panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero__media {
    min-height: 34rem;
  }

  .feature-row--reverse .feature-row__copy,
  .feature-row--reverse .screen-card {
    order: initial;
  }

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

  .cta__panel {
    display: grid;
  }
}

@media (max-width: 760px) {
  :root {
    --content: min(100vw - 24px, 48rem);
  }

  .topbar__inner {
    min-height: 4rem;
  }

  .topnav,
  .section-nav {
    display: none;
  }

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

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
  }

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

  .hero__media {
    min-height: 28rem;
  }

  .device--main {
    width: 14rem;
    height: 30rem;
  }

  .device--side {
    width: 10rem;
    height: 21rem;
    right: 0;
    bottom: 0.25rem;
  }

  .feature-row {
    padding: 1.5rem 0;
  }

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

  .cta {
    padding-bottom: 2.5rem;
  }
}
