:root {
  color-scheme: dark;
  --ink: #f4f8ff;
  --muted: #a4b2c7;
  --dim: #68778d;
  --blue: #66baf2;
  --cyan: #72d4e8;
  --navy: #0d1220;
  --panel: rgba(25, 37, 59, 0.68);
  --line: rgba(185, 220, 255, 0.11);
  --shell: min(1120px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 4%, rgba(58, 123, 185, 0.24), transparent 28rem),
    linear-gradient(145deg, #0b101c 0%, #10182a 46%, #13233a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.shell { width: var(--shell); margin-inline: auto; }

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
}

.page-glow--one { width: 24rem; height: 24rem; top: 18rem; left: -15rem; background: rgba(35, 129, 160, 0.2); }
.page-glow--two { width: 20rem; height: 20rem; right: -10rem; top: 60rem; background: rgba(70, 104, 191, 0.16); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: rgba(8, 13, 24, 0.56); }
.brand-mark img { width: 30px; height: 30px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 0.9rem; letter-spacing: 0.015em; }
.brand small { margin-top: 3px; color: var(--dim); font-size: 0.68rem; }
.header-link { color: #bedaf0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.75fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  min-height: 760px;
  padding-block: 72px 96px;
}

.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--cyan); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.19em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }

.hero h1 {
  max-width: 700px;
  margin: 22px 0;
  font-size: clamp(3.1rem, 6.4vw, 6.2rem);
  font-weight: 710;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

.hero-lede { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.22rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border: 1px solid transparent; border-radius: 15px; font-size: 0.85rem; font-weight: 720; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.button--primary { color: #08121c; background: linear-gradient(135deg, #7ad1f5, #65aee8); box-shadow: 0 16px 40px rgba(51, 145, 204, 0.2); }
.button--quiet { border-color: var(--line); color: #c2cfdf; background: rgba(255, 255, 255, 0.025); }

.access-note { display: flex; align-items: center; gap: 9px; margin: 22px 0 0; color: var(--dim); font-size: 0.74rem; }
.access-note svg { width: 15px; fill: none; stroke: #7898b8; stroke-width: 1.6; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
.phone-shadow { position: absolute; width: 80%; height: 78%; border-radius: 50%; background: rgba(46, 124, 181, 0.22); filter: blur(75px); }
.phone { position: relative; width: min(100%, 342px); min-height: 648px; overflow: hidden; padding: 26px 21px 70px; border: 1px solid rgba(165, 211, 246, 0.19); border-radius: 42px; background: linear-gradient(165deg, rgba(19, 35, 57, 0.98), rgba(10, 16, 28, 0.99)); box-shadow: 0 40px 90px rgba(1, 5, 13, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.05); transform: rotate(2deg); }
.phone-top { position: absolute; top: 9px; left: 50%; width: 78px; height: 20px; border-radius: 20px; background: #070b12; transform: translateX(-50%); }
.phone-top span { position: absolute; top: 7px; left: 50%; width: 24px; height: 4px; border-radius: 10px; background: #1e2937; transform: translateX(-50%); }
.app-header { display: grid; grid-template-columns: 38px 1fr 34px; gap: 9px; align-items: center; margin-top: 16px; }
.app-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: rgba(0, 0, 0, 0.25); }
.app-mark img { width: 26px; height: 26px; object-fit: contain; }
.app-header small, .app-header strong { display: block; }
.app-header small { color: #7796b5; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.app-header strong { margin-top: 3px; font-size: 0.7rem; }
.avatar { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(102, 186, 242, 0.25); border-radius: 50%; color: #a8d9f5; background: rgba(102, 186, 242, 0.13); font-size: 0.7rem; font-weight: 800; }
.app-date { margin-top: 34px; color: #78aedd; font-size: 0.62rem; font-weight: 650; }
.phone h2 { margin: 7px 0 0; font-size: 1.45rem; letter-spacing: -0.04em; }
.app-subtitle { margin: 7px 0 21px; color: #8291a7; font-size: 0.67rem; }
.focus-card { padding: 18px; border: 1px solid rgba(132, 203, 245, 0.14); border-radius: 21px; background: radial-gradient(circle at 90% 0, rgba(84, 189, 221, 0.2), transparent 40%), linear-gradient(145deg, rgba(45, 87, 132, 0.85), rgba(24, 36, 59, 0.88)); }
.focus-card small, .focus-card strong, .focus-card span { display: block; }
.focus-card small { color: #70d3e5; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.focus-card strong { margin: 12px 0 24px; font-size: 0.92rem; line-height: 1.35; }
.focus-card span { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: #8a9aaf; font-size: 0.55rem; }
.focus-card b { float: right; color: #a3cce8; font-weight: 650; }
.section-line { display: flex; justify-content: space-between; margin: 22px 2px 9px; font-size: 0.66rem; }
.section-line span { color: #5f7087; }
.event-row { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.055); border-radius: 12px; background: rgba(255, 255, 255, 0.018); }
.event-row i { color: #70cde1; font-size: 0.54rem; font-style: normal; }
.event-row strong, .event-row small { display: block; }
.event-row strong { font-size: 0.65rem; }
.event-row small { margin-top: 3px; color: #65778d; font-size: 0.52rem; }
.phone-nav { position: absolute; inset: auto 0 0; display: grid; grid-template-columns: repeat(3, 1fr); height: 62px; align-items: center; border-top: 1px solid var(--line); background: rgba(8, 13, 23, 0.9); }
.phone-nav > span { display: grid; place-items: center; color: #526176; font-size: 0.9rem; }
.phone-nav small { display: block; margin-top: 3px; font-size: 0.48rem; }
.phone-nav .active { color: #7ccbf1; }

.features { padding-block: 110px; border-top: 1px solid var(--line); }
.section-heading { max-width: 740px; }
.section-heading h2, .install h2, .closing h2 { margin: 18px 0 0; font-size: clamp(2rem, 4vw, 3.7rem); letter-spacing: -0.045em; line-height: 1.08; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.feature-grid article { min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); backdrop-filter: blur(20px); }
.feature-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 12px; color: #83c9ef; background: rgba(102, 186, 242, 0.1); font-size: 0.62rem; font-weight: 800; }
.feature-grid h3 { margin: 36px 0 11px; font-size: 1.05rem; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.7; }

.install { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; padding-block: 120px; border-top: 1px solid var(--line); }
.install-copy > p { max-width: 510px; color: var(--muted); line-height: 1.7; }
.text-link { display: inline-block; margin-top: 12px; color: #81c9ef; font-size: 0.84rem; font-weight: 700; }
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(21, 32, 51, 0.54); }
.steps b { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: #83cef3; background: rgba(102, 186, 242, 0.1); font-size: 0.68rem; }
.steps strong, .steps small { display: block; }
.steps strong { font-size: 0.88rem; }
.steps small { margin-top: 5px; color: var(--dim); font-size: 0.74rem; }

.closing { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 42px; border: 1px solid rgba(134, 201, 242, 0.15); border-radius: 28px; background: radial-gradient(circle at 15% 40%, rgba(67, 147, 188, 0.18), transparent 35%), rgba(19, 29, 47, 0.72); }
.closing img { width: 64px; height: 64px; object-fit: contain; }
.closing p { margin: 0 0 4px; color: var(--cyan); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.closing h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.site-footer { display: flex; justify-content: space-between; padding-block: 36px; color: #53647b; font-size: 0.7rem; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 72px; }
  .hero-copy { text-align: center; }
  .hero .eyebrow, .hero-actions, .access-note { justify-content: center; }
  .hero-lede { margin-inline: auto; }
  .hero-visual { min-height: 680px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: auto; }
  .install { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --shell: min(100% - 28px, 1120px); }
  .site-header { min-height: 74px; }
  .brand small { display: none; }
  .header-link { font-size: 0.7rem; }
  .hero { gap: 3.5rem; padding-block: 64px 74px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { min-height: 620px; }
  .phone { width: 310px; min-height: 600px; transform: none; }
  .features, .install { padding-block: 82px; }
  .closing { grid-template-columns: auto 1fr; padding: 28px 22px; }
  .closing img { width: 46px; height: 46px; }
  .closing .button { grid-column: 1 / -1; }
  .site-footer { flex-direction: column; gap: 8px; text-align: center; }
}

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