:root {
  --bg: #080808;
  --bg-soft: #0f0f10;
  --panel: rgba(255, 255, 255, 0.032);
  --panel-strong: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f3efe8;
  --text-soft: rgba(243, 239, 232, 0.74);
  --text-muted: rgba(243, 239, 232, 0.44);
  --glow: rgba(243, 239, 232, 0.09);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.035), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.025), transparent 24%),
    linear-gradient(180deg, #090909 0%, #070707 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.04), transparent 32%);
  pointer-events: none;
  z-index: -2;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
}

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

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(8, 8, 8, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.brand-text {
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,0.045);
}

.site-nav .nav-cta {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.035);
  color: var(--text);
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-direction: column;
  color: var(--text);
}

.mobile-toggle span {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.section {
  padding: 96px 0 0;
}

.hero-section {
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
  gap: 1.25rem;
}

.panel {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.02);
  pointer-events: none;
}

.panel-lg {
  padding: 2rem;
}

.panel-sm {
  padding: 1.35rem;
}

.section-kicker,
.section-label,
.mini-kicker,
.fit-card-kicker,
.step-number,
.service-card-brand {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(3rem, 8vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 10ch;
}

.hero-subcopy {
  margin: 1.3rem 0 0;
  max-width: 42rem;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions,
.cta-actions {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--text);
  color: #111;
  box-shadow: 0 12px 40px rgba(243, 239, 232, 0.14);
}

.button-secondary {
  background: rgba(255,255,255,0.03);
  border-color: var(--border);
  color: var(--text);
}

.hero-side {
  display: grid;
  align-content: start;
  gap: 1.2rem;
}

.mini-card p,
.signal-list,
.section-head p,
.step-card p,
.fit-card li,
.faq-item p,
.cta-copy p,
.footer-copy,
.service-description {
  color: var(--text-soft);
}

.mini-card p {
  margin: 0.55rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
}

.mini-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.signal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.signal-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.signal-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--text);
  box-shadow: 0 0 18px rgba(255,255,255,0.4);
  flex: 0 0 auto;
}

.section-panel {
  padding: 2rem;
}

.section-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(240px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.section-head h2,
.cta-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-head p,
.section-head-copy,
.cta-copy p,
.footer-copy {
  margin: 0.9rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
}

.section-head-copy {
  max-width: 28rem;
}

.service-explorer {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 420px);
  gap: 2rem;
  align-items: center;
}

.service-list {
  display: grid;
  gap: 0.35rem;
}

.service-item {
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: clamp(2.5rem, 7vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.service-item:hover,
.service-item:focus-visible,
.service-item.is-active {
  color: var(--text);
}

.service-item:focus-visible {
  outline: none;
  transform: translateX(4px);
}

.service-preview {
  display: grid;
  gap: 0.95rem;
}

.service-card {
  min-height: 300px;
  display: grid;
  align-content: start;
  gap: 1.45rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.06), transparent 48%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.service-card-title {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: right;
}

.service-card-word {
  margin-top: auto;
  font-size: clamp(3rem, 9vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 700;
  filter: drop-shadow(0 0 26px rgba(243,239,232,0.1));
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.service-card-tags span {
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.86rem;
  background: rgba(255,255,255,0.025);
}

.service-description {
  margin: 0;
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.7;
}

.steps-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  display: grid;
  gap: 0.8rem;
  min-height: 220px;
}

.step-number {
  font-size: 0.9rem;
}

.step-card h3,
.fit-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
}

.step-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.fit-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fit-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.95rem;
}

.fit-card li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  line-height: 1.6;
}

.fit-card li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--text);
  margin-top: 0.45rem;
  flex: 0 0 auto;
}

.fit-card--muted li::before {
  background: rgba(255,255,255,0.5);
}

.faq-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.025);
  padding: 1rem 1.15rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding-right: 2rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.15rem;
  color: var(--text-soft);
  font-size: 1.3rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.8rem 0 0;
  max-width: 52rem;
  line-height: 1.7;
}

.cta-section {
  padding-bottom: 96px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
}

.cta-copy h2 {
  margin-top: 0.5rem;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.01);
}

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  margin-bottom: 0.55rem;
}

.footer-copy {
  margin-top: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  color: var(--text-soft);
}

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

@media (max-width: 1024px) {
  .section-head {
    grid-template-columns: 1fr;
  }

  .section-label {
    margin-bottom: -0.35rem;
  }

  .hero-grid,
  .service-explorer,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .service-explorer {
    gap: 1.4rem;
  }

  .steps-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 76px;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    padding: 0.85rem;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(10,10,10,0.96);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .section,
  .cta-section {
    padding-top: 72px;
  }

  .panel-lg,
  .section-panel {
    padding: 1.3rem;
  }

  .service-item {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .service-card {
    min-height: 250px;
  }

  .footer-inner {
    min-height: auto;
    padding: 1.2rem 0;
    flex-direction: column;
    align-items: start;
  }
}

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

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