/* ============================================================
   luxechain.ai — design tokens + base
   Light, warm-neutral. Every contrast pair computed and verified.
   Rule: semantic tokens only. No raw hex in components.
   ============================================================ */

:root {
  /* surfaces — warm stone, not cold grey */
  --background: #FAFAF9;
  --card:       #FFFFFF;
  --raised:     #FFFFFF;
  --muted:      #F4F4F2;
  --muted-2:    #EFEFED;

  /* text */
  --ink-900: #0C0A09;   /* 18.9:1 — headings          */
  --ink-700: #292524;   /* 14.5:1 — body              */
  --ink-500: #57534E;   /*  7.3:1 — secondary         */
  --ink-400: #78716C;   /*  4.6:1 — captions (floor)  */

  /* lines */
  --border:        #DCD8D4;  /* 1.4:1  decorative hairlines — strong enough to hold a card edge */
  --border-strong: #78716C;  /* 4.6:1  inputs, focusable controls */

  /* accent — deep green, money/credits */
  --accent:      #166534;  /* 6.8:1 on bg */
  --accent-fg:   #FFFFFF;  /* 7.1:1 on accent */
  --accent-hover:#14532D;
  --accent-soft: #DCFCE7;
  --accent-ink:  #14532D;

  /* status */
  --danger:    #9F1239;
  --danger-fg: #FFFFFF;
  --danger-soft:#FFF1F2;
  --warn:      #B45309;
  --warn-soft: #FFFBEB;
  --ok-soft:   #DCFCE7;

  /* type */
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Instrument Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-fast: 140ms;
  --dur:      200ms;
  --dur-slow: 320ms;

  /* geometry */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

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

html, body { margin: 0; padding: 0; }

body {
  background: var(--background);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink-900);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 500;
}
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.005em; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

code, pre, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- focus: always visible, never removed ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
html, body { overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; height: auto; }
/* long unbroken strings (API keys, URLs) wrap instead of overflowing */
code, pre, .mono { overflow-wrap: anywhere; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }

.muted { color: var(--ink-500); }
.small { font-size: 13.5px; }
.tiny  { font-size: 12.5px; }

/* ---------- motion (opt-in, reduced-motion safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); }
  .reveal.in {
    opacity: 1; transform: none;
    transition: opacity var(--dur-slow) var(--ease-out),
                transform var(--dur-slow) var(--ease-out);
  }
  .reveal.d1 { transition-delay: 60ms; }
  .reveal.d2 { transition-delay: 120ms; }
  .reveal.d3 { transition-delay: 180ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================ header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 250, 249, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 66px; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 22px;
  color: var(--ink-900); letter-spacing: -0.01em;
}
.brand .mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--accent); color: var(--accent-fg);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--ink-500); font-size: 14.5px; font-weight: 500;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink-900); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* mobile menu — hidden on desktop */
.nav-burger { display: none; }
.mobile-menu { display: none; }

/* ============================================================ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 0 18px;
  border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: var(--card); color: var(--ink-900);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--muted); }
.btn-quiet { background: transparent; color: var(--ink-700); }
.btn-quiet:hover { background: var(--muted); color: var(--ink-900); }
.btn-danger { background: var(--danger); color: var(--danger-fg); }
.btn-sm { min-height: 36px; padding: 0 13px; font-size: 13.5px; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ============================================================ hero */
.hero { padding: 80px 0 56px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center;
}
/* grid/flex children default to min-width:auto, so one wide child (a <pre>,
   a table, a long unbroken string) stretches the whole page. */
.hero-grid > *, .plans > *, .grid > *, .stats > * { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent); letter-spacing: 0.02em;
  background: var(--accent-soft);
  border-radius: 999px; padding: 5px 12px; margin-bottom: 22px;
}
.eyebrow .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  color: var(--ink-900);
  max-width: 15ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero .sub {
  color: var(--ink-500); font-size: 1.06rem;
  max-width: 46ch; margin-top: 20px; line-height: 1.65;
}
.hero-cta { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.hero-note {
  margin-top: 14px; font-size: 13px; color: var(--ink-400);
  font-family: var(--font-mono);
}

/* ============================================================ code block */
.code {
  background: var(--ink-900);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--ink-900);
}
.code-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.code-head .title {
  font-family: var(--font-mono); font-size: 12px;
  color: #A8A29E; letter-spacing: 0.03em;
}
.copy-btn {
  background: rgba(255,255,255,0.08); color: #E7E5E4;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 5px; padding: 4px 10px;
  font-family: var(--font-mono); font-size: 11.5px;
  cursor: pointer; min-height: 26px;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.copy-btn:hover { background: rgba(255,255,255,0.16); color: #FFFFFF; }
.copy-btn.done { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }

.code pre {
  margin: 0; padding: 16px 18px; overflow-x: auto;
  max-width: 100%;
  font-size: 12.8px; line-height: 1.85;
  color: #E7E5E4;
}
.code .k { color: #93C5FD; }   /* keys   */
.code .s { color: #86EFAC; }   /* strings*/
.code .c { color: #9A9490; }   /* comments — 6.6:1 on code bg, readable */
.code .n { color: #FDBA74; }   /* numbers*/

/* light code block variant (docs) */
.code.light { background: var(--muted); border-color: var(--border); }
.code.light .code-head { border-bottom-color: var(--border); }
.code.light .code-head .title { color: var(--ink-500); }
.code.light .copy-btn {
  background: var(--card); color: var(--ink-700); border-color: var(--border-strong);
}
.code.light .copy-btn:hover { background: var(--background); color: var(--ink-900); }
.code.light pre { color: var(--ink-700); }
.code.light .k { color: #1D4ED8; }
.code.light .s { color: var(--accent); }
.code.light .c { color: var(--ink-500); }
.code.light .n { color: #B45309; }

/* ============================================================ sections */
section { padding: 68px 0; }
section.tight { padding: 44px 0; }
.sec-head { margin-bottom: 36px; max-width: 62ch; }
.sec-head { max-width: 100%; }
.sec-head h2 {
  overflow-wrap: break-word; font-size: clamp(1.7rem, 3.2vw, 2.35rem); margin-bottom: 12px; }
.sec-head p { color: var(--ink-500); font-size: 1rem; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* minor sections — smaller heading so major sections lead the page */
.sec-head.minor h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.sec-head.minor { margin-bottom: 22px; }
.sec-head.minor p { font-size: 14.5px; }

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ============================================================ stats strip */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { padding: 26px 20px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat .v {
  font-family: var(--font-mono); font-size: 26px; font-weight: 600;
  color: var(--ink-900); letter-spacing: -0.02em;
}
.stat .l { font-size: 12.5px; color: var(--ink-500); margin-top: 4px;
           text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================================ cards */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.card h3 { font-size: 15.5px; margin-bottom: 7px; font-weight: 600; }
.card p { color: var(--ink-500); font-size: 15px; line-height: 1.6; }
.card .ico {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center; margin-bottom: 12px;
}
.card .ico svg { width: 17px; height: 17px; }

/* ============================================================ steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
         border: 1px solid var(--border); border-radius: var(--r-lg);
         overflow: hidden; background: var(--card); }
.step { padding: 28px 26px; border-right: 1px solid var(--border); }
.step:last-child { border-right: 0; }
.step .n {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--accent); margin-bottom: 14px; letter-spacing: 0.06em;
}
.step h3 { font-size: 15.5px; margin-bottom: 7px; }
.step p { color: var(--ink-500); font-size: 14px; }

/* ============================================================ pricing */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.plan {
  background: var(--card); border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); padding: 22px 20px;
  display: flex; flex-direction: column; position: relative;
}
.plan.featured { border-color: var(--accent); border-width: 2px; padding: 21px 19px; }
.plan .badge {
  position: absolute; top: -10px; left: 18px;
  background: var(--accent); color: var(--accent-fg);
  font-size: 10.5px; font-weight: 700; padding: 3px 10px;
  border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase;
}
.plan .pname {
  font-size: 12.5px; font-weight: 600; color: var(--ink-400);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.plan .price {
  font-family: var(--font-mono); font-size: 30px; font-weight: 600;
  color: var(--ink-900); letter-spacing: -0.03em; margin: 8px 0 2px;
}
.plan .price small { font-size: 13px; color: var(--ink-400); font-weight: 400; }
.plan .credits {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--accent);
  margin-bottom: 16px;
}
.plan .tagline {
  font-size: 13.5px; color: var(--ink-500); margin-bottom: 18px;
  min-height: 40px; line-height: 1.5;
}
.plan .btn { margin-top: auto; }

/* ============================================================ model rows */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tab {
  background: var(--card); border: 1px solid var(--border-strong);
  color: var(--ink-500); border-radius: 999px;
  padding: 8px 16px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; min-height: 38px;
  transition: all var(--dur-fast) var(--ease-out);
}
.tab:hover { color: var(--ink-900); background: var(--muted); }
.tab[aria-selected="true"] {
  background: var(--ink-900); color: #FFFFFF; border-color: var(--ink-900);
}

.models { border: 1px solid var(--border); border-radius: var(--r-lg);
          overflow: hidden; background: var(--card); }
.mrow {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 18px; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
}
.mrow:last-child { border-bottom: 0; }
.mrow:hover { background: var(--muted); }
.mname { font-weight: 600; font-size: 14.5px; color: var(--ink-900); }
.mmaker { color: var(--ink-400); font-size: 12px; font-family: var(--font-mono);
          margin-top: 2px; }
.mprice { font-family: var(--font-mono); font-size: 12.8px; color: var(--ink-500);
          text-align: right; white-space: nowrap; }
.mprice b { color: var(--ink-900); font-weight: 600; }
.mtag { font-size: 11px; font-family: var(--font-mono); color: var(--accent);
        background: var(--accent-soft); padding: 2px 8px; border-radius: 999px;
        white-space: nowrap; }

/* ============================================================ faq */
.faq { border-top: 1px solid var(--border); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); background: transparent; }
.faq summary {
  padding: 20px 4px; cursor: pointer; font-weight: 600; font-size: 15px;
  color: var(--ink-900); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  transition: color var(--dur-fast) var(--ease-out);
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--accent); font-size: 19px;
  font-family: var(--font-mono); font-weight: 400; flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer {
  padding: 0 0 22px; color: var(--ink-500); font-size: 14.5px; max-width: 68ch;
}

/* ============================================================ forms */
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink-900); margin-bottom: 6px;
}
.field .hint { font-size: 12.5px; color: var(--ink-400); margin-top: 5px; }
input[type=text], input[type=email], input[type=password],
input[type=number], input[type=url], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 13px;
  background: var(--card); color: var(--ink-900);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  font-family: inherit; font-size: 15px;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { min-height: 84px; resize: vertical; font-family: var(--font-mono); font-size: 13.5px; }
input::placeholder, textarea::placeholder { color: var(--ink-400); }

/* ============================================================ alerts */
.alert {
  padding: 13px 16px; border-radius: var(--r-sm);
  font-size: 14px; border: 1px solid;
  display: flex; gap: 10px; align-items: flex-start;
}
.alert-ok    { background: var(--ok-soft);    border-color: var(--accent); color: var(--accent-ink); }
.alert-warn  { background: var(--warn-soft);  border-color: var(--warn);   color: var(--warn); }
.alert-danger{ background: var(--danger-soft);border-color: var(--danger); color: var(--danger); }
.alert-info  { background: var(--muted);      border-color: var(--border-strong); color: var(--ink-700); }

/* ============================================================ footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 36px; margin-top: 56px;
  background: var(--card);
}
.foot-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
}
.foot-col a { line-height: 1.5; }
.foot-brand p { color: var(--ink-500); font-size: 14px; margin-top: 12px; max-width: 30ch; }
.foot-col h4 {
  font-size: 11.5px; color: var(--ink-400); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 14px; font-weight: 600;
}
.foot-col a {
  display: block; color: var(--ink-500); font-size: 14px; padding: 4px 0;
  transition: color var(--dur-fast) var(--ease-out);
}
.foot-col a:hover { color: var(--ink-900); }
.foot-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--ink-400); font-size: 13px;
}
.status-dot {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-500);
}
.status-dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}

/* ============================================================ tables */
.tbl-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
            border-radius: inherit; position: relative; }
.tbl-hint { display: none; }
@media (max-width: 820px) {
  .tbl-scroll { position: relative; }
  .tbl-scroll::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 34px;
    background: linear-gradient(to right, transparent, var(--card));
    pointer-events: none;
  }
  .tbl-hint { display: block; font-size: 11.5px; color: var(--ink-400);
              text-align: right; padding: 6px 2px 0; font-family: var(--font-mono); }
}
.tbl-wrap .tbl { min-width: 560px; }
/* a card that hosts a scrollable table must not clip it */
.card.has-table { overflow: hidden; }
.card.has-table .tbl-wrap { overflow-x: auto; }
@media (max-width: 820px) {
  .tbl-wrap .tbl { min-width: 600px; }
  .tbl th, .tbl td { white-space: nowrap; }
  /* A full-width message row (colspan empty state) must WRAP. nowrap clipped
     sentences mid-word, e.g. "appears he". */
  .tbl td[colspan] { white-space: normal; }
  /* An empty table should not keep its desktop min-width: the message then
     clips at the viewport edge with no scroll affordance to reveal it. */
  .tbl-wrap.has-empty .tbl { min-width: 0; }
  /* signal that a wide table scrolls sideways */
  .tbl-wrap.is-wide { position: relative; }
  .tbl-wrap.is-wide::after {
    content: ""; position: sticky; right: 0; top: 0; float: right;
    width: 28px; height: 100%; margin-left: -28px; pointer-events: none;
    background: linear-gradient(to right, transparent, var(--card));
  }
}
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th {
  text-align: left; padding: 10px 12px; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-400); font-weight: 600;
  border-bottom: 1px solid var(--border);
  background: var(--muted);
}
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--border); color: var(--ink-700); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--muted); }
.tbl .num { text-align: right; font-family: var(--font-mono); font-size: 13px; }

.acct-hero { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; align-items: center; }

/* 14-day chart */
.chart { display: flex; align-items: flex-end; gap: 4px; height: 120px;
         border-bottom: 1px solid var(--border-strong); padding-bottom: 1px;
         width: 100%; }
.chart .bar { flex: 1 1 0; min-width: 5px; border-radius: 3px 3px 0 0;
              background: var(--accent); transition: height .5s var(--ease-out); }
.chart .bar.zero { background: var(--border-strong); opacity: .45;
                   min-height: 6px; }
.chart .bar:hover { background: var(--accent-hover); }
.chart-labels { display: flex; justify-content: space-between; margin-top: 8px;
                font-size: 11.5px; color: var(--ink-500); font-family: var(--font-mono); }

/* live activity feed */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: livepulse 2s ease-in-out infinite; }
  @keyframes livepulse { 0%,100% { opacity:1; box-shadow:0 0 0 0 rgba(22,101,52,.45); }
                         50% { opacity:.6; box-shadow:0 0 0 6px rgba(22,101,52,0); } }
}
.feed-row { display: flex; align-items: center; gap: 13px; padding: 12px 18px;
            border-bottom: 1px solid var(--border); }
.feed-row:last-child { border-bottom: 0; }
.feed-ico { width: 30px; height: 30px; border-radius: 7px; background: var(--accent-soft);
            color: var(--accent-ink); display: grid; place-items: center; flex-shrink: 0; }
.feed-ico svg { width: 15px; height: 15px; }
.feed-main { flex: 1; min-width: 0; }
.feed-model { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-900);
              font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-meta { font-size: 11.5px; color: var(--ink-400); margin-top: 1px; }
.feed-cost { font-family: var(--font-mono); font-size: 13px; font-weight: 600;
             color: var(--ink-900); white-space: nowrap; }
.feed-cost.bad { color: var(--danger); }
@media (prefers-reduced-motion: no-preference) {
  .feed-row { animation: feedin 260ms var(--ease-out) both; }
  @keyframes feedin { from { opacity:0; transform: translateY(-6px); }
                      to   { opacity:1; transform: none; } }
}
@media (max-width: 820px) { .acct-hero { grid-template-columns: 1fr; gap: 18px; } }

/* billing cycle toggle */
.cycle {
  display: inline-flex; background: var(--muted); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 3px; gap: 3px;
}
.cycle button {
  border: 0; background: transparent; color: var(--ink-500);
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  padding: 7px 16px; border-radius: 999px; cursor: pointer; min-height: 34px;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.cycle button[aria-pressed="true"] { background: var(--card); color: var(--ink-900); }
.cycle .save { color: var(--accent); font-size: 11.5px; font-weight: 700; }

.pill {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; font-family: var(--font-mono);
}
.pill-ok    { background: var(--accent-soft); color: var(--accent-ink); }
.pill-warn  { background: var(--warn-soft);   color: var(--warn); }
.pill-bad   { background: var(--danger-soft); color: var(--danger); }
.pill-idle  { background: var(--muted-2);     color: var(--ink-500); }

/* ============================================================ motion extras */
@media (prefers-reduced-motion: no-preference) {
  /* header brand dot pulse — subtle, signals "live" */
  .brand .mark { position: relative; }
  .brand .mark::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(22,101,52,.45);
    animation: pip 3.2s var(--ease-out) infinite;
  }
  @keyframes pip {
    0%   { box-shadow: 0 0 0 0 rgba(22,101,52,.40); }
    60%  { box-shadow: 0 0 0 9px rgba(22,101,52,0); }
    100% { box-shadow: 0 0 0 0 rgba(22,101,52,0); }
  }

  /* card lift on hover — transform only */
  .card, .plan { transition: border-color var(--dur) var(--ease-out),
                              transform var(--dur) var(--ease-out); }
  a.card:hover, .plan:hover { transform: translateY(-2px); border-color: var(--border-strong); }
  .plan.featured:hover { border-color: var(--accent); }

  /* stat numbers settle in */
  .stat .v { animation: rise var(--dur-slow) var(--ease-out) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

  /* buttons get a real press */
  .btn { will-change: transform; }

  /* tabs cross-fade their panels */
  [data-panel] { animation: fadein 180ms var(--ease-out) both; }
  @keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

  /* live status dot */
  .status-dot::before { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
}

/* ============================================================ responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .g4, .g5 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  /* swap the desktop links for the burger + drawer */
  .nav-links { display: none; }
  .nav { gap: 10px; }
  .nav-actions { gap: 8px; }
  .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 40px; height: 40px; padding: 0 9px; background: transparent;
    border: 1px solid var(--border-strong); border-radius: 8px; cursor: pointer;
  }
  .nav-burger span {
    display: block; height: 2px; width: 100%; background: var(--ink-700);
    border-radius: 2px; transition: transform var(--dur-fast) var(--ease-out),
                                opacity var(--dur-fast) var(--ease-out);
  }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .mobile-menu {
    display: block; border-top: 1px solid var(--border);
    background: var(--card); padding: 8px 0 14px;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a {
    display: block; padding: 13px 0; font-size: 16px; color: var(--ink-700);
    border-bottom: 1px solid var(--border); text-decoration: none;
  }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu a.mm-cta { color: var(--accent); font-weight: 600; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: 0; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .g5 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap, .wrap-narrow { padding: 0 16px; }
  /* the header gets crowded on phones — keep only the CTA and the burger */
  .nav-actions .btn-quiet { display: none; }
  .nav .brand { font-size: 17px; }
  .hero { padding: 40px 0 30px; }
  section { padding: 42px 0; }
  .plans { grid-template-columns: 1fr; }
  .g4, .g5 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .mrow { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
  .mprice { text-align: left; }
  .hero h1 { max-width: none; font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .hero .sub { font-size: 1rem; }
  /* On phones, wrap code instead of hiding it behind a horizontal swipe —
     nothing should be reachable only by an undiscoverable gesture. */
  .code pre {
    font-size: 11px; padding: 13px 14px;
    white-space: pre-wrap; overflow-wrap: anywhere;
  }
  .code-head .title { font-size: 11px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tbl-wrap .tbl { min-width: 520px; }
}

/* very small phones */
@media (max-width: 380px) {
  .wrap, .wrap-narrow { padding: 0 13px; }
  .stats { grid-template-columns: 1fr; }
  .stat:nth-child(2) { border-right: 0; }
}


/* ============================================================ luxechain widget */
.luxechain-bot-launch {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 17px 12px 14px; border-radius: 999px;
  background: var(--accent); color: #fff; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 600;
  box-shadow: 0 6px 22px rgba(22,101,52,0.28);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.luxechain-bot-launch:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(22,101,52,0.34); }
.luxechain-bot-launch .mascot { width: 30px; height: 30px; }

.luxechain-bot-launch.hide { opacity: 0; pointer-events: none; transform: translateY(8px) scale(.96); }

.luxechain-bot-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 384px; max-width: calc(100vw - 32px);
  height: 566px; max-height: calc(100vh - 44px);
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border-strong);
  border-radius: 15px; overflow: hidden;
  box-shadow: 0 20px 56px rgba(28,25,23,0.20);
}
.luxechain-bot-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .luxechain-bot-panel { animation: luxechainIn 220ms var(--ease-out) both; }
  @keyframes luxechainIn { from { opacity: 0; transform: translateY(12px) scale(.985); }
                      to   { opacity: 1; transform: none; } }
}

.luxechain-bot-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--border);
  background: var(--card); flex-shrink: 0;
}
.luxechain-bot-id { display: flex; align-items: center; gap: 10px; }
.luxechain-bot-avatar {
  width: 34px; height: 34px; display: grid; place-items: center;
}
.luxechain-bot-name { font-size: 14.5px; font-weight: 650; color: var(--ink-900); line-height: 1.2; }
.luxechain-bot-sub {
  font-size: 11.5px; color: var(--ink-500); display: flex; align-items: center; gap: 5px;
}
.luxechain-bot-live {
  width: 6px; height: 6px; border-radius: 50%; background: #16A34A; flex-shrink: 0;
}
.luxechain-bot-close {
  width: 30px; height: 30px; border-radius: 7px; border: 0; background: transparent;
  color: var(--ink-500); cursor: pointer; display: grid; place-items: center;
}
.luxechain-bot-close:hover { background: var(--muted); color: var(--ink-900); }

.luxechain-bot-body {
  flex: 1; overflow-y: auto; padding: 16px 14px 8px;
  display: flex; flex-direction: column; gap: 11px;
  background: var(--bg);
  scroll-padding-top: 10px;
  scrollbar-width: thin;
}
/* fade the top edge so a scrolled message never looks chopped off */
.luxechain-bot-body {
  mask-image: linear-gradient(to bottom, transparent 0, #000 14px,
                              #000 calc(100% - 4px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px,
                              #000 calc(100% - 4px), transparent 100%);
}
.luxechain-bot-msg {
  max-width: 88%; padding: 10px 13px; border-radius: 13px;
  font-size: 14px; line-height: 1.6; color: var(--ink-800);
  overflow-wrap: anywhere;
}
.luxechain-bot-msg p { margin: 0 0 7px; }
.luxechain-bot-msg p:last-child { margin-bottom: 0; }
.luxechain-bot-bot {
  align-self: flex-start; background: var(--card);
  border: 1px solid var(--border); border-bottom-left-radius: 4px;
}
.luxechain-bot-me {
  align-self: flex-end; background: var(--accent); color: #fff;
  border-bottom-right-radius: 4px;
}
.luxechain-bot-err { align-self: center; font-size: 12.5px; color: var(--danger); text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .luxechain-bot-msg { animation: luxechainMsg 200ms var(--ease-out) both; }
  @keyframes luxechainMsg { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
}

.luxechain-bot-typing { display: inline-flex; gap: 4px; align-items: center; padding: 3px 0; }
.luxechain-bot-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-400);
  animation: luxechainBlink 1.3s ease-in-out infinite;
}
.luxechain-bot-typing span:nth-child(2) { animation-delay: .18s; }
.luxechain-bot-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes luxechainBlink { 0%,60%,100% { opacity: .3; } 30% { opacity: 1; } }

.luxechain-bot-chips {
  display: flex; flex-wrap: wrap; gap: 7px; padding: 2px 0 8px;
}
.luxechain-bot-chips button {
  font-family: var(--font-sans); font-size: 12.5px; padding: 7px 12px;
  border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--card); color: var(--ink-700); cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.luxechain-bot-chips button:hover { border-color: var(--accent); color: var(--accent); }

.luxechain-bot-form {
  display: flex; gap: 8px; padding: 11px 12px; border-top: 1px solid var(--border);
  background: var(--card); flex-shrink: 0;
}
.luxechain-bot-form input {
  flex: 1; min-height: 42px; padding: 9px 13px; font-size: 14.5px;
  border: 1px solid var(--border-strong); border-radius: 10px;
  background: var(--bg); color: var(--ink-900); font-family: var(--font-sans);
}
.luxechain-bot-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.luxechain-bot-form button {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; border: 0;
  background: var(--accent); color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.luxechain-bot-form button:disabled { opacity: .5; cursor: not-allowed; }
.luxechain-bot-foot {
  font-size: 11px; color: var(--ink-400); text-align: center;
  padding: 0 14px 10px; background: var(--card); margin: 0; flex-shrink: 0;
}

@media (max-width: 620px) {
  .luxechain-bot-launch { right: 14px; bottom: 14px; padding: 12px 15px 12px 13px; }
  .luxechain-bot-launch-label { display: none; }
  .luxechain-bot-launch { padding: 14px; }
  .luxechain-bot-panel {
    right: 0; bottom: 0; width: 100vw; max-width: 100vw;
    height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0;
  }
  .luxechain-bot-msg { max-width: 92%; font-size: 14.5px; }
}


/* ---------------------------------------------------- mascot (living face) */
.luxechain-bot-avatar {
  position: relative; width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
}
.luxechain-bot-avatar.small { width: 26px; height: 26px; }
.mascot { width: 100%; height: 100%; display: block; overflow: visible; }

.m-face  { fill: #F5D9B8; }
.m-hair  { fill: #166534; }
.m-eye   { fill: #1C1917; transform-origin: center; }
.m-mouth { fill: none; stroke: #8A5A3B; stroke-width: 1.6; stroke-linecap: round; }
.m-blush { fill: #F0A98B; opacity: .55; }

/* status dot on the avatar */
.mascot-status {
  position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px;
  border-radius: 50%; background: #22C55E; border: 2px solid var(--card);
}
.luxechain-bot-avatar.small .mascot-status { width: 8px; height: 8px; }

@media (prefers-reduced-motion: no-preference) {
  /* breathing: the whole head lifts very slightly */
  .mascot { animation: luxechainBreathe 3.6s ease-in-out infinite; transform-origin: 50% 80%; }
  @keyframes luxechainBreathe {
    0%,100% { transform: translateY(0) scale(1); }
    50%     { transform: translateY(-1.1px) scale(1.018); }
  }
  /* a natural blink every few seconds */
  .m-eye { animation: luxechainBlink 4.4s ease-in-out infinite; }
  .m-eye:nth-of-type(2) { animation-delay: .04s; }
  @keyframes luxechainBlink {
    0%, 92%, 100% { transform: scaleY(1); }
    95%           { transform: scaleY(0.08); }
  }
  /* the smile breathes a little with the head */
  .m-mouth { animation: luxechainSmile 3.6s ease-in-out infinite; transform-origin: 20px 27px; }
  @keyframes luxechainSmile {
    0%,100% { transform: scaleX(1); }
    50%     { transform: scaleX(1.06); }
  }
  /* blush gently pulses so it feels alive, not printed */
  .m-blush { animation: luxechainBlush 4.6s ease-in-out infinite; }
  @keyframes luxechainBlush { 0%,100% { opacity: .45; } 50% { opacity: .7; } }

  /* while the bot is thinking, the eyes look around and the status dot pulses */
  .luxechain-bot-avatar.thinking .mascot { animation-duration: 1.5s; }
  .luxechain-bot-avatar.thinking .m-eye {
    animation: luxechainLook 1.35s ease-in-out infinite;
  }
  @keyframes luxechainLook {
    0%,100% { transform: translateX(0); }
    25%     { transform: translateX(-1.6px); }
    70%     { transform: translateX(1.6px); }
  }
  .luxechain-bot-avatar.thinking .mascot-status { animation: luxechainPulse 1s ease-in-out infinite; }
  @keyframes luxechainPulse { 0%,100% { opacity: 1; transform: scale(1); }
                          50%     { opacity: .45; transform: scale(.8); } }
}

/* the launcher gets a friendlier hover wiggle */
@media (prefers-reduced-motion: no-preference) {
  .luxechain-bot-launch:hover .mascot { animation: luxechainPeek .5s ease-out; }
  @keyframes luxechainPeek {
    0%   { transform: rotate(0); }
    35%  { transform: rotate(-7deg); }
    70%  { transform: rotate(5deg); }
    100% { transform: rotate(0); }
  }
}


/* ------------------------------------------------- typing-in text reveal */
.luxechain-bot-msg .tw {
  display: inline; opacity: 0;
  animation: luxechainWord .26s var(--ease-out) forwards;
}
@keyframes luxechainWord { from { opacity: 0; } to { opacity: 1; } }

/* the caret that follows the text while it types */
.luxechain-bot-caret {
  display: inline-block; width: 2px; height: 1em; margin-left: 1px;
  background: var(--accent); vertical-align: text-bottom;
  animation: luxechainCaret .8s steps(1) infinite;
}
@keyframes luxechainCaret { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .luxechain-bot-msg .tw { opacity: 1; animation: none; }
  .luxechain-bot-caret { display: none; }
}

/* richer thinking dots, shown while the request is in flight */
.luxechain-bot-typing { display: inline-flex; gap: 5px; align-items: center; padding: 4px 1px; }
.luxechain-bot-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-400);
  animation: luxechainBounce 1.25s ease-in-out infinite;
}
.luxechain-bot-typing span:nth-child(2) { animation-delay: .16s; }
.luxechain-bot-typing span:nth-child(3) { animation-delay: .32s; }
@keyframes luxechainBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}


/* ------------------------------------------------- currency picker */
.ccy-pick { position: relative; }
.ccy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 11px; border-radius: 8px;
  border: 1px solid var(--border-strong); background: transparent;
  color: var(--ink-700); font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; letter-spacing: .02em;
  transition: border-color .15s, color .15s;
}
.ccy-btn:hover { border-color: var(--ink-400); color: var(--ink-900); }
.ccy-btn svg { opacity: .55; transition: transform .18s var(--ease-out); }
.ccy-pick.open .ccy-btn svg { transform: rotate(180deg); }

.ccy-menu {
  position: absolute; top: calc(100% + 7px); right: 0; z-index: 60;
  min-width: 216px; padding: 6px;
  background: var(--card); border: 1px solid var(--border-strong);
  border-radius: 12px; box-shadow: 0 12px 34px rgba(28,25,23,.14);
}
.ccy-menu[hidden] { display: none; }
.ccy-menu button {
  display: grid; grid-template-columns: 30px 44px 1fr; align-items: center;
  gap: 8px; width: 100%; padding: 9px 10px;
  border: 0; background: transparent; border-radius: 8px;
  font: inherit; font-size: 13.5px; color: var(--ink-700);
  cursor: pointer; text-align: left;
  transition: background .13s, color .13s;
}
.ccy-menu button:hover { background: var(--ink-50, #F5F5F4); color: var(--ink-900); }
.ccy-menu button[aria-selected="true"] { color: var(--accent); font-weight: 600; }
.ccy-sym { font-weight: 700; font-size: 14px; }
.ccy-code { font-family: var(--mono); font-size: 12px; opacity: .75; }
.ccy-name { font-size: 12.5px; opacity: .6; }

.ccy-mobile { padding: 12px 0 4px; border-top: 1px solid var(--border); margin-top: 8px; }
.ccy-mobile .lbl {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-400); margin-bottom: 9px;
}
.ccy-row { display: flex; flex-wrap: wrap; gap: 7px; }
.ccy-row button {
  padding: 8px 13px; border-radius: 999px; font: inherit; font-size: 12.5px;
  font-weight: 600; cursor: pointer;
  border: 1px solid var(--border-strong); background: transparent; color: var(--ink-700);
}
.ccy-row button.on { background: var(--accent); border-color: var(--accent); color: #fff; }

@media (max-width: 900px) { .ccy-pick { display: none; } }


/* ------------------------------------------------- models page */
.brand-strip {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px;
}
.brand-chip {
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--border-strong); color: var(--ink-600);
  background: var(--card);
}
.maker-filter {
  display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 20px;
}
.maker-filter button {
  padding: 7px 13px; border-radius: 999px; font: inherit; font-size: 12.5px;
  font-weight: 600; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--ink-500);
  transition: border-color .15s, color .15s, background .15s;
}
.maker-filter button:hover { border-color: var(--ink-400); color: var(--ink-800); }
.maker-filter button.on {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.mlead { display: flex; align-items: center; gap: 13px; min-width: 0; }
.mrank {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--ink-400); min-width: 20px;
}


/* ---------------------------------------------------------------- checkout */
.order-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.order-line:last-child { border-bottom: 0; }
.order-k { color: var(--ink-500); font-size: 13.5px; }
.order-v { font-weight: 600; color: var(--ink-900); text-align: right; }
.order-total { border-top: 2px solid var(--ink-900); margin-top: 6px; padding-top: 14px; }
.order-total .order-k { color: var(--ink-900); font-weight: 600; font-size: 14.5px; }
.order-total .order-v { font-size: 21px; letter-spacing: -.02em; }

/* ------------------------------------------------- subscription on account */
.sub-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.sub-cell { min-width: 0; }
.sub-cell .tiny {
  text-transform: uppercase; letter-spacing: .06em; color: var(--ink-400);
  font-size: 10.5px; font-weight: 600;
}
.sub-v { font-size: 16px; font-weight: 600; color: var(--ink-900); margin-top: 3px; }
@media (max-width: 720px) {
  .sub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sub-v { font-size: 15px; }
}

/* checkout: the recurring note carries the payment disclosure, so it must not be
   the faintest text on the page. */
.recurring-note {
  margin-top: 14px; padding: 12px 14px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 13px; line-height: 1.5;
}
.order-line + .order-line { border-top: 0; }
.order-total + .order-line { border-top: 0; padding-top: 4px; }
.order-total + .order-line .order-k,
.order-total + .order-line .order-v { color: var(--ink-500); font-size: 13.5px; font-weight: 600; }

/* .alert is a flex row; when the content is a paragraph it must be ONE child or
   the text renders as a second column and gets clipped at the card edge. */
.alert-stack { display: block; }
.alert-stack p { margin: 6px 0 0; }
.alert-stack strong { font-size: 14.5px; }
