:root {
  --bg: #08111f;
  --bg-soft: #0e1930;
  --bg-deep: #050b15;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --surface-soft: rgba(255, 255, 255, 0.03);
  --text: #f7f9fc;
  --muted: #b8c5d9;
  --muted-strong: #d7e0ec;
  --accent: #ef4444;
  --accent-strong: #ff7866;
  --accent-soft: rgba(239, 68, 68, 0.14);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  --radius: 26px;
  --radius-small: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(239, 68, 68, 0.15), transparent 28%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.13), transparent 28%),
    linear-gradient(180deg, #091221 0%, #06101d 42%, #050b15 100%);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
}

body::before {
  top: 4rem;
  left: -10rem;
  background: rgba(239, 68, 68, 0.55);
}

body::after {
  right: -10rem;
  bottom: 8rem;
  background: rgba(59, 130, 246, 0.45);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(5, 11, 21, 0.76);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.brand-wordmark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 34, 66, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 247, 252, 0.96));
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12rem;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: clamp(1.38rem, 2vw, 1.96rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.brand-wordmark .t {
  display: inline-block;
  font-size: 1.08em;
  font-weight: 500;
  letter-spacing: -0.1em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 2px rgba(0, 0, 0, 0.08);
}

.brand-wordmark .t1 {
  color: #2f55ff;
}

.brand-wordmark .t2 {
  color: #f2a33a;
}

.brand-wordmark .t3 {
  color: #e84141;
}

.brand-wordmark .t4 {
  color: #3ed254;
}

.brand-wordmark .f {
  margin-left: 0.16rem;
  color: #3154f7;
  font-size: 1.1em;
  font-weight: 500;
  letter-spacing: -0.05em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.08);
}

.brand-image-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0.42rem 0.7rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.brand-image {
  display: block;
  width: auto;
  max-width: min(100%, 280px);
  height: 42px;
  object-fit: contain;
}

.brand-text-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  position: relative;
  padding-bottom: 0.2rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.footer-links a:hover {
  color: var(--text);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(239, 68, 68, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-small {
  padding: 0.78rem 1rem;
  font-size: 0.92rem;
}

.hero,
.page-hero {
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  top: 3rem;
  right: -8rem;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-grid,
.split-grid,
.contact-grid,
.two-column {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #ffb4aa;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  max-width: 11ch;
}

.page-hero h1 {
  max-width: none;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

p,
li {
  line-height: 1.75;
}

.lead,
.section-copy,
.muted,
.panel p,
.card p,
.detail-card p,
.quote-card span,
.footer-copy p {
  color: var(--muted);
}

.lead {
  max-width: 62ch;
  margin-top: 1.3rem;
  font-size: 1.06rem;
}

.button-row,
.pill-row,
.inline-list,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.pill-row {
  margin-top: 1.5rem;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  padding: 0.65rem 0.95rem;
  font-size: 0.92rem;
  backdrop-filter: blur(10px);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.025);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.08), transparent 30%),
    rgba(255, 255, 255, 0.018);
}

.section-heading {
  max-width: 760px;
}

.section-heading p {
  margin: 1rem 0 0;
}

.grid-3,
.grid-4,
.stats-grid,
.faq-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.card,
.detail-card,
.quote-card,
.cta-banner,
.contact-panel,
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.panel::before,
.card::before,
.detail-card::before,
.quote-card::before,
.cta-banner::before,
.contact-panel::before,
.stat-card::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 180, 170, 0.75), rgba(255, 255, 255, 0));
}

.panel:hover,
.card:hover,
.detail-card:hover,
.quote-card:hover,
.contact-panel:hover,
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.panel,
.card,
.detail-card,
.quote-card,
.contact-panel {
  padding: 1.6rem;
}

.card-label {
  margin: 0 0 0.85rem;
  color: #ffb4aa;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.check-list,
.simple-list,
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 0.9rem;
}

.check-list li,
.simple-list li,
.contact-list li {
  position: relative;
  padding-left: 1.4rem;
}

.check-list li::before,
.simple-list li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.simple-list {
  display: grid;
  gap: 0.7rem;
}

.process {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.process-step {
  position: relative;
  padding: 1.45rem 1.45rem 1.45rem 5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface-soft);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.process-step:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 1.35rem;
  top: 1.2rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 800;
}

.process-step p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.metric-row {
  display: grid;
  gap: 0.95rem;
  margin-top: 2rem;
}

.metric {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.metric:first-child {
  border-top: none;
  padding-top: 0;
}

.metric strong {
  min-width: 4.5rem;
  color: #ffb4aa;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-card {
  padding: 1.35rem;
}

.stat-card strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 1.5rem;
}

.quote-card p {
  margin: 0;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.7;
}

.quote-card span {
  display: block;
  margin-top: 1rem;
}

.cta-banner {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
}

.cta-banner p {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.contact-panel h3,
.detail-card h3,
.card h3 {
  margin-bottom: 0.75rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  color: var(--muted-strong);
  font-weight: 700;
  font-size: 0.94rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.9rem 1rem;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(255, 180, 170, 0.7);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-status {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.contact-status.is-success {
  border-color: rgba(62, 210, 84, 0.45);
  background: rgba(62, 210, 84, 0.12);
}

.contact-status.is-error {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
}

.bot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.2rem;
}

.logo-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.04);
}

.logo-feature img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.logo-feature .brand-wordmark-wrap {
  flex-shrink: 0;
}

.logo-feature strong {
  display: block;
  margin-bottom: 0.35rem;
}

.topbar a,
.contact-item a {
  color: var(--muted-strong);
}

.topbar a:hover,
.contact-item a:hover {
  color: #fff;
}

.contact-actions .button-secondary,
.page-links .button-ghost {
  background: rgba(255, 255, 255, 0.05);
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer {
  padding: 1rem 0 2.5rem;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  position: relative;
}

.footer-copy p {
  margin: 0.4rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.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;
}

@media (max-width: 1000px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .two-column,
  .cta-banner,
  .footer-shell {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-3,
  .grid-4,
  .stats-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar-inner {
    min-height: 52px;
    flex-direction: column;
    justify-content: center;
    padding: 0.55rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: var(--radius-small);
    border: 1px solid var(--line);
    background: rgba(6, 13, 23, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .brand-image {
    height: 36px;
  }

  .brand-wordmark {
    font-size: 1.32rem;
  }

  h1 {
    max-width: none;
  }

  .hero,
  .page-hero {
    padding-top: 4rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 1.1rem));
  }

  .brand-image-wrap {
    padding: 0.35rem 0.55rem;
  }

  .brand-image {
    height: 30px;
  }

  .brand-wordmark-wrap {
    padding: 0.28rem 0.48rem;
  }

  .brand-wordmark {
    font-size: 1.06rem;
  }

  .panel,
  .card,
  .detail-card,
  .quote-card,
  .contact-panel,
  .cta-banner,
  .stat-card {
    padding: 1.25rem;
  }

  .button,
  .button-secondary,
  .button-ghost {
    width: 100%;
  }

  .button-row,
  .contact-actions,
  .page-links {
    width: 100%;
  }
}
