:root {
  --bg: #f7f9fc;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --panel-2: #f8fbff;
  --text: #0e3358;
  --text-soft: #5d738a;
  --line: rgba(14, 51, 88, 0.14);
  --footer-bg: #eef4fb;
  --footer-line: rgba(14, 51, 88, 0.12);
  --footer-text: #0e3358;
  --footer-soft: #5d738a;
  --orange-1: #ff7a1a;
  --orange-2: #ff5c00;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
  --glass: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(14, 51, 88, 0.10);
  --max: 1180px;
}

html.dark {
  --bg: #020817;
  --bg-2: #071326;
  --panel: #081326;
  --panel-2: #0b162b;
  --text: #eef4fb;
  --text-soft: #b9c7d6;
  --line: rgba(255, 255, 255, 0.10);
  --footer-bg: #030b16;
  --footer-line: rgba(255, 255, 255, 0.12);
  --footer-text: rgba(255, 255, 255, 0.86);
  --footer-soft: rgba(255, 255, 255, 0.62);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  --glass: rgba(7, 19, 38, 0.88);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  white-space: nowrap;
}

.nav-link {
  padding: 6px 6px;
  color: var(--text);
}

.nav-link:hover,
.footer-link:hover {
  opacity: 0.82;
}

.desktop-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.icon-moon.hidden,
.icon-sun.hidden,
.mobile-nav.hidden {
  display: none;
}

.mobile-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger-bar {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  display: block;
}

.mobile-nav {
  border-top: 1px solid var(--glass-border);
  background: var(--panel);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 18px;
}

.mobile-nav-link {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.mobile-theme-toggle {
  margin-top: 10px;
  width: fit-content;
}

.hero-section,
.content-section {
  padding: 54px 0;
}

.alt-section {
  background: rgba(255, 255, 255, 0.02);
}

.hero-card,
.content-card,
.cta-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 54px 42px;
}

.eyebrow {
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  color: var(--text);
}

h1 {
  font-size: 64px;
  line-height: 0.96;
  font-weight: 900;
}

h2 {
  font-size: 38px;
  line-height: 1.05;
  font-weight: 850;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.hero-copy,
.section-copy,
.content-card p,
.content-card li {
  color: var(--text-soft);
  line-height: 1.75;
}

.hero-copy {
  max-width: 900px;
  font-size: 22px;
}

.section-copy {
  max-width: 860px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--orange-1), var(--orange-2));
  box-shadow: 0 12px 24px rgba(255, 92, 0, 0.18);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.section-heading {
  margin-bottom: 22px;
}

.card-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

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

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

.content-card {
  padding: 28px;
  height: 100%;
}

.content-card ul {
  margin: 0;
  padding-left: 18px;
}

.content-card li + li {
  margin-top: 8px;
}

.step-card {
  display: flex;
  flex-direction: column;
}

.step-card p {
  margin-bottom: 0;
}

.step-card-action {
  margin-top: auto;
  padding-top: 22px;
}

.step-card-action .btn {
  width: 100%;
}

.site-footer {
  padding: 48px 0 32px;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
}

.footer-brand-wrap {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 auto;
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-line {
  height: 1px;
  flex: 1;
  background: var(--footer-line);
}

.footer-grid {
  display: grid;
  gap: 34px;
}

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

.footer-heading {
  margin-bottom: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--footer-soft);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li + li {
  margin-top: 10px;
}

.footer-link {
  color: var(--footer-text);
  font-size: 14px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--footer-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  background: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-1px);
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.05);
}

.footer-social-icon {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 14px;
  border-top: 1px solid var(--footer-line);
  font-size: 12px;
  color: var(--footer-soft);
}

.hero-section-enhanced {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(247,249,252,0) 100%);
}

html.dark .hero-section-enhanced {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(2,8,23,0) 100%);
}

.alt-section-enhanced {
  background: transparent;
}

html.dark .alt-section-enhanced {
  background: transparent;
}

.section-divider-section {
  padding: 0 0 8px;
}

.section-divider-line {
  width: 100%;
  height: 1px;
  background: rgba(14, 51, 88, 0.12);
}

html.dark .section-divider-line {
  background: rgba(255, 255, 255, 0.10);
}

@media (min-width: 1024px) {
  .desktop-nav,
  .desktop-actions {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }
}

@media (max-width: 1023px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .card-grid-2,
  .card-grid-3,
  .footer-grid-5 {
  grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 40px 28px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions .btn,
  .step-card-action .btn {
    width: 100%;
  }

  .brand-name {
    font-size: 16px;
  }
}