/* Relayo — one stylesheet for the homepage and the dashboard. Tokens first. */
:root {
  --ink: #0f1b2d;
  --ink-2: #34445a;
  --muted: #5b6b7f;
  --paper: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f3efe7;
  --line: #e6e1d8;
  --coral: #f2542d;
  --coral-soft: #fde7df;
  --teal: #0fa3a3;
  --bar: #0fa3a3;
  --ok: #0b7f7f;
  --ok-bg: #e0f3f2;
  --warn: #a15c00;
  --warn-bg: #fdf0db;
  --bad: #b42318;
  --bad-bg: #fde8e6;
  --focus: #f2542d;
  --code-bg: #0f1b2d;
  --code-ink: #e8edf3;
  --shadow: 0 1px 2px rgb(15 27 45 / 6%), 0 8px 24px rgb(15 27 45 / 6%);
  --radius: 12px;
  --font:
    ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Arabic',
    'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --ink: #eef1f5;
    --ink-2: #c3ccd8;
    --muted: #93a1b3;
    --paper: #0b1422;
    --surface: #111d2e;
    --surface-2: #16243a;
    --line: #24344c;
    --coral-soft: #3a1d17;
    --bar: #1fa8a4;
    --ok: #46c7c2;
    --ok-bg: #0f2f33;
    --warn: #f0b45a;
    --warn-bg: #36270f;
    --bad: #ff8a7a;
    --bad-bg: #3a1714;
    --code-bg: #07101c;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
code,
pre,
.mono {
  font-family: var(--mono);
  font-size: 0.9em;
}
img,
svg {
  max-width: 100%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.6em 1.05em;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 0.95rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  background: var(--ink);
  color: var(--paper);
  white-space: nowrap;
}
.btn:hover {
  filter: brightness(1.12);
}
.btn-coral {
  background: var(--coral);
  color: #0f1b2d;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--surface-2);
  filter: none;
}
.btn-danger {
  background: var(--bad);
  color: #fff;
}
.btn-sm {
  padding: 0.35em 0.7em;
  font-size: 0.85rem;
  border-radius: 8px;
}
.btn-lg {
  padding: 0.85em 1.4em;
  font-size: 1.05rem;
}
label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.3em;
}
.hint {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.25em;
}
input,
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6em 0.75em;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 0;
  border-color: transparent;
}
.field {
  margin-bottom: 1rem;
}
.grid-2 {
  display: grid;
  gap: 0 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.inline-form {
  display: inline;
}
.hp {
  position: absolute;
  left: -10000px;
}

/* ---------- status pills (icon + label, never color alone) ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.1em 0.6em;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--surface-2);
  color: var(--muted);
}
.pill-ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.pill-failed,
.pill-warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.pill-dead,
.pill-bad {
  background: var(--bad-bg);
  color: var(--bad);
}

/* ---------- cards, tables, code ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.card + .card {
  margin-top: 1rem;
}
.card h2 {
  font-size: 1.1rem;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th {
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
th,
td {
  padding: 0.65rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
tr:last-child td {
  border-bottom: 0;
}
td time {
  white-space: nowrap;
}
td a {
  font-weight: 600;
}
pre {
  background: var(--code-bg);
  color: var(--code-ink);
  padding: 1rem;
  border-radius: 10px;
  overflow: auto;
  max-height: 520px;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}
.copy-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.copy-row code {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.55em 0.75em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}
details > summary {
  cursor: pointer;
  font-weight: 600;
}
summary.btn {
  list-style: none;
}
summary.btn::-webkit-details-marker {
  display: none;
}
details.inline-form[open] {
  display: inline-flex;
  gap: 0.4rem;
}
details.inline-form[open] > summary {
  margin: 0;
}
.pager {
  margin-top: 1rem;
}
h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.95rem;
}
.section-title {
  font-size: 1.2rem;
  margin: 2rem 0 0.25rem;
}
fieldset.checks {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 1rem;
}
fieldset.checks legend {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0 0.3rem;
}
label.check-row {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  flex-wrap: wrap;
  font-weight: 500;
  margin: 0.4rem 0 0.8rem;
}
label.check-row input {
  width: auto;
  flex: none;
}
.tool-chip {
  display: inline-block;
  padding: 0.05em 0.45em;
  margin: 0 0.15rem 0.3rem 0;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.78rem;
}
.tool-chip.ro {
  border-color: var(--ok);
}
label.check-row .hint {
  flex-basis: 100%;
  margin: 0 0 0 1.6rem;
}
details[open] > summary {
  margin-bottom: 0.75rem;
}
.flash {
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
}
.flash-ok {
  border-color: transparent;
  background: var(--ok-bg);
  color: var(--ok);
}
.flash-error {
  border-color: transparent;
  background: var(--bad-bg);
  color: var(--bad);
}
.flash-secret {
  background: var(--warn-bg);
  color: var(--ink);
  border-color: transparent;
}
.empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
}

/* ======================================================================
   Dashboard
   ====================================================================== */
.app {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.side {
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 1.25rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 0;
  height: 100vh;
}
.side .brand img {
  height: 32px;
  width: auto;
}
.ws-name {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0 0.5rem;
}
.ws-name strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav a {
  text-decoration: none;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.93rem;
}
.nav a:hover {
  background: var(--surface-2);
}
.nav a[aria-current='page'] {
  background: var(--coral-soft);
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--coral);
}
.side-foot {
  margin-top: auto;
}
.main {
  padding: 1.75rem 2rem 4rem;
  min-width: 0;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.page-head h1 {
  font-size: 1.6rem;
  margin: 0;
}
.page-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.tile .label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.tile .value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 0.2rem;
}
.tile .sub {
  font-size: 0.8rem;
  color: var(--muted);
}
.chart svg {
  display: block;
  width: 100%;
  height: auto;
}
.chart .bar {
  fill: var(--bar);
}
.chart .bar-hit {
  fill: transparent;
}
.chart .bar-hit:hover + .bar,
.chart g:hover .bar {
  filter: brightness(1.15);
}
.chart .grid {
  stroke: var(--line);
  stroke-width: 1;
}
.chart text {
  fill: var(--muted);
  font: 11px var(--font);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}
.filters .field {
  margin: 0;
  min-width: 150px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
p > .actions {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 0.3rem;
}
.kv {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.25rem;
  margin: 0;
  font-size: 0.92rem;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.checklist li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.check {
  display: inline-grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  flex: none;
  border: 2px solid var(--line);
  color: var(--muted);
}
.check-done {
  background: var(--ok);
  border-color: var(--ok);
  color: var(--surface);
}
.source-card h3 {
  font-size: 1.05rem;
  margin: 0;
}
.step {
  border-left: 3px solid var(--line);
  padding-left: 0.9rem;
  margin: 0.9rem 0;
}
.step strong {
  display: block;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
}
.login .card {
  width: 100%;
  max-width: 420px;
}
.login .brand {
  display: block;
  margin: 0 auto 1.25rem;
  width: 168px;
}

@media (max-width: 820px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .side {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.75rem 16px;
    gap: 0.5rem 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .side .brand img {
    height: 28px;
  }
  .ws-name {
    padding: 0;
    margin-left: auto;
  }
  .nav {
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    order: 3;
    padding-bottom: 2px;
  }
  .nav a {
    white-space: nowrap;
  }
  .nav a[aria-current='page'] {
    box-shadow: inset 0 -3px 0 var(--coral);
  }
  .side-foot {
    margin: 0;
  }
  .main {
    padding: 1.25rem 16px 3rem;
  }
  .hide-sm {
    display: none;
  }
}

/* ======================================================================
   Homepage
   ====================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
}
.site-nav .brand img {
  height: 30px;
  display: block;
}
.site-nav .links {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.93rem;
  font-weight: 500;
}
.site-nav .links a {
  text-decoration: none;
  color: var(--ink-2);
}
.site-nav .links a:hover {
  color: var(--ink);
}
.hero {
  padding: 4.5rem 0 3.5rem;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--coral);
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--coral-soft) 62%);
}
.lede {
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 34em;
  margin: 0 0 1.75rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.trust {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}
.trust span::before {
  content: '✓ ';
  color: var(--teal);
  font-weight: 800;
}
.flow {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 0.75rem;
}
.flow svg {
  display: block;
  width: 100%;
  height: auto;
}
.flow .node-card {
  fill: var(--surface-2);
  stroke: var(--line);
}
.flow .node-title {
  fill: var(--ink);
  font: 700 13px var(--font);
}
.flow .node-sub {
  fill: var(--muted);
  font: 11px var(--font);
}
.flow .wire {
  fill: none;
  stroke: var(--line);
  stroke-width: 2.5;
}
.flow .wire-in {
  stroke: var(--coral);
  stroke-width: 3;
}
.flow .pulse-in {
  fill: var(--coral);
}
.flow .pulse-out {
  fill: var(--teal);
}
.flow .hub {
  fill: var(--ink);
}
.flow .hub-label {
  fill: var(--muted);
  font: 600 11px var(--font);
  letter-spacing: 0.04em;
}
.flow .ok-dot {
  fill: var(--teal);
}
@media (prefers-reduced-motion: reduce) {
  .flow .pulse-in,
  .flow .pulse-out {
    display: none;
  }
}
section.band {
  padding: 4.5rem 0;
}
section[id] {
  scroll-margin-top: 64px;
}
section.band-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 44rem;
  margin-bottom: 2.25rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
}
.section-head p {
  color: var(--ink-2);
  font-size: 1.05rem;
  margin: 0;
}
.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pain {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--paper);
}
.pain .num {
  font: 800 0.8rem var(--mono);
  color: var(--coral);
}
.pain h3 {
  font-size: 1.08rem;
  margin: 0.35rem 0 0.4rem;
}
.pain p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.steps {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.steps li {
  list-style: none;
  counter-increment: step;
}
.steps .n::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.steps h3 {
  font-size: 1.1rem;
}
.steps p {
  color: var(--ink-2);
  margin: 0 0 0.75rem;
}
.steps code {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 0.5em 0.7em;
  border-radius: 8px;
  font-size: 0.8rem;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.features-soon {
  margin-top: 1rem;
  grid-template-columns: 1fr;
  max-width: 33%;
}
.feature .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: var(--coral);
  margin-bottom: 0.75rem;
}
.feature .icon svg {
  width: 20px;
  height: 20px;
}
.feature h3 {
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}
.feature p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.93rem;
}
.tag-soon {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--warn);
  background: var(--warn-bg);
  padding: 0.1em 0.5em;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.3em;
}
.claude-band {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.claude-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
}
.works-with {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: -0.75rem 0 1.5rem;
}
.client-chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.15em 0.6em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.claude-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}
.claude-points h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.claude-points p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.chat {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}
.bubble {
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  max-width: 92%;
}
.bubble p {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
}
.bubble .who {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bubble-you {
  justify-self: end;
  background: var(--coral-soft);
}
.bubble-claude {
  background: var(--surface-2);
  border-left: 3px solid var(--teal);
}
.mena {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.mena .ar {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.5;
  direction: rtl;
  text-align: right;
}
.mena ul {
  padding-left: 1.1rem;
  color: var(--ink-2);
}
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 24rem));
  gap: 1rem;
  align-items: stretch;
  justify-content: center;
}
.pricing-agency {
  margin: 1.5rem 0 0;
  text-align: center;
  color: var(--muted);
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}
.plan .badge {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--coral);
  color: #0f1b2d;
  padding: 0.2em 0.6em;
  border-radius: 999px;
}
.plan h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}
.plan .price {
  font-size: 2.4rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.plan .price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.plan li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 800;
  margin-right: 0.5em;
}
.plan .btn {
  margin-top: auto;
}
.waitlist {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.faq details p {
  margin: 0;
  color: var(--ink-2);
}
.site-foot {
  padding: 2.5rem 0 3rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.site-foot img {
  height: 26px;
  display: block;
}
.site-foot nav {
  display: flex;
  gap: 1.25rem;
}
.site-foot nav a {
  color: var(--muted);
}
.site-foot nav a:hover {
  color: var(--ink);
}

/* Legal pages (/terms, /privacy, /refunds) */
.legal .wrap {
  max-width: 46rem;
}
.legal h1 {
  font-size: 2rem;
  margin: 0 0 0.25rem;
}
.legal h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.5rem;
}
.legal p {
  line-height: 1.65;
  margin: 0.5rem 0;
}
.legal-body .site-nav .wrap {
  padding: 1.25rem 0;
}

/* Guides (/guides) */
.guides-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.guide-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
}
.guide-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--ink);
}
.guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.guide-card:hover {
  border-color: var(--coral);
}
.legal code {
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
  font-size: 0.88em;
  vertical-align: bottom;
}
.guide-cta {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.guide-cta p {
  margin: 0 0 0.75rem;
}
/* Logo swap; !important beats layout rules like `.brand img { display: block }`. */
.theme-dark-only {
  display: none !important;
}
@media (prefers-color-scheme: dark) {
  .theme-light-only {
    display: none !important;
  }
  .theme-dark-only {
    display: block !important;
  }
}
@media (max-width: 900px) {
  .hero .wrap,
  .mena,
  .claude-band,
  .claude-points,
  .waitlist {
    grid-template-columns: 1fr;
  }
  .pains,
  .steps,
  .features,
  .pricing {
    grid-template-columns: 1fr;
  }
  .features-soon {
    max-width: none;
  }
  .site-nav .links a:not(.btn) {
    display: none;
  }
  .hero {
    padding-top: 2.5rem;
  }
}
