:root {
  color-scheme: light;
  --ink: #15212d;
  --muted: #617083;
  --line: #d8e0e7;
  --panel: #ffffff;
  --soft: #f5f8fb;
  --brand: #0f7aa5;
  --brand-deep: #095c7d;
  --accent: #e85f49;
  --accent-soft: #fff0ec;
  --shadow: 0 22px 60px rgba(27, 45, 66, 0.18);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.7;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(216, 224, 231, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--brand);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  padding: clamp(88px, 12vh, 140px) clamp(20px, 5vw, 80px) clamp(42px, 7vh, 78px);
  overflow: hidden;
  color: #fff;
  background: #0f1720;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 54%, rgba(16, 185, 208, 0.24) 0%, rgba(16, 185, 208, 0) 32%),
    linear-gradient(90deg, rgba(5, 14, 22, 0.92) 0%, rgba(5, 14, 22, 0.72) 42%, rgba(5, 14, 22, 0.28) 100%),
    linear-gradient(0deg, rgba(5, 14, 22, 0.82) 0%, rgba(5, 14, 22, 0.1) 50%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-product-icon {
  position: absolute;
  z-index: 1;
  right: clamp(28px, 8vw, 128px);
  top: 50%;
  width: clamp(150px, 22vw, 300px);
  aspect-ratio: 1;
  transform: translateY(-45%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(161, 232, 244, 0.32);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(5, 22, 31, 0.28);
  box-shadow:
    0 24px 80px rgba(0, 201, 232, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-product-icon::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 214, 241, 0.22), rgba(0, 214, 241, 0) 64%);
}

.hero-product-icon img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.36));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb19f;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.85rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  width: min(680px, 100%);
  margin: 24px 0 0;
  font-size: clamp(1.06rem, 2vw, 1.32rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.compat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.compat-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(161, 232, 244, 0.34);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(5, 22, 31, 0.34);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
  backdrop-filter: blur(10px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.25;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.download-band .button.secondary {
  background: #fff;
  color: var(--brand-deep);
  border-color: rgba(9, 92, 125, 0.28);
}

.text-link {
  color: var(--brand-deep);
  font-weight: 800;
}

.release-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(640px, 100%);
  margin: 38px 0 0;
}

.release-facts div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.release-facts dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.release-facts dd {
  margin: 2px 0 0;
  font-size: 1rem;
  font-weight: 800;
}

.section {
  padding: clamp(58px, 9vw, 108px) clamp(20px, 5vw, 80px);
}

.section-heading {
  width: min(840px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.feature-grid,
.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.feature-grid article,
.note-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid p,
.note-grid p {
  margin: 0;
  color: var(--muted);
}

.screenshots {
  background: #ffffff;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: start;
}

figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(21, 33, 45, 0.08);
  overflow: hidden;
}

figure.wide {
  grid-column: 1;
}

figure.phone {
  grid-column: 2;
  grid-row: 1 / span 3;
}

figure img {
  width: 100%;
  height: auto;
}

figure.phone img {
  width: min(100%, 375px);
  margin: 0 auto;
}

figcaption {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: clamp(44px, 7vw, 78px) clamp(20px, 5vw, 80px);
  background: var(--accent-soft);
  border-block: 1px solid #ffd4c9;
}

.download-band > div {
  width: min(680px, 100%);
}

.download-band h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.download-band p {
  margin: 16px 0 0;
  color: #65483f;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.notes {
  background: #ffffff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 80px);
  color: #dce8ef;
  background: #132430;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 820px;
    align-items: end;
  }

  .hero-product-icon {
    top: 34%;
    right: clamp(18px, 7vw, 52px);
    width: clamp(122px, 30vw, 190px);
    transform: translateY(-50%);
  }

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

  .screenshot-grid,
  .download-band {
    grid-template-columns: 1fr;
  }

  figure.wide,
  figure.phone {
    grid-column: auto;
    grid-row: auto;
  }

  figure.phone img {
    max-height: 720px;
    object-fit: contain;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 0.96rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  nav {
    gap: 18px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 760px;
    padding-top: 70px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(5, 14, 22, 0.9) 0%, rgba(5, 14, 22, 0.58) 100%);
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-product-icon {
    top: 64px;
    right: 20px;
    width: 92px;
    border-radius: 20px;
    opacity: 0.92;
  }

  .release-facts,
  .feature-grid,
  .note-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .download-actions {
    align-items: stretch;
  }

  .site-footer {
    flex-direction: column;
  }
}
