:root {
  color-scheme: dark;
  --color-background: #080b0d;
  --color-surface: #1a1f23;
  --color-card: #2d3032;
  --color-text-primary: #e9eef2;
  --color-text-secondary: #aab4c0;
  --color-accent: #fe8162;
  --color-accent-soft: rgba(254, 129, 98, 0.1);
  --color-success: #6eb9a7;
  --max-width: 1100px;
  font-family: "Inter", "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(254, 129, 98, 0.12), transparent 60%),
    var(--color-background);
  color: var(--color-text-primary);
  font-family: inherit;
  line-height: 1.6;
}

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

a:hover,
a:focus {
  color: var(--color-accent);
}

.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;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: transparent;
  border-bottom: none;
}

.topbar-shell {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 18px 24px 12px;
}

.topbar {
  width: min(100%, 960px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(10, 12, 14, 0.95), rgba(18, 22, 25, 0.98));
  border-radius: 999px;
  padding: 12px 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(234, 239, 244, 0.05);
  position: relative;
}

.topbar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 16px;
}

.topbar-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: background 0.2s ease;
}

.topbar-menu-toggle:focus-visible,
.topbar-menu-toggle:hover {
  background: transparent;
}

.topbar-menu-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.topbar-menu-icon::before,
.topbar-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.topbar-menu-icon::before {
  top: -6px;
}

.topbar-menu-icon::after {
  top: 6px;
}

.topbar-menu-toggle.is-open .topbar-menu-icon {
  background: transparent;
}

.topbar-menu-toggle.is-open .topbar-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.topbar-menu-toggle.is-open .topbar-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.topbar-brand:hover,
.topbar-brand:focus {
  color: var(--color-text-primary);
}

.topbar-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: contain;
  display: block;
}

.topbar-brand-name {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.topbar-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.topbar-nav a {
  font-weight: 600;
  color: rgba(233, 238, 242, 0.9);
  padding: 8px 6px;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.topbar-nav a:hover,
.topbar-nav a:focus {
  color: var(--color-accent);
}

.topbar-cta {
  background: #ffffff;
  color: #0d1115;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-cta:hover,
.topbar-cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: block;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-weight: 500;
}

nav ul li a {
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

nav ul li a:hover,
nav ul li a:focus {
  opacity: 1;
  color: var(--color-accent);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-background);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover,
.cta-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(254, 129, 98, 0.35);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.hero {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.hero-card {
  background: linear-gradient(180deg, rgba(45, 48, 50, 0.9), rgba(8, 11, 13, 0.95));
  border-radius: 32px;
  padding: 36px;
  border: 1px solid rgba(234, 239, 244, 0.06);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.hero-card h2 {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.hero-card .stat {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.hero-card .bar {
  height: 160px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  align-items: end;
}

.hero-card .bar span {
  display: block;
  background: linear-gradient(180deg, rgba(254, 129, 98, 0.9), rgba(254, 129, 98, 0.2));
  border-radius: 12px 12px 4px 4px;
}

.section {
  margin-top: 100px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  background: rgba(45, 48, 50, 0.85);
  border: 1px solid rgba(234, 239, 244, 0.05);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(254, 129, 98, 0.4);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(254, 129, 98, 0.15);
  color: var(--color-accent);
  font-size: 1.2rem;
}

.subtle-text {
  color: var(--color-text-secondary);
}

.testimonial {
  background: linear-gradient(180deg, rgba(45, 48, 50, 0.85), rgba(8, 11, 13, 0.95));
  padding: 48px;
  border-radius: 32px;
  border: 1px solid rgba(234, 239, 244, 0.05);
  margin-top: 100px;
}

.testimonial blockquote {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 24px;
}

.testimonial cite {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

footer {
  margin-top: 80px;
  border-top: 1px solid rgba(234, 239, 244, 0.06);
  background: rgba(8, 11, 13, 0.9);
}

footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

footer nav ul {
  gap: 16px;
  flex-wrap: wrap;
}


.legal-page main {
  padding-top: 20px;
}

.legal-card {
  background: rgba(45, 48, 50, 0.85);
  border: 1px solid rgba(234, 239, 244, 0.08);
  border-radius: 28px;
  padding: 32px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-card h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.legal-card section + section {
  border-top: 1px solid rgba(234, 239, 244, 0.05);
  padding-top: 24px;
}

.legal-card p {
  color: var(--color-text-secondary);
  margin: 0;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 720px) {
  .topbar-shell {
    padding: 18px 16px 40px;
  }

  .topbar {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
  }

  .topbar-head {
    width: 100%;
  }

  .topbar-menu-toggle {
    display: inline-flex;
  }

  .topbar-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .topbar-right {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    background: rgba(10, 12, 14, 0.92);
    border-radius: 20px;
    border: 1px solid rgba(234, 239, 244, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 5;
  }

  .topbar-right.is-open {
    display: flex;
  }

  .topbar-cta {
    width: 100%;
    justify-content: center;
  }

  main {
    padding: 60px 20px 80px;
  }

  .hero-card {
    padding: 28px;
  }

  .testimonial {
    padding: 36px;
  }
}
