:root {
  --background: #070a08;
  --background-soft: #0d110e;
  --surface: #111713;
  --surface-hover: #151d18;
  --border: #263129;

  --text-primary: #f4f7f5;
  --text-secondary: #a7b0aa;
  --text-muted: #6f7972;

  --accent: #3ee06e;
  --accent-hover: #58e882;
  --accent-dark: #071109;

  --max-width: 1160px;
  --radius-large: 28px;
  --radius-medium: 18px;
  --radius-small: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(62, 224, 110, 0.09),
      transparent 34rem
    ),
    var(--background);
  color: var(--text-primary);
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

/* Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(38, 49, 41, 0.7);
  background: rgba(7, 10, 8, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.navigation {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.navigation-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navigation-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.navigation-links a:hover {
  color: var(--text-primary);
}

/* Buttons */

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-dark);
  box-shadow: 0 14px 38px rgba(62, 224, 110, 0.16);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(17, 23, 19, 0.8);
  color: var(--text-primary);
}

.button-secondary:hover {
  border-color: #39483e;
  background: var(--surface-hover);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 92px;
}

.hero::before {
  position: absolute;
  top: 35px;
  left: 50%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: rgba(62, 224, 110, 0.055);
  filter: blur(120px);
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(62, 224, 110, 0.7);
  content: "";
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -4px;
}

.hero-description {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.app-showcase {
  position: relative;
  width: min(100%, 420px);
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 38px;
  background:
    linear-gradient(
      145deg,
      rgba(62, 224, 110, 0.08),
      rgba(17, 23, 19, 0.3)
    ),
    var(--surface);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.app-showcase::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(62, 224, 110, 0.12);
  filter: blur(75px);
  content: "";
}

.app-showcase-icon {
  position: relative;
  z-index: 1;
  width: 164px;
  height: 164px;
  margin: 16px auto 32px;
  border-radius: 38px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.showcase-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid rgba(62, 224, 110, 0.14);
  border-radius: 22px;
  background: rgba(7, 10, 8, 0.48);
}

.showcase-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.showcase-title {
  margin: 8px 0 0;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.7px;
}

.showcase-text {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Sections */

.section {
  padding: 92px 0;
}

.section-muted {
  border-top: 1px solid rgba(38, 49, 41, 0.55);
  border-bottom: 1px solid rgba(38, 49, 41, 0.55);
  background: rgba(13, 17, 14, 0.6);
}

.section-heading {
  max-width: 660px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
}

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

.feature-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #36463b;
  background: var(--surface-hover);
}

.feature-number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 1px;
}

.feature-card h3 {
  margin: 48px 0 12px;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.6px;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* Legal and support pages */

.page-hero {
  padding: 92px 0 54px;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 70px);
  line-height: 1.02;
  letter-spacing: -3px;
}

.page-hero p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 70px;
  align-items: start;
  padding-bottom: 100px;
}

.legal-navigation {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 12px;
}

.legal-navigation a {
  color: var(--text-muted);
  font-size: 14px;
}

.legal-navigation a:hover {
  color: var(--text-primary);
}

.legal-content {
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.legal-content h2 {
  margin: 48px 0 14px;
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.7px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  font-size: 15px;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.updated-date {
  display: block;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

/* Call to action */

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 50px;
  border: 1px solid rgba(62, 224, 110, 0.2);
  border-radius: 32px;
  background:
    linear-gradient(
      120deg,
      rgba(62, 224, 110, 0.1),
      rgba(17, 23, 19, 0.2)
    ),
    var(--surface);
}

.cta-card h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -1.8px;
}

.cta-card p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--text-secondary);
}

/* Footer */

.site-footer {
  margin-top: 60px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Responsive */

@media (max-width: 900px) {
  .navigation-links {
    display: none;
  }

  .hero {
    padding: 78px 0 70px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-navigation {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .navigation {
    min-height: 68px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -2.5px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .app-showcase {
    padding: 24px;
    border-radius: 28px;
  }

  .app-showcase-icon {
    width: 132px;
    height: 132px;
    border-radius: 30px;
  }

  .section {
    padding: 70px 0;
  }

  .feature-card {
    min-height: 240px;
    padding: 26px;
  }

  .legal-content {
    padding: 28px 22px;
  }

  .cta-card {
    padding: 32px 24px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}
