/* ===========================================================================
   DomainOps Remote — website styles
   Depends on theme.css (design tokens). Enterprise dark theme matching the app.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   Base
--------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "cv02", "cv03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 1rem;
}

/* Subtle page-level gradient wash, kept very low contrast */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 32rem at 85% -10%, hsl(152 72% 45% / 0.05), transparent 60%),
    radial-gradient(50rem 30rem at -10% 30%, hsl(215 92% 62% / 0.04), transparent 60%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--info);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: hsl(152 72% 45% / 0.3);
}

/* Skip link — visually hidden until focused (keyboard accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  top: 0;
  outline: none;
  box-shadow: var(--shadow-md);
}

/* Thin scrollbars matching the app */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 650;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.section + .section {
  border-top: 1px solid hsl(221 12% 16% / 0.6);
}

.section-alt {
  background: linear-gradient(180deg, var(--surface-sunken), transparent 45%);
}

/* Section headers */
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary));
}

.section-head.centered .eyebrow::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(270deg, transparent, var(--primary));
}

.section-title {
  font-size: clamp(1.65rem, 3.4vw, 2.4rem);
}

.section-lede {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
   Buttons & badges
--------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.72rem 1.35rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease, transform var(--duration-fast) ease, box-shadow var(--duration-base) ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 0 0 var(--primary-glow);
}

.btn-primary:hover {
  background: hsl(152 72% 49%);
  box-shadow: 0 6px 24px -6px var(--primary-glow);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.btn-secondary:hover {
  border-color: hsl(221 12% 30%);
  background: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--foreground);
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.badge-dev {
  color: var(--warning);
  background: var(--warning-soft);
  border-color: hsl(38 94% 52% / 0.35);
}

.badge-dev .dot {
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 hsl(38 94% 52% / 0.5); }
  50% { box-shadow: 0 0 0 5px hsl(38 94% 52% / 0); }
}

.badge-implemented { color: var(--primary); background: var(--success-soft); border-color: hsl(152 72% 45% / 0.35); }
.badge-indev { color: var(--warning); background: var(--warning-soft); border-color: hsl(38 94% 52% / 0.35); }
.badge-planned { color: var(--info); background: var(--info-soft); border-color: hsl(215 92% 62% / 0.35); }

/* ---------------------------------------------------------------------------
   Navigation header
--------------------------------------------------------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsl(221 18% 6% / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-subtle);
}

.site-nav .nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--foreground);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: calc(var(--radius) - 4px);
  display: grid;
  place-items: center;
  background: var(--success-soft);
  color: var(--primary);
  border: 1px solid hsl(152 72% 45% / 0.3);
}

.brand-mark svg {
  width: 1.15rem;
  height: 1.15rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 0.98rem;
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  list-style: none;
  margin-block: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 0.45rem 0.8rem;
  border-radius: calc(var(--radius) - 6px);
  color: var(--muted-foreground);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}

.nav-links a:hover {
  color: var(--foreground);
  background: var(--muted);
  text-decoration: none;
}

.nav-cta {
  margin-left: 0.75rem;
  padding: 0.5rem 1rem !important;
  font-size: 0.88rem !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: calc(var(--radius) - 4px);
  border: var(--border-subtle);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  place-items: center;
}

.nav-toggle:hover {
  background: var(--muted);
}

/* ---------------------------------------------------------------------------
   Hero
--------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(48rem 26rem at 50% 0%, hsl(152 72% 45% / 0.09), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy {
  max-width: 36rem;
}

.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.1rem;
}

.hero-title .accent {
  color: var(--primary);
}

.hero-desc {
  color: var(--muted-foreground);
  font-size: 1.08rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  margin-top: 1.9rem;
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

.hero-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.hero-meta svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

/* Hero screenshot frame */
.hero-visual {
  position: relative;
}

.shot-frame {
  border-radius: calc(var(--radius) + 4px);
  border: var(--border-subtle);
  background: var(--card);
  box-shadow: var(--shadow-lg), 0 0 60px -20px var(--primary-glow);
  overflow: hidden;
}

.shot-frame img {
  width: 100%;
  height: auto;
}

.shot-caption {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6rem 0.9rem;
  border-top: var(--border-subtle);
  font-size: 0.78rem;
  color: var(--muted-foreground);
  background: hsl(221 14% 8% / 0.6);
}

.shot-caption .tag {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--info);
  background: var(--info-soft);
}

/* ---------------------------------------------------------------------------
   Feature cards & filters
--------------------------------------------------------------------------- */

.feature-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: var(--border-subtle);
  background: transparent;
  color: var(--muted-foreground);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.filter-btn:hover {
  color: var(--foreground);
  border-color: hsl(221 12% 30%);
}

.filter-btn[aria-pressed="true"] {
  background: var(--success-soft);
  border-color: hsl(152 72% 45% / 0.4);
  color: var(--primary);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 1rem;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, hsl(221 14% 10.5%), var(--card) 70%);
  border: var(--border-subtle);
  transition: transform var(--duration-base) var(--ease-out), border-color var(--duration-base) ease, box-shadow var(--duration-base) ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: hsl(152 72% 45% / 0.35);
  box-shadow: var(--shadow-md), 0 8px 30px -12px hsl(152 72% 45% / 0.15);
}

.feature-card .icon-wrap {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: calc(var(--radius) - 4px);
  display: grid;
  place-items: center;
  background: var(--success-soft);
  color: var(--primary);
  border: 1px solid hsl(152 72% 45% / 0.25);
}

.feature-card .icon-wrap svg {
  width: 1.3rem;
  height: 1.3rem;
}

.feature-card h3 {
  font-size: 1.02rem;
  margin: 0;
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  margin: 0;
  flex-grow: 1;
}

.feature-card .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.card-category {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  opacity: 0.8;
}

.feature-card[hidden] {
  display: none;
}

/* ---------------------------------------------------------------------------
   Screenshot gallery
--------------------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: var(--border-subtle);
  cursor: zoom-in;
  padding: 0;
  font-family: inherit;
  text-align: left;
  color: inherit;
  transition: transform var(--duration-base) var(--ease-out), border-color var(--duration-base) ease, box-shadow var(--duration-base) ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: hsl(152 72% 45% / 0.35);
  box-shadow: var(--shadow-md);
}

.gallery-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-sunken);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.gallery-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem 1.05rem;
}

.gallery-meta h3 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.gallery-meta p {
  color: var(--muted-foreground);
  font-size: 0.84rem;
  margin: 0;
}

.gallery-tag {
  flex-shrink: 0;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--info);
  background: var(--info-soft);
}

.gallery-empty-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px dashed hsl(221 12% 24%);
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: hsl(221 25% 3% / 0.92);
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
}

.lightbox-figure {
  margin: 0;
  max-width: min(76rem, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.lightbox-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border-subtle);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 9rem);
}

.lightbox-img-wrap img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 12rem);
  object-fit: contain;
}

.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.lightbox-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lightbox-controls.left { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox-controls.right { right: clamp(0.5rem, 2vw, 1.5rem); flex-direction: row; align-items: center; gap: 0.75rem; top: auto; transform: none; bottom: clamp(0.75rem, 2vw, 1.5rem); }

.lightbox-btn {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: hsl(221 14% 12% / 0.9);
  border: var(--border-subtle);
  color: var(--foreground);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.lightbox-btn:hover {
  background: var(--muted);
  border-color: hsl(152 72% 45% / 0.4);
}

.lightbox-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* ---------------------------------------------------------------------------
   Architecture section
--------------------------------------------------------------------------- */

.arch-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.arch-diagram {
  border-radius: var(--radius);
  background: linear-gradient(180deg, hsl(221 14% 9%), var(--card));
  border: var(--border-subtle);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.arch-diagram svg {
  width: 100%;
  height: auto;
}

.arch-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: var(--border-subtle);
}

.arch-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.84rem;
  color: var(--muted-foreground);
}

.legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.arch-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.arch-point {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--card);
  border: var(--border-subtle);
}

.arch-point .icon-wrap {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: calc(var(--radius) - 4px);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: var(--info-soft);
  color: var(--info);
  border: 1px solid hsl(215 92% 62% / 0.3);
}

.arch-point .icon-wrap svg { width: 1.15rem; height: 1.15rem; }

.arch-point h3 { font-size: 0.98rem; margin-bottom: 0.4rem; }
.arch-point p { color: var(--muted-foreground); font-size: 0.88rem; margin: 0; }

/* ---------------------------------------------------------------------------
   Roadmap
--------------------------------------------------------------------------- */

.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.roadmap-col {
  border-radius: var(--radius);
  background: var(--card);
  border: var(--border-subtle);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.roadmap-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 0.75rem;
  border-bottom: var(--border-subtle);
}

.roadmap-col-head h3 {
  font-size: 1.02rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.roadmap-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-foreground);
  background: var(--muted);
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
}

.roadmap-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-bottom: 1px solid hsl(221 12% 16% / 0.5);
}

.roadmap-item:last-child {
  border-bottom: none;
  padding-bottom: 0.25rem;
}

.roadmap-marker {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-top: 0.45em;
  border-radius: 50%;
}

.roadmap-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.roadmap-item p {
  color: var(--muted-foreground);
  font-size: 0.84rem;
  margin: 0;
}

.roadmap-note {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--info-soft);
  border: 1px solid hsl(215 92% 62% / 0.3);
  color: var(--foreground);
  font-size: 0.88rem;
}

/* ---------------------------------------------------------------------------
   AI development section
--------------------------------------------------------------------------- */

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}

.ai-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, hsl(221 14% 10.5%), var(--card) 75%);
  border: var(--border-subtle);
  overflow: hidden;
}

.ai-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, hsl(152 72% 45% / 0.6), transparent);
}

.ai-card .icon-wrap {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: calc(var(--radius) - 4px);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--success-soft);
  color: var(--primary);
  border: 1px solid hsl(152 72% 45% / 0.3);
}

.ai-card .icon-wrap svg { width: 1.3rem; height: 1.3rem; }

.ai-card h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.ai-card p { color: var(--muted-foreground); font-size: 0.9rem; margin: 0; }

.ai-disclaimer {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--muted);
  border: var(--border-subtle);
  color: var(--muted-foreground);
  font-size: 0.88rem;
}

.ai-disclaimer svg {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1em;
  color: var(--warning);
}

/* ---------------------------------------------------------------------------
   About
--------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.about-copy p {
  color: var(--muted-foreground);
  font-size: 1rem;
}

.about-copy p strong {
  color: var(--foreground);
  font-weight: 600;
}

.facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.facts-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--card);
  border: var(--border-subtle);
  font-size: 0.94rem;
}

.facts-list .icon-wrap {
  flex-shrink: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: calc(var(--radius) - 4px);
  display: grid;
  place-items: center;
  background: var(--success-soft);
  color: var(--primary);
  border: 1px solid hsl(152 72% 45% / 0.3);
}

.facts-list .icon-wrap svg { width: 1.15rem; height: 1.15rem; }

/* ---------------------------------------------------------------------------
   FAQ
--------------------------------------------------------------------------- */

.faq-list {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius);
  background: var(--card);
  border: var(--border-subtle);
  overflow: hidden;
  transition: border-color var(--duration-base) ease;
}

.faq-item.open {
  border-color: hsl(152 72% 45% / 0.35);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-q:hover {
  background: hsl(221 14% 11% / 0.5);
}

.faq-chevron {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--muted-foreground);
  transition: transform var(--duration-base) var(--ease-out), color var(--duration-fast) ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-base) var(--ease-out);
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a p {
  padding: 0 1.25rem 1.15rem;
  color: var(--muted-foreground);
  font-size: 0.93rem;
  margin: 0;
}

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */

.site-footer {
  border-top: var(--border-subtle);
  background: linear-gradient(180deg, transparent, hsl(221 18% 4.5%));
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--muted-foreground);
  font-size: 0.88rem;
  max-width: 20rem;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--warning);
  background: var(--warning-soft);
  border: 1px solid hsl(38 94% 52% / 0.3);
}

.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  transition: color var(--duration-fast) ease;
}

.footer-col a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: var(--border-subtle);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.82rem;
}

.footer-disclaimer {
  max-width: 46rem;
  color: hsl(220 8% 50%);
  font-size: 0.78rem;
}

/* ---------------------------------------------------------------------------
   Entrance animations (progressive enhancement)
--------------------------------------------------------------------------- */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
