@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/poppins-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #0c0c0e;
  --surface: #141418;
  --secondary: #35353a;
  --line: #2a2a30;
  --text: #ffffff;
  --muted: #b9b9c3;
  --accent: #fe6b2a;
  --on-accent: #0c0c0e;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.7 var(--font);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  max-width: 70rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
}

.skip:focus {
  left: 0;
}

/* Sticky header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 12, 14, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 3px;
  background: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a {
  padding-block: 0.25rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-bottom-color: var(--accent);
}

/* Hero: dark stage, orange glow, orange edge bar */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4.5rem, 12vw, 9rem) clamp(4.5rem, 11vw, 8rem);
  background:
    radial-gradient(55% 75% at 85% 35%, rgba(254, 107, 42, 0.55), rgba(254, 107, 42, 0) 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(254, 107, 42, 0.18), rgba(254, 107, 42, 0) 70%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: right top;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 75%);
  mask-image: linear-gradient(to left, #000, transparent 75%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 1.4rem;
  border-radius: 0 0.6rem 0.6rem 0;
  background: var(--accent);
}

@media (max-width: 40rem) {
  .hero::after {
    width: 0.6rem;
  }
}

.hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero h1 strong {
  display: block;
  color: var(--accent);
  font-weight: 700;
}

.lead {
  max-width: 36rem;
  margin: 1.75rem 0 2.25rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

.btn:hover {
  background: var(--text);
}

/* Sections */
.block {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.block h2 {
  margin: 0 0 2.5rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
}

.block h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  margin-top: 0.9rem;
  background: var(--accent);
}

.spec {
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1rem 2.5rem;
  padding-block: 1.9rem;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.spec dd {
  margin: 0;
  color: var(--muted);
}

.spec .stack {
  font-size: 0.9rem;
  color: var(--accent);
}

@media (max-width: 52rem) {
  .spec-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 0.6rem;
  color: var(--accent);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}

.steps strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.contact {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.contact p {
  max-width: 38rem;
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.mail {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration-line: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}

.contact .btn {
  display: table;
}

/* Footer */
.site-foot {
  padding-block: 2rem 3rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.site-foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Legal pages */
.legal {
  max-width: 46rem;
  padding-block: 3rem 5rem;
}

.legal h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
}

.legal h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.legal p,
.legal address {
  margin: 0 0 1rem;
  color: var(--muted);
  font-style: normal;
}

.legal a {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
}

mark.fill {
  padding: 0 0.25em;
  border-radius: 3px;
  background: rgba(254, 107, 42, 0.35);
  color: var(--text);
}
