/* ===== shared/base.css ===== */
/* Shared layer for the Oct 29 home-page mockups (local only).
   Load order: ../styles.css (colour tokens, Inter, header, buttons) -> this -> the direction's own CSS.
   Nothing here is used by the live site. */

:root {
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --accent: linear-gradient(90deg, #3b82f6, #22d3ee);
  --accent-a: #3b82f6;
  --accent-b: #22d3ee;
  --live: #22c55e;
  --wrap: 1160px;
  --gutter: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* Inset and card surfaces, so each ground can restate them */
  --well: #070d19;
  --card-top: rgba(23, 34, 58, 0.94);
  --card-bot: rgba(15, 23, 41, 0.94);
  --panel: #0d1526;
  --bubble: #18233b;
  --input-bg: #0b1322;
}

/* True-black ground (Jacob, 29 Oct: "maybe try black"). Same accent, neutral greys. */
html[data-ground="black"] {
  --bg: #050507;
  --bg-alt: #0a0a0d;
  --surface: #0e0e12;
  --surface-2: #16161b;
  --surface-90: rgba(14, 14, 18, 0.9);
  --surface-60: rgba(14, 14, 18, 0.6);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --card-line: rgba(255, 255, 255, 0.1);
  --fg: #fafafa;
  --text: #e4e4e7;
  --text-2: #a1a1aa;
  --muted: #8b8b94;
  --tint: rgba(59, 130, 246, 0.14);
  --tint-strong: rgba(59, 130, 246, 0.22);
  --well: #08080a;
  --card-top: #121216;
  --card-bot: #0c0c0f;
  --panel: #0c0c0f;
  --bubble: #18181d;
  --input-bg: #09090b;
}

html[data-ground="black"] body {
  background: var(--bg);
}

html[data-ground="black"] .site-header {
  background: rgba(5, 5, 7, 0.78);
  border-bottom-color: var(--line);
}

html[data-ground="black"] .site-header-scrolled {
  background: rgba(5, 5, 7, 0.92);
  border-color: var(--line-strong);
  box-shadow: none;
}

html[data-ground="black"] .mobile-menu {
  background: rgba(5, 5, 7, 0.98);
}

html[data-ground="black"] .nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

html[data-ground="black"] .nav-link-active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  box-shadow: 0 0 0 1px var(--line-strong);
}

html[data-ground="black"] .nav-link-cta,
html[data-ground="black"] .mobile-nav-link-cta,
html[data-ground="black"] .btn-primary {
  background: #fafafa;
  color: #09090b;
  box-shadow: none;
}

html[data-ground="black"] .nav-link-cta:hover,
html[data-ground="black"] .mobile-nav-link-cta:hover,
html[data-ground="black"] .btn-primary:hover {
  background: #fff;
  color: #09090b;
}

html[data-ground="black"] .btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  box-shadow: none;
}

html[data-ground="black"] .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

body.page {
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

.page .shell,
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (max-width: 520px) {
  :root {
    --gutter: 16px;
  }
}

/* Header: same chrome as the live site, brand slot holds a placeholder wordmark */

.page .site-header {
  position: sticky;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  color: var(--fg);
  text-decoration: none;
}

.wordmark:hover {
  text-decoration: none;
}

/* Dashed square: "logo goes here", the name is still being chosen */
.wordmark::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  border: 1.5px dashed rgba(148, 163, 184, 0.7);
  border-radius: 4px;
}

/* Type helpers */

.mono {
  font-family: var(--mono);
  font-feature-settings: normal;
}

.label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.grad-text {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Live / available: the only place green is used */

.live-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

@media (prefers-reduced-motion: no-preference) {
  .live-dot {
    animation: live-ping 2.6s ease-in-out infinite;
  }
}

@keyframes live-ping {
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

/* Signature block: the person behind the studio */

.signature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
}

.signature img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}

.signature-name {
  display: block;
  color: var(--fg);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.signature-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.signature-meta .live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ok);
}

/* Motion move 1: rise on reveal. Content stays visible without JS. */

html.js .rise {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

html.js .rise.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .rise {
    opacity: 1;
    transform: none;
    transition: none;
  }
}



/* Mockup orientation tag, hidden in captures */























/* Footer with the standalone pages (care plan, Hebrew care, About, guides) */

.site-foot {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.site-foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}

.foot-links a {
  color: var(--text-2);
}

.foot-links a:hover {
  color: var(--fg);
}

.foot-soon {
  color: var(--muted);
}

.sig-link,
.inline-link {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: rgba(96, 165, 250, 0.4);
  text-underline-offset: 3px;
}

.sig-link:hover,
.inline-link:hover {
  color: var(--link-hover);
}

.inline-link {
  display: inline-block;
  margin-left: 2px;
}

.inline-link::after {
  content: " \2192";
}

/* Focus rings that read on the dark ground */

.page :focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

/* Long offer eyebrows: tighter tracking on phones so "· AI" doesn't wrap alone */
@media (max-width: 520px) {
  .page .label {
    letter-spacing: 0.08em;
    font-size: 0.68rem;
  }
}


/* ===== shared/chat-demo.css ===== */
/* GhostChat replica, skinned in the site's blue-to-cyan. */

.gc {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 388px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 14px;
  text-align: left;
}

.gc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(120deg, #1d4ed8, #0e7490);
  color: #fff;
}

.gc-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  flex-shrink: 0;
}

.gc-id strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
}

.gc-id > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.gc-head .live-dot {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
  animation: none;
}

.gc-dots,
.gc-close {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.gc-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 20px;
}

.gc-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 290px;
  max-height: 350px;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.gc-msg {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.48;
}

.gc-msg.bot {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: var(--bubble);
  color: var(--text);
}

.gc-msg.me {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: linear-gradient(120deg, #2563eb, #0891b2);
  color: #fff;
}

.gc-src {
  display: block;
  margin-top: 6px;
  font: 500 10.5px/1.3 var(--mono);
  letter-spacing: 0.02em;
  color: var(--muted);
}

.gc-typing {
  display: inline-flex;
  gap: 4px;
  padding: 13px 14px;
}

.gc-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
}

@media (prefers-reduced-motion: no-preference) {
  .gc-typing i {
    animation: gc-dot 1.1s ease-in-out infinite;
  }

  .gc-typing i:nth-child(2) {
    animation-delay: 0.15s;
  }

  .gc-typing i:nth-child(3) {
    animation-delay: 0.3s;
  }
}

@keyframes gc-dot {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: none;
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.gc-sys {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 500 11px/1.3 var(--mono);
  color: var(--text-2);
}

.gc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
}

.gc-chip {
  padding: 8px 11px;
  border: 1px solid rgba(96, 165, 250, 0.38);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: #bfdbfe;
  font: 500 12.5px/1.15 "Inter", system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.gc-chip:hover {
  background: rgba(59, 130, 246, 0.22);
  color: #fff;
}

.gc-input {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--input-bg);
}

.gc-input input {
  flex: 1;
  min-width: 0;
  padding: 8px 6px;
  border: 0;
  background: transparent;
  color: var(--fg);
  font: 400 14px/1.2 "Inter", system-ui, sans-serif;
}

.gc-input input:focus {
  outline: none;
}

.gc-input:focus-within {
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.45);
}

.gc-input input::placeholder {
  color: #7b8aa0;
}

.gc-input button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, #2563eb, #0891b2);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.gc-foot {
  padding: 0 0 10px;
  background: var(--input-bg);
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.04em;
  text-align: center;
  color: #64748b;
}

/* Floating bubble stand-in */

.gc-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.gc-bubble {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  box-shadow: 0 16px 34px -10px rgba(37, 99, 235, 0.75), 0 0 0 4px rgba(11, 18, 32, 0.85);
  color: #fff;
  cursor: pointer;
}

.gc-bubble svg {
  width: 26px;
  height: 26px;
}

.gc-pop {
  width: min(380px, calc(100vw - 32px));
}

.gc-pop[hidden] {
  display: none;
}

.gc-pop .gc {
  max-width: none;
}

.gc-pop .gc-body {
  min-height: 220px;
}

.gc-note {
  margin: 0;
  max-width: 220px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px 12px 4px 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.4;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.8);
}

.gc-float.is-open .gc-note {
  display: none;
}

@media (max-width: 520px) {
  .gc-float {
    right: 12px;
    bottom: 12px;
  }

  .gc-body {
    min-height: 250px;
  }
}

/* On the true-black ground the widget goes neutral; the accent stays on the avatar and your own messages */
html[data-ground="black"] .gc-head {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

html[data-ground="black"] .gc-avatar {
  background: linear-gradient(135deg, #2563eb, #0891b2);
}

html[data-ground="black"] .gc-msg.me {
  background: #1d4ed8;
}

html[data-ground="black"] .gc-chip {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

html[data-ground="black"] .gc-chip:hover {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(59, 130, 246, 0.1);
}


/* ===== shared/pay-demo.css ===== */
/* Payment flow demo. Front of house is a light checkout, as the customer
   sees it; back of house is the dark log of what the system does. */

.pd {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 20px;
  align-items: stretch;
  text-align: left;
}

@media (max-width: 860px) {
  .pd {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Front of house */

.pd-front {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 18px;
  border-radius: 18px;
  background: #f8fafc;
  color: #0f172a;
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.pd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pd-demo {
  padding: 6px 9px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font: 600 10.5px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pd-order {
  font: 500 12px/1 var(--mono);
  color: #475569;
}

.pd-items {
  display: grid;
  gap: 6px;
  margin: 4px 0 2px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #334155;
}

.pd-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pd-items li span:last-child {
  font: 500 13px/1.4 var(--mono);
}

.pd-items .pd-total {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
  color: #0f172a;
  font-weight: 600;
}

.pd-items .pd-total span:last-child {
  font-weight: 700;
}

.pd-field {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
}

.pd-field > input,
.pd-card {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
}

.pd-field input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  font: 500 15px/1.2 "Inter", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}

.pd-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px 54px;
  overflow: hidden;
}

.pd-card input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.pd-card input + input {
  border-left: 1px solid #e2e8f0;
}

.pd-field > input:focus,
.pd-card:focus-within {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.pd-card input:focus,
.pd-card input:focus-visible {
  outline: none;
}

.pd-field input:disabled {
  color: #475569;
  -webkit-text-fill-color: #475569;
}

.pd-error {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #b91c1c;
}

.pd-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  padding: 13px 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #2563eb, #0891b2);
  box-shadow: 0 12px 24px -10px rgba(37, 99, 235, 0.75);
  color: #fff;
  font: 600 15px/1 "Inter", system-ui, sans-serif;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.pd-pay:hover {
  filter: brightness(1.08);
}

.pd-pay:active {
  transform: translateY(1px);
}

.pd-pay:disabled {
  cursor: progress;
  filter: saturate(0.85);
}

.pd-spin {
  display: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  animation: pd-spin 0.9s linear infinite;
}

.pd[data-state="running"] .pd-spin {
  display: inline-block;
}

@keyframes pd-spin {
  to {
    transform: rotate(360deg);
  }
}

.pd-status {
  min-height: 1.4em;
  margin: 0;
  font: 500 12px/1.4 var(--mono);
  color: #475569;
}

.pd-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}

.pd-hint button {
  padding: 0;
  border: 0;
  background: none;
  color: #1d4ed8;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.pd-hint button:disabled {
  color: #94a3b8;
  cursor: default;
}

.pd-result {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  border-radius: inherit;
  background: #f8fafc;
  text-align: center;
}

.pd-result[hidden] {
  display: none;
}

.pd-result-icon {
  position: relative;
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 14px 30px -12px rgba(37, 99, 235, 0.85);
}

.pd-result-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 22px;
  height: 11px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.pd[data-state="declined"] .pd-result-icon {
  background: #d97706;
  box-shadow: none;
}

.pd[data-state="declined"] .pd-result-icon::after {
  top: 50%;
  width: 3px;
  height: 24px;
  border: 0;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: none;
}

.pd[data-state="declined"] .pd-result-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 24px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.pd-result-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.pd-result-sub {
  max-width: 30ch;
  font: 500 12.5px/1.55 var(--mono);
  color: #475569;
}

.pd-receipt {
  display: grid;
  gap: 0;
  width: min(280px, 100%);
  margin: 10px 0 4px;
  border-top: 1px dashed #cbd5e1;
}

.pd-receipt div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 12.5px;
}

.pd-receipt dt {
  color: #64748b;
}

.pd-receipt dd {
  margin: 0;
  font: 600 12px/1.5 var(--mono);
  color: #0f172a;
}

.pd-again {
  margin-top: 10px;
  padding: 9px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font: 600 13px/1 "Inter", system-ui, sans-serif;
  cursor: pointer;
}

.pd-again:hover {
  border-color: #3b82f6;
}

/* Back of house */

.pd-back {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--well);
  box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.75);
}

.pd-back-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.pd-count {
  margin-left: auto;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.pd-lines {
  display: grid;
  align-content: start;
  gap: 13px;
  margin: 0;
  padding: 16px 16px 18px;
  list-style: none;
}

.pd-wait {
  font: 500 12.5px/1.6 var(--mono);
  color: var(--muted);
}

.pd-line {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  column-gap: 10px;
  row-gap: 3px;
  align-items: baseline;
}

.pd-n {
  grid-row: span 2;
  font: 600 11px/1.6 var(--mono);
  color: #60a5fa;
}

.pd-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--fg);
}

.pd-meta {
  display: flex;
  gap: 8px;
  justify-self: end;
  font: 500 11px/1.6 var(--mono);
  color: var(--muted);
  white-space: nowrap;
}

.pd-who {
  padding: 0 6px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--text-2);
}

.pd-code {
  grid-column: 2 / -1;
  font: 500 12px/1.6 var(--mono);
  color: #9fb3c8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pd[data-state="running"] .pd-line:last-child .pd-code::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: #22d3ee;
}

.pd-line.is-bad .pd-n,
.pd-line.is-bad .pd-title {
  color: #fbbf24;
}

.pd-done {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  font: 500 12.5px/1.45 var(--mono);
  color: var(--text);
}

.pd-done-tag {
  padding: 4px 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, #2563eb, #0891b2);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pd-done.is-bad {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}

.pd-done.is-bad .pd-done-tag {
  background: #b45309;
}

@media (max-width: 520px) {
  .pd-front {
    padding: 18px 16px 16px;
  }

  .pd-line {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .pd-meta {
    grid-column: 2;
    justify-self: start;
  }

  .pd-n {
    grid-row: span 3;
  }

  .pd-back {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-spin {
    animation-duration: 2.4s;
  }
}


/* ===== shared/artifacts.css ===== */
/* Artifact cards shared by the mockups: DNS records, size bars, logs,
   checklists, a Search Console chart and a care report. */

.art {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--well);
  font: 500 12px/1.5 var(--mono);
  color: #9fb3c8;
}

.art figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font: 600 10.5px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.art-note {
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

a.art-note {
  color: var(--link);
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--text-2);
}

.tick {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.tick::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3.5px;
  width: 5px;
  height: 3px;
  border-left: 1.6px solid #0b1220;
  border-bottom: 1.6px solid #0b1220;
  transform: rotate(-45deg);
}

.dns {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.dns th {
  padding: 0 8px 6px 0;
  text-align: left;
  font-weight: 500;
  color: var(--muted);
}

.dns th:nth-child(1) {
  width: 56px;
}

.dns th:nth-child(2) {
  width: 46px;
}

.dns td {
  padding: 5px 8px 5px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  color: #cbd5e1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dns td:first-child {
  color: #22d3ee;
}

.bars {
  display: grid;
  gap: 8px;
}

.bar {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.bar i {
  display: block;
  width: var(--w);
  min-width: 6px;
  height: 10px;
  border-radius: 5px;
  background: var(--accent);
}

.bar.is-muted i {
  background: rgba(148, 163, 184, 0.3);
}

.bar b {
  font-weight: 600;
  color: var(--fg);
}

.bar.is-muted b {
  color: var(--muted);
}

.log,
.checks,
.report {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.log {
  gap: 6px;
}

.log li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 8px;
}

.log b {
  font-weight: 600;
  color: #22d3ee;
}

.log span {
  color: #cbd5e1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.log em {
  font-style: normal;
  color: var(--muted);
}

.checks {
  gap: 7px;
  color: #cbd5e1;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.checks li::before,
.report li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22d3ee;
  flex-shrink: 0;
}

.gsc {
  display: block;
  width: 100%;
  height: auto;
}

.gsc-grid line {
  stroke: rgba(148, 163, 184, 0.12);
}

.gsc-area {
  fill: url(#gsc-fill);
}

.gsc-imp,
.gsc-clk {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
}

.gsc-imp {
  stroke: #3b82f6;
}

.gsc-clk {
  stroke: #22d3ee;
}

.gsc-legend .key {
  width: 14px;
  height: 2px;
  border-radius: 1px;
}

.key-imp {
  background: #3b82f6;
}

.key-clk {
  margin-left: 6px;
  background: #22d3ee;
}

.gsc-months {
  margin-left: auto;
  color: var(--muted);
}

.report li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.report li:first-child {
  border-top: 0;
  padding-top: 0;
}

.report b,
.report .upbars {
  margin-left: auto;
}

.report b {
  font-weight: 600;
  color: #e2e8f0;
}

.upbars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.upbars i {
  width: 3px;
  height: 13px;
  border-radius: 1.5px;
  background: #22d3ee;
  opacity: 0.85;
}

.upbars i.blip {
  height: 7px;
  background: #f59e0b;
}



/* ===== a-story.css ===== */
/* Direction A: the six-beat story.
   System: one slant angle (6deg) for every edge and line; three motion moves
   (rise on reveal, count up, log lines typing) plus the hero's slow aurora and
   slight pointer parallax; Inter for display, system mono for logs, prices and
   labels; blue-to-cyan is the only accent, green only means live/available. */

.story {
  --cut: 10.51vw; /* tan(6deg) x viewport width: a 6deg edge at any width */
}

.story .live-dot {
  animation: none;
}

.story h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
}

/* ---------- Beat 1 · Look ---------- */

.look {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 calc(var(--cut) + 64px);
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.aurora-drift {
  position: absolute;
  inset: -8%;
}

.aurora i {
  position: absolute;
  border-radius: 50%;
}

.aurora i:nth-child(1) {
  right: -14vmax;
  top: -26vmax;
  width: 64vmax;
  height: 64vmax;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.42), rgba(59, 130, 246, 0));
}

.aurora i:nth-child(2) {
  right: 14vmax;
  top: 4vmax;
  width: 50vmax;
  height: 50vmax;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.2), rgba(34, 211, 238, 0));
}

.aurora i:nth-child(3) {
  left: -24vmax;
  bottom: -30vmax;
  width: 72vmax;
  height: 50vmax;
  background: radial-gradient(closest-side, rgba(29, 78, 216, 0.36), rgba(29, 78, 216, 0));
}

@media (prefers-reduced-motion: no-preference) {
  .aurora i:nth-child(1) {
    animation: drift-a 38s ease-in-out infinite alternate;
  }
  .aurora i:nth-child(2) {
    animation: drift-b 46s ease-in-out infinite alternate;
  }
  .aurora i:nth-child(3) {
    animation: drift-c 54s ease-in-out infinite alternate;
  }
}

@keyframes drift-a {
  to {
    transform: translate(-9vmax, 7vmax) scale(1.12);
  }
}

@keyframes drift-b {
  to {
    transform: translate(9vmax, -5vmax) scale(0.88);
  }
}

@keyframes drift-c {
  to {
    transform: translate(11vmax, -7vmax) scale(1.08);
  }
}



/* Hairlines at the same 6deg, fading out from behind the chat */
.look-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(84deg, rgba(148, 163, 184, 0.075) 0 1px, transparent 1px 92px);
  -webkit-mask-image: radial-gradient(110% 85% at 72% 22%, #000 25%, transparent 72%);
  mask-image: radial-gradient(110% 85% at 72% 22%, #000 25%, transparent 72%);
}

.look-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.look h1 {
  max-width: 14ch;
  margin: 16px 0 14px;
  font-size: clamp(2.5rem, 4.7vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.look-sub {
  margin: 0 0 22px;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.look-lede {
  max-width: 46ch;
  margin: 0 0 30px;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--text-2);
}

.look-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.look-object {
  display: flex;
  justify-content: flex-end;
}

.look-float {
  width: 100%;
  max-width: 392px;
}

.look-caption {
  margin: 0 0 14px 4px;
  font-size: 1.08rem;
  color: var(--text-2);
}

.look-caption strong {
  color: var(--fg);
  font-weight: 600;
}

#hero-chat .gc-body {
  min-height: 286px;
}

/* ---------- Bands: 6deg top and bottom edges ---------- */

.band {
  position: relative;
  margin-top: calc(var(--cut) * -1);
  padding: calc(var(--cut) + 56px) 0 calc(var(--cut) + 72px);
  background: var(--bg-alt);
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}

.band-edge {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--cut);
  overflow: visible;
  pointer-events: none;
}

.band-edge line {
  stroke: rgba(96, 165, 250, 0.55);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

/* ---------- Beat 2 · Under the hood ---------- */

.hood {
  padding-bottom: calc(var(--cut) + 36px);
  background:
    radial-gradient(70% 60% at 18% 35%, rgba(59, 130, 246, 0.1), transparent 70%),
    var(--bg-alt);
}

.hood-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.hood-head h2 {
  margin: 12px 0 14px;
}

.hood-head p:last-child {
  max-width: 66ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-2);
}

/* ---------- Beat 3 · The journey ---------- */

.rail {
  position: relative;
}

.journey {
  padding: 28px 0 120px;
}

.journey-inner {
  position: relative;
}

.journey-head {
  max-width: 430px;
  margin-bottom: 8px;
}

.journey-head h2 {
  margin: 12px 0 14px;
}

.journey-head p:last-child {
  max-width: 40ch;
  margin: 0;
  color: var(--text-2);
  line-height: 1.7;
}

@media (min-width: 861px) {
  .journey-inner.is-laid .journey-head {
    position: absolute;
    left: var(--gutter);
    top: 0;
    width: 430px;
  }

  .stops.is-laid .stop {
    position: absolute;
    left: 0;
    right: 0;
  }

  .stops.is-laid .stop + .stop {
    margin-top: 0;
  }
}

.spine {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
}

.spine i {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: var(--len, 0px);
  margin-left: -1px;
  transform: rotate(-6deg);
  transform-origin: top center;
  background: linear-gradient(to bottom, rgba(34, 211, 238, 0.95), rgba(59, 130, 246, 0.6) 35%, rgba(59, 130, 246, 0.18));
}

.spine.is-flat i {
  transform: none;
}

.spine::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.16);
}

.stops {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  --card: 420px;
  --gap: 40px;
  --dy: 30px;
}

.stop {
  position: relative;
}

.stop + .stop {
  margin-top: 24px;
}

.stop-dot {
  position: absolute;
  left: var(--x, 50%);
  top: var(--dy);
  z-index: 3;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.12);
}

.stop-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: calc(var(--gap) - 12px);
  height: 1px;
  margin-left: 4px;
  background: rgba(96, 165, 250, 0.45);
}

.stop[data-side="left"] .stop-dot::after {
  left: auto;
  right: 100%;
  margin: 0 4px 0 0;
}

.stop-card {
  position: relative;
  width: min(var(--card), 100%);
  margin-left: calc(var(--x, 50%) + var(--gap));
  padding: 18px 18px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--card-top), var(--card-bot));
  box-shadow: 0 26px 50px -32px rgba(0, 0, 0, 0.95);
}

.stop[data-side="left"] .stop-card {
  margin-left: calc(var(--x, 50%) - var(--gap) - min(var(--card), 100%));
}

.stop-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.stop-n {
  font: 600 12px/1 var(--mono);
  color: #60a5fa;
}

.stop-head h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.stop-tag {
  margin-left: auto;
  font: 500 11px/1 var(--mono);
  color: var(--muted);
  white-space: nowrap;
}

.stop-card > p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* ---------- Beat 4 · Who paid ---------- */

.paid {
  padding-bottom: calc(var(--cut) + 48px);
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(59, 130, 246, 0.1), transparent 70%),
    var(--bg-alt);
}

.paid-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: 30px;
}

.numbers {
  display: grid;
  gap: 26px;
  margin: 0;
}

.numbers dt b {
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}

.numbers dd {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-2);
}

.quotes {
  display: grid;
  gap: 40px;
}

.quote {
  margin: 0;
}

.quote blockquote {
  margin: 0;
}

.quote p {
  margin: 0;
  font-size: clamp(1.4rem, 2.25vw, 1.95rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--fg);
  text-indent: -0.42em;
}

.quote p::before {
  content: "\201C";
  color: #60a5fa;
}

.quote p::after {
  content: "\201D";
  color: #60a5fa;
}

.quote figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 14px;
  font-size: 0.88rem;
}

.quote figcaption strong {
  color: var(--fg);
  font-weight: 600;
}

.quote figcaption span {
  color: var(--muted);
}

.shiplog {
  padding: 16px 16px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--well);
}

.shiplog header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.shiplog-range {
  font: 500 11px/1 var(--mono);
  color: var(--muted);
}

.shiplog ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shiplog li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 2px 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.shiplog time {
  grid-row: span 2;
  font: 500 11.5px/1.55 var(--mono);
  color: var(--muted);
}

.shiplog .prod {
  font: 600 10.5px/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #60a5fa;
}

.shiplog li p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text);
}

/* ---------- Beat 5 · Terms ---------- */

.terms {
  padding: 40px 0 calc(var(--cut) + 40px);
}

.terms-panel {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
}

.terms-panel header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.terms-panel h2 {
  margin-top: 10px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

.terms-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  margin: 0;
}

.terms-list > div {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.terms-list dt {
  font: 600 11px/1.75 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.terms-list dd {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text);
}

.terms-list .price {
  display: block;
  margin-bottom: 2px;
  font: 600 0.95rem/1.5 var(--mono);
  color: var(--fg);
}

/* ---------- Beat 6 · Start ---------- */

.start {
  padding-bottom: calc(var(--cut) + 40px);
  background:
    radial-gradient(60% 80% at 85% 30%, rgba(34, 211, 238, 0.1), transparent 70%),
    radial-gradient(60% 80% at 10% 80%, rgba(59, 130, 246, 0.14), transparent 70%),
    var(--bg-alt);
}

.start h2 {
  margin: 0 0 30px;
  font-size: clamp(2.2rem, 4.5vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.start h2 .grad-text {
  display: block;
  width: fit-content;
}

.start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .paid-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .quotes {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

@media (max-width: 960px) {
  .look-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .look-object {
    justify-content: flex-start;
  }

  .terms-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .stops {
    --gap: 26px;
  }

  .stop + .stop {
    margin-top: 22px;
  }

  .stop .stop-card,
  .stop[data-side="left"] .stop-card {
    width: auto;
    margin-left: calc(var(--x, 10px) + var(--gap));
  }

  .stop[data-side="left"] .stop-dot::after {
    left: 100%;
    right: auto;
    margin: 0 0 0 4px;
  }

  .journey-head {
    margin-bottom: 28px;
  }
}

@media (max-width: 720px) {
  .paid-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .terms-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .look-actions .btn {
    width: 100%;
  }

  .start-actions .btn-primary {
    width: 100%;
  }

  .stop-tag {
    display: none;
  }

  .look-float {
    max-width: none;
  }
}


/* ===== orbach-studio.css ===== */
/* Orbach Studio variant of direction A: only the additions. */
.about { padding: 48px 0 24px; }
.about-inner { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: start; max-width: 1000px; margin: 0 auto; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.about-inner img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--card-line); }
.about-inner h2 { margin: 8px 0 10px; font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: -0.02em; line-height: 1.15; }
.about-inner p { margin: 0 0 14px; max-width: 62ch; color: var(--text); line-height: 1.6; }
.about-products { justify-content: flex-start; margin: 0; }
.site-foot .foot-meta { line-height: 1.6; }
@media (max-width: 720px) { .about-inner { grid-template-columns: 1fr; } .about-inner img { width: 72px; height: 72px; } }


/* ===== additions for the live site ===== */
.start-email { width: 100%; margin: 0 0 6px; font-size: 0.95rem; color: var(--muted); }
.start-email a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); }
.start-email a:hover { border-bottom-color: var(--link); }
.legal { padding: 56px 0 72px; }
.legal-inner { max-width: 72ch; margin: 0 auto; }
.legal h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 8px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 28px; }
.legal h2 { font-size: 1.2rem; margin: 34px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--text); line-height: 1.65; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--link); }
.legal .note { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 14px 18px; color: var(--text-2); font-size: 0.95rem; }

/* ===== in-page navigation ===== */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The slanted band below About overlaps it by 10.5vw; reserve that space so the card is never cut. */
.about { padding-bottom: calc(24px + 10.5vw); }

.proof-chip a { color: inherit; text-decoration: none; }
.proof-chip a:hover { color: var(--link-hover); }

/* ===== care pages: light ground, same system ===== */
.theme-light {
  color-scheme: light;
  --bg: #ffffff; --bg-alt: #f6f8fb; --surface: #ffffff; --surface-2: #f1f5f9;
  --surface-90: rgba(255, 255, 255, 0.9); --surface-60: rgba(246, 248, 251, 0.8);
  --line: rgba(15, 23, 42, 0.1); --line-strong: rgba(15, 23, 42, 0.18); --card-line: rgba(29, 78, 216, 0.16);
  --fg: #0f172a; --text: #1f2937; --text-2: #334155; --muted: #5b6676;
  --link: #1d4ed8; --link-hover: #1e40af; --tint: rgba(29, 78, 216, 0.08); --tint-strong: rgba(29, 78, 216, 0.14); --ok: #15803d;
}
.theme-light .site-header, .theme-light .site-foot {
  --fg: #f8fafc; --text: #e2e8f0; --text-2: #b6c0cf; --muted: #94a3b8; --link: #60a5fa; --link-hover: #93c5fd;
  --line: rgba(148, 163, 184, 0.18); --line-strong: rgba(148, 163, 184, 0.32); --surface: #111a2e; --tint: rgba(59, 130, 246, 0.16);
  color: var(--text);
}
.theme-light .site-foot { background: #0b1220; }
.theme-light .stat-number { background: none; -webkit-text-fill-color: var(--link); color: var(--link); }
.theme-light .service-card, .theme-light .faq-item { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); }
.theme-light .cta-band { box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1); }
.theme-light .section-alt { background: radial-gradient(circle at top right, rgba(29, 78, 216, 0.06), transparent 55%), var(--bg-alt); }
.theme-light .callout { background: rgba(29, 78, 216, 0.06); border-left-color: #1d4ed8; }
.theme-light .btn-primary { color: #fff; }
.stats-note { margin: 1.4rem auto 0; max-width: 62ch; text-align: center; color: var(--muted); font-size: 0.95rem; }
.care-terms { margin-top: 1.6rem; }
.care-quote { margin: 1.6rem 0 0; }
.care-signature { margin-top: 1.4rem; }
[dir="rtl"] .eyebrow, [lang="he"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .callout { border-left: 1px solid var(--card-line); border-right: 3px solid #3b82f6; }
[dir="rtl"] .start-email { text-align: start; }

/* light care pages: the dark page wrapper, hero gradient and stat colour give way to the light tokens */
.theme-light .page, .theme-light.page { background: var(--bg); }
.theme-light.care-page .care-hero {
  background:
    radial-gradient(circle at 1px 1px, rgba(29, 78, 216, 0.12) 1px, transparent 0) 0 0 / 22px 22px,
    radial-gradient(1200px 500px at 85% -10%, rgba(56, 189, 248, 0.16), transparent 60%),
    linear-gradient(135deg, #f7f9fc 0%, #eef3f9 55%, #f6f3ee 100%);
}
.theme-light.care-page .stats-bar .stat-number { color: var(--link); -webkit-text-fill-color: var(--link); }
.theme-light .wp-card { box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12); }
.theme-light .ba-card.ba-before, .theme-light .ba-card.ba-after { box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08); }
.theme-light .btn-ghost { background: #ffffff; border-color: var(--line-strong); color: var(--fg); }
.theme-light .btn-ghost:hover { background: var(--surface-2); }
.theme-light .related-links a { background: #ffffff; color: var(--link); }
.theme-light .terms-list dd, .theme-light .prose p, .theme-light .prose li { color: var(--text); }
