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

:root {
  --bg: #050816;
  --bg-alt: #060b1b;
  --card-bg: #0b1024;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.16);
  --accent-strong: #6366f1;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --text-mute: #6b7280;
  --radius-xl: 1.25rem;
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.6);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #111827 0, #020617 50%, #020617 100%);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.8), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f97316, #4f46e5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #f9fafb;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.8);
}

.logo-text {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #e5e7eb;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.nav a {
  padding: 0.25rem 0;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #6366f1);
  transition: width 0.16s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(135deg, #4f46e5, #f97316);
  color: white;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.55);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn-ghost {
  border-radius: 999px;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.12), rgba(15, 23, 42, 0.9));
  color: var(--text);
  font-size: 0.85rem;
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 1);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.24), rgba(15, 23, 42, 0.95));
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-large {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

.link-inline {
  font-size: 0.92rem;
  color: var(--accent-strong);
}

main {
  padding-top: 0.75rem;
}

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--text-mute);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw + 1.2rem, 3.3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  max-width: 32rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.1rem;
  margin: 0;
}

.hero-stats dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-mute);
  margin-bottom: 0.25rem;
}

.hero-stats dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero-panel {
  position: relative;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.8), rgba(15, 23, 42, 0.95));
  border-radius: var(--radius-xl);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-card.secondary {
  margin-top: 1.2rem;
  background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.8), rgba(15, 23, 42, 0.96));
}

.hero-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #6366f1);
}

.hero-card-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 0.4rem;
}

.hero-card-tech {
  margin: 0;
  font-size: 0.86rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.15), rgba(15, 23, 42, 1));
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.section-header {
  max-width: 42rem;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-header h2 {
  font-size: 1.7rem;
  margin: 0 0 0.6rem;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

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

.card {
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.2), rgba(15, 23, 42, 0.96));
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.4rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card-subtitle {
  margin: 0 0 0.9rem;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.card-list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.card-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(111, 114, 255, 0.3), rgba(15, 23, 42, 1));
  border: 1px solid rgba(129, 140, 248, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #e5e7eb;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill-list li {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.steps {
  list-style: none;
  padding: 1.1rem 1.3rem;
  margin: 0;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 1));
  border: 1px dashed rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.steps li + li {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(30, 64, 175, 0.6);
}

.steps h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 2.7rem;
}

.about-grid p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.about-card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 1));
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-bottom: 0.9rem;
}

.about-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.about-card p {
  margin: 0;
  font-size: 0.88rem;
}

.section-cta {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 {
  margin: 0 0 0.6rem;
}

.cta-inner p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.cta-note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-mute);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.5rem 0 1.7rem;
  background: rgba(2, 6, 23, 0.98);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-mute);
}

.footer-brand {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.footer-address {
  margin: 0.25rem 0 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

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

.footer-meta {
  text-align: right;
}

/* Terms page */

.terms-page {
  padding: 3rem 0 3.5rem;
}

.terms-header {
  margin-bottom: 2rem;
}

.terms-header h1 {
  font-size: 1.9rem;
  margin-bottom: 0.3rem;
}

.terms-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.terms-content {
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.18), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.7rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  font-size: 0.94rem;
}

.terms-content h2 {
  font-size: 1.05rem;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}

.terms-content p {
  margin: 0.25rem 0;
  color: var(--text-soft);
}

.terms-content ol,
.terms-content ul {
  padding-left: 1.2rem;
  margin: 0.3rem 0 0.6rem;
  color: var(--text-soft);
}

.terms-content li {
  margin-bottom: 0.3rem;
}

/* Responsive */

@media (max-width: 960px) {
  .header-inner {
    align-items: center;
  }

  .nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

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

  .approach-grid,
  .about-grid,
  .footer-inner,
  .cta-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-meta {
    text-align: left;
  }

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

@media (max-width: 640px) {
  .hero {
    padding-top: 2.7rem;
  }

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

  .section {
    padding: 2.7rem 0;
  }

  .hero-card,
  .hero-card.secondary {
    padding: 1.1rem 1.2rem;
  }

  .terms-content {
    padding: 1.4rem 1.3rem;
  }
}
