:root {
  color-scheme: light;
  --page: #f7fbff;
  --surface: #ffffff;
  --surface-muted: #eef6ff;
  --surface-blue: #e7f1ff;
  --text: #082546;
  --text-strong: #061b33;
  --muted: #4e6680;
  --line: #cbd9e8;
  --brand: #0b5bd3;
  --brand-strong: #06449d;
  --green: #0a9b50;
  --green-bright: #10b956;
  --orange: #e87700;
  --yellow: #ffd368;
  --danger-bg: #fff1cd;
  --danger-line: #e2ab2b;
  --shadow: 0 16px 38px rgba(8, 37, 70, 0.12);
  --header-bg: rgba(247, 251, 255, 0.94);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page: #071525;
  --surface: #0b1d31;
  --surface-muted: #0d233b;
  --surface-blue: #102b49;
  --text: #dcecff;
  --text-strong: #ffffff;
  --muted: #a9bfd6;
  --line: #29445f;
  --brand: #66a2ff;
  --brand-strong: #1453a6;
  --green: #4dd989;
  --green-bright: #39ce79;
  --orange: #ffac3d;
  --yellow: #ffd368;
  --danger-bg: #3a2a0b;
  --danger-line: #b58116;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  --header-bg: rgba(7, 21, 37, 0.94);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  padding-inline: 10px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-name {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--text-strong);
  font-size: 44px;
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  color: var(--text-strong);
  font-size: 21px;
  line-height: 1.3;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 26px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--text-strong);
  color: var(--surface);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(1212px, 100%);
  margin-inline: auto;
  padding-inline: 16px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.brand-name {
  font-size: 24px;
  line-height: 1;
}

.brand-name span:first-child,
.hero h1 span:first-child {
  color: var(--brand);
}

.brand-name span:last-child,
.hero h1 span:last-child {
  color: var(--orange);
}

.main-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  padding-block: 10px;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sun-icon,
.close-icon,
.menu-toggle {
  display: none;
}

.moon-icon {
  display: block;
}

html[data-theme="dark"] .sun-icon {
  display: block;
}

html[data-theme="dark"] .moon-icon {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  align-items: center;
  gap: 56px;
  padding-block: 58px 48px;
}

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

.eyebrow,
.section-kicker {
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 12px;
  height: 12px;
  border: 3px solid var(--surface-blue);
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--green-bright) 16%, transparent);
}

.hero h1 {
  margin-bottom: 10px;
  color: var(--text-strong);
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
}

.hero-title {
  margin-bottom: 20px;
  color: var(--text-strong);
  font-size: 42px;
  font-weight: 750;
  line-height: 1.12;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--brand-strong);
  color: #ffffff;
}

.button-primary:hover {
  background: #083c88;
}

html[data-theme="dark"] .button-primary:hover {
  background: #1e63c2;
}

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

.button-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.button-light {
  background: #ffffff;
  color: #06449d;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.quick-facts li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.phone-stage {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 590px;
  place-items: center;
  margin: 0;
  border: 1px solid var(--line);
  border-bottom: 7px solid var(--yellow);
  border-left: 7px solid var(--green-bright);
  border-radius: 8px;
  background: var(--brand-strong);
}

.stage-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 31%;
  height: 100%;
  background: var(--surface-blue);
}

.phone {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 8px solid #0c1420;
  border-radius: 30px;
  background: #0c1420;
  box-shadow: var(--shadow);
}

.phone img,
.single-phone img {
  width: 100%;
  height: auto;
}

.phone-main {
  z-index: 2;
  left: 15%;
  width: 250px;
  transform: rotate(-2deg);
}

.phone-secondary {
  z-index: 3;
  right: 10%;
  bottom: 30px;
  width: 205px;
  transform: rotate(3deg);
}

.audience-band {
  padding-block: 68px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 64px;
  align-items: end;
}

.audience-grid h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.audience-grid > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 18px;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
}

.audience-list div {
  min-height: 120px;
  padding: 24px 28px;
  border-top: 3px solid var(--brand);
  border-right: 1px solid var(--line);
}

.audience-list div:nth-child(2) {
  border-top-color: var(--orange);
}

.audience-list div:nth-child(3) {
  border-top-color: var(--green);
  border-right: 0;
}

.audience-list strong,
.audience-list span {
  display: block;
}

.audience-list strong {
  margin-bottom: 7px;
  color: var(--text-strong);
}

.audience-list span {
  color: var(--muted);
}

.section {
  padding-block: 92px;
  border-bottom: 1px solid var(--line);
}

.section-muted {
  background: var(--surface-muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.compact-heading {
  margin-bottom: 42px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  min-height: 190px;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 26px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  border-right: 0;
}

.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-strong);
  color: #ffffff;
  font-weight: 800;
}

.steps p,
.feature-item p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.feature-item {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-index {
  display: block;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: 80px;
}

.product-copy {
  max-width: 690px;
}

.product-copy > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  color: var(--text-strong);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 4px solid var(--surface-blue);
  border-radius: 50%;
  background: var(--green-bright);
  content: "";
}

.single-phone {
  width: 280px;
  justify-self: center;
  overflow: hidden;
  margin: 0;
  border: 9px solid #0c1420;
  border-radius: 34px;
  background: #0c1420;
  box-shadow: var(--shadow);
}

.gallery-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 60px;
}

.gallery-heading h2 {
  margin-bottom: 0;
}

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

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

.screen-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--surface-muted);
}

.screen-card figcaption {
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 800;
}

.safety-section {
  background: var(--surface);
}

.safety-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 80px;
}

.safety-copy > p:first-child {
  color: var(--muted);
  font-size: 18px;
}

.safety-note {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid var(--danger-line);
  border-left: 5px solid var(--danger-line);
  border-radius: 8px;
  background: var(--danger-bg);
  color: var(--text-strong);
}

.text-link {
  display: inline-flex;
  padding-bottom: 3px;
  border-bottom: 2px solid currentColor;
  color: var(--brand);
  font-weight: 800;
}

.test-section {
  padding-block: 82px;
  background: var(--brand-strong);
  color: #ffffff;
}

.test-grid {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  align-items: center;
  justify-content: center;
  gap: 0;
}

.test-section .section-kicker {
  color: var(--yellow);
}

.test-section h2 {
  color: #ffffff;
}

.test-section p:not(.section-kicker) {
  margin-bottom: 28px;
  color: #dcecff;
  font-size: 18px;
}

.site-footer {
  padding-block: 58px 26px;
  background: #061426;
  color: #dcecff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 64px;
}

.site-footer .brand img {
  border-color: #2b4561;
}

.site-footer .brand-name span:first-child {
  color: #7eafff;
}

.footer-brand p {
  max-width: 470px;
  margin: 18px 0 0;
  color: #9fb6ce;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 12px 24px;
}

.footer-links a {
  color: #dcecff;
}

.footer-links a:hover {
  color: #7eafff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid #29445f;
  color: #8da7c1;
  font-size: 13px;
}

.legal-main {
  padding-block: 58px 90px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(220px, 1fr);
  gap: 64px;
  align-items: start;
}

.legal-article {
  min-width: 0;
}

.legal-article h1 {
  margin-bottom: 8px;
  color: var(--text-strong);
  font-size: 52px;
  line-height: 1.08;
}

.legal-article h2 {
  margin: 40px 0 12px;
  font-size: 24px;
  line-height: 1.3;
}

.legal-article p,
.legal-article li {
  color: var(--muted);
}

.legal-article p {
  margin-bottom: 14px;
}

.legal-article ul {
  padding-left: 22px;
}

.legal-article li {
  margin-bottom: 8px;
}

.updated {
  margin-bottom: 34px !important;
  color: var(--brand) !important;
  font-size: 14px;
  font-weight: 800;
}

.legal-contact {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legal-contact a {
  color: var(--brand);
  font-weight: 700;
}

.legal-aside {
  position: sticky;
  top: 110px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.legal-aside strong,
.legal-aside a {
  display: block;
}

.legal-aside strong {
  margin-bottom: 12px;
  color: var(--text-strong);
}

.legal-aside a {
  padding-block: 7px;
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav a:nth-last-child(1) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.88fr);
    gap: 34px;
  }

  .phone-main {
    left: 10%;
    width: 230px;
  }

  .phone-secondary {
    right: 7%;
    width: 190px;
  }

  .screen-gallery {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--brand) var(--surface-blue);
  }

  .screen-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: fixed;
    z-index: 110;
    top: 86px;
    right: 26px;
    left: 26px;
    display: none;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a,
  .main-nav a:nth-last-child(1) {
    display: block;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
  }

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

  .menu-toggle[aria-expanded="true"] .menu-icon {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] .close-icon {
    display: block;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-block: 48px 52px;
  }

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

  .phone-stage {
    min-height: 560px;
  }

  .phone-main {
    left: 21%;
    width: 240px;
  }

  .phone-secondary {
    right: 18%;
    width: 195px;
  }

  .audience-grid,
  .gallery-heading,
  .safety-grid,
  .footer-grid,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .audience-list div:nth-child(2) {
    border-right: 0;
  }

  .audience-list div:nth-child(3) {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .steps li:nth-child(2) {
    border-right: 0;
  }

  .steps li:last-child {
    grid-column: 1 / -1;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    gap: 40px;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 82px;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-name {
    font-size: 21px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero-grid {
    gap: 34px;
    padding-block: 38px 42px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-text {
    font-size: 17px;
  }

  h2,
  .legal-article h1 {
    font-size: 36px;
  }

  .phone-stage {
    min-height: 500px;
  }

  .phone-main {
    left: 11%;
    width: 220px;
  }

  .phone-secondary {
    right: 9%;
    bottom: 24px;
    width: 175px;
  }

  .audience-band,
  .section,
  .test-section {
    padding-block: 64px;
  }

  .audience-list,
  .steps,
  .feature-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .audience-list div,
  .audience-list div:nth-child(2),
  .audience-list div:nth-child(3) {
    min-height: 0;
    grid-column: auto;
    border-right: 0;
  }

  .steps li,
  .steps li:nth-child(2),
  .steps li:last-child {
    min-height: 0;
    grid-column: auto;
    border-right: 0;
  }

  .product-grid {
    gap: 42px;
  }

  .single-phone {
    width: min(280px, 78vw);
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .screen-gallery {
    grid-template-columns: repeat(4, 72vw);
  }

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

  .legal-main {
    padding-block: 44px 68px;
  }

  .legal-article h2 {
    font-size: 22px;
  }
}

@media (max-width: 430px) {
  .site-shell {
    padding-inline: 16px;
  }

  .brand-name {
    font-size: 19px;
  }

  .header-inner {
    gap: 8px;
  }

  .icon-button {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-title {
    font-size: 31px;
  }

  h2,
  .legal-article h1 {
    font-size: 32px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .phone-stage {
    min-height: 450px;
  }

  .phone-main {
    left: 7%;
    width: 190px;
  }

  .phone-secondary {
    right: 5%;
    width: 152px;
  }

  .audience-list div,
  .steps li,
  .feature-item {
    padding: 22px;
  }

  .screen-gallery {
    grid-template-columns: repeat(4, 78vw);
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
