:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #111827;
  --muted: #5b6678;
  --soft: #f4f8fb;
  --line: #d8e2ec;
  --blue: #0079c8;
  --blue-dark: #005b9a;
  --green: #0f9f6e;
  --yellow: #cc8a00;
  --red: #d94848;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  animation: pageFade 520ms ease-out both;
}

html {
  scroll-behavior: smooth;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  font-size: 1.08rem;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 91, 154, 0.15);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 26px rgba(0, 91, 154, 0.22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  color: #263447;
}

.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.hero {
  width: min(1120px, calc(100% - 40px));
  min-height: 650px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: center;
}

.hero-copy h1,
.legal-hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: 1.24rem;
  color: var(--muted);
}

.hero-copy,
.legal-hero,
.page-hero,
.section-copy,
.legal-content,
.page section:not(.page-hero) {
  animation: contentRise 640ms ease-out both;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 121, 200, 0.24);
}

.button.primary.disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.button.secondary {
  color: var(--blue-dark);
  background: #fff;
  border-color: var(--line);
}

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

.phone,
.section-visual,
.screenshot-phone {
  position: relative;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid #8f98a4;
  border-radius: 52px;
  background:
    linear-gradient(90deg, #495260, #b6bec8 5%, #232b35 13%, #151b23 50%, #293340 88%, #8e98a6 96%, #2b3440),
    #1b222c;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 0 0 3px rgba(2, 5, 10, 0.72),
    0 2px 5px rgba(255, 255, 255, 0.16),
    var(--shadow);
  isolation: isolate;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.phone {
  animation: phoneLift 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.phone::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border-radius: 48px;
  background: rgba(0, 121, 200, 0.18);
  filter: blur(24px);
  opacity: 0.75;
  animation: glowPulse 4.8s ease-in-out infinite;
}

.phone::after,
.section-visual::after,
.screenshot-phone::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  width: 78px;
  height: 23px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 75% 50%, #222b36 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 79% 48%, rgba(95, 147, 255, 0.55) 0 1px, transparent 2px),
    #05070a;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 2px 10px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.phone:hover,
.section-visual:hover,
.screenshot-phone:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 0 0 3px rgba(2, 5, 10, 0.72),
    0 2px 5px rgba(255, 255, 255, 0.16),
    0 30px 86px rgba(17, 24, 39, 0.2);
}

.device-button {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, #87919d, #26313d);
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.2),
    inset -1px 0 0 rgba(0, 0, 0, 0.36);
  pointer-events: none;
  opacity: 0.58;
}

.action-button {
  left: -2px;
  top: 94px;
  width: 3px;
  height: 28px;
}

.volume-up {
  left: -2px;
  top: 142px;
  width: 3px;
  height: 46px;
}

.volume-down {
  left: -2px;
  top: 202px;
  width: 3px;
  height: 46px;
}

.side-button {
  right: -2px;
  top: 158px;
  width: 3px;
  height: 66px;
}

.hero-phone {
  animation: heroPhoneFloat 6s ease-in-out infinite;
}

.screen {
  position: relative;
  min-height: 0;
  aspect-ratio: 1179 / 2556;
  border: 7px solid #05070a;
  border-radius: 44px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero-screen-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.screen-title {
  margin-bottom: 16px;
  font-size: 1.35rem;
  font-weight: 800;
}

.notice,
.metric,
.list-row,
.form-line {
  border: 1px solid #d9e5ef;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 8px;
}

.notice {
  padding: 10px;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.76rem;
  animation: softPop 560ms ease-out both;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}

.metric {
  padding: 10px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.metric:hover,
.feature-list div:hover,
.list-row:hover,
.form-line:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 121, 200, 0.36);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.metric span,
.list-row small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 1.22rem;
}

.chart {
  height: 138px;
  display: flex;
  align-items: end;
  gap: 9px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d9e5ef;
}

.chart span {
  flex: 1;
  min-height: 24px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--blue), #67c3f3);
  transform-origin: bottom;
  animation: barGrow 780ms ease-out both;
}

.chart span:nth-child(2) {
  animation-delay: 80ms;
}

.chart span:nth-child(3) {
  animation-delay: 140ms;
}

.chart span:nth-child(4) {
  animation-delay: 210ms;
}

.chart span:nth-child(5) {
  animation-delay: 280ms;
}

.chart span:nth-child(6) {
  animation-delay: 350ms;
}

.strip,
.content-section,
.screens-section,
.security-section,
.legal-page,
.container.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.strip {
  border-block: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.strip p {
  max-width: 850px;
  margin: 0;
}

.content-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  padding: 92px 0;
}

.section-copy h2,
.security-section h2,
.legal-content h2,
.page section:not(.page-hero) h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy p,
.security-section p,
.legal-content p,
.legal-content li,
.page section:not(.page-hero) p {
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.section-visual {
  position: relative;
  max-width: 330px;
  margin: 34px 0 0;
  padding: 8px;
  border: 1px solid #8f98a4;
  border-radius: 52px;
  background:
    linear-gradient(90deg, #495260, #b6bec8 5%, #232b35 13%, #151b23 50%, #293340 88%, #8e98a6 96%, #2b3440),
    #1b222c;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 0 0 3px rgba(2, 5, 10, 0.72),
    0 2px 5px rgba(255, 255, 255, 0.16),
    0 18px 48px rgba(17, 24, 39, 0.12);
  isolation: isolate;
  animation: screenshotRise 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.section-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border-radius: 48px;
  background: rgba(0, 121, 200, 0.16);
  filter: blur(20px);
  opacity: 0.55;
  animation: glowPulse 5.2s ease-in-out infinite;
}

.section-visual:hover {
  transform: translateY(-7px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 0 0 3px rgba(2, 5, 10, 0.72),
    0 2px 5px rgba(255, 255, 255, 0.16),
    0 26px 74px rgba(17, 24, 39, 0.18);
}

.section-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 828 / 1792;
  object-fit: cover;
  object-position: top;
  border: 7px solid #05070a;
  border-radius: 44px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.feature-list div {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  animation: contentRise 620ms ease-out both;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #e8f4fc;
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(0, 121, 200, 0.12);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-list div:hover .feature-icon {
  transform: translateY(-2px) scale(1.04);
  background: var(--blue);
  color: #fff;
}

.feature-list div:nth-child(2) {
  animation-delay: 90ms;
}

.feature-list div:nth-child(3) {
  animation-delay: 180ms;
}

.feature-list div:nth-child(4) {
  animation-delay: 270ms;
}

.feature-list h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

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

.screens-section {
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.centered {
  text-align: center;
  margin: 0 auto 42px;
  max-width: 640px;
}

.screens {
  display: flex;
  align-items: start;
}

.screenshots {
  gap: 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 8px 4px 30px;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.screenshots::-webkit-scrollbar {
  display: none;
}

.screenshot-phone {
  flex: 0 0 min(330px, 82vw);
  position: relative;
  margin: 0;
  padding: 8px;
  border: 1px solid #8f98a4;
  border-radius: 52px;
  background:
    linear-gradient(90deg, #495260, #b6bec8 5%, #232b35 13%, #151b23 50%, #293340 88%, #8e98a6 96%, #2b3440),
    #1b222c;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 0 0 3px rgba(2, 5, 10, 0.72),
    0 2px 5px rgba(255, 255, 255, 0.16),
    0 18px 48px rgba(17, 24, 39, 0.12);
  isolation: isolate;
  scroll-snap-align: start;
  animation: screenshotRise 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.screens-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.screens-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c6d4e2;
  box-shadow: inset 0 0 0 1px rgba(0, 91, 154, 0.12);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}

.screens-dots button:hover,
.screens-dots button:focus-visible,
.screens-dots button.active {
  width: 28px;
  background: var(--blue);
  transform: translateY(-1px);
  outline: none;
}

.screenshot-phone:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 0 0 3px rgba(2, 5, 10, 0.72),
    0 2px 5px rgba(255, 255, 255, 0.16),
    0 28px 76px rgba(17, 24, 39, 0.2);
}

.screenshot-phone:target {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(0, 121, 200, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 0 0 3px rgba(2, 5, 10, 0.72),
    0 2px 5px rgba(255, 255, 255, 0.16),
    0 30px 82px rgba(0, 121, 200, 0.24);
}

.screenshot-phone:nth-child(2) {
  animation-delay: 90ms;
}

.screenshot-phone:nth-child(3) {
  animation-delay: 180ms;
}

.screenshot-phone:nth-child(4) {
  animation-delay: 270ms;
}

.screenshot-phone:nth-child(5) {
  animation-delay: 360ms;
}

.screenshot-phone img {
  display: block;
  width: 100%;
  aspect-ratio: 1179 / 2556;
  object-fit: cover;
  border: 7px solid #05070a;
  border-radius: 44px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.small-phone {
  max-width: 286px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.11);
}

.small-phone:nth-child(2) {
  animation-delay: 120ms;
}

.small-phone:nth-child(3) {
  animation-delay: 240ms;
}

.small-phone .screen {
  min-height: 430px;
}

.chip-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.chip-row span {
  padding: 7px 10px;
  border-radius: 8px;
  background: #e8f4fc;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 750;
  animation: softPop 460ms ease-out both;
}

.list-row {
  padding: 12px;
  margin-top: 10px;
  animation: rowSlide 520ms ease-out both;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.list-row:nth-of-type(2) {
  animation-delay: 90ms;
}

.list-row:nth-of-type(3) {
  animation-delay: 180ms;
}

.list-row.good {
  border-left: 4px solid var(--green);
}

.list-row.warn {
  border-left: 4px solid var(--yellow);
}

.list-row.danger {
  border-left: 4px solid var(--red);
}

.list-row.muted {
  opacity: 0.7;
}

.form-line {
  margin-top: 12px;
  padding: 14px 12px;
  color: #405064;
  font-weight: 650;
  animation: rowSlide 520ms ease-out both;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.form-line.short {
  width: 78%;
}

.security-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px;
  margin-bottom: 70px;
  border-radius: 8px;
  background: var(--soft);
  animation: contentRise 620ms ease-out both;
}

.security-section p {
  max-width: 740px;
}

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

.site-footer nav {
  display: flex;
  gap: 18px;
}

.legal-page,
.container.page {
  padding: 56px 0 86px;
}

.legal-hero,
.page-hero {
  padding: 58px 0 46px;
  border-bottom: 1px solid var(--line);
}

.legal-hero p,
.page-hero p {
  margin: 18px 0 0;
  max-width: 850px;
  color: var(--muted);
  font-size: 1.14rem;
}

.legal-content {
  max-width: 800px;
  padding-top: 42px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.5rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

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

.page section:not(.page-hero) {
  max-width: 800px;
  padding-top: 42px;
}

.page section:not(.page-hero) + section:not(.page-hero) {
  padding-top: 0;
  margin-top: 34px;
}

.page section:not(.page-hero) h2 {
  font-size: 1.5rem;
}

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes contentRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneLift {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroPhoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

@keyframes barGrow {
  from {
    transform: scaleY(0.18);
    opacity: 0.45;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes rowSlide {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes softPop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes screenshotRise {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(-1deg) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

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

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1120px);
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .site-nav,
  .site-footer nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .content-section {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 28px, 1120px);
    min-height: auto;
    gap: 42px;
    padding: 42px 0 64px;
  }

  .hero-copy h1,
  .legal-hero h1,
  .page-hero h1 {
    font-size: clamp(2.45rem, 14vw, 4.2rem);
  }

  .hero-copy p {
    font-size: 1.08rem;
  }

  .hero-phone {
    transform: none;
    animation: phoneLift 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .strip,
  .content-section,
  .screens-section,
  .security-section,
  .legal-page,
  .container.page {
    width: min(100% - 28px, 1120px);
  }

  .content-section,
  .screens-section {
    padding: 58px 0;
  }

  .screenshots {
    gap: 16px;
    padding-inline: 0 14px;
    scroll-padding-inline: 0;
  }

  .section-visual {
    margin-inline: auto;
  }

  .screenshot-phone {
    flex: 0 0 min(82vw, 330px);
  }

  .security-section {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }
}
