:root {
  --background: #f3f6fa;
  --foreground: #10233b;
  --muted: #5f7288;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.88);
  --border: #d6e0ea;
  --brand: #1f5eff;
  --brand-strong: #1247cc;
  --brand-soft: rgba(31, 94, 255, 0.08);
  --success: #0f9d71;
  --danger: #c94f46;
  --shadow: 0 20px 48px rgba(16, 35, 59, 0.08);
  --radius-lg: 1.75rem;
  --radius-xl: 2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: linear-gradient(180deg, #f7f9fc 0%, #edf2f7 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(31, 94, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 34%, #f4f7fb 100%);
  color: var(--foreground);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(214, 224, 234, 0.28) 1px, transparent 1px),
    linear-gradient(rgba(214, 224, 234, 0.24) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 78%);
  opacity: 0.4;
  z-index: 0;
}

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

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(31, 94, 255, 0.16);
  color: var(--foreground);
}

.site-shell,
.site-header,
.page-main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container-shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-shell {
  padding: 4.75rem 0;
}

.page-main .section-shell + .section-shell {
  border-top: 1px solid var(--border);
}

.section-kicker {
  margin: 0;
  color: var(--brand);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-header {
  max-width: 52rem;
}

.section-title {
  margin: 1rem 0 0;
  color: var(--foreground);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 2vw + 1.5rem, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-description {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.site-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(245, 248, 252, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--brand);
  box-shadow: 0 12px 30px rgba(31, 94, 255, 0.22);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-name {
  color: var(--foreground);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.nav-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border-radius: 999px;
  padding: 0 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.nav-chip-idle {
  border: 1px solid transparent;
  color: var(--muted);
}

.nav-chip-idle:hover,
.nav-chip-idle:focus-visible {
  background: rgba(255, 255, 255, 0.7);
  color: var(--foreground);
}

.nav-chip-active {
  border: 1px solid rgba(31, 94, 255, 0.14);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.header-cta {
  margin-left: auto;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  border-radius: 999px;
  padding: 0 1.3rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button-primary {
  border-color: rgba(31, 94, 255, 0.12);
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 16px 34px rgba(31, 94, 255, 0.18);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(31, 94, 255, 0.24);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--foreground);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(31, 94, 255, 0.2);
  background: rgba(255, 255, 255, 1);
}

.button-primary:focus-visible,
.button-secondary:focus-visible,
.nav-chip:focus-visible,
.input-shell:focus-visible,
.radio-option:focus-within,
.faq-item summary:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(31, 94, 255, 0.6);
  outline-offset: 3px;
}

.hero-section {
  padding-top: 4rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.hero-copy {
  max-width: 52rem;
}

.hero-title {
  margin: 1rem 0 0;
  color: var(--foreground);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-description {
  margin: 1.2rem 0 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-panel,
.metric-card,
.info-card,
.panel,
.cta-banner,
.faq-item {
  box-shadow: var(--shadow);
}

.hero-panel,
.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.96));
}

.hero-panel {
  padding: 1.75rem;
}

.hero-panel > * + * {
  margin-top: 1rem;
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.cards-2 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.metric-card,
.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.metric-card {
  background: var(--surface-soft);
  padding: 1.5rem;
}

.info-card {
  background: var(--surface);
  padding: 1.75rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 94, 255, 0.18);
}

.card-title {
  margin: 1rem 0 0;
  color: var(--foreground);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
}

.card-copy {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.card-actions {
  margin-top: 1.75rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
}

.bullet-list {
  margin: 1.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.bullet-list li + li {
  margin-top: 0.6rem;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--brand);
}

.stack-sm > * + * {
  margin-top: 0.9rem;
}

.stack-md > * + * {
  margin-top: 1.2rem;
}

.stack-lg > * + * {
  margin-top: 1.6rem;
}

.cta-section {
  padding-top: 0;
}

.cta-banner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 244, 250, 0.94));
  padding: 2rem;
}

.cta-title {
  margin-top: 1rem;
}

.cta-description {
  max-width: 42rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--surface);
  padding: 1.5rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  color: var(--foreground);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem 0;
}

.footer-copy {
  max-width: 36rem;
}

.footer-text {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a:hover {
  color: var(--foreground);
}

.link-inline {
  color: var(--brand-strong);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

fieldset.field-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form-intro h2 {
  margin: 0.75rem 0 0;
  color: var(--foreground);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  line-height: 1.2;
}

.contact-form-intro p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field-group {
  display: grid;
  gap: 0.55rem;
}

.field-label,
.legend-label {
  color: var(--foreground);
  font-size: 0.95rem;
  font-weight: 700;
}

.required-mark {
  color: var(--brand);
}

.input-shell {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  color: var(--foreground);
  font: inherit;
  padding: 0.95rem 1rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.input-shell::placeholder {
  color: #8091a4;
}

.input-shell:hover {
  border-color: rgba(31, 94, 255, 0.24);
}

.input-shell:focus {
  border-color: rgba(31, 94, 255, 0.36);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.08);
  outline: none;
}

textarea.input-shell {
  min-height: 11rem;
  resize: vertical;
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  line-height: 1.5;
}

.legend-copy {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.radio-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.radio-option {
  display: block;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: #fff;
  padding: 1rem;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.radio-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-option-active {
  border-color: rgba(31, 94, 255, 0.28);
  background: rgba(31, 94, 255, 0.08);
}

.radio-title {
  display: block;
  color: var(--foreground);
  font-weight: 700;
}

.radio-copy {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.form-message {
  border: 1px solid transparent;
  border-radius: 1.5rem;
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.form-message-success {
  border-color: rgba(15, 157, 113, 0.22);
  background: rgba(15, 157, 113, 0.06);
  color: var(--success);
}

.form-message-error {
  border-color: rgba(201, 79, 70, 0.2);
  background: rgba(201, 79, 70, 0.06);
  color: var(--danger);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-support {
  max-width: 24rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.support-card {
  margin-top: 2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3,
  .radio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-banner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .footer-links {
    align-items: flex-end;
  }
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
    align-items: start;
  }

  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .header-cta {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .section-shell {
    padding: 3.75rem 0;
  }

  .hero-section {
    padding-top: 3rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }
}
