@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0a0c0a;
  --background-deep: #070907;
  --surface: #101310;
  --surface-strong: #1d221c;
  --foreground: #e4e8e2;
  --muted: #90998f;
  --border: #2a302a;
  --accent: #d3ee3e;
  --accent-active: #b8d52c;
  --page: min(1120px, calc(100% - 80px));
  --radius: 8px;
}

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

html {
  background: var(--background-deep);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background: var(--background);
  color: var(--foreground);
  font-family: "Archivo", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(3rem, 7vw, 5.7rem); }
h2 { font-size: clamp(2.15rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.14; }

:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--accent);
}

::selection { background: var(--accent); color: var(--background-deep); }
.container { width: var(--page); margin-inline: auto; }
.accent { color: var(--accent); }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-170%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--background-deep);
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 9, 7, .92);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.08rem; font-weight: 800; }
.brand img { width: 30px; height: 30px; }
.desktop-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.desktop-nav a { color: var(--muted); font-size: .88rem; font-weight: 650; transition: color .18s ease; }
.desktop-nav a:hover { color: var(--foreground); }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--background-deep);
  font-weight: 800;
  line-height: 1.1;
  transition: transform .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); background: #e0f573; }
.button--small { min-height: 42px; padding-inline: 18px; font-size: .88rem; }
.button--secondary { border-color: var(--border); background: transparent; color: var(--foreground); }
.button--secondary:hover { background: var(--surface); }

.service-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 78% 38%, rgba(211, 238, 62, .12), transparent 26%),
    var(--background-deep);
}

.service-hero::after {
  content: "";
  width: 520px;
  aspect-ratio: 1;
  position: absolute;
  right: -170px;
  bottom: -320px;
  border: 1px solid rgba(211, 238, 62, .24);
  border-radius: 50%;
  box-shadow: 0 0 120px rgba(211, 238, 62, .08);
}

.breadcrumbs {
  padding-top: 28px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.breadcrumbs a:hover { color: var(--accent); }
.hero-grid { min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 72px; align-items: center; padding: 70px 0 96px; }
.eyebrow, .section-index { color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-copy h1 { max-width: 900px; margin-top: 18px; }
.hero-lead { max-width: 740px; margin: 28px 0 0; color: #b7c0b7; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-card {
  position: relative;
  z-index: 1;
  padding: 30px;
  border: 1px solid rgba(211, 238, 62, .34);
  border-radius: var(--radius);
  background: rgba(16, 19, 16, .82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

.hero-card strong { display: block; margin-bottom: 18px; font-size: 1.08rem; }
.hero-card ul, .check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hero-card li, .check-list li { position: relative; padding-left: 19px; color: #c6cec5; }
.hero-card li::before, .check-list li::before { content: ""; width: 6px; height: 6px; position: absolute; left: 0; top: .66em; background: var(--accent); }

.section { padding: clamp(78px, 9vw, 118px) 0; border-bottom: 1px solid var(--border); }
.section--deep { background: var(--background-deep); }
.section-heading { max-width: 840px; margin-bottom: 48px; }
.section-heading h2 { margin-top: 14px; }
.section-heading > p:last-child { max-width: 720px; margin: 22px 0 0; color: var(--muted); }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 70px; }
.content-block { padding: 28px 0; border-top: 1px solid var(--border); }
.content-block h3 { margin-bottom: 14px; }
.content-block p { margin: 0; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card { min-height: 260px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.info-card .number { display: block; margin-bottom: 34px; color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: .75rem; }
.info-card h3 { margin-bottom: 14px; }
.info-card p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.split-copy h2 { margin-top: 14px; }
.split-copy p { color: var(--muted); }
.check-list { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.process-step { padding: 24px; border-top: 2px solid var(--accent); background: var(--surface); }
.process-step span { color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: .7rem; }
.process-step h3 { margin: 18px 0 12px; font-size: 1.28rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .94rem; }

.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { padding: 24px 42px 24px 0; cursor: pointer; font-size: 1.08rem; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; margin-right: -36px; color: var(--accent); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 850px; margin: -5px 0 24px; color: var(--muted); }

.cta-section { position: relative; overflow: hidden; background: var(--accent); color: var(--background-deep); }
.cta-layout { min-height: 420px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-layout h2 { max-width: 720px; }
.cta-layout p { max-width: 650px; margin: 20px 0 0; color: #29301f; }
.cta-section .button { border-color: var(--background-deep); background: var(--background-deep); color: var(--foreground); white-space: nowrap; }

.site-footer { background: var(--background-deep); }
.footer-grid { padding: 52px 0 34px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; }
.footer-brand p { max-width: 430px; color: var(--muted); font-size: .9rem; }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column strong { margin-bottom: 5px; font-size: .86rem; }
.footer-column a { color: var(--muted); font-size: .86rem; transition: color .18s ease; }
.footer-column a:hover { color: var(--foreground); }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--border); color: #687168; font-family: "JetBrains Mono", monospace; font-size: .69rem; letter-spacing: .07em; text-transform: uppercase; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .header-inner > .button { margin-left: auto; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; gap: 42px; }
  .hero-card { max-width: 680px; }
  .card-grid { grid-template-columns: 1fr; }
  .info-card { min-height: auto; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --page: min(100% - 36px, 1120px); }
  body { font-size: 16px; }
  .header-inner { gap: 16px; }
  .header-inner > .button { min-height: 40px; padding-inline: 13px; font-size: .78rem; }
  .brand span { display: none; }
  .hero-grid { padding: 58px 0 72px; }
  .hero-actions .button { width: 100%; }
  .content-grid, .process-grid { grid-template-columns: 1fr; }
  .cta-layout { min-height: 460px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 24px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
