/* HookWatch landing — static, no build step */

:root {
  --bg: #080c16;
  --bg-elevated: #121a2b;
  --bg-card: #152036;
  --border: rgba(148, 163, 184, 0.2);
  --text: #e8eef9;
  --muted: #9aa8c0;
  --accent: #3dd6c6;
  --accent-dim: rgba(61, 214, 198, 0.14);
  --accent-strong: #2bbfaf;
  --warn: #f0c14b;
  --warn-soft: rgba(240, 193, 75, 0.1);
  --danger-soft: rgba(248, 113, 113, 0.12);
  --ok-soft: rgba(61, 214, 198, 0.1);
  --retry: #fbbf24;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1100px 520px at 78% -8%, #121d32 0%, transparent 55%),
    radial-gradient(720px 380px at -5% 18%, rgba(61, 214, 198, 0.09) 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #04201c;
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.88);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

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

.logo-mark {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), #5b8cff);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem 1.1rem;
  font-size: 0.95rem;
}

.nav-link {
  color: var(--muted);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.42rem 0.9rem;
  font-size: 0.85rem;
}

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

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

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

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

.btn-block {
  width: 100%;
  margin-top: 0.35rem;
}

.btn-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
  transform: none;
}

/* Hero */
.hero {
  padding: 3.25rem 0 2.75rem;
}

.hero-inner {
  max-width: 46rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.7rem, 4.2vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 0.9rem;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  color: var(--text);
  max-width: 42rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tagline {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 38rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
}

.badge-sandbox {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  border-radius: 6px;
  border: 1px dashed var(--warn);
  color: var(--warn);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sandbox-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 32rem;
}

.sandbox-hint strong {
  color: var(--warn);
  font-weight: 700;
}

/* Sections */
.section {
  padding: 2.75rem 0 3rem;
  border-top: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 1.6rem;
  color: var(--muted);
  max-width: 46rem;
  font-size: 1.02rem;
}

.section-intro strong {
  color: var(--text);
  font-weight: 650;
}

/* Info / constraint cards */
.constraint-grid,
.problem-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .constraint-grid,
  .problem-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
}

.info-card-warn {
  background: linear-gradient(180deg, var(--warn-soft) 0%, var(--bg-elevated) 55%);
  border-color: rgba(240, 193, 75, 0.28);
}

.info-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.info-card p + p {
  margin-top: 0.65rem;
}

.cite {
  font-size: 0.8rem !important;
  color: var(--muted);
}

.cite a {
  word-break: break-word;
}

/* Flow diagram */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.5rem;
  margin: 0 0 1.75rem;
  padding: 1.25rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  min-width: 7.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.flow-node-accent {
  border-color: rgba(61, 214, 198, 0.45);
  background: linear-gradient(180deg, rgba(61, 214, 198, 0.12) 0%, var(--bg-card) 70%);
  box-shadow: 0 0 0 1px var(--accent-dim);
}

.flow-label {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.flow-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.flow-arrow {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
}

@media (max-width: 640px) {
  .flow {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .flow-node {
    width: min(100%, 16rem);
  }
}

/* How it works steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.steps > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

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

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

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

.term {
  color: var(--accent);
  font-size: 0.88em;
  font-weight: 600;
  white-space: nowrap;
}

.how-note {
  margin: 1.35rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(91, 140, 255, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Failure-mode grid */
.fail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .fail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.fail-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  align-items: stretch;
  padding: 1.15rem 1.2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

@media (max-width: 560px) {
  .fail-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .fail-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

.fail-from,
.fail-to {
  min-width: 0;
}

.fail-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warn);
}

.fail-label-ok {
  color: var(--accent);
}

.fail-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.fail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.fail-to {
  padding: 0.15rem 0 0;
  border-radius: 10px;
}

.fail-arrow {
  display: flex;
  align-items: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  opacity: 0.85;
}

/* Timeline illustration */
.illus-label {
  display: inline-block;
  margin: -0.6rem 0 1rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: var(--shadow);
  max-width: 40rem;
}

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.timeline-header > div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.mono {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.chip-ok {
  background: var(--ok-soft);
  color: var(--accent);
  border: 1px solid rgba(61, 214, 198, 0.35);
}

.timeline-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.35rem;
  position: relative;
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0 0 1.1rem 0;
}

.tl-item:last-child {
  padding-bottom: 0.25rem;
}

.tl-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 1.1rem;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.tl-dot {
  width: 0.9rem;
  height: 0.9rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
  z-index: 1;
}

.tl-done .tl-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.tl-retry .tl-dot {
  border-color: var(--retry);
  background: rgba(251, 191, 36, 0.35);
}

.tl-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.tl-body strong {
  font-size: 0.95rem;
}

.tl-time {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.tl-detail {
  font-size: 0.88rem;
  color: var(--muted);
}

.timeline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.timeline-hint {
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 28rem;
}

/* 3-step setup */
.setup-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .setup-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.setup-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.45rem;
  position: relative;
}

.setup-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  color: #04201c;
  font-weight: 800;
  font-size: 0.95rem;
}

.setup-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.setup-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Contrast table */
.contrast-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  -webkit-overflow-scrolling: touch;
}

.contrast-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 640px;
}

.contrast-table th,
.contrast-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.contrast-table thead th {
  background: rgba(61, 214, 198, 0.06);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

.contrast-table thead th:nth-child(2) {
  color: var(--accent);
}

.contrast-table tbody th {
  color: var(--text);
  font-weight: 600;
  width: 8.5rem;
  background: rgba(0, 0, 0, 0.12);
}

.contrast-table tbody tr:last-child th,
.contrast-table tbody tr:last-child td {
  border-bottom: none;
}

.contrast-table td strong {
  color: var(--accent);
}

.contrast-note {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 48rem;
}

/* What / isn't */
.split-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.card-yes {
  background: linear-gradient(180deg, var(--ok-soft) 0%, var(--bg-card) 45%);
  border-color: rgba(61, 214, 198, 0.28);
}

.card-no {
  background: linear-gradient(180deg, var(--danger-soft) 0%, var(--bg-card) 45%);
  border-color: rgba(248, 113, 113, 0.22);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.card ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.card ul li:last-child {
  margin-bottom: 0;
}

.card-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.card-featured {
  border-color: rgba(61, 214, 198, 0.45);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(61, 214, 198, 0.1) 0%, var(--bg-card) 42%);
  display: flex;
  flex-direction: column;
}

.plan-badge {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.price {
  margin: 0 0 1rem;
}

.price .amount {
  font-size: 2.15rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.price .per {
  color: var(--muted);
  font-size: 0.95rem;
  margin-left: 0.15rem;
}

.card-featured ul {
  flex: 1;
  margin-bottom: 1rem;
}

.sandbox-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.sandbox-note strong {
  color: var(--warn);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 44rem;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.15rem 1.1rem 0.15rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 0.98rem;
  padding: 0.95rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq-item p strong {
  color: var(--text);
}

/* Final CTA */
.final-cta {
  background: linear-gradient(180deg, rgba(61, 214, 198, 0.07) 0%, transparent 70%);
}

.final-cta-inner {
  max-width: 40rem;
  text-align: left;
}

.final-cta h2 {
  margin-bottom: 0.65rem;
}

.final-cta p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0 2.75rem;
}

.footer-inner {
  max-width: 44rem;
}

.disclaimer {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
}

/* Exact TradingView terms footer line (research/validation/tradingview-terms-risk-2026-10-17.md §4). */
.disclaimer.tv-terms,
.tv-terms {
  color: var(--muted, var(--text));
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-sandbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-sandbox strong {
  color: var(--warn);
  font-weight: 700;
}

.badge-sandbox-inline {
  flex-shrink: 0;
}

.legal-note {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Ride-along 2 #5: footer links get ~44px tap targets (CSS only). */
.footer-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.2rem;
}

/* Ride-along 2 #8: free-start link under the pricing cards. */
.price-free {
  text-align: center;
  margin: 1rem 0 0;
}
.price-free a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.logo-inline {
  font-weight: 700;
  color: var(--text);
}

/* Mobile: keep CTA visible; tuck text links only when very narrow */
@media (max-width: 720px) {
  .nav-link {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 2.25rem;
  }

  .header-inner {
    gap: 0.75rem;
  }
}

@media (max-width: 380px) {
  .btn-sm {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
  }
}


/* Marketing redesign 2026-09-23 */
.hero-bot h1 { font-size: clamp(1.85rem, 4.5vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.15; }
.hero-em { color: var(--accent); }
.price-grid-7 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.price-card h3 { margin: 0; font-size: 1rem; }
.price-card .price { margin: 0.15rem 0; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; }
.price-card .price small { font-size: 0.75rem; font-weight: 500; color: var(--muted); margin-left: 0.15rem; }
.price-card .price-note { margin: 0; color: var(--muted); font-size: 0.78rem; }
.price-card ul { margin: 0.4rem 0 0.75rem; padding-left: 1.05rem; color: var(--muted); font-size: 0.82rem; flex: 1; }
.price-card li { margin: 0.2rem 0; }
.price-card-featured {
  border-color: rgba(61, 214, 198, 0.55);
  box-shadow: 0 0 0 1px rgba(61, 214, 198, 0.25), var(--shadow);
  background: linear-gradient(180deg, rgba(61,214,198,0.08), var(--bg-card) 40%);
}
.price-badge {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 700;
}
.btn-block { display: block; text-align: center; width: 100%; }
.how-strip { padding-top: 0.5rem; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.strip-step {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem;
}
.strip-num {
  display: inline-flex;
  width: 1.6rem; height: 1.6rem;
  align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.strip-step h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.strip-step p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.vs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.warn-inline { color: var(--warn); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (max-width: 900px) {
  .strip-grid, .vs-grid { grid-template-columns: 1fr; }
  .price-grid-7 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .price-grid-7 { grid-template-columns: 1fr; }
}


/* Pricing clean table 2026-09-23 */
.pricing-clean .section-intro { max-width: 40rem; }
.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 720px;
}
.price-table th,
.price-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.price-table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  background: rgba(0,0,0,0.2);
}
.price-table tbody th {
  font-weight: 650;
  color: var(--text);
  white-space: nowrap;
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: none;
}
.price-table tbody tr:hover {
  background: rgba(61, 214, 198, 0.04);
}
.price-row-featured {
  background: rgba(61, 214, 198, 0.08);
}
.price-row-featured:hover {
  background: rgba(61, 214, 198, 0.11) !important;
}
.table-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #04201c;
  background: var(--accent);
  vertical-align: middle;
}
.pricing-clean .how-note { margin-top: 0.9rem; }
.hero-bot { padding-bottom: 1.5rem; }
.hero-bot .lede { max-width: 38rem; color: var(--muted); }
.pricing-clean { padding-top: 1.25rem; }
.how-strip { padding-top: 0.25rem; }
@media (max-width: 800px) {
  .nav .nav-link:nth-child(n+4) { display: none; } /* keep How Pricing Why — hide Setup on tight */
  .header-inner .nav .nav-link[href="#setup"] { display: none; }
}

/* 2026-09-29 pre-launch: keep Login reachable on mobile; setup guide */
@media (max-width: 800px) {
  .nav .nav-link.nav-login { display: inline-flex; }
}
pre.code {
  background: #0a101c;
  border: 1px solid var(--border, #1e293b);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  overflow-x: auto;
  font-size: 0.82rem;
  margin: 0.6rem 0;
}
.setup code, pre.code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85em; }
.setup h3 { margin-top: 1.6rem; }
.setup-facts { padding-left: 1.2rem; color: var(--muted, #94a3b8); line-height: 1.6; }
.setup-facts li { margin: 0.35rem 0; }
.setup-facts strong { color: var(--text, #e2e8f0); }

/* Homepage hero: terminal direction (picked 2026-09-29): dark terminal. Mono accents, scanlines via gradient, opacity-only line reveal. */
body.home-terminal{background:radial-gradient(800px 400px at 80% 0%,rgba(61,214,198,.06),transparent 60%),#04070c}
.dir-c{position:relative;border-bottom:1px solid var(--border);background-image:radial-gradient(rgba(148,163,184,.12) 1px,transparent 1px);background-size:22px 22px;background-position:0 0}
.dir-c .hero-split{max-width:var(--max);display:grid;gap:2rem;align-items:center}
@media (min-width:900px){.dir-c .hero-split{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}}
.dir-c .eyebrow{font-family:var(--mono);border-radius:6px;background:rgba(61,214,198,.08);border:1px solid rgba(61,214,198,.25)}
.dir-c .eyebrow::before{content:"$ ";opacity:.6}
.dir-c h1{font-family:var(--font)}
.dir-c .hero-em{font-family:var(--mono);font-size:.85em;letter-spacing:-.02em}
.dir-c .pill{font-family:var(--mono);border-radius:6px}
.dir-c .btn{border-radius:8px}
.term{border:1px solid rgba(61,214,198,.25);border-radius:12px;background:#05080e;box-shadow:0 0 0 1px rgba(0,0,0,.4),0 24px 60px rgba(0,0,0,.5),0 0 60px rgba(61,214,198,.06);overflow:hidden;position:relative}
.term::after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(180deg,rgba(255,255,255,.025) 0 1px,transparent 1px 3px)}
.term-bar{display:flex;align-items:center;gap:6px;padding:.55rem .8rem;border-bottom:1px solid rgba(148,163,184,.15);background:#0a0f18}
.term-bar span{width:10px;height:10px;border-radius:50%;background:#334155}
.term-bar span:first-child{background:#f87171}.term-bar span:nth-child(2){background:#fbbf24}.term-bar span:nth-child(3){background:#3dd6c6}
.term-bar em{margin-left:.6rem;font:normal .75rem var(--mono);color:var(--muted)}
.term-body{margin:0;padding:1rem 1.1rem 1.2rem;font:.86rem/1.75 var(--mono);color:#cbd5e1;white-space:pre;overflow:hidden}
.term-body b{font-weight:600;display:inline-block;min-width:2.2em}
.term-body .p{color:#5b8cff}.term-body .ok{color:#3dd6c6}.term-body .bad{color:#fbbf24}.term-body i{font-style:normal;color:var(--muted)}
.term-body .l{opacity:0;animation:reveal .2s ease-out forwards}
.term-body .l1{animation-delay:0s}.term-body .l2{animation-delay:.6s}.term-body .l3{animation-delay:1.3s}.term-body .l4{animation-delay:2.1s}.term-body .l5{animation-delay:3.4s}.term-body .l6{animation-delay:4.2s}
@keyframes reveal{to{opacity:1}}
.term-body .cur{color:#3dd6c6;animation:blink 1s steps(1,end) infinite}
@keyframes blink{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){.term-body .l,.term-body .cur{animation:none;opacity:1}}

/* Monthly / yearly toggle (CSS only: the site's CSP allows no scripts) */
.bill-radio { position: absolute; opacity: 0; pointer-events: none; }
.bill-toggle { display: flex; justify-content: center; gap: 0; margin: 0 auto 1.5rem; width: max-content; max-width: 100%; border: 1px solid rgba(148,163,184,.35); border-radius: 999px; padding: 4px; }
.bill-opt { cursor: pointer; padding: .45rem 1rem; border-radius: 999px; font-size: .95rem; color: inherit; opacity: .75; }
.bill-save { font-size: .8rem; opacity: .85; margin-left: .25rem; }
#bill-monthly:checked ~ .bill-toggle .bill-opt-m,
#bill-yearly:checked ~ .bill-toggle .bill-opt-y { background: rgba(45,212,191,.18); opacity: 1; }
#bill-monthly:focus-visible ~ .bill-toggle .bill-opt-m,
#bill-yearly:focus-visible ~ .bill-toggle .bill-opt-y { outline: 2px solid #2dd4bf; outline-offset: 2px; }
.price-y { display: none; }
.price-sub { margin: -.35rem 0 .6rem; font-size: .85rem; opacity: .8; }
#bill-yearly:checked ~ .pricing-grid .price-m { display: none; }
#bill-yearly:checked ~ .pricing-grid p.price-y { display: block; }
#bill-yearly:checked ~ .pricing-grid a.price-y { display: block; }

/* 2026-10-10 friendly labels: per-section accent + icon, and nav current state.
   Icons are CSS masks with data: SVGs (CSP img-src allows data:), no inline
   styles or scripts. Each section sets --sec; icons are decorative only. */
.pricing { --sec: #3dd6c6; --sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); }
.how-strip { --sec: #7aa2ff; --sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.constraints { --sec: #f0c14b; --sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.setup { --sec: #6ee7a8; --sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0 5 5L12 19a2.1 2.1 0 0 1-3-3l7.7-7.7'/%3E%3Cpath d='M14.7 6.3 17 4l3 3-2.3 2.3'/%3E%3C/svg%3E"); }
.faq { --sec: #c4a7ff; --sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .8-1 1.5'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E"); }
/* Heading squares/icons removed 2026-10-15 (Dany); thin underline accent kept. */
.section h2 { padding-bottom: 0.35rem; border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, var(--sec, var(--accent)) 0 3rem, transparent 3rem) 1; }
.how-strip h2 { margin-bottom: 1rem; }
.setup #heartbeat { --sec: #ff8fa3; --sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-5 4 10 2-5h6'/%3E%3C/svg%3E"); }
.setup .delivery-h { --sec: #7aa2ff; --sec-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='M22 2 15 22l-4-9-9-4z'/%3E%3C/svg%3E"); }

/* "What HookWatch does for you" tiles: one accent + icon each */
.strip-step:nth-child(1) { --tile: #3dd6c6; --tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E"); }
.strip-step:nth-child(2) { --tile: #7aa2ff; --tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.strip-step:nth-child(3) { --tile: #f0c14b; --tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.strip-step { position: relative; border-top: 3px solid var(--tile, var(--border)); }
.strip-step .strip-num { color: var(--tile, var(--accent)); background: color-mix(in srgb, var(--tile, var(--accent)) 16%, transparent); }
.strip-step::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  right: 1.1rem;
  width: 1.35rem;
  height: 1.35rem;
  background-color: var(--tile, var(--accent));
  opacity: 0.85;
  -webkit-mask: var(--tile-icon) center / contain no-repeat;
  mask: var(--tile-icon) center / contain no-repeat;
}
.strip-step h3 { padding-right: 1.8rem; }

/* Nav: hover / keyboard focus / current section (CSS only via :target) */
.nav-link { position: relative; border-radius: 6px; }
.nav-link:hover { color: var(--text); }
.nav-link:focus-visible { color: var(--text); outline: 2px solid var(--accent); outline-offset: 3px; text-decoration: none; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.15s ease-out;
}
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); opacity: 0.6; }
body:has(#pricing:target) .nav-link[href="#pricing"],
body:has(#how-strip:target) .nav-link[href="#how-strip"],
body:has(#setup:target, #heartbeat:target) .nav-link[href="#setup"],
body:has(#faq:target) .nav-link[href="#faq"] { color: var(--text); font-weight: 600; }
body:has(#pricing:target) .nav-link[href="#pricing"]::after,
body:has(#how-strip:target) .nav-link[href="#how-strip"]::after,
body:has(#setup:target, #heartbeat:target) .nav-link[href="#setup"]::after,
body:has(#faq:target) .nav-link[href="#faq"]::after { transform: scaleX(1); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .nav-link::after { transition: none; } }

/* Collapsible "Technical details" in the setup guide (native <details>, no JS) */
.tech-details { margin: 0.75rem 0 0; border: 1px solid var(--border); border-radius: 10px; background: rgba(10, 16, 28, 0.6); }
.tech-details > summary { cursor: pointer; list-style: none; padding: 0.5rem 0.8rem; font-size: 0.88rem; font-weight: 600; color: var(--muted); border-radius: 10px; }
.tech-details > summary::-webkit-details-marker { display: none; }
.tech-details > summary::before { content: "▸"; display: inline-block; width: 1em; color: var(--sec, var(--accent)); transition: transform 0.15s ease-out; }
.tech-details[open] > summary::before { transform: rotate(90deg); }
.tech-details > summary:hover { color: var(--text); }
.tech-details > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; color: var(--text); }
.tech-details > :not(summary) { margin: 0 0.8rem 0.7rem; }
.tech-details > ul.setup-facts { padding-left: 1.4rem; }
@media (prefers-reduced-motion: reduce) { .tech-details > summary::before { transition: none; } }

/* Setup checklist stepper (design option C, picked 2026-10-10).
   Tick boxes are native checkboxes with real labels; state is client-side
   only (no JS, no storage). :has() only adds the "all done" highlight. */
.cs-steps { list-style: none; margin: 0; padding: 0; max-width: 760px; }
/* Defensive (iOS hotfix 2026-10-11): no native list markers, ever, set directly
   on the list and its items (never via :has() or nesting). */
ol.cs-steps, .setup ol.cs-steps { list-style: none; list-style-type: none; padding-left: 0; margin-left: 0; }
.cs-steps > li, .cs-step { list-style: none; list-style-type: none; }
.cs-steps > li::marker { content: ""; }
.cs-step { position: relative; padding: 0 0 1.4rem; min-width: 0; }
.cs-step:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background: var(--border); }
.cs-tick { position: absolute; top: 0; right: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.cs-row { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.cs-num { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent-dim); border: 2px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 1.35rem; line-height: 1; }
.setup .cs-row h3 { margin: 0; flex: 1; min-width: 0; font-size: 1.2rem; line-height: 1.25; }
.cs-box { position: relative; flex-shrink: 0; width: 44px; height: 44px; margin: 0 -12px 0 auto; cursor: pointer; display: block; }
.cs-box::before { content: ""; position: absolute; inset: 12px; border: 2px solid var(--muted); border-radius: 6px; background: transparent; transition: background-color 0.15s, border-color 0.15s; }
.cs-box::after { content: ""; position: absolute; inset: 14px; background-color: #06221f; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0; }
.cs-box:hover::before { border-color: var(--text); }
.cs-tick:focus-visible ~ .cs-row .cs-box::before { outline: 2px solid var(--accent); outline-offset: 3px; }
.cs-tick:checked ~ .cs-row .cs-box::before { background: var(--accent); border-color: var(--accent); }
.cs-tick:checked ~ .cs-row .cs-box::after { opacity: 1; }
.cs-tick:checked ~ .cs-row .cs-num { background: var(--accent); color: #06221f; }
.cs-tick:checked ~ .cs-row h3 { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(61, 214, 198, 0.7); }
.cs-body, .cs-link, .cs-crumb, .cs-step > details { margin-left: 64px; }
.cs-body { margin-top: 0.35rem; margin-bottom: 0; color: var(--muted); font-size: 0.97rem; }
.cs-body strong { color: var(--text); }
.cs-link { margin-top: 0.7rem; display: flex; align-items: center; gap: 0.6rem; max-width: 560px; min-width: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 0.55rem 0.6rem 0.55rem 1rem; }
.cs-link code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 0.86rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-link-btn { flex-shrink: 0; display: inline-flex; align-items: center; border-radius: 8px; background: var(--accent); color: #06221f; font-weight: 700; font-size: 0.85rem; padding: 0.45rem 0.8rem; text-decoration: none; }
.cs-link-btn:hover { background: var(--accent-strong); color: #06221f; text-decoration: none; }
.cs-link-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.cs-crumb { margin-top: 0.55rem; margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.88rem; color: var(--muted); }
.cs-chip { background: rgba(148, 163, 184, 0.12); color: var(--text); padding: 0.15rem 0.55rem; border-radius: 6px; }
.cs-example { margin-top: 0.45rem; font-size: 0.9rem; color: var(--muted); }
.cs-example > summary { cursor: pointer; list-style: none; border-radius: 6px; }
.cs-example > summary::-webkit-details-marker { display: none; }
.cs-see { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cs-see::after { content: " ▸"; display: inline-block; text-decoration: none; transition: transform 0.15s ease-out; }
.cs-example[open] .cs-see::after { transform: rotate(90deg); }
.cs-example > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cs-example > p { margin: 0.6rem 0 0; }
.cs-example pre.code { max-width: 100%; }
.cs-step > .cs-tech { max-width: 560px; }
.cs-tech p { font-size: 0.9rem; color: var(--muted); }
.cs-done { margin-top: 0.6rem; max-width: 760px; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: 16px; background: linear-gradient(90deg, rgba(61, 214, 198, 0.18), rgba(61, 214, 198, 0.04)); border: 1px solid rgba(61, 214, 198, 0.45); transition: box-shadow 0.2s, border-color 0.2s; }
.cs-done-ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--accent); position: relative; }
.cs-done-ico::after { content: ""; position: absolute; inset: 12px; background-color: #06221f; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.cs-done p { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.95rem; }
.cs-done .cs-done-title { margin: 0; color: var(--text); font-size: 1.25rem; font-weight: 700; }
.setup:has(#cs-1:checked):has(#cs-2:checked):has(#cs-3:checked):has(#cs-4:checked):has(#cs-5:checked) .cs-done { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61, 214, 198, 0.25), 0 0 40px rgba(61, 214, 198, 0.18); background: linear-gradient(90deg, rgba(61, 214, 198, 0.28), rgba(61, 214, 198, 0.08)); }
.cs-note { margin: 1.6rem 0 0; max-width: 760px; display: flex; gap: 0.75rem; align-items: center; padding: 0.85rem 1.1rem; border-radius: 12px; border: 1px dashed var(--border); background: rgba(91, 140, 255, 0.06); color: var(--muted); font-size: 0.93rem; }
.cs-note strong { color: var(--text); }
.cs-note-ico { width: 22px; height: 22px; flex-shrink: 0; background-color: #ff8fa3; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-5 4 10 2-5h6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-5 4 10 2-5h6'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 640px) {
  .cs-step:not(:last-child)::before { left: 19px; top: 44px; }
  .cs-num { width: 40px; height: 40px; font-size: 1.15rem; }
  .cs-row { gap: 0.75rem; }
  .setup .cs-row h3 { font-size: 1.08rem; }
  .cs-body, .cs-link, .cs-crumb, .cs-step > details { margin-left: 52px; }
  .cs-link { padding-left: 0.75rem; }
  .cs-link code { font-size: 0.8rem; }
  .cs-example pre.code { white-space: pre-wrap; overflow-wrap: break-word; }
  .cs-done { padding: 0.95rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { .cs-box::before, .cs-see::after, .cs-done { transition: none; } }

/* FAQ: visible keyboard focus on the dark theme (same ring as nav / Technical details) */
.faq details > summary { border-radius: 6px; }
.faq details > summary:focus-visible,
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Webhook Checker for TradingView (2026-10-14): no-JS form */
.checker-form { display: grid; gap: 0.45rem; max-width: 720px; margin: 1.2rem 0 2rem; padding: 1.2rem; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); }
.checker-form label { font-weight: 600; margin-top: 0.4rem; }
.checker-form input[type="url"], .checker-form textarea { width: 100%; box-sizing: border-box; padding: 0.7rem 0.8rem; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; }
.checker-form textarea { font-family: var(--mono); font-size: 14px; min-height: 8rem; }
.checker-form input:focus, .checker-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.checker-form .check { display: flex; gap: 0.55rem; align-items: center; font-weight: 400; }
.checker-form .check input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent); }
.checker-form button { cursor: pointer; border: 0; font: inherit; }
.checker .fine, .checker-form .fine { color: var(--muted); font-size: 0.85rem; }

/* 2026-10-14 guides (/guides/*): checker callout + CTA row. Static, no JS. */
.guide .wrap { max-width: 820px; }
.guide h2 { margin-top: 2rem; }
.guide li { margin: 0.35rem 0; }
.guide-box { margin: 1.5rem 0; padding: 1rem 1.2rem; background: var(--bg-elevated); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.guide-box p { margin: 0; }
.guide-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 1rem; }
.guide-cta .btn { white-space: normal; text-align: center; }
.guide pre.code { overflow-x: auto; }

/* Compare page (/compare/direct-vs-holdalarms): real 3-column table on every width (fits 390px, wraps). */
.cmp-legend { color: var(--text); font-size: 0.8125rem; margin: 0 0 0.6rem; }
.cmp-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; color: var(--text); background: var(--bg-elevated); border: 1px solid rgba(148, 163, 184, 0.3); }
.cmp-table th, .cmp-table td { padding: 0.75rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(148, 163, 184, 0.14); overflow-wrap: anywhere; }
.cmp-table thead th { background: #1c2740; color: #ffffff; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; border-bottom-color: rgba(148, 163, 184, 0.3); }
.cmp-table tbody th { color: #ffffff; font-weight: 600; width: 36%; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; vertical-align: 0.12em; margin-right: 0.35em; }
.cmp-good { background: #34d399; }
.cmp-partial { background: #fbbf24; }
.cmp-bad { background: #f87171; }
.cmp-notes { color: var(--text); padding-left: 1.4rem; }
.cmp-notes li { margin-bottom: 0.5rem; }
@media (max-width: 640px) {
  .cmp-table { font-size: 0.8125rem; }
  .cmp-table thead th { font-size: 0.75rem; }
  .cmp-table th, .cmp-table td { padding: 0.6rem 0.45rem; }
  .cmp-table tbody th { width: 31%; }
  .cmp-dot { width: 6px; height: 6px; margin-right: 0.3em; }
}

/* ---------- Liquid glass (CSS only, v20261016r) ---------- */
:root {
  --glass-bg: rgba(22, 32, 54, 0.4);
  --glass-bg-strong: rgba(14, 22, 38, 0.55);
  --glass-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 60%);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-hl: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  --glass-blur: blur(18px) saturate(160%);
}
/* Glow blobs behind all content (no markup; fixed layer, no filter = cheap). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42vmax 34vmax at 88% 6%, rgba(91, 140, 255, 0.34), transparent 62%),
    radial-gradient(38vmax 30vmax at 4% 32%, rgba(61, 214, 198, 0.27), transparent 62%),
    radial-gradient(36vmax 28vmax at 70% 88%, rgba(168, 85, 247, 0.23), transparent 62%);
}
.site-header {
  background: var(--glass-sheen), var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.18);
}
.card, .info-card, .flow, .flow-node, .steps > li, .fail-card, .timeline-panel, .setup-card,
.contrast-table-wrap, .faq-item, .price-card, .strip-step, .price-table-wrap, .cs-link,
.checker-form, .guide-box, .pill, .cmp-table {
  background: var(--glass-sheen), var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border);
  box-shadow: var(--glass-hl), 0 10px 30px rgba(0, 0, 0, 0.22);
}
.guide-box { border-left-color: var(--accent); }
.card-yes { background: linear-gradient(180deg, rgba(61, 214, 198, 0.12) 0%, transparent 45%), var(--glass-bg); }
.card-no { background: linear-gradient(180deg, rgba(248, 113, 113, 0.13) 0%, transparent 45%), var(--glass-bg); }
.card-featured, .price-card-featured, .flow-node-accent { background: linear-gradient(180deg, rgba(61, 214, 198, 0.13) 0%, transparent 50%), var(--glass-bg); }
.info-card-warn { background: linear-gradient(180deg, rgba(240, 193, 75, 0.12) 0%, transparent 55%), var(--glass-bg); }
.cmp-table thead th { background: rgba(28, 39, 64, 0.72); }
/* Home: keep sections transparent so the glow shows through */
.home-terminal .section, .home-terminal .dir-c { background-color: transparent; }
/* Solid fallbacks */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass-bg: #152036; --glass-bg-strong: #0e1626; --glass-sheen: none; }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --glass-bg: #152036; --glass-bg-strong: #0e1626; --glass-blur: none; --glass-sheen: none; }
  body::before { display: none; }
  .cmp-table thead th { background: #1c2740; }
}

/* Site polish 2026-10-16 */
/* Footer text column starts at the page's left edge (it was centred in a narrower box). */
.wrap.footer-inner { max-width: none; }
.footer-inner > * { max-width: 44rem; }
/* FAQ cards: spacing after the list, open answers keep their links readable. */
.faq-list { margin-top: 1.25rem; }
.faq-after { margin-top: 1.25rem; }
.faq-item p a { color: var(--accent); }
/* Short header names (X-HookWatch-Attempt) stay on one line instead of breaking after "X-" at 390px. */
.faq-item p code { white-space: nowrap; }
/* Billing toggle: keep each option on one line on phones. */
.bill-opt { white-space: nowrap; }
@media (max-width: 480px) {
  .bill-toggle { flex-direction: column; width: 100%; border-radius: 18px; }
  .bill-opt { text-align: center; border-radius: 14px; }
}

/* 2026-10-16 checker: long template lines (PineConnector) wrap inside the card instead of widening the page on phones */
.checker pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.checker pre code, .checker code { white-space: inherit; overflow-wrap: anywhere; }
.checker p code, .checker li code { white-space: normal; }

/* /guides/ hub list */
.guide-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .75rem; }
.guide-list li { padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.04); line-height: 1.5; }

/* Glass consistency 2026-10-16 (v20261016r): guide bodies, guides hub cards and the static checker's
   lower sections use the same black glass as the home pricing cards. */
.guide .wrap > ul:not(.guide-list), .guide .wrap > ol, .guide pre.code, .guide-list li,
.checker .wrap > ul:not(.guide-list), .checker .wrap > pre {
  background: var(--glass-sheen), var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--glass-hl), 0 10px 30px rgba(0, 0, 0, 0.22);
}
.guide .wrap > ul:not(.guide-list), .guide .wrap > ol, .checker .wrap > ul:not(.guide-list) { padding: 0.9rem 1.1rem 0.9rem 2.3rem; margin: 0.9rem 0; }
.guide pre.code, .checker .wrap > pre { padding: 0.9rem 1rem; }
.guide-list li { padding: 0.9rem 1rem; transition: border-color 0.15s; }
.guide-list li:hover { border-color: rgba(61, 214, 198, 0.45); }
@media (max-width: 480px) {
  .guide .wrap > ul:not(.guide-list), .guide .wrap > ol, .checker .wrap > ul:not(.guide-list) { padding: 0.8rem 0.9rem 0.8rem 1.9rem; }
}

/* Mobile fixes 2026-10-16 (v20261016r): no iOS zoom on checker fields; 44px tap targets. */
.checker-form input, .checker-form textarea, .checker-form select { font-size: 16px; }
.checker-form select { min-height: 44px; }
.checker-form label.check { min-height: 44px; display: flex; align-items: center; gap: 0.6rem; }
.checker-form label.check input[type=checkbox] { width: 22px; height: 22px; flex-shrink: 0; margin: 0; }
.bill-opt { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }

/* Ride-along #9 (2026-10-17, v20261017d): no-JS mobile menu. A <details> "Menu" holds the text links that the header
   hides on narrow screens (Sign in and Start free stay in the bar). The panel floats, so the sticky header keeps its height. */
.nav-menu { display: none; position: relative; }
@media (max-width: 800px) {
  .nav-menu { display: block; }
  .nav { flex-wrap: nowrap; gap: 0.5rem 0.7rem; }
}
.nav-menu > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 0.75rem;
  border: 1px solid var(--glass-border, var(--border)); border-radius: 999px; color: var(--text); font-size: 0.9rem;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::marker { content: ""; }
.nav-menu > summary::before {
  content: ""; width: 14px; height: 10px; flex-shrink: 0;
  background: linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat;
}
.nav-menu[open] > summary { border-color: var(--accent); color: var(--accent); }
.nav-menu > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nav-menu-panel {
  position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 20; min-width: 12rem; max-width: calc(100vw - 2rem);
  display: grid; gap: 0.15rem; padding: 0.4rem; border-radius: 14px;
  background: rgba(10, 16, 28, 0.97); border: 1px solid var(--glass-border, var(--border)); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.nav-menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 0.85rem; border-radius: 10px; color: var(--text); text-decoration: none; }
.nav-menu-panel a:hover, .nav-menu-panel a:focus-visible { background: rgba(255, 255, 255, 0.07); text-decoration: none; }
.nav-menu-panel a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.nav-menu-panel a[aria-current="page"] { color: var(--accent); font-weight: 600; }

/* Fit at 390px: Sign in stays on one line; the summary keeps a 44px tap target without making the sticky header taller;
   under 420px the menu shows only its icon (the word "Menu" stays as its accessible name). */
.nav .nav-link.nav-login { white-space: nowrap; }
.nav-menu > summary { margin-block: -4px; }
/* Ride-along med follow-up (v20261017d): Sign in + Start free 44px tap targets without growing the 67px header. */
.nav .nav-link.nav-login, .nav .btn-sm { min-height: 44px; display: inline-flex; align-items: center; margin-block: -3.5px; }
@media (max-width: 420px) {
  .nav-menu > summary { width: 44px; padding: 0; justify-content: center; }
  .nav-menu-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

/* Ride-along #7 (2026-10-17): copy button under code blocks, added by /copy.js only (no JS = no button). */
.copy-bar { display: flex; align-items: center; justify-content: flex-end; gap: 0.6rem; margin: -0.35rem 0 0.9rem; flex-wrap: wrap; }
.copy-btn {
  min-height: 44px; padding: 0 1rem; border-radius: 999px; cursor: pointer; font: inherit; font-size: 0.88rem; font-weight: 600;
  color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-border, var(--border));
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.copy-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.copy-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
