:root {
  color-scheme: light;
  --ink: #172139;
  --ink-soft: #4d5b70;
  --blue: #347ff0;
  --blue-deep: #1d64d7;
  --blue-soft: #eaf3ff;
  --green: #58cd61;
  --green-soft: #eaf9e9;
  --paper: #fffdf9;
  --canvas: #f8fafc;
  --line: #dbe4ee;
  --white: #ffffff;
  --shadow: 0 24px 64px rgba(41, 91, 157, 0.13);
  --radius-large: 36px;
  --radius-medium: 24px;
  --page: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 92% 4%, rgba(100, 192, 255, 0.22), transparent 28rem),
    linear-gradient(180deg, var(--paper), var(--canvas) 72%);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid rgba(52, 127, 240, 0.28);
  outline-offset: 4px;
}

.site-header {
  width: var(--page);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #63a5ff, #2d75e5);
  box-shadow: 0 10px 24px rgba(52, 127, 240, 0.24);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 650;
}

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

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

.nav-contact {
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

main {
  overflow: hidden;
}

.hero {
  width: var(--page);
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.84fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding: 64px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 8px 13px 8px 10px;
  border: 1px solid rgba(52, 127, 240, 0.18);
  border-radius: 999px;
  background: rgba(234, 243, 255, 0.75);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(88, 205, 97, 0.14);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Avenir Next", sans-serif;
  font-size: clamp(52px, 6.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy > p {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(23, 33, 57, 0.18);
}

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

.button-secondary {
  color: var(--blue-deep);
}

.button svg {
  width: 19px;
  height: 19px;
}

.hero-note {
  margin: 24px 0 0;
  color: #6c7889;
  font-size: 14px;
}

.product-scene {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.signal-path {
  position: absolute;
  inset: 6% 2% auto auto;
  width: 76%;
  height: 42%;
  border: 2px dashed rgba(52, 127, 240, 0.22);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-9deg);
}

.phone {
  position: relative;
  width: min(390px, 88vw);
  padding: 14px;
  border: 1px solid rgba(30, 60, 100, 0.14);
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform: rotate(2.2deg);
}

.phone-screen {
  min-height: 510px;
  padding: 29px 22px 24px;
  border-radius: 37px;
  background: linear-gradient(180deg, #fbfdff, #f4f8fe);
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  color: #768296;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.phone-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.upload-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 34px 28px;
  border-radius: 29px;
  background: linear-gradient(150deg, #78affb 0%, #3e87ef 55%, #2f76e0 100%);
  color: white;
  box-shadow: 0 20px 40px rgba(52, 127, 240, 0.25);
}

.upload-card::before,
.upload-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.upload-card::before {
  width: 180px;
  height: 180px;
  top: -95px;
  right: -35px;
}

.upload-card::after {
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -145px;
}

.upload-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 34px;
}

.upload-card h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.upload-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.progress-card {
  margin-top: 17px;
  padding: 22px;
  border: 1px solid rgba(60, 90, 130, 0.1);
  border-radius: 24px;
  background: var(--white);
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
}

.progress-meta span:last-child {
  color: var(--blue-deep);
}

.liquid-track {
  position: relative;
  height: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce9f8;
}

.liquid-fill {
  position: absolute;
  inset: 0 32% 0 0;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #69a9ff);
}

.liquid-fill::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 30px;
  top: -20px;
  right: -16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  animation: liquid-shift 3.4s ease-in-out infinite alternate;
}

.family-chip {
  position: absolute;
  right: -18px;
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px 12px 11px;
  border: 1px solid rgba(60, 90, 130, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(41, 91, 157, 0.14);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transform: rotate(-2.2deg);
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-left: -7px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--green-soft);
  color: #22743a;
  font-size: 11px;
}

.avatar:first-child {
  margin-left: 0;
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 96px 0;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Avenir Next", sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.72);
}

.step-number {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-bottom: 48px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 900;
}

.step:nth-child(2) .step-number {
  background: var(--green-soft);
  color: #277635;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.step p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.promise {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.promise-title,
.promise-points {
  padding: clamp(32px, 5vw, 58px);
  border-radius: var(--radius-large);
}

.promise-title {
  background: var(--ink);
  color: white;
}

.promise-title p {
  color: #b9c5d7;
}

.promise-title h2 {
  margin-bottom: 24px;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Avenir Next", sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.promise-points {
  border: 1px solid rgba(52, 127, 240, 0.13);
  background: linear-gradient(145deg, var(--blue-soft), #f5f9ff);
}

.promise-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;
  padding: 23px 0;
  border-bottom: 1px solid rgba(52, 127, 240, 0.13);
}

.promise-item:first-child {
  padding-top: 0;
}

.promise-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.promise-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: white;
  color: var(--blue-deep);
  font-weight: 900;
}

.promise-item h3 {
  margin-bottom: 4px;
  font-size: 19px;
}

.promise-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.development-card {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 82px);
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, #4f96f4, #347ff0 58%, #276cd3);
  color: white;
  box-shadow: var(--shadow);
}

.development-card::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
}

.development-card h2 {
  max-width: 720px;
  margin-bottom: 19px;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Avenir Next", sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.development-card p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.site-footer {
  width: var(--page);
  margin: 40px auto 0;
  padding: 54px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-copy {
  max-width: 510px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px 30px;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue-deep);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #7a8595;
  font-size: 12px;
}

.legal-main {
  width: min(820px, calc(100% - 40px));
  min-height: 65vh;
  margin: 0 auto;
  padding: 76px 0 110px;
}

.legal-main h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 72px);
}

.legal-intro {
  margin-bottom: 48px;
  color: var(--ink-soft);
  font-size: 19px;
}

.legal-main h2 {
  margin: 42px 0 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.legal-main li,
.legal-main p {
  color: var(--ink-soft);
}

.legal-main a {
  color: var(--blue-deep);
  font-weight: 700;
}

.legal-notice {
  margin: 34px 0;
  padding: 21px 23px;
  border-left: 5px solid var(--blue);
  border-radius: 0 16px 16px 0;
  background: var(--blue-soft);
  color: var(--ink);
}

.contact-card {
  margin-top: 38px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: white;
}

.contact-card a {
  font-size: clamp(21px, 4vw, 32px);
  letter-spacing: -0.03em;
}

@keyframes liquid-shift {
  from {
    transform: translateX(-9px) rotate(-7deg);
  }
  to {
    transform: translateX(13px) rotate(7deg);
  }
}

@media (max-width: 880px) {
  :root {
    --page: min(100% - 28px, 680px);
    --radius-large: 28px;
  }

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

  .site-nav a:not(.nav-contact) {
    display: none;
  }

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

  h1 {
    max-width: 650px;
  }

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

  .phone {
    transform: none;
  }

  .family-chip {
    right: -5px;
    transform: none;
  }

  .steps,
  .promise {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 74px 0;
  }

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

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .nav-contact {
    padding: 8px 13px;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 66px);
  }

  .hero-copy > p {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .phone {
    width: 100%;
    padding: 10px;
    border-radius: 38px;
  }

  .phone-screen {
    min-height: 460px;
    padding: 25px 17px 20px;
    border-radius: 30px;
  }

  .upload-card {
    min-height: 220px;
    padding: 28px 24px;
  }

  .upload-icon {
    margin-bottom: 27px;
  }

  .family-chip {
    bottom: 23px;
  }

  .step {
    min-height: 0;
  }

  .step-number {
    margin-bottom: 28px;
  }

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

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
