:root {
  color-scheme: light;
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2421;
  background: #f3f1e9;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f3f1e9; }
a { color: inherit; }
button, input { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.88);
  box-shadow: 0 20px 45px rgb(0 0 0 / 0.12);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 900; text-decoration: none; }
.header-link, .primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: #ffe066;
  font-weight: 850;
  text-decoration: none;
}
.header-link:hover, .primary-link:hover { background: #ffd23f; }

main { padding: 12px; }
.hero {
  position: relative;
  min-height: min(830px, calc(100vh - 24px));
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 34px;
  background: #0d1b17;
}
.hero-media, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; opacity: 0.52; }
.hero-shade { background: linear-gradient(180deg, rgb(5 16 13 / 0.35), rgb(5 16 13 / 0.9)); }
.hero-content { position: relative; z-index: 1; width: min(920px, calc(100% - 32px)); padding: 130px 0 70px; color: #fff; text-align: center; }
.eyebrow, .section-label { font: 800 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.16em; }
.eyebrow { color: #ffe066; }
h1 { max-width: 900px; margin: 20px auto; font-size: clamp(42px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.055em; }
.hero-copy { max-width: 690px; margin: 26px auto 38px; color: rgb(255 255 255 / 0.76); font-size: clamp(17px, 2.2vw, 22px); line-height: 1.7; }

.diagnosis-form {
  max-width: 790px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 70px rgb(0 0 0 / 0.34);
}
.input-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #c3dbff; color: #1f2421; font-weight: 900; }
.diagnosis-form input { min-width: 0; height: 54px; border: 0; outline: 0; color: #1f2421; font-weight: 720; }
.diagnosis-form input::placeholder { color: #717771; }
.diagnosis-form input[aria-invalid="true"] { outline: 3px solid #b83232; outline-offset: 3px; border-radius: 8px; }
.diagnosis-form button { height: 54px; border: 0; border-radius: 20px; padding: 0 24px; background: #ffe066; color: #1f2421; font-weight: 900; cursor: pointer; }
.diagnosis-form button:hover { background: #ffd23f; }
.form-error, .form-hint { min-height: 22px; margin: 14px 0 0; font-size: 13px; font-weight: 700; }
.form-error { color: #ffd6d6; }
.form-hint { color: rgb(255 255 255 / 0.58); letter-spacing: 0.04em; }

.trust-strip { width: min(1120px, 100%); margin: 22px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trust-strip p { margin: 0; padding: 24px; border: 1px solid #dad8cf; border-radius: 22px; background: #fff; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip span { margin-top: 8px; color: #686d69; line-height: 1.55; }

.capabilities { width: min(1120px, 100%); margin: 120px auto; }
.section-label { color: #4c685e; }
h2 { max-width: 780px; margin: 14px 0 34px; font-size: clamp(34px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.045em; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-grid article { min-height: 270px; padding: 30px; border-radius: 28px; background: #fff; border: 1px solid #dedcd3; }
.card-grid article:nth-child(2) { background: #d8c7ff; }
.card-grid article:nth-child(3) { background: #c3dbff; }
.card-grid span { font: 800 12px/1 ui-monospace, monospace; }
.card-grid h3 { margin-top: 70px; font-size: 26px; }
.card-grid p { color: #555c57; line-height: 1.65; }

.final-cta { width: min(1120px, 100%); margin: 0 auto 12px; padding: clamp(40px, 8vw, 92px); border-radius: 34px; background: #18231f; color: #fff; }
.final-cta h2 { max-width: 800px; }
.primary-link { color: #1f2421; }
footer { width: min(1120px, calc(100% - 32px)); margin: 28px auto 50px; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: #626762; }
.footer-brand { color: #1f2421; }

:focus-visible { outline: 4px solid #4b73d1; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-media { display: none; } }
@media (max-width: 760px) {
  .site-header { top: 14px; width: calc(100% - 24px); }
  .header-link { padding: 0 14px; font-size: 13px; }
  .hero { min-height: 760px; border-radius: 26px; }
  .hero-content { padding-top: 120px; }
  .diagnosis-form { grid-template-columns: auto 1fr; border-radius: 24px; }
  .diagnosis-form button { grid-column: 1 / -1; width: 100%; }
  .trust-strip, .card-grid { grid-template-columns: 1fr; }
  .capabilities { margin: 80px auto; }
  footer { align-items: flex-start; flex-direction: column; }
}
