:root {
  --primary-black: #000000;
  --primary-white: #ffffff;
  --accent-orange: #ff6a00;
  --secondary-grey: #1a1a1a;

  --bg: #050505;
  --bg-soft: var(--secondary-grey);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --accent: var(--accent-orange);
  --accent-soft: rgba(255, 106, 0, 0.16);
  --max: 1160px;
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 106, 0, 0.12), transparent 34%),
    radial-gradient(circle at 82% 24%, rgba(255, 106, 0, 0.08), transparent 28%),
    linear-gradient(180deg, #050505, #0b0b0b);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
}

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

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 14, 29, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.brand-logo {
  width: 2.7rem;
  height: 2.7rem;
  object-fit: cover;
  border-radius: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.brand-text {
  display: inline-block;
}

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

.site-nav a,
.button,
.text-link,
.site-footer a {
  transition: 180ms ease;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--text);
  background: var(--surface);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), #ff8758);
  color: #fff;
  border: none;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(255, 106, 61, 0.18);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 25px 45px rgba(255, 106, 61, 0.24);
}

.button-small {
  padding: 0.72rem 1rem;
  font-size: 0.92rem;
}

.text-link {
  color: var(--text);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.text-link:hover,
.site-footer a:hover {
  color: #fff;
  opacity: 1;
}

.hero-section,
.page-hero {
  padding: 5.5rem 0 3rem;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2rem;
}

.hero-panel,
.card,
.blog-card,
.article-wrap,
.feature-list div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel,
.card,
.blog-card,
.article-wrap {
  border-radius: var(--radius);
}

.hero-panel {
  padding: 1.5rem;
}

.panel-label,
.eyebrow,
.blog-label,
.footer-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: #ffb198;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Inter", sans-serif;
  line-height: 1.12;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

.lead,
.body-copy,
.card p,
.blog-card-body p,
.hero-panel p,
.site-footer p,
.article-wrap p {
  color: var(--muted);
}

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

.hero-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
}

.hero-metrics li,
.stack-list span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.hero-metrics li {
  padding: 1rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.7rem;
  color: var(--text);
  font-family: "Inter", sans-serif;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.95rem;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.stack-list span {
  padding: 0.65rem 0.9rem;
  color: var(--text);
}

.section {
  padding: 2.4rem 0 4.4rem;
}

.section-accent {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 1.8rem;
}

.card-grid,
.blog-grid,
.feature-list {
  display: grid;
  gap: 1.2rem;
}

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

.card {
  padding: 1.5rem;
}

.card a,
.blog-card a,
.article-wrap a {
  color: #fff1eb;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

.feature-list div {
  padding: 1.35rem;
  border-radius: 22px;
}

.feature-list strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
}

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

.blog-card {
  overflow: hidden;
}

.blog-card-body {
  padding: 1.2rem;
}

.article-wrap {
  max-width: 860px;
  padding: 2rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.article-wrap h2 {
  margin-top: 2rem;
  font-size: 1.7rem;
}

.article-cover {
  margin: 1.6rem 0 1.2rem;
  width: 100%;
}

.cta-band {
  text-align: center;
}

.cta-band .container {
  background: linear-gradient(135deg, rgba(255, 106, 61, 0.12), rgba(83, 142, 255, 0.08));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: 2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.75);
  padding: 2rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.site-footer a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.narrow {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .card-grid,
  .blog-grid,
  .footer-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.75rem;
  }

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

  .nav-wrap {
    flex-wrap: wrap;
  }

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

  .button-small {
    order: 4;
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-section,
  .page-hero {
    padding-top: 4rem;
  }

  .article-wrap,
  .hero-panel,
  .card,
  .blog-card-body,
  .cta-band .container {
    padding: 1.2rem;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--max));
  }
}
