/* Rema landing page — static (GitHub Pages) */

:root {
  --bg: #070a10;
  --bg-2: #0b1020;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --muted-2: rgba(255, 255, 255, 0.55);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);

  --primary: #00c9a7;
  --primary-2: #00e5c4;
  --danger: #ff4d6d;
  --warn: #ffb020;
  --ok: #22c55e;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;

  --container: 1120px;
  --font-body: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Space Grotesk", "DM Sans", system-ui, sans-serif;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ring: 0 0 0 3px rgba(0, 201, 167, 0.35);
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-mx: 50%;
  --tilt-my: 35%;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(1200px 900px at 20% -10%, rgba(0, 201, 167, 0.22), transparent 55%),
    radial-gradient(900px 700px at 80% 0%, rgba(0, 229, 196, 0.16), transparent 55%),
    radial-gradient(1000px 800px at 60% 110%, rgba(96, 165, 250, 0.12), transparent 55%),
    var(--bg);
}

/* Prevent fixed nav from covering anchors */
[id] {
  scroll-margin-top: 92px;
}

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

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

a:not(.btn):hover {
  color: rgba(255, 255, 255, 0.98);
}

a:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--line);
  z-index: 2000;
}

.skip-link:focus {
  left: 12px;
  outline: none;
  box-shadow: var(--ring);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background 240ms var(--ease), border-color 240ms var(--ease), backdrop-filter 240ms var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(7, 10, 16, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.brand__mark {
  width: 32px;
  height: 32px;
}

.brand__wordmark {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__menu a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 10px;
  border-radius: 12px;
  transition: color 200ms var(--ease), background 200ms var(--ease);
}

.nav__menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

.nav__toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
}

.nav__toggle:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.nav__toggle-bars {
  display: inline-block;
  width: 22px;
  height: 14px;
  position: relative;
}

.nav__toggle-bars::before,
.nav__toggle-bars::after,
.nav__toggle-bars {
  background: transparent;
}

.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 200ms var(--ease), top 200ms var(--ease), opacity 200ms var(--ease);
}

.nav__toggle-bars::before {
  top: 3px;
}

.nav__toggle-bars::after {
  top: 11px;
}

.nav.is-open .nav__toggle-bars::before {
  top: 7px;
  transform: rotate(45deg);
}

.nav.is-open .nav__toggle-bars::after {
  top: 7px;
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav__menu {
    position: absolute;
    top: 62px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(7, 10, 16, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms var(--ease), opacity 200ms var(--ease);
  }

  .nav.is-open .nav__menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__menu a {
    padding: 12px 12px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease),
    box-shadow 180ms var(--ease), color 180ms var(--ease);
  user-select: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.btn--lg {
  padding: 13px 16px;
  font-size: 1.02rem;
  border-radius: 16px;
}

.btn--sm {
  padding: 9px 12px;
  font-size: 0.92rem;
  border-radius: 12px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: rgba(4, 8, 12, 0.98);
  border-color: rgba(0, 229, 196, 0.25);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 229, 196, 0.18);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 76px 0;
}

.section--muted {
  background: radial-gradient(1200px 900px at 10% 10%, rgba(255, 255, 255, 0.06), transparent 55%),
    rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section__head p {
  color: var(--muted);
  max-width: 70ch;
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 74px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

.bg-grid {
  position: absolute;
  inset: -2px;
  opacity: 0.55;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 40%, transparent 70%);
}

.bg-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.25;
  background: radial-gradient(circle at 30% 30%, rgba(0, 201, 167, 0.85), transparent 60%);
  animation: glow-drift 12s var(--ease) infinite alternate;
}

.bg-glow--a {
  top: -420px;
  left: -320px;
}

.bg-glow--b {
  bottom: -520px;
  right: -420px;
  opacity: 0.18;
  animation-duration: 14s;
}

@keyframes glow-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(26px, 18px, 0) scale(1.04);
  }
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 201, 167, 0.18);
}

.hero__title {
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  line-height: 1.02;
}

.gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-2), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero__bullets {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 201, 167, 0.12);
  border: 1px solid rgba(0, 201, 167, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  font-size: 0.85rem;
}

.hero__visual {
  display: grid;
  gap: 10px;
}

.panel {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px circle at var(--tilt-mx) var(--tilt-my), rgba(0, 229, 196, 0.22), transparent 42%);
  opacity: 0;
  transition: opacity 220ms var(--ease);
  pointer-events: none;
}

.panel[data-tilt].is-tilting {
  border-color: rgba(0, 201, 167, 0.22);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.panel[data-tilt].is-tilting::before {
  opacity: 1;
}

.panel__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.panel__traffic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: 0.9;
}

.dot--r {
  background: var(--danger);
}

.dot--y {
  background: var(--warn);
}

.dot--g {
  background: var(--ok);
}

.panel__title {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.panel__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-weight: 700;
  font-size: 0.88rem;
}

.panel__sep {
  opacity: 0.55;
}

.panel__status {
  color: rgba(255, 255, 255, 0.82);
}

.panel__body {
  padding: 16px;
  transition: opacity 180ms var(--ease);
}

.panel.is-swapping .panel__body {
  opacity: 0.55;
}

.log {
  display: grid;
  gap: 12px;
}

.log__row {
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
  align-items: start;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}

.tag--user {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.12);
}

.tag--ai {
  border-color: rgba(0, 201, 167, 0.35);
  background: rgba(0, 201, 167, 0.12);
}

.steps {
  list-style: none;
  display: grid;
  gap: 8px;
  padding-left: 0;
}

.steps__item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
}

.steps__item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.steps__item--done {
  color: rgba(255, 255, 255, 0.86);
}

.steps__item--done::before {
  border-color: rgba(0, 201, 167, 0.7);
  background: rgba(0, 201, 167, 0.7);
  box-shadow: 0 0 0 4px rgba(0, 201, 167, 0.12);
}

.steps__item--active {
  color: rgba(255, 255, 255, 0.9);
}

.steps__item--active::before {
  border-color: rgba(255, 176, 32, 0.9);
  background: rgba(255, 176, 32, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.12);
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 6px 0;
}

.artifact {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.artifact__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.artifact__kicker {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artifact__name {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: right;
}

.diff {
  margin: 0;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  white-space: pre-wrap;
}

.artifact__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.runbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.runbar__hint {
  color: var(--muted-2);
  font-weight: 700;
  font-size: 0.9rem;
}

.approval {
  margin-top: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  padding: 14px;
}

.approval__k {
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 6px;
}

.approval__v {
  font-weight: 850;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
}

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

.approval__fine {
  margin-top: 10px;
  color: var(--muted-2);
  font-weight: 650;
  font-size: 0.9rem;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(0, 201, 167, 0.55);
  text-underline-offset: 3px;
}

.link::after {
  content: "↗";
  opacity: 0.8;
  transform: translateY(-1px);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
}

.badge--ok {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
}

.hero__note {
  color: var(--muted-2);
  font-weight: 700;
  font-size: 0.93rem;
  padding: 0 10px;
}

.demoSwitch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  width: fit-content;
}

.demoSwitch__btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.demoSwitch__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 201, 167, 0.25);
}

.demoSwitch__btn[aria-pressed="true"] {
  background: rgba(0, 201, 167, 0.14);
  border-color: rgba(0, 201, 167, 0.35);
}

.demoSwitch__btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

@media (min-width: 980px) {
  .section {
    padding: 92px 0;
  }

  .hero {
    padding: 140px 0 84px;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: center;
  }

  .hero__visual {
    align-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow {
    animation: none;
  }

  .panel {
    transform: none;
  }

  .panel::before {
    display: none;
  }
}

/* Cards & grids */
.grid3 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

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

@media (min-width: 860px) {
  .grid3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

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

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 201, 167, 0.25);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

.card h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

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

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  background: rgba(0, 201, 167, 0.12);
  border: 1px solid rgba(0, 201, 167, 0.25);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 12px;
}

.mini {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.mini li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: center;
}

.mini li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 229, 196, 0.8);
  box-shadow: 0 0 0 4px rgba(0, 201, 167, 0.12);
}

.card--dense {
  padding: 16px;
}

/* Tabs */
.tabs {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.tabs__list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.tabs__tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.tabs__tab:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 201, 167, 0.25);
}

.tabs__tab[aria-selected="true"] {
  background: rgba(0, 201, 167, 0.14);
  border-color: rgba(0, 201, 167, 0.35);
}

.tabs__tab:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.tabs__panes {
  padding: 14px;
}

.tabs__pane[hidden] {
  display: none;
}

.pane {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 860px) {
  .pane {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
    gap: 16px;
  }
}

.pane h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

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

.quote {
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
}

.quote__k {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.quote__v {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.deliverables {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  padding: 6px 0;
}

.deliverables li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: center;
  font-weight: 650;
}

.check {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 2px solid rgba(0, 201, 167, 0.7);
  background: rgba(0, 201, 167, 0.12);
  display: inline-block;
}

/* Architecture */
.arch {
  display: grid;
  gap: 12px;
  align-items: center;
}

@media (min-width: 980px) {
  .arch {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 10px;
  }
}

.arch__node {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

@media (min-width: 980px) {
  .arch__node {
    grid-column: span 2;
  }
}

.arch__k {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 6px;
}

.arch__v {
  color: var(--muted);
  font-weight: 650;
}

.arch__arrow {
  height: 10px;
  background: linear-gradient(90deg, rgba(0, 201, 167, 0.8), rgba(0, 229, 196, 0.2));
  border-radius: 999px;
  opacity: 0.55;
}

@media (min-width: 980px) {
  .arch__arrow {
    height: 2px;
    grid-column: span 1;
  }
}

/* Callout */
.callout {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 201, 167, 0.22);
  background: rgba(0, 201, 167, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 16px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
}

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

.faq__item summary:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  transition: transform 200ms var(--ease);
  flex: 0 0 auto;
}

.faq__item[open] .chev {
  transform: rotate(225deg);
}

.faq__body {
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* CTA */
.cta {
  padding: 84px 0;
  background: radial-gradient(1200px 800px at 30% 0%, rgba(0, 201, 167, 0.18), transparent 60%),
    radial-gradient(900px 600px at 80% 110%, rgba(96, 165, 250, 0.12), transparent 60%),
    var(--bg-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

@media (min-width: 980px) {
  .cta__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 18px;
  }
}

.cta__copy {
  display: grid;
  gap: 12px;
}

.cta__copy p {
  color: var(--muted);
  max-width: 68ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.cta__fine {
  color: var(--muted-2);
  font-weight: 650;
  margin-top: 6px;
}

.cta__fine a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-decoration-color: rgba(0, 201, 167, 0.55);
  text-underline-offset: 3px;
}

.cta__card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.cta__cardTitle {
  font-weight: 950;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.cta__list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 650;
}

.cta__list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  align-items: start;
}

.cta__list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.75);
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12);
  margin-top: 6px;
}

/* Footer */
.footer {
  padding: 28px 0;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 820px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
  }
}

.footer__brand {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
}

.footer__mark {
  width: 28px;
  height: 28px;
}

.footer__name {
  font-weight: 950;
  color: rgba(255, 255, 255, 0.92);
}

.footer__tagline {
  grid-column: 2;
  color: var(--muted-2);
  font-weight: 650;
  font-size: 0.92rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__links a {
  color: var(--muted);
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.footer__links a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 18px;
  color: var(--muted-2);
  font-weight: 650;
  font-size: 0.92rem;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 3px;
}

.footer__sep {
  opacity: 0.6;
}
