/* =====================================================================
   Sigma Projects — site styles
   ---------------------------------------------------------------------
   Brand look: brushed chrome + electric cyan on near-black, taken
   from the logo (gear + circuit traces).
   To restyle the whole site, change the variables in :root below.
   ===================================================================== */

:root {
  color-scheme: dark;

  /* Colours */
  --bg: #06090d;          /* page background */
  --bg-2: #0b1117;        /* alternate band background */
  --panel: #0f171f;       /* cards and panels */
  --panel-2: #142029;     /* raised panel / hover */
  --line: rgba(170, 200, 220, 0.14);
  --line-strong: rgba(170, 200, 220, 0.28);
  --text: #e8eef3;
  --muted: #9aa8b4;
  --cyan: #1fd6f2;        /* main accent, from "DESIGN & BUILD" */
  --cyan-bright: #6ff0ff;
  --cyan-deep: #0a8fb0;
  --chrome-1: #ffffff;
  --chrome-2: #c5ccd3;
  --chrome-3: #6f7a85;
  --danger: #ff6b6b;

  /* Chrome gradient used for headings and the primary button edge */
  --chrome: linear-gradient(180deg, var(--chrome-1) 0%, #dfe5ea 38%, var(--chrome-3) 52%, var(--chrome-2) 70%, #f4f7f9 100%);

  /* Type */
  --font-display: "Orbitron", "Eurostile", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --max: 1200px;
  --gutter: max(5vw, 16px);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 72px;
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16.5px/1.6 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cyan-bright);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1em;
}

.chrome-text {
  background: var(--chrome);
  /* repeat the chrome sweep on every line of a multi-line heading */
  background-size: 100% 1.1em;
  background-repeat: repeat-y;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--cyan);
  color: #001014;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.band {
  padding-block: clamp(48px, 7vw, 96px);
}

.band-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

/* Placeholder marker: anything with class="ph" still needs real content.
   The dashed underline only shows while previewBanner is true in config.js.
   Remove the class once you've replaced the text. */
.show-ph .ph {
  text-decoration: underline dashed rgba(31, 214, 242, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ---------- Preview banner (turn off in config.js) ---------- */

.preview-banner {
  background: repeating-linear-gradient(135deg, #0b2a33 0 12px, #0a232b 12px 24px);
  color: var(--cyan-bright);
  font-size: 0.85rem;
  text-align: center;
  padding: 6px 16px;
  border-bottom: 1px solid rgba(31, 214, 242, 0.25);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 9, 13, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  height: 54px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 8px;
}

.nav a:hover {
  background: var(--panel);
  color: var(--cyan-bright);
}

.nav a[aria-current="page"] {
  color: var(--cyan);
}

.nav .btn {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  transition: transform 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 820px) {
  .brand img {
    height: 38px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px max(var(--gutter), 16px) 20px;
    background: rgba(6, 9, 13, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 14px 12px;
    font-size: 1.05rem;
  }

  .nav .btn {
    margin: 8px 0 0;
    justify-content: center;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 24px;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan) 45%, var(--cyan-deep));
  color: #001318;
  box-shadow: 0 0 0 1px rgba(111, 240, 255, 0.4), 0 6px 22px rgba(31, 214, 242, 0.28);
}

.btn-primary:hover {
  color: #001318;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(111, 240, 255, 0.7), 0 8px 28px rgba(31, 214, 242, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan-bright);
}

.btn-sm {
  padding: 11px 18px;
  min-height: 42px;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 100px);
}

.hero::before {
  /* circuit-trace grid glow behind the hero */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 72% 45%, rgba(31, 214, 242, 0.16), transparent 70%),
    linear-gradient(rgba(31, 214, 242, 0.05) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(31, 214, 242, 0.05) 1px, transparent 1px) 0 0 / 44px 44px;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.hero h1 {
  margin-bottom: 0.4em;
}

.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 1.6em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-price {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-price strong {
  color: var(--text);
  font-size: 1.15rem;
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  width: 100%;
  justify-self: center;
}

.hero-art svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    order: -1;
    max-width: 420px;
  }
}

/* orbit animation in hero illustration */
.orbit-iss {
  offset-path: path("M60 250 A 200 78 -18 1 1 440 250 A 200 78 -18 1 1 60 250");
  animation: orbit 14s linear infinite;
}

@keyframes orbit {
  to {
    offset-distance: 100%;
  }
}

.globe-spin {
  animation: spin 40s linear infinite;
  transform-origin: 250px 250px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-iss,
  .globe-spin {
    animation: none;
  }

  .orbit-iss {
    offset-distance: 30%;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Live ISS strip ---------- */

.iss-live {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.iss-live > div {
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}

.iss-live > div:first-child {
  border-left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.iss-live .label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.iss-live .value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(31, 214, 242, 0.6);
  animation: pulse 2s infinite;
  flex: none;
}

.iss-live.is-offline .live-dot {
  background: var(--chrome-3);
  animation: none;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(31, 214, 242, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 214, 242, 0);
  }
}

.iss-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 820px) {
  .iss-live {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iss-live > div:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--line);
  }

  .iss-live > div:nth-child(2),
  .iss-live > div:nth-child(4) {
    border-left: 0;
  }

  .iss-live > div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
}

/* ---------- Section heading ---------- */

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

.section-head p {
  color: var(--muted);
  max-width: 36em;
  margin: 0;
}

/* ---------- Feature grid ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.feature svg {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--cyan);
}

.feature p {
  color: var(--muted);
  margin: 0;
  font-size: 0.97rem;
}

@media (max-width: 980px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Split section (text + picture) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.split-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
  display: grid;
  gap: 10px;
}

.ticks li {
  position: relative;
  padding-left: 30px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(31, 214, 242, 0.14);
  border: 1px solid var(--cyan);
}

.ticks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.35em + 4px);
  width: 6px;
  height: 4px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

/* ---------- Trust row ---------- */

.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-item svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--cyan);
  margin-top: 2px;
}

.trust-item strong {
  display: block;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .trust {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Product cards (shop) ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
  border-color: rgba(31, 214, 242, 0.5);
  transform: translateY(-2px);
}

.product-card .media {
  aspect-ratio: 1 / 1;
  background: #0a1016;
  display: block;
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.product-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.product-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.product-card .row {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
}

.price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: 4px;
}

.product-card.coming {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  border-style: dashed;
  background: transparent;
  min-height: 280px;
}

.product-card.coming:hover {
  transform: none;
}

.product-card.coming svg {
  width: 56px;
  height: 56px;
  color: var(--chrome-3);
  margin: 0 auto 16px;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 214, 242, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(31, 214, 242, 0.35);
  width: fit-content;
}

/* ---------- Page header (inner pages) ---------- */

.page-head {
  padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(50% 120% at 85% 0%, rgba(31, 214, 242, 0.12), transparent 70%),
    var(--bg);
}

.page-head p {
  color: var(--muted);
  max-width: 40em;
  font-size: 1.08rem;
  margin: 0;
}

.crumbs {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.crumbs a {
  color: var(--muted);
}

/* ---------- Product details page ---------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0a1016;
}

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

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.thumbs button {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0a1016;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.thumbs button[aria-current="true"] {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan);
}

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

.product-info {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.product-info h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-bottom: 0.25em;
}

.product-info .price {
  font-size: 1.8rem;
  display: block;
  margin: 8px 0 4px;
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ee08f;
}

.stock.out::before {
  background: var(--danger);
}

.buy-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}

.buy-meta {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.buy-meta li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.buy-meta svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex: none;
  margin-top: 2px;
}

details.acc {
  border-top: 1px solid var(--line);
}

details.acc:last-of-type {
  border-bottom: 1px solid var(--line);
}

details.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

details.acc summary::-webkit-details-marker {
  display: none;
}

details.acc summary::after {
  content: "+";
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 1.3rem;
  line-height: 1;
}

details.acc[open] summary::after {
  content: "–";
}

details.acc > div {
  padding-bottom: 18px;
  color: var(--muted);
}

.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.specs th,
.specs td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.specs th {
  color: var(--text);
  font-weight: 500;
  width: 40%;
  padding-right: 16px;
}

@media (max-width: 860px) {
  .product {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-info {
    position: static;
  }
}

/* ---------- Prose (about, policies) ---------- */

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 2em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose p,
.prose li {
  color: #cfd8df;
}

.note {
  border: 1px solid rgba(31, 214, 242, 0.35);
  background: rgba(31, 214, 242, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.93rem;
  color: var(--text);
  margin-bottom: 2em;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

@media (max-width: 860px) {
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}

.side-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.side-card h3 {
  margin-bottom: 12px;
}

.side-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.side-card dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.side-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* ---------- Contact form ---------- */

.form {
  display: grid;
  gap: 16px;
}

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

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.field label {
  display: block;
  font-weight: 500;
  font-size: 0.93rem;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: #0a1117;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(31, 214, 242, 0.2);
}

.form-status {
  font-size: 0.93rem;
  color: var(--cyan-bright);
  min-height: 1.4em;
  margin: 0;
}

/* ---------- FAQ list ---------- */

.faq {
  margin-top: 8px;
}

/* ---------- CTA band ---------- */

.cta {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid rgba(31, 214, 242, 0.3);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 4vw, 44px);
  background:
    radial-gradient(70% 140% at 100% 0%, rgba(31, 214, 242, 0.18), transparent 60%),
    var(--panel);
}

.cta h2 {
  margin: 0 0 6px;
}

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

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #04070a;
  padding-block: 56px calc(28px + env(safe-area-inset-bottom, 0px));
  font-size: 0.93rem;
  color: var(--muted);
}

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

.footer-brand img {
  width: 200px;
  height: auto;
  margin-bottom: 14px;
}

.site-footer h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan-bright);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Toast (used when a buy link isn't set yet) ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 20px);
  width: min(520px, calc(100% - 32px));
  background: var(--panel-2);
  border: 1px solid var(--cyan);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.93rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 80;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
