/* ============================================================
   SAMCOM — core styles
   ============================================================ */

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

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  --ink: #0b0e10;
  --ink-soft: #14191c;
  --paper: #f4f0e8;
  --paper-2: #ebe5da;
  --white: #ffffff;
  --orange: #ff5a1f;
  --orange-dark: #d9470f;
  --muted: #6d7378;
  --line: rgba(11, 14, 16, 0.13);
  --line-light: rgba(255, 255, 255, 0.14);
  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 76px;
  --max: 1180px;
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

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

[hidden] {
  display: none !important;
}

/* Utilities */

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.section {
  padding: clamp(72px, 9vw, 132px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.section-head > p {
  max-width: 440px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head--compact {
  margin-bottom: 34px;
}

.section-lede {
  color: var(--muted);
  font-size: 1rem;
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.62);
}

.eyebrow--light::before {
  background: var(--orange);
  opacity: 1;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.8rem);
}

h3 {
  font-size: 1.12rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--orange);
  color: var(--ink);
}

.btn--primary:hover {
  background: #ff7440;
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: #1b2226;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: transparent;
}

.btn--ghost-light:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn--small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.82rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange-dark);
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled,
.site-header--solid {
  background: rgba(11, 14, 16, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--white);
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--orange);
}

.brand__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
}

.brand__text span {
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span + span {
  margin-top: 4px;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #070a0c;
  color: var(--white);
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(6, 9, 11, 0.95) 0%, rgba(6, 9, 11, 0.86) 32%, rgba(6, 9, 11, 0.38) 64%, rgba(6, 9, 11, 0.26) 100%),
    linear-gradient(0deg, rgba(6, 9, 11, 0.84) 0%, rgba(6, 9, 11, 0) 40%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 84px);
  padding-bottom: 84px;
}

.hero__content {
  max-width: 790px;
}

.hero h1 {
  margin: 18px 0 24px;
  font-size: clamp(3.2rem, 7.4vw, 6.5rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--orange);
}

.hero__lede {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__facts {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
  max-width: 560px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__facts dt {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero__facts dd {
  margin-top: 5px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.hero__download-card {
  position: absolute;
  right: 0;
  bottom: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(360px, 100%);
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(10, 14, 16, 0.72);
  color: var(--white);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero__download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 90, 31, 0.6);
  background: rgba(10, 14, 16, 0.88);
}

.hero__download-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
}

.hero__download-icon svg {
  width: 20px;
  height: 20px;
}

.hero__download-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__download-copy strong {
  font-size: 0.85rem;
}

.hero__download-copy small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero__download-arrow {
  margin-left: auto;
  color: var(--orange);
  font-size: 1.2rem;
}

/* Trust bar */

.trust-bar {
  padding: 18px 0;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.56);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-bar__inner span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.trust-bar__inner span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

/* Products */

.products {
  background: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  --body: #1b2124;
  --body-edge: #343d41;
  --accent: #ff5a1f;
  --card-bg: #e9e1d4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fbf8f2;
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card--s5 {
  --body: #24302a;
  --body-edge: #3d4c43;
  --card-bg: #dfe6dd;
}

.product-card--s10 {
  --body: #2c2620;
  --body-edge: #494136;
  --card-bg: #e9dcc8;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 90, 31, 0.35);
  box-shadow: 0 28px 60px rgba(11, 14, 16, 0.12);
}

.product-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.75), transparent 68%), var(--card-bg);
}

.product-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 14, 16, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 14, 16, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
}

.product-card__visual::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(11, 14, 16, 0.08);
  border-radius: 50%;
}

.product-card__badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 14, 16, 0.82);
  color: var(--white);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.radio-art {
  position: relative;
  z-index: 1;
  width: 185px;
  height: auto;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.18));
  transition: transform 0.5s ease;
}

.product-card:hover .radio-art {
  transform: translateY(-6px) scale(1.02);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 26px;
}

.product-card__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-card__title h3 {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.product-card__title span {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-align: right;
  text-transform: uppercase;
}

.product-card__desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-row dd {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.product-card .text-link {
  margin-top: auto;
}

/* Field section */

.field {
  background: var(--paper);
}

.field__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
}

.field__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: #1a1d1f;
}

.field__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.field__tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(11, 14, 16, 0.8);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.field__tag strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
}

.field__tag span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field__copy h2 {
  margin: 14px 0 18px;
}

.feature-list {
  display: grid;
  gap: 20px;
  margin: 30px 0 34px;
}

.feature-list li {
  display: flex;
  gap: 14px;
}

.feature-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 90, 31, 0.1);
  color: var(--orange-dark);
}

.feature-list__icon svg {
  width: 20px;
  height: 20px;
}

.feature-list h3 {
  margin-bottom: 2px;
  font-size: 0.98rem;
}

.feature-list p {
  color: var(--muted);
  font-size: 0.86rem;
}

/* Software */

.software {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.software::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -180px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.18), transparent 64%);
  pointer-events: none;
}

.software__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.software h2 {
  margin: 14px 0 18px;
  color: var(--white);
}

.software__copy > p {
  color: rgba(255, 255, 255, 0.64);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.check-list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 90, 31, 0.45);
  border-radius: 50%;
  background-color: rgba(255, 90, 31, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.8 9 10 3.4' fill='none' stroke='%23ff5a1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.software__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.software__meta {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.software__ui {
  perspective: 1200px;
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #11171a;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  transform: rotate(-1.2deg);
}

.app-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #171e22;
}

.app-window__bar > span:not(.app-window__cta) {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a4448;
}

.app-window__bar > span:first-child {
  background: var(--orange);
}

.app-window__bar small {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.app-window__cta {
  margin-left: auto;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255, 90, 31, 0.16);
  color: #ff8a5c;
  font-size: 0.56rem;
  letter-spacing: 0.06em;
}

.app-window__body {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  min-height: 292px;
}

.app-window__sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.side-item {
  padding: 8px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.66rem;
}

.side-item.is-active {
  background: rgba(255, 90, 31, 0.13);
  color: #ff9a70;
}

.app-window__main {
  padding: 12px 14px;
}

.app-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.2fr;
  gap: 8px;
  padding: 9px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.63rem;
  font-variant-numeric: tabular-nums;
}

.app-row--header {
  color: rgba(255, 255, 255, 0.27);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-row--active {
  border-radius: 4px;
  background: rgba(255, 90, 31, 0.08);
  color: var(--white);
}

.app-window__footer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7fd6a4;
  box-shadow: 0 0 0 3px rgba(127, 214, 164, 0.12);
}

.app-window__progress {
  width: 74px;
  height: 3px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.app-window__progress i {
  display: block;
  width: 64%;
  height: 100%;
  background: var(--orange);
}

/* Support band */

.support-band {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.support-band__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.support-band h2 {
  margin: 12px 0 16px;
}

.support-band__links {
  flex: none;
  width: min(380px, 100%);
}

.support-band__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
}

.support-band__links a:first-child {
  border-top: 1px solid var(--line);
}

.support-band__links a:hover {
  color: var(--orange-dark);
}

/* Footer */

.site-footer {
  padding: 64px 0 28px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.58);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand p {
  max-width: 320px;
  margin-top: 18px;
  font-size: 0.88rem;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer__cols h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__cols a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
}

.footer__cols a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.72rem;
}

/* Inner pages */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 82px) 0 74px;
  background: var(--ink);
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -320px;
  right: -260px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.18), transparent 62%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 980px;
  margin: 16px 0 20px;
  font-size: clamp(2.9rem, 5.6vw, 5.2rem);
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.page-hero__meta span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero--short {
  padding-bottom: 56px;
}

/* Downloads */

.downloads-intro {
  padding-top: 36px;
  background: var(--paper);
}

.notice {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 90, 31, 0.3);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  background: rgba(255, 90, 31, 0.06);
}

.notice__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.notice strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.notice p {
  color: var(--muted);
  font-size: 0.84rem;
}

.notice--inline {
  margin-top: 30px;
}

.downloads-section {
  padding-top: 56px;
}

.download-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-pill.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.download-toolbar__right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.select-field select,
.search-field input {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background-color: var(--white);
  color: var(--ink);
  font-size: 0.8rem;
}

.select-field select {
  padding: 0 34px 0 12px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%236d7378' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field svg {
  position: absolute;
  left: 11px;
  width: 15px;
  height: 15px;
  color: var(--muted);
  pointer-events: none;
}

.search-field input {
  width: 220px;
  padding: 0 12px 0 34px;
}

.downloads-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 24px;
  color: var(--muted);
  font-size: 0.75rem;
}

.downloads-meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 90, 31, 0.35);
  box-shadow: 0 18px 40px rgba(11, 14, 16, 0.07);
}

.download-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.download-card__identity {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.download-card__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 90, 31, 0.1);
  color: var(--orange-dark);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge--driver {
  background: rgba(63, 90, 114, 0.1);
  color: #3f5a72;
}

.badge--firmware {
  background: rgba(163, 51, 51, 0.1);
  color: #a33333;
}

.badge--guide {
  background: rgba(47, 107, 70, 0.1);
  color: #2f6b46;
}

.os-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.66rem;
}

.os-label svg {
  width: 12px;
  height: 12px;
}

.download-card h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.download-card__version {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.download-card__notes {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.8rem;
}

.download-card__notes li {
  position: relative;
  padding-left: 12px;
}

.download-card__notes li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.download-card__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-card__meta span {
  display: block;
  color: var(--muted);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-card__meta strong {
  display: block;
  margin-top: 2px;
  font-size: 0.74rem;
  font-weight: 600;
}

.sha-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sha-row code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
}

.copy-btn:hover {
  border-color: rgba(255, 90, 31, 0.4);
  color: var(--orange-dark);
}

.copy-btn svg {
  width: 14px;
  height: 14px;
}

.copy-btn.is-copied {
  border-color: rgba(47, 107, 70, 0.35);
  color: #2f6b46;
}

.download-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.download-card__actions .btn {
  flex: 1;
}

.download-card__warning {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #a33333;
  font-size: 0.66rem;
}

.download-card__warning svg {
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 2px;
}

.empty-state {
  padding: 48px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  text-align: center;
}

.empty-state--wide {
  grid-column: 1 / -1;
}

.empty-state h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.empty-state p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.noscript-note {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.noscript-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Checksum */

.checksum {
  background: var(--paper-2);
}

.checksum__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 60px;
}

.checksum__note {
  margin-top: 16px;
  color: #a33333;
  font-size: 0.8rem;
}

.code-card {
  min-width: 0;
  padding: 24px;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(11, 14, 16, 0.18);
  color: #d7e0d9;
}

.code-card__block + .code-card__block {
  margin-top: 18px;
}

.code-card__label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.code-card pre {
  margin: 0;
  padding: 12px 14px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.code-card code {
  color: #a8e0b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.code-card__hint {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
}

/* Support */

.support-start .section-head {
  margin-bottom: 36px;
}

.support-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.step-card__num {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.step-card h3 {
  margin: 14px 0 8px;
  font-size: 1.08rem;
}

.step-card p {
  color: var(--muted);
  font-size: 0.86rem;
}

.step-card .text-link {
  margin-top: 18px;
}

.faq-section {
  background: var(--paper-2);
}

.faq {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 2px;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: left;
}

.faq__question:hover {
  color: var(--orange-dark);
}

.faq__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 400;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer p {
  padding: 0 50px 22px 2px;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.contact-section h2 {
  margin: 12px 0 16px;
  color: var(--white);
}

.contact-section > .container > div > p {
  color: rgba(255, 255, 255, 0.62);
}

.contact-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-card__label {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card__email {
  display: inline-block;
  margin: 8px 0 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  word-break: break-all;
}

.contact-card__email:hover {
  color: var(--orange);
}

.contact-card p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
}

/* Legal */

.legal {
  background: var(--paper);
}

.legal__body {
  max-width: 820px;
}

.legal__updated {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal h2 {
  margin: 44px 0 14px;
  font-size: 1.7rem;
}

.legal article:first-of-type h2 {
  margin-top: 0;
}

.legal h3 {
  margin: 24px 0 8px;
  font-size: 1.02rem;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  margin: 12px 0 0;
  padding-left: 20px;
  list-style: disc;
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 404 */

.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 40px 0;
  background: var(--ink);
  color: var(--white);
}

.error-page__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(calc(100% - 40px), 640px);
  text-align: center;
}

.error-page .brand {
  margin-bottom: 50px;
}

.error-page h1 {
  margin: 14px 0 18px;
  font-size: clamp(3.5rem, 9vw, 6rem);
}

.error-page p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.6);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

/* Reveal */

/* Content stays visible without JavaScript; the observer only adds a
   class for future motion work. */
.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1120px) {
  .hero__download-card {
    position: static;
    margin-top: 34px;
  }

  .hero__inner {
    padding-bottom: 64px;
  }
}

@media (max-width: 1020px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .product-card__visual {
    min-height: 100%;
  }

  .product-card__body {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .section-head > p {
    max-width: 620px;
  }

  .field__grid,
  .software__grid,
  .checksum__grid,
  .contact-section__inner,
  .footer__top {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .support-band__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 32px;
  }

  .support-band__links {
    width: 100%;
  }

  .footer__brand p {
    max-width: 460px;
  }
}

@media (max-width: 880px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    background: rgba(11, 14, 16, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
  }

  .nav-toggle {
    display: flex;
  }

  .header__actions .btn {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 14px 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 14, 16, 0.98);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1.02rem;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding-top: calc(var(--header-h) + 64px);
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 12vw, 4.35rem);
  }

  .hero__facts {
    gap: 24px;
    margin-top: 32px;
  }

  .hero__facts dt {
    font-size: 1.25rem;
  }

  .hero__facts dd {
    font-size: 0.56rem;
  }

  .trust-bar__inner {
    justify-content: flex-start;
    gap: 12px 22px;
    font-size: 0.58rem;
  }

  .product-card {
    display: flex;
  }

  .product-card__visual {
    min-height: 300px;
  }

  .product-card__visual::after {
    width: 190px;
    height: 190px;
  }

  .product-card__title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .product-card__title span {
    text-align: left;
  }

  .app-window {
    transform: none;
  }

  .app-window__body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app-window__sidebar {
    display: none;
  }

  .app-window__main {
    padding: 12px;
  }

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

  .download-toolbar__right {
    width: 100%;
  }

  .select-field,
  .select-field select,
  .search-field,
  .search-field input {
    width: 100%;
  }

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

  .downloads-meta,
  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }

  .page-hero {
    padding: calc(var(--header-h) + 64px) 0 58px;
  }

  .empty-state {
    padding: 36px 20px;
  }

  .legal h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
  }

  .hero__actions .btn {
    flex: 1;
  }

  .hero__facts {
    justify-content: space-between;
    gap: 12px;
  }

  .hero__download-card {
    padding: 14px;
  }

  .spec-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 14px;
  }

  .product-card__visual {
    min-height: 270px;
  }

  .radio-art {
    width: 165px;
  }

  .app-row {
    grid-template-columns: 1.1fr 1fr 1fr;
    font-size: 0.56rem;
  }

  .app-row span:nth-child(4) {
    display: none;
  }

  .app-window__cta {
    display: none;
  }

  .download-card__meta {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-hero__meta {
    gap: 7px;
  }

  .page-hero__meta span {
    font-size: 0.56rem;
  }

  .notice {
    padding: 16px;
  }

  .error-page__actions {
    flex-direction: column;
    width: 100%;
  }

  .error-page__actions .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
