:root {
  --bg: #0b0f14;
  --bg-elevated: #121a24;
  --bg-card: #161f2b;
  --border: rgba(148, 163, 184, 0.14);
  --text: #e8edf4;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-dim: rgba(56, 189, 248, 0.15);
  --accent-warm: #f59e0b;
  --success: #34d399;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Instrument Sans', 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1120px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(245, 158, 11, 0.06), transparent);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  color: var(--text);
}

.logo-accent {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-size: 0.9375rem;
}

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

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  color: var(--accent) !important;
  font-weight: 600;
}

main {
  padding-bottom: 4rem;
}

.badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-warm);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2rem) 3rem;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.highlight {
  color: var(--accent);
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-note strong {
  color: var(--text);
  font-weight: 600;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pill {
  padding: 0.35rem 0.7rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.bundle-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 360px;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.bundle-preview-col {
  flex: 1;
  text-align: center;
}

.bundle-preview-label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bundle-preview-plus {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.sensor-stack {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.sensor-dot {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #7dd3fc, var(--accent));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.sensor-dot.dim {
  opacity: 0.28;
  box-shadow: none;
}

.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.app-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.25rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
}

.app-tile-name {
  font-size: 0.8125rem;
  font-weight: 600;
}

.bundle-preview-caption {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.section-head-center {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.bundle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.bundle-card {
  padding: 1.5rem 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.bundle-card-accent {
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.08) 0%, var(--bg-elevated) 55%);
  border-color: rgba(56, 189, 248, 0.25);
}

.bundle-icon {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  color: var(--accent);
}

.bundle-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.bundle-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.bundle-card strong {
  color: var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.price-card-featured {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.1) 0%, var(--bg-elevated) 40%);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.price-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.25rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b0f14;
  background: var(--accent);
  border-radius: 999px;
  white-space: nowrap;
}

.price-tier {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.price-amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-currency {
  font-size: 1.35rem;
  vertical-align: super;
}

.price-sensors {
  margin: 0.35rem 0 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.price-features {
  flex: 1;
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.price-features li {
  margin-bottom: 0.4rem;
}

.price-features em {
  color: var(--text);
  font-style: normal;
  font-weight: 500;
}

.price-best {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

.pricing-note {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.specs-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .specs-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.specs-list {
  margin: 0;
  padding: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.spec-row:last-child {
  border-bottom: none;
}

@media (min-width: 560px) {
  .spec-row {
    grid-template-columns: 9.5rem 1fr;
    gap: 1rem;
    align-items: baseline;
  }
}

.spec-row dt {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
}

.spec-row dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.specs-aside {
  padding: 1.35rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.specs-aside h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
}

.specs-aside p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.specs-aside-small {
  margin-bottom: 0 !important;
  font-size: 0.8125rem !important;
  font-style: italic;
}

.contact-form select {
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: #0b0f14;
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #7dd3fc;
  border-color: #7dd3fc;
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  border-color: rgba(148, 163, 184, 0.35);
}

.btn-block {
  width: 100%;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  padding: 1.25rem 1.35rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--success);
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.hero-metrics div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.metric-k {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.metric-v {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.metric-v.ok {
  color: var(--success);
}

.hero-spark {
  height: 88px;
  margin-top: 1rem;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--accent-dim) 40%,
    rgba(56, 189, 248, 0.35) 55%,
    var(--accent-dim) 70%,
    transparent 100%
  );
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 88'%3E%3Cpath fill='%23fff' d='M0 44 Q40 20 80 44 T160 44 T240 30 T320 50 L320 88 L0 88 Z'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2rem);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.35rem 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}

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

.disclaimer {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 50%;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.compare {
  padding-top: 0;
}

.compare-inner {
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.compare-inner h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.compare-inner p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
  margin-inline: auto;
}

.contact {
  padding-top: 1rem;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.contact-copy p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.contact-email-direct {
  font-size: 0.9375rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-status {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: #f87171;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 2rem) 3rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.footer-small {
  font-size: 0.8125rem;
  opacity: 0.8;
}

.footer-legal a {
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--text);
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2rem) 2rem;
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
}

.legal-back:hover {
  color: var(--accent);
  text-decoration: none;
}

.legal-header {
  margin-bottom: 1.5rem;
}

.legal-header h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-updated {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.legal-card {
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.legal-card h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

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

.legal-card p,
.legal-card li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-card p {
  margin: 0 0 0.85rem;
}

.legal-card ul {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}

.legal-card li {
  margin-bottom: 0.4rem;
}

.legal-card strong {
  color: var(--text);
  font-weight: 600;
}

.case-teaser-inner {
  padding: 2rem 2.25rem;
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.08) 0%, var(--bg-elevated) 55%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
}

.case-teaser-inner h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.case-teaser-inner > p {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  color: var(--text-muted);
}

.case-teaser-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.case-teaser-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--success);
}

.case-teaser-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.case-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2rem) 2rem;
}

.case-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.case-lead {
  margin: 0 0 2rem;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.case-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.case-stat {
  padding: 1.25rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.case-stat-value {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--success);
}

.case-stat-label {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.case-stat-note {
  margin: 0 0 2.5rem;
  max-width: 44rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.case-body h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

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

.case-body h3 {
  margin: 1.5rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}

.case-body p,
.case-body li {
  color: var(--text-muted);
  font-size: 0.9875rem;
  line-height: 1.65;
}

.case-body p {
  margin: 0 0 0.9rem;
}

.case-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.case-body li {
  margin-bottom: 0.5rem;
}

.case-caption {
  margin: 0 0 0.75rem !important;
  font-size: 0.875rem !important;
  font-style: italic;
}

.case-method {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.case-method li {
  margin-bottom: 0.55rem;
}

.case-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.case-table-wrap table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.case-table-wrap th,
.case-table-wrap td {
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  text-align: right;
  border-bottom: 1px solid var(--border);
}

.case-table-wrap th:first-child,
.case-table-wrap td:first-child {
  text-align: left;
}

.case-table-wrap th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-card);
}

.case-table-wrap td {
  color: var(--text);
}

.case-table-wrap tr:last-child td {
  border-bottom: none;
}

.delta-down {
  color: var(--success);
  font-weight: 600;
}

.delta-up {
  color: #f87171;
  font-weight: 600;
}

.cs-chart {
  margin: 0 0 2rem;
  padding: 1.25rem 1.15rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.cs-chart figcaption {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}

.cs-chart-axis {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cs-chart-plot {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.5rem;
  min-height: 220px;
}

.cs-y-ticks {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0.15rem 0 1.75rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.cs-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  align-items: stretch;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.15rem 0.35rem 0;
  background-image: repeating-linear-gradient(
    to top,
    transparent,
    transparent calc(25% - 1px),
    var(--border) calc(25% - 1px),
    var(--border) 25%
  );
  background-size: 100% calc(100% - 1.75rem);
  background-repeat: no-repeat;
}

.cs-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cs-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.25rem;
  flex: 1;
  min-height: 180px;
}

.cs-col {
  width: 18%;
  max-width: 1.75rem;
  height: calc(var(--v) / var(--ymax) * 100%);
  border-radius: 4px 4px 0 0;
}

.band-a {
  background: #38bdf8;
}

.band-b {
  background: #f59e0b;
}

.band-c {
  background: #34d399;
}

.band-d {
  background: #c084fc;
}

.cs-x-label {
  display: block;
  padding: 0.5rem 0 0.15rem;
  font-size: 0.75rem;
  text-align: center;
  color: var(--text-muted);
}

.cs-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.cs-legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
}

.case-cta {
  margin-top: 2.5rem;
  padding: 1.75rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.case-cta h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.case-cta p {
  margin: 0 0 1.15rem;
  max-width: 36rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .nav a:not(.nav-cta):not([href='#pricing']):not([href='case-study.html']) {
    display: none;
  }
}

/* ---------- What's new + Tutorial ---------- */
.feature-card-new {
  position: relative;
  border-color: rgba(56, 189, 248, 0.35);
}

.new-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 999px;
}

.tut-diagram {
  margin: 0 0 2rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.tut-diagram svg {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
}

.tut-diagram figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.tut-diagram .dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.35rem;
  font-size: 0.75rem;
  color: var(--bg);
  border-radius: 50%;
}

.dot-a { background: var(--accent); }
.dot-w { background: var(--accent-warm); }
.dot-g { background: var(--success); }

.tut-steps p + p,
.tut-steps p + ul,
.tut-steps ul + p {
  margin-top: 0.6rem;
}

.tut-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.tut-list li {
  display: list-item;
  padding: 0.15rem 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.tut-tip {
  padding: 0.6rem 0.85rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.hc {
  padding: 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
}

.hc-g { color: var(--success); background: rgba(52, 211, 153, 0.15); }
.hc-a { color: var(--accent-warm); background: rgba(245, 158, 11, 0.15); }
.hc-r { color: #f87171; background: rgba(248, 113, 113, 0.15); }

@media (max-width: 560px) {
  .steps li { padding: 1.1rem; gap: 0.85rem; }
  .tut-diagram { padding: 1rem; }
}
