:root {
  --blue: #2864ed;
  --blue-dark: #164fcf;
  --blue-soft: #eef4ff;
  --ink: #071126;
  --muted: #526079;
  --line: #dce7fb;
  --surface: rgba(255, 255, 255, 0.94);
  --shadow: 0 26px 80px rgba(31, 75, 160, 0.13);
  --shadow-soft: 0 18px 50px rgba(31, 75, 160, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(55, 105, 238, 0.14), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(87, 130, 255, 0.11), transparent 26%),
    linear-gradient(180deg, #f8faff 0%, #edf3ff 66%, #f8faff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(51, 102, 226, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 102, 226, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
  box-shadow: var(--shadow-soft);
}
.skip-link:focus { transform: translateY(0); }
.site-shell { width: min(100%, 1320px); margin: 0 auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px 24px;
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  border-radius: 16px;
}
.brand img { width: 48px; height: 48px; border-radius: 13px; box-shadow: 0 15px 30px rgba(40, 100, 237, 0.2); }
.brand-copy { display: grid; gap: 4px; line-height: 1; }
.brand-copy strong { font-size: 20px; font-weight: 900; letter-spacing: -0.025em; }
.brand-copy strong span, .footer-brand span { color: var(--blue); }
.brand-copy small { color: #23304b; font-size: 13px; font-weight: 800; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  transition: background 0.2s ease, transform 0.2s ease;
}
.back-link:hover { background: rgba(255,255,255,.72); transform: translateX(-2px); }
.back-link svg { width: 19px; height: 19px; }

main { padding: 8px 34px 40px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.82fr);
  align-items: start;
  column-gap: 46px;
  row-gap: 22px;
}
.hero-copy { grid-column: 1; grid-row: 1; padding-top: 4px; }
.eyebrow, .section-kicker {
  margin: 0;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(40, 100, 237, 0.16);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 10px 28px rgba(31,75,160,.06);
}
.eyebrow svg { width: 17px; height: 17px; }
.hero-heading { margin-top: 24px; }
.hero-heading h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 4.65rem);
  line-height: 0.99;
  letter-spacing: -0.052em;
  font-weight: 950;
}
.hero-heading h1 span { color: var(--blue); }
.hero-heading p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #384760;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.75;
}
.trust-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}
.trust-pills li {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(40,100,237,.13);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 13px 34px rgba(31,75,160,.055);
}
.icon-box {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-soft);
}
.icon-box svg { width: 20px; height: 20px; }
.trust-pills li > span:last-child { display: grid; gap: 3px; }
.trust-pills strong { font-size: 13px; font-weight: 900; }
.trust-pills small { color: #65728a; font-size: 10.5px; font-weight: 700; line-height: 1.35; }

.clarity-card {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
  padding: 24px;
  border: 1px solid rgba(40,100,237,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow-soft);
}
.clarity-card > h2 {
  max-width: 690px;
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.clarity-grid { display: grid; gap: 4px; margin-top: 18px; }
.clarity-grid article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid #e4ecfb;
}
.clarity-grid article:first-child { border-top: 0; padding-top: 4px; }
.number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}
.clarity-grid h3 { margin: 0; font-size: 15px; font-weight: 900; }
.clarity-grid p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; font-weight: 600; }

.form-card {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: sticky;
  top: 22px;
  padding: 30px;
  border: 1px solid rgba(40,100,237,.13);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.form-heading { margin-bottom: 23px; }
.form-badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.form-heading h2 {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.form-heading p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; font-weight: 600; }
#diagnostic-form { display: grid; gap: 14px; }
.honeypot { position: absolute!important; width: 1px!important; height: 1px!important; opacity: 0!important; pointer-events: none!important; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 850; }
.field label span { color: #e23a4b; }
.field label small { color: #728098; font-size: 11px; font-weight: 750; }
.control { position: relative; }
.control > svg {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 1;
  width: 20px;
  height: 20px;
  color: var(--blue);
  transform: translateY(-50%);
  pointer-events: none;
}
.control input, .control select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px 0 48px;
  border: 1px solid #dce6f7;
  border-radius: 15px;
  outline: none;
  color: var(--ink);
  background: #fbfdff;
  font-size: 14px;
  font-weight: 650;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.control input::placeholder { color: #9aa8bf; font-weight: 550; }
.control select { appearance: none; color: #5f6d84; cursor: pointer; padding-right: 46px; }
.control-select::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  content: "";
  border-right: 1.8px solid #687790;
  border-bottom: 1.8px solid #687790;
  transform: translateY(-68%) rotate(45deg);
  pointer-events: none;
}
.control input:focus, .control select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(40,100,237,.12);
}
.control input[aria-invalid="true"], .control select[aria-invalid="true"] { border-color: #e23a4b; box-shadow: 0 0 0 4px rgba(226,58,75,.08); }
.field-error { min-height: 16px; margin: 0; color: #cf2f41; font-size: 11.5px; font-weight: 750; }
.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid #dce8fb;
  border-radius: 15px;
  background: #f1f6ff;
}
.privacy-note svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
.privacy-note p { margin: 0; color: #485770; font-size: 11.5px; line-height: 1.55; font-weight: 600; }
.privacy-note strong { color: #1f2c44; }
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 55px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #2f69ef, #1d55dc);
  box-shadow: 0 16px 32px rgba(40,100,237,.27);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.submit-button svg { width: 18px; height: 18px; }
.submit-button:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(40,100,237,.32); filter: saturate(1.08); }
.submit-button:disabled { cursor: wait; opacity: .68; transform: none; }
.response-time { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; color: #65728a; font-size: 11.5px; font-weight: 800; }
.response-time svg { width: 16px; height: 16px; color: var(--blue); }
.form-status { min-height: 0; border-radius: 12px; font-size: 12px; font-weight: 750; line-height: 1.5; }
.form-status:not(:empty) { min-height: auto; padding: 11px 12px; }
.form-status.error { color: #a32234; background: #fff0f2; border: 1px solid #ffd4da; }

.credibility {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) 1.1fr;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid rgba(40,100,237,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow-soft);
}
.consultant { display: flex; align-items: center; gap: 16px; }
.consultant img { width: 70px; height: 70px; object-fit: cover; object-position: center 26%; border-radius: 18px; background: var(--blue-soft); }
.consultant span { color: #718097; font-size: 12px; font-weight: 800; }
.consultant h2 { margin: 3px 0 0; color: var(--blue); font-size: 19px; letter-spacing: -.02em; }
.consultant p { margin: 3px 0 0; color: #30405a; font-size: 12px; font-weight: 750; }
.expertise-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.expertise-list div { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px; border: 1px solid #dce7f8; border-radius: 16px; background: rgba(255,255,255,.75); }
.expertise-list svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--blue); }
.expertise-list strong { font-size: 12px; line-height: 1.35; }

.process-section { padding: 78px 0 62px; }
.process-heading { max-width: 640px; margin: 0 auto; text-align: center; }
.process-heading h2 { margin: 10px 0 0; font-size: clamp(2rem,4vw,3rem); line-height: 1.08; letter-spacing: -.04em; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.process-grid article { padding: 24px; border: 1px solid rgba(40,100,237,.13); border-radius: 21px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-soft); }
.process-grid article > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--blue-dark); background: var(--blue-soft); font-size: 13px; font-weight: 900; }
.process-grid h3 { margin: 18px 0 0; font-size: 17px; letter-spacing: -.02em; }
.process-grid p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; font-weight: 600; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 25px 34px 34px;
  color: #5c6a82;
  font-size: 12px;
  font-weight: 700;
}
.footer-brand { justify-self: start; gap: 9px; text-decoration: none; }
.footer-brand img { width: 30px; height: 30px; border-radius: 9px; }
.footer-brand strong { color: var(--ink); font-size: 13px; }
.site-footer p { margin: 0; text-align: center; }
.site-footer nav { display: flex; justify-self: end; gap: 18px; }
.site-footer nav a { color: var(--blue-dark); text-decoration: none; font-weight: 850; }

:focus-visible { outline: 3px solid rgba(40,100,237,.3); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; }
}

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr 430px; gap: 28px; }
  .hero-heading h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); }
  .trust-pills { grid-template-columns: 1fr; }
  .trust-pills li { min-height: 64px; }
}
@media (max-width: 860px) {
  .site-header { padding: 22px 22px 18px; }
  main { padding: 8px 22px 32px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .form-card { grid-column: 1; grid-row: 2; position: static; }
  .clarity-card { grid-column: 1; grid-row: 3; }
  .trust-pills { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .credibility { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-brand, .site-footer nav { justify-self: center; }
}
@media (max-width: 640px) {
  .site-header { padding-inline: 16px; }
  .brand img { width: 43px; height: 43px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 12px; }
  .back-link span { display: none; }
  main { padding-inline: 16px; }
  .hero-heading { margin-top: 18px; }
  .hero-heading h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); line-height: 1.02; }
  .hero-heading p { margin-top: 18px; font-size: 15px; line-height: 1.7; }
  .trust-pills { grid-template-columns: 1fr; }
  .clarity-card { padding: 20px; }
  .clarity-card > h2 { font-size: 19px; }
  .form-card { padding: 23px 18px; border-radius: 23px; }
  .form-heading h2 { font-size: 27px; }
  .credibility { padding: 16px; }
  .consultant img { width: 60px; height: 60px; }
  .expertise-list { grid-template-columns: 1fr; }
  .process-section { padding: 58px 0 42px; }
  .process-grid article { padding: 20px; }
  .site-footer { padding-inline: 16px; }
}

.privacy-note a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
@media (max-width: 760px) { .site-footer nav { justify-content: center; } }
