/* Code Savant public site — same shop-floor family as the platform.
 *
 * Loads AFTER shared/codesavant.css (linked as codesavant.css), which owns the design
 * tokens and the standard components. Do not redeclare a token here: these values lived in
 * three copies once and the operator console's drifted below WCAG AA. This file is the
 * marketing pages' own layouts and one-off components. */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--steel);
}

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

/* Dark bands: the accent ring alone is thin against near-black, so pair it with a
   light halo that keeps the focus position obvious either way. */
.top :focus-visible,
.signup-band :focus-visible,
.foot :focus-visible {
  outline-color: #8fc0f5;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
}

/* Reachable by screen readers, invisible on screen. Not display:none — that would
   hide it from assistive tech too, which is the opposite of the point. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Off-screen until focused, then it drops into view as the first tab stop. */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  transition: top 0.15s ease-in-out;
}

.skip-link:focus {
  top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

/* Landing on <main> via the skip link should not draw a box round the whole page. */
main:focus {
  outline: none;
}

/* The eyebrow doubles as a section heading in places; keep the kicker look so the
   markup can be honest about structure without changing the design. */
.band h2.eyebrow {
  font-size: 14px;
  letter-spacing: 0.16em;
  margin: 0 0 10px;
}

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 10px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 9px 18px;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: #2c3a41;
}

.btn:disabled {
  background: var(--muted);
  border-color: var(--muted);
  cursor: default;
}

.btn.big {
  font-size: 19px;
  padding: 12px 26px;
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

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

.lamp {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 0 3px #e4f1e9;
  flex: none;
}

.lamp.off {
  background: var(--muted);
  box-shadow: 0 0 0 3px #e5e8e8;
}

/* top bar */
.top {
  background: var(--ink);
  color: #fff;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.top .btn {
  background: transparent;
  border-color: #4a5a61;
}

.top .btn:hover {
  /* A hover border is a UI component: 3:1 minimum, and --accent is 2.99:1 on this band. */
  border-color: var(--accent-lift);
}

.wordmark-co {
  font-family: var(--mono);
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--accent-lift);
  display: block;
}

.wordmark-tag {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  color: #b9c4c8;
}

/* hero */
.hero {
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0 34px,
      rgba(28, 38, 43, 0.025) 34px 38px
    ),
    var(--paper);
}

.hero-grid {
  display: grid;
  /* minmax(0, …) for the same reason as .signup-page below: a grid child defaults to
     min-width:auto and refuses to shrink under its widest unbreakable content. On a
     360px phone the hero column measured 368px whenever the web font failed to load
     (or a tenant repainted a longer name into it) and the WHOLE page scrolled
     sideways — including the chat. */
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-copy h1 {
  font-size: clamp(40px, 5.4vw, 62px);
  line-height: 0.98;
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 18px 0 0;
  max-width: 46ch;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-points li {
  padding-left: 22px;
  position: relative;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.hero-cta {
  margin: 28px 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta-note {
  color: var(--ink-soft);
  font-size: 14px;
}

/* live demo */
.demo {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  box-shadow: 0 18px 40px -24px rgba(28, 38, 43, 0.45);
}

.demo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.demo-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.demo-sub {
  font-size: 11px;
  color: var(--ink-soft);
}

.demo-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 340px;
}

.demo-hint {
  color: var(--ink-soft);
  margin: 0;
  font-size: 15px;
}

.bubble {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
}

.bubble.user {
  align-self: flex-end;
  background: var(--steel-tint);
  border: 1px solid var(--line);
}

.bubble.ava {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--accent);
}

.bubble.wait {
  align-self: flex-start;
  color: var(--muted);
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Three dots that pulse while a turn is in flight. Purely decorative — the same
   state is spoken through the status region — so they are inside an aria-hidden
   bubble and never carry information the dots alone would have to convey. */
.wait-dots {
  display: inline-flex;
  gap: 4px;
  flex: none;
}

.wait-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  /* Follows the tenant's repainted brand colour, like everything else on the card. */
  background: var(--accent);
  opacity: 0.35;
}

@media (prefers-reduced-motion: no-preference) {
  .wait-dots i {
    animation: wait-pulse 1.1s ease-in-out infinite;
  }

  .wait-dots i:nth-child(2) {
    animation-delay: 0.18s;
  }

  .wait-dots i:nth-child(3) {
    animation-delay: 0.36s;
  }

  @keyframes wait-pulse {
    0%,
    100% {
      opacity: 0.25;
      transform: translateY(0);
    }
    50% {
      opacity: 1;
      transform: translateY(-2px);
    }
  }
}

.bubble.error {
  align-self: stretch;
  color: var(--accent-deep);
  border: 1px solid var(--accent);
  background: #e4eefb;
}

/* Focus lands here after a failure, and a programmatic focus gets no ring by
   default — a sighted keyboard user needs to see where they were just moved. */
.bubble.error:focus {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}

/* Something that HAPPENED mid-conversation (a visit booked, a copy emailed) as
   opposed to something that was said. Deliberately not shaped like a bubble. */
.chat-marker {
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  padding: 7px 10px;
  border-radius: 4px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: #fff;
  font-size: 13px;
  color: var(--ink-soft);
}

.chat-marker strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.chat-marker.booked {
  border-left-color: var(--lamp);
}

.demo-input {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.demo-input input {
  flex: 1;
  /* A flex child will not shrink below its intrinsic width unless told to, and an
     <input> carries a 20-character one. Without this the Send button hangs off the
     right edge of the card on a 360px phone. */
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 11px;
  font: inherit;
}

.demo-end {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-top: 1px dashed var(--line);
  color: var(--steel);
  padding: 12px;
  cursor: pointer;
}

.demo-end:hover {
  color: var(--accent-deep);
}

/* the filed ticket */
.demo-ticket {
  margin: 0 16px 12px;
  border: 1px solid var(--lamp);
  background: #e4f1e9;
  border-radius: 6px;
  padding: 12px 14px;
}

/* Nothing was filed: same panel, but it must not wear the green "done" colours of
   a ticket that reached the owner. */
.demo-ticket.empty {
  background: var(--card);
  border-color: var(--line);
}

/* Focus is moved here the moment the ticket appears; show that it landed. */
.demo-ticket:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.demo-ticket .ticket-head {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lamp-text);
  margin: 0 0 8px;
}

.demo-ticket.empty .ticket-head {
  color: var(--ink);
}

.demo-ticket dl {
  display: grid;
  /* minmax(0,…) so a long address or email wraps inside the card instead of
     stretching the grid and pushing the chat sideways on a phone. */
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 3px 12px;
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
}

.demo-ticket dt {
  color: var(--ink-soft);
}

.demo-ticket dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* "not captured" is information, not decoration: it reads out loud, where the old
   em dash was silent, and it is muted so the details Axis DID get stand out. */
.demo-ticket dd.missing {
  color: var(--muted);
  font-style: italic;
}

.demo-ticket .ticket-note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* Labels above values on a narrow phone — a 92px column plus a mono value is a
   two-word-per-line ticket on a 320px screen. */
@media (max-width: 460px) {
  .demo-ticket dl {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .demo-ticket dd {
    margin-bottom: 6px;
  }
}

.btn.secondary-cta {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  font-size: 19px;
  padding: 12px 26px;
}

.btn.secondary-cta:hover {
  background: var(--steel-tint);
}

/* signup */
.signup-band {
  background: var(--ink);
  color: #e8ecec;
}

.signup-band .eyebrow {
  color: var(--accent-lift);
}

.signup-band h2 {
  color: #fff;
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.signup-copy p {
  color: #b9c4c8;
  max-width: 44ch;
}

.signup-note {
  font-size: 13px;
  color: var(--accent) !important;
}

.signup-form {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink);
}

.flabel {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 4px;
}

.flabel em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.signup-form input,
.signup-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 11px;
  font: inherit;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-status {
  margin: 0;
  font-size: 14px;
  min-height: 1.4em;
}

.signup-status.ok {
  color: var(--lamp-text);
  font-weight: 600;
}

.signup-status.bad {
  color: var(--accent-deep);
}

/* post-demo hook */
.demo-hook {
  margin: 0 16px 14px;
  text-align: center;
}

.demo-hook a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* bands */
.band {
  padding: 56px 0;
}

.band.alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 24px;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.slab {
  padding: 20px;
}

.slab h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.slab p {
  margin: 0;
  color: var(--ink-soft);
}

/* steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  position: relative;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 10px;
}

.steps h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

/* roster badges */
.badge-card {
  padding: 20px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
}

.badge-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
}

.badge-card p {
  margin: 4px 0 10px;
  color: var(--ink-soft);
}

.badge-status {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: auto;
}

.badge-status.available {
  color: var(--lamp-text);
}

/* pricing — replaced the old price-free "closing" band. The number is the point
   of this section, so it is the largest thing in it. */
.pricing {
  max-width: 780px;
  text-align: center;
}

.pricing-lede {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 auto 28px;
  max-width: 620px;
}

.price-card {
  padding: 30px 28px;
  text-align: left;
}

.price-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  justify-content: center;
}

.price-figure {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-deep);
}

.price-per {
  font-size: 16px;
  color: var(--ink-soft);
}

.price-sub {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 8px 0 22px;
}

.price-includes {
  margin: 0 auto;
  padding-left: 22px;
  max-width: 460px;
  font-size: 16px;
}

.price-includes li {
  margin: 7px 0;
}

.price-cta {
  text-align: center;
  margin: 26px 0 0;
}

.price-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 12px 0 0;
}

.price-extras,
.guarantee {
  margin-top: 40px;
  text-align: left;
}

.price-extras p,
.guarantee p {
  color: var(--ink-soft);
  font-size: 16px;
}

.extras-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.extras-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.extras-list li:last-child {
  border-bottom: 0;
}

/* footer */
.foot {
  background: var(--ink);
  color: #b9c4c8;
  padding: 18px 0;
}

.foot a {
  color: #fff;
}

.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.foot .mono {
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--accent-lift);
}

/* footer accessibility + privacy note */
.foot-note {
  border-top: 1px solid #33434a;
  margin-top: 14px;
  padding-top: 12px;
}

.foot-note p {
  margin: 0 0 6px;
  font-size: 13px;
  color: #c3ced2;
  max-width: 78ch;
}

.foot-note strong {
  color: #fff;
}

/* cookie consent — hidden until config.js enables it */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--ink);
  color: #e8ecec;
  border-top: 3px solid var(--accent);
}

.consent[hidden] {
  display: none;
}

.consent-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 28px;
  align-items: center;
}

.consent-title {
  font-size: 18px;
  margin: 0;
  grid-column: 1;
}

.consent-body {
  margin: 0;
  font-size: 14px;
  color: #c3ced2;
  grid-column: 1;
  max-width: 70ch;
}

.consent-actions {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Decline carries the same visual weight as accept on purpose: a buried or
   greyed-out reject is a dark pattern, and regulators treat it as one. */
.consent-decline {
  background: transparent;
  border-color: #7d8b91;
  color: #fff;
}

.consent-decline:hover {
  background: #2c3a41;
  border-color: #fff;
}

@media (max-width: 700px) {
  .consent-inner {
    grid-template-columns: 1fr;
  }

  .consent-actions {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .three,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lamp:not(.off) {
    animation: lamp-breathe 3.2s ease-in-out infinite;
  }

  @keyframes lamp-breathe {
    0%,
    100% {
      box-shadow: 0 0 0 3px #e4f1e9;
    }
    50% {
      box-shadow: 0 0 0 5px #d3e8db;
    }
  }
}

/* self-serve demo opt-in */
.demo-optin {
  border-top: 1px dashed var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.optin-lead { margin: 0; font-size: 15px; color: var(--ink); }
.optin-lead em { font-style: italic; color: var(--accent-deep); }
.optin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demo-optin input[type="text"],
.demo-optin input[type="tel"],
.demo-optin input:not([type="checkbox"]) {
  width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 9px 11px; font: inherit;
}
.optin-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--ink-soft); }
.optin-consent input { margin-top: 3px; flex: none; }
.optin-status { margin: 0; font-size: 13px; min-height: 1.2em; }
.optin-status.ok { color: var(--lamp-text); font-weight: 600; }
.optin-status.bad { color: var(--accent-deep); }
@media (max-width: 560px) { .optin-row { grid-template-columns: 1fr; } .frow { grid-template-columns: 1fr; } }

/* full signup page */
.signup-page { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
/* Grid/flex children default to min-width:auto and won't shrink below their content,
   which pushes the plan text off the page. min-width:0 lets them wrap in-bounds. */
.signup-page > * { min-width: 0; }
.subdomain-field { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.subdomain-field input { border: none !important; border-radius: 0 !important; flex: 1; min-width: 0; }
.subdomain-suffix { display: flex; align-items: center; padding: 0 10px; background: var(--paper-2, #eef3f9); color: var(--ink-soft); font-size: 13px; white-space: nowrap; }
.subdomain-status { display: block; font-size: 12px; margin-top: 4px; min-height: 15px; color: var(--muted); }
.subdomain-status.ok { color: #2e9e5b; }
.subdomain-status.bad { color: var(--accent, #1668c7); }
.plan-opt span { min-width: 0; }
.signup-page-copy h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1; margin: 8px 0 14px; }
.signup-page-copy .lede { font-size: 18px; color: var(--ink-soft); max-width: 42ch; }
.plan-pick { border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; margin: 2px 0; }
.plan-pick legend { padding: 0 4px; }
.plan-opt { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; font-size: 15px; cursor: pointer; }
.plan-opt input { flex: none; }
.plan-opt strong { font-weight: 600; }
.plan-opt em { font-style: normal; color: var(--lamp-text); font-size: 13px; }
@media (max-width: 820px) { .signup-page { grid-template-columns: 1fr; } }

/* legal pages (privacy / terms / data deletion) */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 6px; }
.legal-date { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.legal h2 { font-size: 20px; margin: 26px 0 8px; }
.legal p { color: var(--ink-soft); margin: 0 0 12px; }
.legal-list { color: var(--ink-soft); margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--steel); }
.foot-row a { color: #fff; }

/* Per-tenant branding: a logo mark beside the wordmark (set from the DB at runtime). */
.wordmark-logo { display: inline-flex; align-items: center; }
.wordmark-logo:empty { display: none; }
.brand-logo-img { height: 34px; width: auto; max-width: 160px; border-radius: 4px; display: block; }

/* Signup email verification row */
.verify-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.verify-row input { max-width: 140px; }
