/* =====================================================================
   ANKO UGUISU — design tokens
   Palette pulled from the bot's icon: warm lamplit room, brown hair
   with gold highlights, a sage tatami mat, and an ember glow.
   ===================================================================== */

:root {
  /* core palette */
  --ink: #1a1410;          /* near-black warm brown — page background */
  --ink-soft: #241c16;     /* panels / nav / cards */
  --ink-raised: #2d2319;   /* hover / raised surfaces */
  --line: #3a2f24;         /* hairline borders on dark surfaces */

  --paper: #f4ead4;        /* shoji paper cream */
  --paper-dim: #e3d6ba;    /* muted paper */

  --gold: #d8a85c;         /* hair highlight gold — primary accent */
  --gold-soft: #efd9ab;
  --ember: #e2754a;        /* ember orange — secondary / live accent */
  --sage: #93a06b;         /* tatami green — success / online */

  --text: #f1e7d6;         /* primary text on dark */
  --text-muted: #b8a892;   /* secondary text on dark */
  --text-on-paper: #2a2019;

  /* type */
  --font-display: "Shippori Mincho", serif;
  --font-body: "Plus Jakarta Sans", "Hiragino Sans", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", monospace;

  /* layout */
  --nav-height: 76px;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1120px;

  /* shoji lattice signature pattern */
  --lattice: repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 63px,
      rgba(216, 168, 92, 0.07) 63px,
      rgba(216, 168, 92, 0.07) 64px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 63px,
      rgba(216, 168, 92, 0.07) 63px,
      rgba(216, 168, 92, 0.07) 64px
    );
}

/* =====================================================================
   Reset & base
   ===================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--ink);
  background-image: var(--lattice);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--text);
}

p {
  margin: 0;
}

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

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================================
   Navbar
   ===================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(26, 20, 16, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav__logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 3px rgba(216, 168, 92, 0.12);
}

.nav__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav__title .accent {
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.nav__links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
  position: relative;
  padding: 6px 0;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav__user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-soft);
  font-size: 0.88rem;
  color: var(--text);
}

.nav__avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
}

.nav__menu-toggle {
  display: none;
}

.nav__mobile-panel {
  display: none;
}

/* =====================================================================
   Buttons
   ===================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--ember {
  background: linear-gradient(135deg, var(--ember), #c85a32);
  color: #1a1008;
  box-shadow: 0 6px 18px rgba(226, 117, 74, 0.35);
}

.btn--ember:hover {
  box-shadow: 0 8px 22px rgba(226, 117, 74, 0.5);
}

.btn--gold {
  background: var(--gold);
  color: #1a1008;
  box-shadow: 0 6px 18px rgba(216, 168, 92, 0.3);
}

.btn--gold:hover {
  box-shadow: 0 8px 22px rgba(216, 168, 92, 0.45);
}

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

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

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

.btn--ghost:hover {
  color: var(--text);
}

.btn--lg {
  padding: 14px 30px;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* =====================================================================
   Flash messages
   ===================================================================== */

.flash-stack {
  position: fixed;
  top: calc(var(--nav-height) + 16px);
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.flash {
  background: var(--ink-soft);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: flash-in 0.25s ease;
}

@keyframes flash-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================================
   Page header (shared across inner pages)
   ===================================================================== */

.page-head {
  padding: 64px 0 40px;
  text-align: center;
}

.page-head__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 14px;
}

.page-head p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* =====================================================================
   Hero (index page)
   ===================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(
    circle at 70% 20%,
    rgba(226, 117, 74, 0.18),
    rgba(216, 168, 92, 0.08) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(147, 160, 107, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(147, 160, 107, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(147, 160, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(147, 160, 107, 0);
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--gold);
}

.hero p.lede {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero__welcome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero__welcome img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
}

.hero__welcome .name {
  font-weight: 700;
  font-size: 1.02rem;
}

.hero__welcome .sub {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero__stat .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-soft);
}

.hero__stat .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero__art {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(26, 20, 16, 0.75) 100%
  );
}

.hero__art-caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__art {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* =====================================================================
   Section
   ===================================================================== */

.section {
  padding: 64px 0;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.section__head p {
  color: var(--text-muted);
  max-width: 460px;
}

/* feature grid on index */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.feature-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 168, 92, 0.12);
  color: var(--gold);
  margin-bottom: 18px;
}

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

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

@media (max-width: 880px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   Commands page
   ===================================================================== */

.command-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}

.command-tabs button {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.command-tabs button:hover {
  color: var(--text);
  border-color: var(--gold);
}

.command-tabs button.is-active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.command-category {
  margin-bottom: 48px;
}

.command-category h2 {
  font-size: 1.3rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

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

.command-card {
  position: relative;
  text-align: left;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease,
    background-color 0.15s ease;
}

.command-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.command-card:hover::before,
.command-card:hover::after {
  opacity: 1;
}

.command-card::before,
.command-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.command-card::before {
  top: 6px;
  left: 6px;
  border-right: none;
  border-bottom: none;
}

.command-card::after {
  bottom: 6px;
  right: 6px;
  border-left: none;
  border-top: none;
}

.command-card .name {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 8px;
  word-break: break-word;
}

.command-card .desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 14px;
}

.command-card .copy-hint {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.command-card .copy-hint svg {
  width: 14px;
  height: 14px;
}

.command-card .copy-hint .label::before {
  content: "Click to copy";
}

.command-card.is-copied .copy-hint {
  color: var(--sage);
}

.command-card.is-copied .copy-hint .label::before {
  content: "Copied!";
}

/* =====================================================================
   Status page
   ===================================================================== */

.status-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink-soft);
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.status-banner .led {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--text-muted);
}

.status-banner.is-online .led {
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(147, 160, 107, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

.status-banner.is-offline .led {
  background: #b55a4a;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.status-card {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.status-card .value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-soft);
  margin-bottom: 6px;
}

.status-card .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.status-note {
  margin-top: 36px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

/* =====================================================================
   Updates page
   ===================================================================== */

.update-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.update-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.update-card .date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 4px;
}

.update-card .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: rgba(216, 168, 92, 0.14);
  color: var(--gold);
}

.update-card .tag.tag--fix {
  background: rgba(147, 160, 107, 0.16);
  color: var(--sage);
}

.update-card .tag.tag--feature {
  background: rgba(226, 117, 74, 0.16);
  color: var(--ember);
}

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

.update-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .update-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* =====================================================================
   Legal pages (policy / terms)
   ===================================================================== */

.legal {
  max-width: 720px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
}

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

.legal p,
.legal li {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 10px;
}

.legal ul {
  padding-left: 22px;
}

.legal .updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: block;
}

/* =====================================================================
   Footer
   ===================================================================== */

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 40px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer__brand img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}

.footer__links a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: var(--gold);
}

/* =====================================================================
   Mobile nav
   ===================================================================== */

@media (max-width: 860px) {
  /* Hide desktop links and action buttons from the bar itself */
  .nav__links,
  .nav__actions .btn,
  .nav__actions .nav__user {
    display: none;
  }

  /* Show only the toggle button */
  .nav__menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--ink-soft);
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
  }

  /* Single dropdown panel, revealed when .is-open */
  .nav__mobile-panel {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
  }

  .nav.is-open .nav__mobile-panel {
    display: block;
  }

  /* Nav links inside the panel */
  .nav__mobile-panel .nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 16px;
    padding: 0;
  }

  .nav__mobile-panel .nav__links a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--line);
  }

  .nav__mobile-panel .nav__links li:last-child a {
    border-bottom: none;
  }

  .nav__mobile-panel .nav__links a.is-active {
    color: var(--text);
  }

  /* Action buttons inside the panel */
  .nav__mobile-panel .nav__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .nav__mobile-panel .nav__actions .btn,
  .nav__mobile-panel .nav__actions .nav__user {
    display: inline-flex;
    justify-content: center;
    width: 100%;
  }

  .nav__mobile-panel .nav__actions .nav__user {
    width: auto;
    justify-content: flex-start;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0 56px;
  }

  .hero__stats {
    gap: 20px;
  }

  .page-head {
    padding: 44px 0 28px;
  }

  .section {
    padding: 44px 0;
  }

  .feature-grid {
    gap: 14px;
  }

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

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

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

  .footer__links {
    gap: 14px;
  }
}

/* =====================================================================
   Premium page - pricing cards
   ===================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pricing-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.pricing-card.is-featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, var(--ink-raised), var(--ink-soft));
  box-shadow: 0 12px 32px rgba(216, 168, 92, 0.15);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.pricing-card__tagline {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 22px;
}

.pricing-card__price .amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-soft);
}

.pricing-card__price .period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-card__features li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: var(--text);
}

.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(216, 168, 92, 0.15);
  border: 1px solid var(--gold);
}

.pricing-card__features li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 0.6em;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}

/* =====================================================================
   Premium badges on the commands page
   ===================================================================== */

.command-card .premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 3px 9px;
  border-radius: 999px;
  position: absolute;
  top: 14px;
  right: 14px;
}
