:root {
  --bg: #0b0d10;
  --panel: rgba(17, 20, 25, 0.82);
  --text: #f2f5f7;
  --muted: #9ba4ae;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #68d391;
  --accent-soft: rgba(104, 211, 145, 0.18);
  --accent-warm: #d7883d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 16%, rgba(104, 211, 145, 0.1), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(215, 136, 61, 0.1), transparent 20%),
    linear-gradient(180deg, #090b0e 0%, #0b0d10 48%, #0f1217 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black, transparent 88%);
  opacity: 0.35;
}

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

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.page-glow {
  position: fixed;
  z-index: 0;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.22;
}

.page-glow-left {
  top: -120px;
  left: -80px;
  background: rgba(104, 211, 145, 0.16);
}

.page-glow-right {
  right: -120px;
  bottom: 10%;
  background: rgba(215, 136, 61, 0.14);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 42px;
}

.hero,
.section,
.footer,
.legal-page {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  padding: 28px;
  border-radius: 32px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 72px;
}

.brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a,
.footer-links a,
.back-link {
  color: var(--muted);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover,
.back-link:hover {
  color: var(--text);
}

.hero-layout {
  display: block;
}

.hero-copy {
  padding: 12px 4px 8px 4px;
  max-width: 760px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d9e1e7;
  font-size: 0.88rem;
}

.status-light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
  animation: pulse 3.2s ease-in-out infinite;
}

.hero-copy h1,
.legal-page h1 {
  margin-top: 28px;
  font-size: clamp(3.6rem, 12vw, 7.5rem);
  font-weight: 700;
}

.subtitle {
  margin-top: 18px;
  color: #dfe6ec;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  letter-spacing: -0.03em;
}

.lead,
.section-copy {
  max-width: 64ch;
  margin-top: 22px;
  font-size: 1.04rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.contact-link:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: rgba(104, 211, 145, 0.34);
  background: linear-gradient(180deg, rgba(104, 211, 145, 0.2), rgba(104, 211, 145, 0.12));
  color: var(--text);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.035);
}

.button-primary:hover,
.button-secondary:hover {
  border-color: var(--line-strong);
  background-color: rgba(255, 255, 255, 0.08);
}

.service-card,
.contact-panel,
.legal-page,
.note {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.section-kicker,
.eyebrow,
.contact-label,
.card-index {
  color: #c2ccd5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  margin-top: 22px;
  padding: 28px;
  border-radius: 28px;
}

.section-heading h2,
.legal-page h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: end;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.service-card {
  min-height: 210px;
  padding: 22px;
  border-radius: var(--radius-md);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(104, 211, 145, 0.22);
  background:
    linear-gradient(180deg, rgba(104, 211, 145, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.service-card h3 {
  margin-top: 20px;
  margin-bottom: 14px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.contact-link strong {
  color: var(--text);
  font-weight: 600;
}

.contact-link:hover {
  border-color: rgba(215, 136, 61, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: 24px;
}

.footer p {
  color: #d0d7dd;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 20px 16px 40px;
}

.legal-page {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 28px;
  border-radius: 30px;
}

.legal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.legal-page p + p {
  margin-top: 12px;
}

.legal-page h2 {
  margin-bottom: 12px;
}

.note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent-warm);
  border-radius: var(--radius-sm);
}

ul {
  padding-left: 20px;
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(104, 211, 145, 0.18);
    opacity: 0.95;
  }

  50% {
    box-shadow: 0 0 0 8px rgba(104, 211, 145, 0.05);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .intro-section,
  .service-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    margin-bottom: 44px;
  }

  .hero-copy h1,
  .legal-page h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }
}

@media (max-width: 640px) {
  .site-shell,
  .legal-wrapper {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero,
  .section,
  .legal-page,
  .footer {
    padding: 22px;
  }

  .hero-actions,
  .nav-links,
  .footer-links {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
