@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #080a09;
  --surface: #111512;
  --paper: #f1efe8;
  --text: #f5f3ed;
  --muted: #a7aaa3;
  --quiet: #747a73;
  --line: rgba(245, 243, 237, 0.14);
  --accent: #acef63;
  --display: 'Outfit', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  content: '';
}

.tone-amber { --accent: #f5ad27; }
.tone-cyan { --accent: #58dce5; }
.tone-lime { --accent: #acef63; }
.tone-blue { --accent: #74b9ff; }

.seo-motion-reveal {
  opacity: 0;
  transform: translate3d(0, 64px, 0) scale(0.985);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--motion-delay, 0ms),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1) var(--motion-delay, 0ms);
  will-change: transform, opacity;
}

.seo-motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.site-header,
.page,
.page-footer-inner {
  width: min(calc(100% - 48px), 1400px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  padding-top: 18px;
}

.site-nav {
  display: grid;
  min-height: 68px;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 10, 9, 0.8);
  padding: 0.45rem 0.65rem;
  backdrop-filter: blur(18px);
}

.site-brand {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 800;
}

.site-brand span {
  overflow: hidden;
  font-size: clamp(0.78rem, 2.4vw, 1rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 58px;
  height: auto;
  flex: 0 0 auto;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

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

.site-contact {
  justify-self: end;
  border-radius: 999px;
  background: var(--paper);
  color: var(--bg);
  padding: 0.7rem 1rem;
  font-size: 0.84rem;
  font-weight: 800;
}

.page {
  padding: 6.5rem 0 8rem;
}

.seo-hero {
  display: grid;
  min-height: 72vh;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 4.5rem;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin-top: 1rem;
  font-size: 4.7rem;
}

.lead {
  max-width: 760px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  background: rgba(245, 243, 237, 0.06);
  color: var(--text);
  font-weight: 800;
  transition: transform 300ms ease, background-color 300ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(245, 243, 237, 0.1);
}

.button.primary {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--bg);
}

.hero-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 7px;
}

.hero-media::after {
  position: absolute;
  inset: 7px;
  border-radius: 4px;
  background: linear-gradient(180deg, transparent 62%, rgba(8, 10, 9, 0.58));
  content: '';
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  min-height: 560px;
  border-radius: 4px;
  object-fit: cover;
}

.hero-media.media-contain img {
  background: #f5f9ff;
  object-fit: contain;
}

.hero-media.product-visual {
  align-self: center;
  aspect-ratio: 16 / 9;
}

.hero-media.product-visual img {
  height: 100%;
  min-height: 0;
  background: var(--surface);
  object-fit: cover;
  object-position: center;
}

.signal-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-rail span {
  min-height: 64px;
  border-right: 1px solid var(--line);
  padding: 1.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.signal-rail span:first-child {
  color: var(--accent);
}

.signal-rail span:last-child {
  border-right: 0;
}

.content-section {
  padding-top: 8rem;
}

.content-section h2 {
  max-width: 900px;
  font-size: 3.8rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: 3rem;
}

.card {
  grid-column: span 4;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.5rem;
}

.card h3 {
  max-width: 360px;
  margin-top: 5rem;
  font-size: 1.6rem;
}

.card p {
  max-width: 520px;
  margin: 1rem 0 0;
  color: var(--muted);
}

.editorial-list {
  display: grid;
  margin: 3rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: editorial-item;
}

.editorial-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  color: var(--muted);
  counter-increment: editorial-item;
}

.editorial-list li::before {
  color: var(--accent);
  content: counter(editorial-item, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 800;
}

.search-context {
  max-width: 840px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.page-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header,
  .page,
  .page-footer-inner {
    width: min(calc(100% - 32px), 820px);
  }

  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .site-links {
    display: none;
  }

  .seo-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4rem;
  }

  .hero-media img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 700px) {
  .site-header,
  .page,
  .page-footer-inner {
    width: min(calc(100% - 24px), 100%);
  }

  .site-header {
    padding-top: 10px;
  }

  .site-nav {
    min-height: 60px;
  }

  .site-contact {
    display: none;
  }

  .page {
    padding: 4.5rem 0 5.5rem;
  }

  .seo-hero {
    gap: 2.5rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  .lead {
    font-size: 1rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .signal-rail span:nth-child(2) {
    border-right: 0;
  }

  .signal-rail span:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .content-section {
    padding-top: 5.5rem;
  }

  .content-section h2 {
    font-size: 2.6rem;
  }

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

  .card,
  .card:first-child,
  .card:nth-child(2),
  .card:nth-child(3) {
    grid-column: 1;
    min-height: 240px;
  }

  .card h3 {
    margin-top: 3.5rem;
  }

  .page-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .seo-motion-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}
