:root {
  color-scheme: dark;
  --bg: #070b12;
  --bg-soft: #0c1320;
  --card: rgba(14, 22, 35, 0.74);
  --card-strong: rgba(17, 27, 43, 0.92);
  --line: rgba(151, 174, 207, 0.16);
  --line-strong: rgba(121, 240, 218, 0.38);
  --text: #f5f8ff;
  --muted: #9aa8bb;
  --muted-strong: #c5cfdd;
  --accent: #62f0d3;
  --accent-2: #8ea7ff;
  --danger: #ff7b8a;
  --success: #7cf7b0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --font:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(circle at 16% 8%, rgba(98, 240, 211, 0.14), transparent 32rem),
    radial-gradient(circle at 82% 16%, rgba(142, 167, 255, 0.18), transparent 30rem),
    linear-gradient(135deg, #05070d 0%, #09111e 48%, #080b12 100%);
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 76%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  overflow: hidden;
}

.site-header,
.section-pad,
.product-summary,
.trust-section,
.site-footer {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand,
.header-link,
.primary-cta,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand {
  gap: 12px;
  color: var(--text);
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(98, 240, 211, 0.45);
  border-radius: 12px;
  color: #041412;
  background: linear-gradient(135deg, var(--accent), #d7fff7);
  box-shadow: 0 10px 36px rgba(98, 240, 211, 0.22);
}

.header-link {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-link:hover {
  border-color: var(--line-strong);
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.74fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 54px 0 70px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.primary-cta,
.submit-button {
  gap: 10px;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  color: #031210;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #d7fff7);
  box-shadow: 0 18px 48px rgba(98, 240, 211, 0.28);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary-cta {
  padding: 0 24px;
}

.primary-cta:hover,
.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(98, 240, 211, 0.34);
}

.primary-cta:focus-visible,
.submit-button:focus-visible,
input:focus-visible,
.header-link:focus-visible {
  outline: 3px solid rgba(98, 240, 211, 0.3);
  outline-offset: 3px;
}

.insight-panel,
.form-card,
.trust-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card), rgba(10, 16, 27, 0.68));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.insight-panel {
  position: relative;
  display: grid;
  gap: 28px;
  min-height: 520px;
  padding: 30px;
  border-radius: var(--radius-lg);
}

.insight-panel::after {
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  content: "";
}

.panel-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(124, 247, 176, 0.12);
}

.score-ring {
  width: min(100%, 292px);
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle, #0b1320 56%, transparent 57%),
    conic-gradient(from -35deg, var(--accent) 0 82%, rgba(255, 255, 255, 0.1) 82% 100%);
}

.score-ring span {
  font-size: 4.6rem;
  font-weight: 850;
  line-height: 1;
}

.score-ring small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-list {
  display: grid;
  gap: 12px;
}

.signal-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.signal-list span {
  color: var(--muted);
}

.signal-list strong {
  color: var(--text);
}

.product-summary {
  padding: 24px 0 82px;
}

.product-summary p {
  max-width: 920px;
  margin: 0 auto;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 2.4vw, 1.55rem);
  text-align: center;
}

.form-section {
  padding: 4px 0 82px;
}

.form-card {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 44px);
  border-radius: var(--radius-lg);
}

.form-heading {
  max-width: 620px;
  margin: 0 auto 28px;
  text-align: center;
}

.form-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.form-heading p:not(.eyebrow) {
  color: var(--muted);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

label {
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

label span {
  color: var(--muted);
  font-weight: 500;
}

input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(151, 174, 207, 0.18);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: rgba(5, 10, 18, 0.68);
  padding: 0 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input::placeholder {
  color: rgba(154, 168, 187, 0.7);
}

input:hover {
  border-color: rgba(151, 174, 207, 0.34);
}

.field.is-invalid input {
  border-color: rgba(255, 123, 138, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 123, 138, 0.1);
}

.field.is-valid input {
  border-color: rgba(124, 247, 176, 0.5);
}

.error-message {
  min-height: 18px;
  color: var(--danger);
  font-size: 0.82rem;
}

.submit-button {
  position: relative;
  width: 100%;
  margin-top: 14px;
  padding: 0 22px;
}

.button-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(3, 18, 16, 0.24);
  border-top-color: #031210;
  border-radius: 999px;
  animation: spin 720ms linear infinite;
}

.submit-button.is-loading {
  pointer-events: none;
  filter: saturate(0.88);
}

.submit-button.is-loading .button-spinner {
  display: inline-block;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--success);
  text-align: center;
}

.trust-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 74px;
}

.trust-item {
  padding: 24px;
  border-radius: var(--radius-md);
  transition: transform 180ms ease, border-color 180ms ease;
}

.trust-item:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.trust-item span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.trust-item h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.trust-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted-strong);
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 700ms ease forwards;
}

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

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }

  .insight-panel {
    min-height: auto;
  }

  .trust-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-pad,
  .product-summary,
  .trust-section,
  .site-footer {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    padding: 20px 0;
  }

  .header-link {
    display: none;
  }

  .hero {
    gap: 34px;
    padding: 36px 0 54px;
  }

  h1 {
    font-size: clamp(2.65rem, 16vw, 4rem);
  }

  .primary-cta {
    width: 100%;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    border-radius: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
