:root {
  --bg: #111315;
  --bg-2: #171a1d;
  --panel: #202428;
  --panel-soft: #2a2e33;
  --text: #f8fafc;
  --muted: #aab0b7;
  --dim: #767e88;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #ff393f;
  --accent-2: #68e39c;
  --blue: #3ba4ff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 57, 63, 0.16), transparent 28rem),
    linear-gradient(180deg, #111315 0%, #15181b 46%, #101214 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 72%);
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.04;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 21, 0.86);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(255, 57, 63, 0.11);
}

.brand-mark svg,
.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

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

.menu-toggle {
  display: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 700;
}

.hero {
  padding: clamp(48px, 6vw, 76px) 0 clamp(42px, 5vw, 58px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.hero-copy {
  max-width: 620px;
}

.hero h1 {
  font-size: clamp(2.45rem, 5.4vw, 4.75rem);
  font-weight: 900;
  letter-spacing: 0;
  max-width: 9.5ch;
}

.hero-lead {
  margin-top: 24px;
  max-width: 560px;
  color: #c4c9cf;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions,
.support-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 19px;
  font-size: 0.94rem;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 36px rgba(255, 57, 63, 0.24);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: #f1f5f9;
}

.signal-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-row span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 11px;
  color: #cbd2d9;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 18px 0;
  overflow: visible;
}

.phone-shot {
  position: relative;
  aspect-ratio: 946 / 2048;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

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

.phone-shot-main {
  width: clamp(230px, 22vw, 300px);
  z-index: 2;
}

.phone-shot-side {
  width: clamp(190px, 19vw, 260px);
  margin-left: -126px;
  margin-top: 88px;
  opacity: 0.88;
  z-index: 1;
}

.feature-strip {
  padding: 34px 0 104px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.steps article,
.support-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.feature-grid article {
  padding: 22px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 57, 63, 0.14);
  color: #ff686d;
}

.feature-grid h2 {
  margin-top: 20px;
  font-size: 1.08rem;
}

.feature-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.split-section,
.screens-section,
.support-section {
  padding: 106px 0;
  border-top: 1px solid var(--line);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.section-copy h2 {
  font-size: clamp(1.85rem, 3.2vw, 3.1rem);
  font-weight: 900;
  max-width: 11ch;
}

.section-copy p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 600px;
}

.section-copy-wide {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 36px;
  align-items: end;
}

.section-copy-wide h2 {
  max-width: 13ch;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  padding: 24px;
  display: grid;
  grid-template-columns: 68px 1fr;
  column-gap: 18px;
}

.steps span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--panel-soft);
  color: var(--accent-2);
  font-weight: 900;
}

.steps h3,
.steps p {
  grid-column: 2;
  min-width: 0;
}

.steps h3 {
  font-size: 1.15rem;
}

.steps p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 62ch;
}

.screen-rail {
  width: min(920px, 100%);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screen-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.screen-card img {
  width: 100%;
  aspect-ratio: 946 / 2048;
  object-fit: cover;
}

.screen-card figcaption {
  padding: 16px 18px 18px;
  color: #eef2f7;
  font-weight: 800;
}

.tablet-showcase {
  width: min(920px, 100%);
  margin: 22px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.tablet-showcase img {
  width: 100%;
  aspect-ratio: 1366 / 1820;
  object-fit: cover;
  object-position: center top;
}

.support-panel {
  padding: clamp(28px, 5vw, 54px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.support-panel h2 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  font-weight: 900;
}

.support-panel p {
  margin-top: 16px;
  max-width: 720px;
  color: var(--muted);
}

.support-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  background: #0f1113;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
}

.footer-wrap a {
  color: #e6ebf0;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-grid,
  .section-copy-wide,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-media {
    justify-content: center;
    padding: 10px 0 4px;
    overflow: visible;
  }

  .phone-shot-main {
    width: clamp(220px, 42vw, 280px);
  }

  .phone-shot-side {
    width: clamp(178px, 35vw, 236px);
    margin-left: -112px;
    margin-top: 64px;
  }

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

  .support-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav-wrap {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #171a1d;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .hero-media {
    justify-content: center;
    padding: 12px 0 0;
    overflow: visible;
  }

  .phone-shot-main {
    width: clamp(180px, 54vw, 220px);
  }

  .phone-shot-side {
    width: clamp(150px, 44vw, 190px);
    margin-left: -92px;
    margin-top: 48px;
  }

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

  .split-section,
  .screens-section,
  .support-section {
    padding: 76px 0;
  }

  .section-copy h2 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .steps article {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .steps h3,
  .steps p {
    grid-column: 1;
  }

  .tablet-showcase img {
    aspect-ratio: 4 / 5;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
