:root {
  color-scheme: light;
  --bg: #f5f8fd;
  --panel: #ffffff;
  --text: #07132c;
  --muted: #5d6b80;
  --quiet: #8793a4;
  --line: #dce5f2;
  --primary: #176bff;
  --primary-dark: #0b55d9;
  --accent: #19b9aa;
  --accent-soft: #dff7f4;
  --navy: #07132c;
  --soft-blue: #eef5ff;
  --soft-teal: #e9fbf8;
  --shadow: 0 26px 70px rgba(23, 48, 88, 0.14);
  --focus: 0 0 0 4px rgba(23, 107, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family:
    Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(23, 107, 255, 0.08), transparent 36%),
    linear-gradient(225deg, rgba(25, 185, 170, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0, var(--bg) 720px);
  color: var(--text);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

#app {
  width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

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

.site-header,
.site-footer {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 74px;
  margin-top: 14px;
  padding: 0 22px;
  border: 1px solid rgba(7, 19, 44, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(23, 48, 88, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(132px, 16vw, 176px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #31415c;
  font-size: 14px;
  font-weight: 800;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a,
.site-footer a {
  border-radius: 8px;
  padding: 8px 0;
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover {
  color: var(--primary);
}

.hero {
  width: min(1168px, calc(100% - 32px));
  min-height: 610px;
  margin: 18px auto 0;
  padding: 44px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
  gap: 46px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-label,
.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 22px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  color: var(--text);
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.97;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1::after {
  content: ".";
  color: var(--primary);
}

.lead {
  max-width: 560px;
  min-width: 0;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  min-width: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  min-width: 0;
  text-align: center;
  white-space: normal;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button.primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(23, 107, 255, 0.24);
}

.button.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
}

.button.secondary:hover {
  border-color: rgba(23, 107, 255, 0.42);
  color: var(--primary);
  transform: translateY(-1px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 700px;
  margin: 42px 0 0;
}

.hero-proof div {
  position: relative;
  padding-left: 44px;
}

.hero-proof div::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--soft-blue), var(--soft-teal));
  border: 1px solid rgba(25, 185, 170, 0.16);
}

.hero-proof dt {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.hero-proof dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.product-scene {
  position: relative;
  min-height: 525px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      90deg,
      rgba(23, 107, 255, 0.06) 0,
      rgba(23, 107, 255, 0.06) 1px,
      transparent 1px,
      transparent 58px
    );
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 294px;
  padding: 10px;
  border-radius: 34px;
  background: #070b13;
  box-shadow: 0 28px 70px rgba(7, 19, 44, 0.24);
}

.phone-screen {
  min-height: 560px;
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  padding: 18px 16px 14px;
}

.phone-status,
.phone-title,
.phone-tabs,
.progress-card,
.phone-nav {
  display: flex;
  align-items: center;
}

.phone-status {
  justify-content: space-between;
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
}

.phone-status span:last-child {
  width: 86px;
  height: 22px;
  border-radius: 999px;
  background: #05070b;
}

.phone-title {
  justify-content: space-between;
  margin-top: 18px;
}

.phone-title strong {
  font-size: 19px;
}

.phone-title span {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.phone-tabs {
  gap: 13px;
  margin: 20px 0 16px;
  color: #637086;
  font-size: 10px;
  font-weight: 800;
}

.phone-tabs span.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.app-card {
  margin-top: 12px;
  padding: 15px;
  border: 1px solid #e2e8f2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 48, 88, 0.08);
}

.app-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 800;
}

.app-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}

.app-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.app-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
}

.main-card {
  min-height: 124px;
}

.progress-card {
  justify-content: space-between;
  gap: 16px;
}

.progress-card b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 5px solid var(--accent);
  border-left-color: #dce5f2;
  border-radius: 50%;
  color: var(--text);
  font-size: 12px;
}

.phone-nav {
  justify-content: space-around;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid #edf2f8;
}

.phone-nav span {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: #cad4e3;
}

.phone-nav span.active {
  background: var(--primary);
}

.section {
  width: min(1168px, calc(100% - 32px));
  margin: 0 auto 70px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.section h2 {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
}

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

.feature-grid article {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(23, 48, 88, 0.07);
}

.feature-grid article:first-child {
  border-top: 4px solid var(--primary);
}

.feature-grid article:nth-child(2) {
  border-top: 4px solid var(--accent);
}

.feature-grid article:nth-child(3) {
  border-top: 4px solid #6f8dff;
}

.feature-grid h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.25;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
  padding-bottom: 18px;
  text-align: left;
}

.trust-section h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.trust-section p {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

.trust-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trust-links a {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(23, 48, 88, 0.06);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.trust-links strong {
  font-size: 16px;
  font-weight: 900;
}

.trust-links span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.trust-links a:hover {
  border-color: rgba(23, 107, 255, 0.42);
  box-shadow: 0 18px 42px rgba(23, 48, 88, 0.1);
  color: var(--primary);
  transform: translateY(-2px);
}

.trust-links a:hover span {
  color: #40516a;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 42px auto 72px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(23, 48, 88, 0.07);
}

.legal-page a {
  color: var(--primary);
  font-weight: 800;
}

.legal-page h1 {
  margin-top: 0;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1;
}

.legal-page h2 {
  margin: 38px 0 10px;
  padding-top: 2px;
  font-size: 22px;
  line-height: 1.24;
}

.legal-page p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.legal-page ul,
.legal-page ol {
  margin: 12px 0 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.legal-page li + li {
  margin-top: 8px;
}

.legal-page strong {
  color: var(--text);
}

.updated {
  margin-top: 8px;
  font-size: 15px;
  color: #68768a;
}

.legal-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.legal-quicklinks a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d7e3f3;
  border-radius: 8px;
  background: #ffffff;
  color: #21324b;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.legal-quicklinks a:hover {
  border-color: rgba(23, 107, 255, 0.42);
  color: var(--primary);
}

.site-footer {
  min-height: 88px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .product-scene {
    min-height: 490px;
  }

  .feature-grid,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .trust-links {
    max-width: 680px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .hero,
  .section {
    width: calc(100% - 32px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-header {
    padding: 16px;
    gap: 14px;
  }

  .brand-logo {
    width: 142px;
    max-height: 48px;
  }

  nav {
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
  }

  nav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
  }

  .hero {
    padding: 32px 0 34px;
  }

  .hero-label,
  .section-label {
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .lead {
    font-size: 18px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .product-scene {
    display: none;
  }

  .section {
    padding-top: 42px;
    text-align: left;
  }

  .section h2 {
    margin-left: 0;
  }

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

  .legal-page {
    width: calc(100% - 32px);
    padding: 24px;
  }

  .legal-page p,
  .legal-page ul,
  .legal-page ol {
    font-size: 16px;
  }
}
