:root {
  color-scheme: light;
  --black: #050506;
  --ink: #111217;
  --blue: #1658eb;
  --blue-hover: #0d49d5;
  --muted: #667080;
  --line: #d7dce5;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  position: relative;
  z-index: 5;
  height: 56px;
  padding: 0 max(32px, calc((100% - 1360px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.logo {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 22px;
  font-weight: 770;
  line-height: 1;
  letter-spacing: -.055em;
  white-space: nowrap;
  text-decoration: none;
}
.logo span { color: var(--blue); }
.header-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.25;
  text-decoration: none;
  transition: color .2s ease;
}
.header-link:hover { color: var(--blue-hover); text-decoration: underline; text-underline-offset: 4px; }

.hero {
  position: relative;
  min-height: 0;
  padding: 44px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  width: min(78vw, 940px);
  height: 380px;
  margin-top: -190px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(41, 106, 255, .17), rgba(22, 88, 235, 0) 67%);
  filter: blur(2px);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  animation: hero-copy-enter .72s cubic-bezier(.2, .8, .2, 1) both;
}
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -.058em;
  text-wrap: balance;
}
.hero-subtitle {
  margin: 9px 0 20px;
  color: #e6e6eb;
  font-size: clamp(23px, 2.45vw, 32px);
  font-weight: 370;
  line-height: 1.18;
  letter-spacing: -.034em;
}
.button {
  min-height: 54px;
  padding: 12px 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  font-weight: 570;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hero-button { min-width: 285px; }
.button:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: 0 13px 32px rgba(22, 88, 235, .22);
  transform: translateY(-2px);
}
.button:active { transform: translateY(0); }
.button:disabled { opacity: .64; cursor: wait; box-shadow: none; transform: none; }
.hero-description {
  max-width: 580px;
  margin: 14px auto 0;
  color: #c0c1c8;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  text-wrap: balance;
}
.hero-media {
  position: relative;
  width: min(100vw, 980px);
  min-height: 0;
  max-height: none;
  flex: 0 0 310px;
  margin: 0 auto;
  overflow: hidden;
  pointer-events: none;
  animation: hero-media-enter 1s cubic-bezier(.2, .8, .2, 1) .12s both;
}
.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 50%;
  -webkit-mask-image: radial-gradient(ellipse 55% 82% at 50% 51%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 55% 82% at 50% 51%, #000 50%, transparent 100%);
  animation: hero-image-settle 1.15s cubic-bezier(.2, .8, .2, 1) .12s both;
}
.hero-disclaimer {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: -8px auto 0;
  color: #9b9ca5;
  font-size: 12px;
  line-height: 1.4;
}

.diagnosis-section {
  width: min(100%, 1460px);
  min-height: 0;
  margin: 0 auto;
  padding: 80px clamp(32px, 5.2vw, 84px) 84px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(48px, 5vw, 82px);
  scroll-margin-top: 0;
}
.diagnosis-intro h2 {
  max-width: 600px;
  margin: 0 0 20px;
  font-size: clamp(44px, 4.5vw, 62px);
  font-weight: 740;
  line-height: 1.04;
  letter-spacing: -.062em;
  text-wrap: balance;
}
.diagnosis-intro p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.33;
  letter-spacing: -.025em;
}
.diagnosis-card { min-width: 0; }
.no-script {
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff0ef;
  color: #8d2420;
  font-size: 16px;
}
form { display: grid; gap: 18px; }
label {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
label::after {
  content: "";
  position: absolute;
  right: 21px;
  bottom: 23px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #4d5b70;
  border-bottom: 2px solid #4d5b70;
  transform: rotate(45deg);
  pointer-events: none;
}
select {
  width: 100%;
  min-height: 54px;
  padding: 12px 48px 12px 18px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  color: #536073;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
select:hover { border-color: #94a4be; }
select:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 88, 235, .08); }
form .button {
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 600;
}
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid #85aafe;
  outline-offset: 3px;
}
.conditional[hidden], .result[hidden] { display: none; }
.result {
  margin-top: 20px;
  padding: 20px 23px;
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: #f3f7ff;
  scroll-margin-top: 28px;
}
.result h3 { margin: 0 0 9px; font-size: 21px; line-height: 1.2; letter-spacing: -.03em; }
.result p { margin: 8px 0 0; color: #4c5a70; font-size: 15.5px; line-height: 1.45; }
.result strong { color: var(--ink); }

.motion-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s cubic-bezier(.2, .8, .2, 1) var(--motion-delay, 0ms), transform .62s cubic-bezier(.2, .8, .2, 1) var(--motion-delay, 0ms);
}
.motion-enabled [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

.products-section {
  padding: 58px clamp(32px, 5.2vw, 84px) 66px;
  background: #f5f7fa;
}
.products-heading, .product-cards { width: min(100%, 1320px); margin-inline: auto; }
.products-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.products-heading p { margin: 0 0 26px; color: var(--muted); font-size: 16px; line-height: 1.45; }
.product-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid #e3e7ee;
  border-radius: 18px;
  background: var(--white);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, border-color .28s ease;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { border-color: #c6d3ea; box-shadow: 0 18px 42px rgba(27, 49, 84, .08); transform: translateY(-4px); }
  .steps article:hover b::after { box-shadow: 0 0 17px #2884ff, 0 0 34px rgba(40, 132, 255, .7); }
}
.product-status { color: #14633f; font-size: 13px; font-weight: 650; }
.product-status--planned { color: var(--muted); }
.product-card h3 { margin: 17px 0 8px; font-size: 22px; line-height: 1.2; letter-spacing: -.03em; }
.product-card p { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.product-card strong { margin-top: auto; font-size: 20px; letter-spacing: -.03em; }
.product-card a { width: fit-content; margin-top: 12px; color: var(--blue); font-size: 15px; text-underline-offset: 3px; }

.how-it-works {
  padding: 70px clamp(32px, 5.2vw, 84px) 76px;
  background: var(--black);
  color: var(--white);
}
.how-it-works h2 {
  margin: 0 auto 56px;
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 680;
  line-height: 1.06;
  letter-spacing: -.058em;
  text-align: center;
}
.steps {
  width: min(100%, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.steps article {
  min-width: 0;
  min-height: 270px;
  padding: 0 clamp(24px, 3vw, 44px);
  text-align: center;
  transition: background-color .25s ease;
}
.steps article + article { border-left: 1px solid #303037; }
.steps b {
  display: block;
  color: #dce2ed;
  font-size: clamp(64px, 6vw, 86px);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -.065em;
}
.steps b::after {
  content: "";
  width: 88px;
  height: 2px;
  margin: 18px auto 26px;
  display: block;
  background: #469bff;
  box-shadow: 0 0 14px #2884ff, 0 0 26px rgba(40, 132, 255, .6);
}
.steps h3 {
  max-width: 370px;
  margin: 0 auto 13px;
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 620;
  line-height: 1.16;
  letter-spacing: -.028em;
}
.steps p {
  max-width: 340px;
  margin: 0 auto;
  color: #adaeb8;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.43;
}
footer {
  padding: 20px 24px 23px;
  border-top: 1px solid #26262c;
  background: var(--black);
  color: #8b8c96;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
footer p { margin: 0; }
footer p + p { margin-top: 6px; }
footer a { color: #b9cfff; text-underline-offset: 3px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 12px;
}

.legal-page { background: #f5f7fa; }
.legal-header { border-bottom: 1px solid #e3e7ee; }
.legal-main { width: min(100% - 40px, 860px); margin: 0 auto; padding: 68px 0 86px; }
.legal-kicker { margin: 0 0 12px; color: var(--blue); font-size: 14px; font-weight: 700; }
.legal-main h1 { margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1.06; letter-spacing: -.055em; }
.legal-meta { margin: 16px 0 34px; color: var(--muted); font-size: 14px; }
.legal-content { padding: clamp(24px, 5vw, 46px); border: 1px solid #e3e7ee; border-radius: 20px; background: var(--white); }
.legal-content h2 { margin: 34px 0 12px; font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #404a59; font-size: 16px; line-height: 1.6; }
.legal-content p { margin: 0 0 16px; }
.legal-content ul { margin: 0 0 18px; padding-left: 21px; }
.legal-content a { color: var(--blue); text-underline-offset: 3px; }
.legal-note { margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; background: #edf3ff; color: #3d4e6b; font-size: 15px; line-height: 1.5; }

@media (max-width: 1050px) {
  .hero-media { flex-basis: 300px; }
  .diagnosis-section { gap: 42px; padding-top: 70px; padding-bottom: 76px; }
  .diagnosis-intro h2 { font-size: clamp(43px, 5vw, 57px); }
  .steps article { min-height: 265px; padding-inline: 20px; }
}

@media (max-width: 800px) {
  .site-header { padding-inline: 28px; }
  .hero { padding-top: 54px; }
  .hero-media { width: 100vw; flex-basis: 310px; }
  .diagnosis-section { grid-template-columns: 1fr; gap: 30px; padding-inline: 34px; }
  .diagnosis-intro h2 { max-width: 700px; }
  .diagnosis-intro p { max-width: 670px; }
  .diagnosis-card { width: min(100%, 680px); }
  .product-cards { grid-template-columns: 1fr; }
  .product-card { padding: 21px; }
  .product-card h3 { margin-top: 10px; }
  .product-card p { margin-bottom: 14px; }
  .how-it-works { padding: 68px 34px 78px; }
  .how-it-works h2 { margin-bottom: 45px; }
  .steps article { padding-inline: 16px; }
}

@media (max-width: 620px) {
  .site-header { height: 54px; padding-inline: 18px; }
  .logo { font-size: 20px; }
  .header-link { font-size: 12px; }
  .site-nav { gap: 12px; }
  .site-nav .header-link:last-child { display: none; }
  .hero { padding: 48px 18px 15px; }
  .hero h1 { max-width: 530px; font-size: clamp(35px, 9.1vw, 45px); line-height: 1.04; }
  .hero-subtitle { margin: 16px auto 22px; max-width: 480px; font-size: clamp(21px, 5.7vw, 27px); line-height: 1.14; }
  .hero-button { width: min(100%, 420px); min-width: 0; min-height: 52px; }
  .hero-description { max-width: 440px; margin-top: 18px; font-size: 15.5px; line-height: 1.42; }
  .hero-media { width: calc(100vw + 36px); min-height: 0; max-height: none; flex: 0 0 270px; margin: 8px -18px 0; }
  .hero-media img { object-position: center 55%; }
  .hero-disclaimer { max-width: 340px; margin-top: -7px; font-size: 11.5px; }
  .diagnosis-section { gap: 27px; padding: 67px 20px 73px; }
  .diagnosis-intro h2 { margin-bottom: 15px; font-size: clamp(38px, 10vw, 48px); line-height: 1.04; }
  .diagnosis-intro p { font-size: 18px; line-height: 1.33; }
  form { gap: 17px; }
  label { font-size: 15px; }
  select { min-height: 54px; padding-left: 16px; font-size: 16px; }
  label::after { bottom: 23px; right: 20px; }
  form .button { min-height: 56px; font-size: 16px; }
  .result { padding: 18px; }
  .result h3 { font-size: 20px; }
  .result p { font-size: 15px; }
  .products-section { padding: 50px 20px 58px; }
  .products-heading h2 { font-size: 35px; }
  .how-it-works { padding: 67px 20px 70px; }
  .how-it-works h2 { margin-bottom: 40px; font-size: clamp(41px, 10vw, 50px); text-align: left; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 0; padding: 25px 0 28px; text-align: left; }
  .steps article:first-child { padding-top: 0; }
  .steps article + article { border-left: 0; border-top: 1px solid #303037; }
  .steps b { font-size: 62px; }
  .steps b::after { width: 72px; margin: 12px 0 18px; }
  .steps h3, .steps p { max-width: none; margin-left: 0; }
  .steps h3 { margin-bottom: 8px; font-size: 23px; }
  .steps p { font-size: 16px; }
  footer { padding: 19px 20px 22px; font-size: 12px; text-align: left; }
  .footer-nav { justify-content: flex-start; gap: 8px 14px; }
  .legal-main { width: min(100% - 32px, 860px); padding: 42px 0 58px; }
  .legal-content { padding: 23px 20px; border-radius: 15px; }
  .legal-content h2 { font-size: 22px; }
}

@media (max-width: 360px) {
  .site-header { padding-inline: 14px; }
  .logo { font-size: 19px; }
  .header-link { font-size: 12px; }
  .hero { padding-top: 45px; }
  .hero h1 { font-size: 35px; }
  .hero-subtitle { font-size: 21px; }
}

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

@keyframes hero-copy-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-media-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-image-settle {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}
