/* ============================================================
   Tyls Design System — tyls.dev
   Dark-first • System of custom properties • Zero frameworks
   ============================================================ */

/* === FONTS === */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Inter-Medium.woff2') format('woff2');
}

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

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Inter-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/JetBrainsMono-Medium.woff2') format('woff2');
}


/* === CUSTOM PROPERTIES (Dark-first) === */
:root {
  /* --- Color Palette --- */
  --c-bg:              #0a0a0f;
  --c-bg-raised:       #12121a;
  --c-bg-elevated:     #1a1a26;
  --c-bg-hover:        #222230;

  --c-border:          #2a2a3a;
  --c-border-subtle:   #1e1e2e;

  --c-text:            #e4e4ef;
  --c-text-muted:      #9494a8;
  --c-text-dim:        #6b6b80;

  --c-accent:          #6366f1;      /* Indigo — primary brand */
  --c-accent-hover:    #818cf8;
  --c-accent-muted:    rgba(99, 102, 241, 0.15);

  --c-success:         #22c55e;
  --c-warning:         #f59e0b;
  --c-error:           #ef4444;

  /* --- Typography --- */
  --f-sans:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --f-mono:            'JetBrains Mono', 'Fira Code', 'Cascadia Code', ui-monospace, monospace;

  --fs-xs:             0.75rem;    /* 12px */
  --fs-sm:             0.875rem;   /* 14px */
  --fs-base:           1rem;       /* 16px */
  --fs-lg:             1.125rem;   /* 18px */
  --fs-xl:             1.25rem;    /* 20px */
  --fs-2xl:            1.5rem;     /* 24px */
  --fs-3xl:            1.875rem;   /* 30px */
  --fs-4xl:            2.25rem;    /* 36px */
  --fs-5xl:            3rem;       /* 48px */
  --fs-6xl:            3.75rem;    /* 60px */

  --lh-tight:          1.2;
  --lh-normal:         1.6;
  --lh-relaxed:        1.8;

  --fw-regular:        400;
  --fw-medium:         500;
  --fw-semibold:       600;
  --fw-bold:           700;

  /* --- Spacing --- */
  --sp-1:              0.25rem;    /* 4px */
  --sp-2:              0.5rem;     /* 8px */
  --sp-3:              0.75rem;    /* 12px */
  --sp-4:              1rem;       /* 16px */
  --sp-5:              1.25rem;    /* 20px */
  --sp-6:              1.5rem;     /* 24px */
  --sp-8:              2rem;       /* 32px */
  --sp-10:             2.5rem;     /* 40px */
  --sp-12:             3rem;       /* 48px */
  --sp-16:             4rem;       /* 64px */
  --sp-20:             5rem;       /* 80px */
  --sp-24:             6rem;       /* 96px */

  /* --- Layout --- */
  --max-w:             72rem;      /* 1152px */
  --max-w-narrow:      48rem;      /* 768px — reading width */
  --max-w-wide:        90rem;      /* 1440px */

  /* --- Borders & Radius --- */
  --radius-sm:         0.25rem;
  --radius:            0.5rem;
  --radius-lg:         0.75rem;
  --radius-xl:         1rem;

  /* --- Transitions --- */
  --ease:              cubic-bezier(0.4, 0, 0.2, 1);
  --duration:          150ms;
}

/* === LIGHT MODE === */
[data-theme="light"] {
  --c-bg:              #fafafa;
  --c-bg-raised:       #ffffff;
  --c-bg-elevated:     #f5f5f5;
  --c-bg-hover:        #ebebeb;

  --c-border:          #d4d4d8;
  --c-border-subtle:   #e4e4e7;

  --c-text:            #18181b;
  --c-text-muted:      #52525b;
  --c-text-dim:        #a1a1aa;

  --c-accent:          #4f46e5;
  --c-accent-hover:    #6366f1;
  --c-accent-muted:    rgba(79, 70, 229, 0.1);
}


/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background-color: var(--c-bg);
  min-height: 100vh;
}

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

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--c-accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--c-text);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl);  }

p {
  margin-bottom: var(--sp-4);
}

strong {
  font-weight: var(--fw-semibold);
}

code {
  font-family: var(--f-mono);
  font-size: 0.9em;
  background-color: var(--c-bg-elevated);
  padding: 0.125em 0.375em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border-subtle);
}

pre {
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  background-color: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  overflow-x: auto;
  margin-bottom: var(--sp-6);
}

pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}


/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

.container--wide {
  max-width: var(--max-w-wide);
}

.section {
  padding-block: var(--sp-20);
}

.section--lg {
  padding-block: var(--sp-24);
}


/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border-subtle);
}

[data-theme="light"] .nav {
  background-color: rgba(250, 250, 250, 0.85);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  gap: var(--sp-4);
}

.nav__logo {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  letter-spacing: -0.025em;
}

.nav__logo:hover {
  color: var(--c-text);
}

.nav__logo span {
  color: var(--c-accent);
}

.nav__logo .nav__logo-sub {
  font-weight: var(--fw-normal);
  color: var(--c-text-muted);
  font-size: var(--fs-base);
  margin-left: 0.2rem;
  letter-spacing: normal;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
  margin-left: auto;
  margin-right: var(--sp-4);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-muted);
  transition: color var(--duration) var(--ease);
}

.nav__link:hover {
  color: var(--c-text);
}

.nav__link--active {
  color: var(--c-text);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--c-text);
  cursor: pointer;
  padding: var(--sp-2);
}

.nav__toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Hamburger → X animation */
.nav__toggle svg line {
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
  transform-origin: center;
}

.nav--open .nav__toggle svg line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav--open .nav__toggle svg line:nth-child(2) {
  opacity: 0;
}

.nav--open .nav__toggle svg line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}


/* === THEME TOGGLE === */
.theme-toggle {
  background: none;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text-muted);
  cursor: pointer;
  padding: var(--sp-1) var(--sp-2);
  font-size: var(--fs-sm);
  transition: all var(--duration) var(--ease);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.theme-toggle:hover {
  border-color: var(--c-accent);
  color: var(--c-text);
}

/* Dark mode (default): show sun icon (to switch to light) */
.theme-toggle__icon--light { display: inline; }
.theme-toggle__icon--dark  { display: none; }

/* Light mode: show moon icon (to switch to dark) */
[data-theme="light"] .theme-toggle__icon--light { display: none; }
[data-theme="light"] .theme-toggle__icon--dark  { display: inline; }


/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

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

.btn--primary:hover {
  background-color: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  color: #ffffff;
}

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

.btn--secondary:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.btn--lg {
  font-size: var(--fs-base);
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-lg);
}

.btn--sm {
  font-size: var(--fs-xs);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
}


/* === HERO === */
.hero {
  position: relative;
  padding-block: var(--sp-24) var(--sp-20);
  text-align: center;
  overflow: hidden;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--c-accent);
  background-color: var(--c-accent-muted);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: var(--sp-1) var(--sp-3);
  border-radius: 9999px;
  margin-bottom: var(--sp-6);
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
}

.hero__title em {
  font-style: normal;
  color: var(--c-accent);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--c-text-muted);
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  line-height: var(--lh-relaxed);
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero__demo-callout {
  margin-top: var(--sp-8);
  margin-inline: auto;
  max-width: 38rem;
  padding: var(--sp-4) var(--sp-6);
  background: var(--c-surface-1);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.hero__demo-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  font-family: var(--f-mono);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-2);
}

.hero__demo-pulse {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  display: inline-block;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.hero__demo-text {
  font-size: var(--fs-base);
  color: var(--c-text);
  margin-bottom: var(--sp-1);
  line-height: var(--lh-normal);
}

.hero__demo-highlight {
  font-family: var(--f-mono);
  background: rgba(99, 102, 241, 0.15);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-sm);
  color: var(--c-accent);
}

.hero__demo-phone {
  font-weight: var(--fw-bold);
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-accent);
}

.hero__demo-phone:hover {
  color: var(--c-accent);
}

.hero__demo-sub {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

.hero__proof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--c-border-subtle);
}

.hero__proof-item {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  font-family: var(--f-mono);
  color: var(--c-text-dim);
  letter-spacing: 0.01em;
}

.hero__proof-sep {
  color: var(--c-border);
  font-size: var(--fs-xs);
}

/* Animated CSS grid background for hero */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 100%);
}


/* === PROBLEM CARDS (3-col) === */
.problems {
  background-color: var(--c-bg-raised);
  border-top: 1px solid var(--c-border-subtle);
  border-bottom: 1px solid var(--c-border-subtle);
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.problem-card {
  padding: var(--sp-8);
  background-color: var(--c-bg-elevated);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration) var(--ease);
}

.problem-card:hover {
  border-color: var(--c-accent);
}

.problem-card__icon {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-4);
}

.problem-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-3);
}

.problem-card__pain {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-3);
}

.problem-card__answer {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-accent);
}


/* === STEPS (How It Works) === */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding: var(--sp-8);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background-color: var(--c-bg-raised);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  background-color: var(--c-accent-muted);
  border-radius: 9999px;
  margin-bottom: var(--sp-4);
}

.step__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-3);
}

.step__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-4);
}

.step__code {
  font-size: var(--fs-xs);
}


/* === ARCHITECTURE DIAGRAM === */
.arch-diagram {
  max-width: 52rem;
  margin-inline: auto;
  background-color: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.arch-diagram__pre {
  margin: 0;
  padding: var(--sp-8);
  background: none;
  border: none;
  border-radius: 0;
  overflow-x: auto;
  line-height: 1.7;
  font-size: var(--fs-sm);
}

.arch-diagram__code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}

/* Architecture diagram syntax highlighting */
.arch-hl-comment {
  color: var(--c-text-dim);
  font-style: italic;
}

.arch-hl-label {
  color: var(--c-text);
  font-weight: var(--fw-semibold);
}

.arch-hl-kw {
  color: var(--c-accent);
  font-weight: var(--fw-medium);
}

.arch-hl-accent {
  color: var(--c-accent);
  font-weight: var(--fw-bold);
}

.arch-hl-ok {
  color: var(--c-success);
  font-weight: var(--fw-semibold);
}

.arch-hl-warn {
  color: var(--c-warning);
  font-weight: var(--fw-semibold);
}

.arch-hl-err {
  color: var(--c-error);
  font-weight: var(--fw-semibold);
}

.arch-hl-dim {
  color: var(--c-text-dim);
  font-style: italic;
}


/* === USE CASES === */
.usecases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}

.usecase {
  padding: var(--sp-8);
  background-color: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration) var(--ease);
}

.usecase:hover {
  border-color: var(--c-accent);
}

.usecase__icon {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-4);
}

.usecase__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-3);
}

.usecase__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
}


/* === STATS BAR === */
.stats-section {
  background-color: var(--c-bg-raised);
  border-top: 1px solid var(--c-border-subtle);
  border-bottom: 1px solid var(--c-border-subtle);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  text-align: center;
}

.stat {
  padding: var(--sp-6);
}

.stat__number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  font-family: var(--f-mono);
  color: var(--c-accent);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-2);
  line-height: var(--lh-tight);
}

.stat__label {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-normal);
}

.stat__label code {
  color: var(--c-accent);
}


/* === FINAL CTA === */
.final-cta {
  background: linear-gradient(
    180deg,
    var(--c-bg) 0%,
    var(--c-bg-raised) 100%
  );
  border-top: 1px solid var(--c-border-subtle);
}

.final-cta__inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.final-cta__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}

.final-cta__desc {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-8);
  line-height: var(--lh-relaxed);
}


/* === TWO FACES (Side-by-side) === */
.faces__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  align-items: start;
}

.face {
  background-color: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.face__header {
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-muted);
  background-color: var(--c-bg-elevated);
}

.face__body {
  padding: var(--sp-6);
}

/* The sample conversation on the Text home page must wrap, not scroll, at
   phone width. */
.face__body pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}


/* === TRUST ANCHORS === */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background-color: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color var(--duration) var(--ease);
}

.trust-item:hover {
  border-color: var(--c-accent);
}

.trust-item__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--c-success);
  margin-top: 0.125rem;
}

.trust-item__text {
  font-size: var(--fs-sm);
  color: var(--c-text);
}


/* === PRICING PREVIEW (Home) + FULL PRICING PAGE === */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.pricing-card {
  background-color: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration) var(--ease);
}

.pricing-card:hover {
  border-color: var(--c-accent);
}

.pricing-card--featured {
  border-color: var(--c-accent);
  position: relative;
}

.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: #ffffff;
  background-color: var(--c-accent);
  padding: var(--sp-1) var(--sp-3);
  border-radius: 9999px;
}

/* Tyls SMS sells one plan: centre it, and no "Most Popular" badge
   (that is --featured, kept for the parked developer pricing page). */
.pricing-cards--single {
  display: block;
  max-width: 26rem;
  margin-inline: auto;
}

.pricing-cards--single > .pricing-card {
  max-width: none;
  border-color: var(--c-accent);
}

.pricing-card__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-2);
}

.pricing-card__tagline {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-6);
}

.pricing-card__price {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-1);
}

.pricing-card__price span {
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--c-text-muted);
}

.pricing-card__features {
  list-style: none;
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-8);
  flex: 1;
}

.pricing-card__features li {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  padding-block: var(--sp-2);
  border-bottom: 1px solid var(--c-border-subtle);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.pricing-card__features li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--c-accent);
  border-radius: 9999px;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}


/* === FOUNDING MEMBER BANNER === */
.founding-banner {
  background: linear-gradient(135deg, var(--c-accent-muted), rgba(99, 102, 241, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  text-align: center;
}

.founding-banner__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-2);
}

.founding-banner__counter {
  font-size: var(--fs-lg);
  color: var(--c-accent);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-4);
}

.founding-banner__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
}


/* === FEATURE COMPARISON TABLE === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-8);
}

.comparison-table thead {
  position: sticky;
  top: 3.5rem;
  background-color: var(--c-bg);
  z-index: 10;
}

.comparison-table th {
  text-align: left;
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 2px solid var(--c-border);
}

.comparison-table th:not(:first-child) {
  text-align: center;
}

.comparison-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-border-subtle);
  color: var(--c-text-muted);
}

.comparison-table td:not(:first-child) {
  text-align: center;
}

.comparison-table tbody tr:hover {
  background-color: var(--c-bg-hover);
}

.comparison-table .check {
  color: var(--c-success);
  font-weight: var(--fw-bold);
}

.comparison-table .cross {
  color: var(--c-text-dim);
}


/* === FAQ === */
.faq {
  max-width: var(--max-w-narrow);
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--sp-6);
}

.faq__question {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-2);
}

.faq__answer {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
}


/* === MANIFESTO (Full-width reading) === */
.manifesto {
  max-width: var(--max-w-narrow);
  margin-inline: auto;
}

.manifesto h2 {
  margin-top: var(--sp-16);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--c-border);
}

.manifesto h3 {
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-4);
}

.manifesto p {
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
}

.manifesto strong {
  color: var(--c-text);
}

.manifesto blockquote {
  border-left: 3px solid var(--c-accent);
  padding-left: var(--sp-6);
  margin-block: var(--sp-6);
  color: var(--c-text-muted);
  font-style: italic;
}

.manifesto pre {
  margin-block: var(--sp-6);
}

.manifesto ul, .manifesto ol {
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.manifesto li {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-2);
}


/* === BLOG === */
.blog-list {
  max-width: var(--max-w-narrow);
  margin-inline: auto;
}

.blog-post-card {
  display: block;
  padding: var(--sp-6);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-4);
  transition: border-color var(--duration) var(--ease);
  text-decoration: none;
}

.blog-post-card:hover {
  border-color: var(--c-accent);
}

.blog-post-card__date {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
  font-family: var(--f-mono);
  margin-bottom: var(--sp-2);
}

.blog-post-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

.blog-post-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}

/* Single blog post & prose pages (/sms/, /privacy/, /terms/, /pricing/ FAQ) */
.blog-post {
  max-width: var(--max-w-narrow);
  margin-inline: auto;
}

.blog-post__meta {
  font-size: var(--fs-sm);
  color: var(--c-text-dim);
  font-family: var(--f-mono);
  margin-bottom: var(--sp-8);
}

.blog-post h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-6);
}

.blog-post h2 {
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
}

.blog-post h3 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.blog-post p {
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
}

.blog-post ul,
.blog-post ol {
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-5);
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
}

.blog-post li {
  margin-bottom: var(--sp-2);
}

.blog-post table {
  width: 100%;
  border-collapse: collapse;
  margin-block: var(--sp-6);
  font-size: var(--fs-sm);
}

.blog-post th,
.blog-post td {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-border-subtle);
  color: var(--c-text-muted);
}

.blog-post th {
  color: var(--c-text);
  font-weight: var(--fw-semibold);
}

.blog-post hr {
  border: 0;
  border-top: 1px solid var(--c-border-subtle);
  margin-block: var(--sp-10);
}

.blog-post blockquote {
  border-left: 3px solid var(--c-accent);
  padding-left: var(--sp-4);
  margin-block: var(--sp-5);
  color: var(--c-text-muted);
}


/* === FOOTER === */
.footer {
  border-top: 1px solid var(--c-border-subtle);
  padding-block: var(--sp-12);
  margin-top: var(--sp-20);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-8);
}

.footer__brand {
  font-size: var(--fs-sm);
  color: var(--c-text-dim);
  max-width: 20rem;
  line-height: var(--lh-relaxed);
}

.footer__links {
  display: flex;
  gap: var(--sp-12);
}

.footer__col-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-3);
}

.footer__col-list {
  list-style: none;
}

.footer__col-list li {
  margin-bottom: var(--sp-2);
}

.footer__col-list a {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}

.footer__col-list a:hover {
  color: var(--c-text);
}

.footer__bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-border-subtle);
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
  text-align: center;
}


/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-header__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}

.section-header__subtitle {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  max-width: 36rem;
  margin-inline: auto;
}


/* === PAGE HEADER (for inner pages) === */
.page-header {
  padding-block: var(--sp-16) var(--sp-8);
  text-align: center;
}

.page-header__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}

.page-header__desc {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  max-width: 36rem;
  margin-inline: auto;
}


/* === UTILITY === */
.text-center { text-align: center; }
.text-muted  { color: var(--c-text-muted); }
.text-dim    { color: var(--c-text-dim); }
.text-accent { color: var(--c-accent); }
.mt-4  { margin-top: var(--sp-4); }
.mt-8  { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }


/* === RESPONSIVE === */
@media (max-width: 768px) {
  .problems__grid,
  .steps__grid,
  .trust__grid,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

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

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

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }

  .stat__number {
    font-size: var(--fs-2xl);
  }

  .arch-diagram__pre {
    padding: var(--sp-4);
    font-size: var(--fs-xs);
    line-height: 1.5;
  }

  .hero {
    padding-block: var(--sp-16) var(--sp-12);
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__proof {
    gap: var(--sp-2);
  }

  .section {
    padding-block: var(--sp-12);
  }

  .section--lg {
    padding-block: var(--sp-16);
  }

  .nav__links {
    display: none;
    margin-right: 0;
  }

  .nav__toggle {
    display: flex;
  }

  /* Theme toggle stays visible on mobile — just needs slight spacing */
  .theme-toggle {
    margin-left: auto;
  }

  /* Mobile nav open state */
  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 3.5rem;
    left: 0;
    right: 0;
    background-color: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    padding: var(--sp-4) var(--sp-6);
    gap: var(--sp-3);
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__links {
    flex-direction: column;
    gap: var(--sp-6);
  }

  .comparison-table {
    font-size: var(--fs-xs);
  }

  .comparison-table th,
  .comparison-table td {
    padding: var(--sp-2);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .problems__grid,
  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problems__grid > :last-child:nth-child(odd) {
    grid-column: span 2;
    max-width: 50%;
    margin-inline: auto;
  }

  .pricing-cards:not(.pricing-cards--single) {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-cards:not(.pricing-cards--single) > :last-child {
    grid-column: span 2;
    max-width: 50%;
    margin-inline: auto;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* === SKIP LINK (A11Y) === */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  background-color: var(--c-accent);
  color: #ffffff;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  z-index: 200;
  transition: top var(--duration) var(--ease);
}

.skip-link:focus {
  top: var(--sp-4);
}


/* === SMS PHONE MOCKUP === */
.phone-mockup {
  max-width: 24rem;
  margin-inline: auto;
  background: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  border-radius: 1.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--c-border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .phone-mockup {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--c-border);
}

.phone-mockup__header {
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-bg-elevated);
  border-bottom: 1px solid var(--c-border-subtle);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.phone-mockup__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--c-accent-muted);
  color: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  flex-shrink: 0;
}

.phone-mockup__contact {
  flex: 1;
  min-width: 0;
}

.phone-mockup__name {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  color: var(--c-text);
  line-height: 1.2;
}

.phone-mockup__status {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.phone-mockup__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-success);
  display: inline-block;
}

.phone-mockup__thread {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--c-bg);
}

.sms-bubble {
  max-width: 82%;
  padding: 0.65rem 0.9rem;
  font-size: var(--fs-sm);
  line-height: 1.45;
  border-radius: 1.15rem;
}

.sms-bubble--customer {
  align-self: flex-end;
  background: var(--c-accent);
  color: #ffffff;
  border-bottom-right-radius: 0.25rem;
}

.sms-bubble--assistant {
  align-self: flex-start;
  background: var(--c-bg-elevated);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-bottom-left-radius: 0.25rem;
}

.sms-bubble__meta {
  display: block;
  font-size: 0.6875rem;
  margin-top: var(--sp-1);
}

.sms-bubble--customer .sms-bubble__meta {
  text-align: right;
  color: rgba(255, 255, 255, 0.75);
}

.sms-bubble--assistant .sms-bubble__meta {
  color: var(--c-text-dim);
}

.phone-mockup__footer {
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-bg-elevated);
  border-top: 1px solid var(--c-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
}

/* === INTERACTIVE PHONE DEMO === */
.phone-mockup__chips {
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-bg-elevated);
  border-top: 1px solid var(--c-border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.phone-mockup__chips-label {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  font-weight: var(--fw-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-mockup__chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.demo-chip {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid var(--c-accent);
  color: var(--c-text);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.demo-chip:hover {
  background: var(--c-accent);
  color: #ffffff;
}

.demo-chip--reset {
  background: transparent;
  border: 1px dashed var(--c-border);
  color: var(--c-text-muted);
}

.demo-chip--reset:hover {
  background: var(--c-bg-raised);
  color: var(--c-text);
  border-color: var(--c-text-dim);
}

.demo-success {
  padding: var(--sp-3);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  font-size: var(--fs-xs);
  color: var(--c-success);
  line-height: var(--lh-normal);
  text-align: center;
}

.demo-success a {
  color: inherit;
  font-weight: var(--fw-bold);
  text-decoration: underline;
}

/* Typing indicator */
.sms-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.55rem 0.85rem;
}

.sms-typing__dot {
  width: 5px;
  height: 5px;
  background: var(--c-text-muted);
  border-radius: 50%;
  animation: typing-blink 1.4s infinite both;
}

.sms-typing__dot:nth-child(2) { animation-delay: 0.2s; }
.sms-typing__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-blink {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.15); }
}

/* === PRICING ROI BADGE === */
.pricing-card__roi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(34, 197, 94, 0.12);
  color: var(--c-success);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-3);
}

/* === LEAD INTAKE FORM === */
.lead-form-card {
  max-width: 28rem;
  margin-inline: auto;
  background: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.lead-form__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

.lead-form__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-5);
  line-height: var(--lh-normal);
}

.lead-form__group {
  margin-bottom: var(--sp-4);
}

.lead-form__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--sp-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lead-form__input,
.lead-form__select {
  width: 100%;
  padding: var(--sp-3);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  transition: border-color var(--duration) var(--ease);
}

.lead-form__input:focus,
.lead-form__select:focus {
  outline: none;
  border-color: var(--c-accent);
}

.lead-form__btn {
  width: 100%;
  margin-top: var(--sp-2);
}

.lead-form__note {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
  margin-top: var(--sp-3);
  text-align: center;
}

/* === OWNER CONSOLE & ACTIVITY LOG PREVIEW === */
.console-preview {
  max-width: 48rem;
  margin-inline: auto;
  background: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--c-border-subtle);
  overflow: hidden;
}

[data-theme="light"] .console-preview {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07), 0 0 0 1px var(--c-border);
}

.console-preview__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-3) var(--sp-5);
  background: var(--c-bg-elevated);
  border-bottom: 1px solid var(--c-border-subtle);
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

.console-preview__biz {
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-right: auto;
  font-size: var(--fs-sm);
}

.console-preview__tab--active {
  color: var(--c-accent);
  font-weight: var(--fw-semibold);
}

.console-preview__body {
  padding: var(--sp-5);
}

.console-preview__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

@media (max-width: 640px) {
  .console-preview__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.console-preview__stat {
  background: var(--c-bg);
  border: 1px solid var(--c-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
}

.console-preview__stat-num {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.console-preview__stat-label {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: 0.2rem;
}

.console-preview__feed {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.console-preview__item {
  background: var(--c-bg);
  border: 1px solid var(--c-border-subtle);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
}

.console-preview__item--held {
  border-left-color: #d9a400;
  background: rgba(217, 164, 0, 0.06);
}

.console-preview__item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
}

.console-preview__item-time {
  font-weight: var(--fw-regular);
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
}

.console-preview__item-desc {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: 0.25rem;
}

.console-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
}

.console-pill--ok {
  background: rgba(34, 197, 94, 0.15);
  color: var(--c-success);
}

.console-pill--info {
  background: var(--c-accent-muted);
  color: var(--c-accent);
}

.console-pill--warn {
  background: rgba(217, 164, 0, 0.18);
  color: #eab308;
}

[data-theme="light"] .console-pill--warn {
  color: #a16207;
}
