:root {
  --slate: #26405c;
  --slate-deep: #1b2f45;
  --orange: #e8702a;
  --orange-deep: #c85a1a;

  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --text: #17222f;
  --text-muted: #566474;
  --border: #d5dbe3;
  --primary: var(--slate);
  --primary-text: #ffffff;
  --accent: var(--orange);
  --accent-text: #ffffff;
  --link: #1f5f9e;

  --ok: #1d7a46;
  --ok-bg: #e2f4ea;
  --warn: #8a5a00;
  --warn-bg: #fdf0d2;
  --bad: #b3261e;
  --bad-bg: #fbe4e2;
  --info: #26405c;
  --info-bg: #e3ebf4;

  --radius: 10px;
  --shadow: 0 1px 2px rgb(16 28 44 / 8%), 0 4px 14px rgb(16 28 44 / 6%);
  --gutter: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1824;
    --surface: #17232f;
    --surface-2: #1e2d3b;
    --text: #e8edf3;
    --text-muted: #9fb0c1;
    --border: #2d4053;
    --primary: #4d7aa8;
    --link: #7fb2e5;
    --ok: #6fd39a;
    --ok-bg: #12301f;
    --warn: #f1c566;
    --warn-bg: #3a2c0b;
    --bad: #ff8d84;
    --bad-bg: #3d1714;
    --info: #a9c6e4;
    --info-bg: #1c2f44;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: 1.6rem;
}

h2 {
  font-size: 1.2rem;
}

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

p {
  margin: 0;
}

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

.muted {
  color: var(--text-muted);
}

.stack {
  display: grid;
  gap: 16px;
}

.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.right {
  text-align: right;
}

.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Form controls that sit outside a .field wrapper still follow the theme. */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

/* ---- page frame for customer-facing pages ---- */
.public-page {
  min-height: 100vh;
}

.public-header {
  background: var(--slate);
  color: #fff;
  padding: 18px var(--gutter);
  border-bottom: 4px solid var(--orange);
}

.public-header .inner,
.public-main {
  max-width: 760px;
  margin: 0 auto;
}

.public-header .company {
  font-weight: 700;
  font-size: 1.1rem;
}

.public-header .doc {
  opacity: 0.85;
  font-size: 0.9rem;
}

.public-main {
  padding: 20px var(--gutter) 64px;
  display: grid;
  gap: 16px;
}

/* ---- cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.card.selectable {
  cursor: pointer;
  border-width: 2px;
}

.card.selected {
  border-color: var(--accent);
}

.card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
}

.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px 20px;
}

.meta dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.meta dd {
  margin: 0;
  font-weight: 600;
}

/* ---- line items ---- */
.lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.lines .desc small {
  display: block;
  color: var(--text-muted);
}

.totals {
  margin: 12px 0 0;
  display: grid;
  gap: 4px;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.totals .grand {
  font-size: 1.2rem;
  font-weight: 700;
  padding-top: 8px;
  border-top: 2px solid var(--text);
}

.totals .credit {
  color: var(--ok);
}

/* ---- buttons and fields ---- */
.btn {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  min-height: 46px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: var(--primary);
  color: var(--primary-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.accent {
  background: var(--accent);
  color: var(--accent-text);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn.danger {
  background: transparent;
  color: var(--bad);
  border: 1px solid var(--bad);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  font-size: 0.9rem;
}

.field input,
.field textarea,
.field select {
  font: inherit;
  padding: 11px 12px;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  width: 100%;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

/* ---- status badges and notices ---- */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--info-bg);
  color: var(--info);
}

.badge.ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.badge.warn {
  background: var(--warn-bg);
  color: var(--warn);
}

.badge.bad {
  background: var(--bad-bg);
  color: var(--bad);
}

.notice {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--info-bg);
  color: var(--info);
  font-weight: 600;
}

.notice.ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.notice.warn {
  background: var(--warn-bg);
  color: var(--warn);
}

.notice.bad {
  background: var(--bad-bg);
  color: var(--bad);
}

.pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ---- photos ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.photo-grid figure {
  margin: 0;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--surface-2);
  display: block;
}

.photo-grid figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- sticky action bar (mobile) ---- */
.action-bar {
  position: sticky;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  margin: 0 calc(-1 * var(--gutter));
}

.spinner-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: var(--text-muted);
}

/* ---- office shell ---- */
.office {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 220px 1fr;
}

.sidebar {
  background: var(--slate);
  color: #fff;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 4px solid var(--orange);
}

.sidebar .brand {
  font-weight: 800;
  padding: 0 8px;
}

.sidebar nav {
  display: grid;
  gap: 2px;
}

.sidebar nav a {
  color: #dbe5ef;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.sidebar nav a:hover {
  background: rgb(255 255 255 / 10%);
}

.sidebar nav a.active {
  background: var(--orange);
  color: #fff;
}

.sidebar .who {
  margin-top: auto;
  padding: 0 8px;
  font-size: 0.9rem;
  display: grid;
  gap: 4px;
}

.linklike {
  background: none;
  border: 0;
  color: #dbe5ef;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-align: left;
}

.office-main {
  padding: 20px var(--gutter) 80px;
  max-width: 1000px;
  width: 100%;
  display: grid;
  gap: 16px;
  align-content: start;
}

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

  .sidebar {
    position: fixed;
    inset: auto 0 0 0;
    height: auto;
    z-index: 10;
    flex-direction: row;
    padding: 6px;
    border-right: 0;
    border-top: 3px solid var(--orange);
  }

  .sidebar .brand,
  .sidebar .who {
    display: none;
  }

  .sidebar nav {
    display: flex;
    width: 100%;
    overflow-x: auto;
    gap: 2px;
  }

  .sidebar nav a {
    padding: 10px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex: 1 0 auto;
    text-align: center;
  }
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

/* ---- lists ---- */
.list {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.list > a,
.list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

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

.list > a:hover {
  background: var(--surface-2);
}

.list .main {
  min-width: 0;
}

.list .main strong,
.list .main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list .main small {
  color: var(--text-muted);
}

.empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  display: block;
}

.tile .value {
  font-size: 1.6rem;
  font-weight: 800;
}

.tile.alert .value {
  color: var(--bad);
}

.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tabs button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  cursor: pointer;
}

.tabs button[aria-pressed="true"] {
  background: var(--slate);
  color: #fff;
  border-color: var(--slate);
}

.btn.small {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 0.9rem;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.line-editor {
  display: grid;
  gap: 10px;
}

.line-row {
  display: grid;
  grid-template-columns: 130px 1fr 1fr 1fr;
  gap: 8px;
  align-items: end;
  padding: 10px;
  background: var(--surface-2);
  border-radius: 8px;
}

.line-row .field label {
  font-size: 0.75rem;
}

.line-row .desc-field {
  grid-column: 2 / -1;
}

.line-row .wide {
  grid-column: 1 / -1;
}

@media (max-width: 800px) {
  .line-row {
    grid-template-columns: 1fr 1fr;
  }

  .line-row .desc-field {
    grid-column: 1 / -1;
  }
}

.week-day h2 {
  margin: 8px 0;
  font-size: 1rem;
}

.crew-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  background: var(--text-muted);
}

/* ---- field (technician) view: big targets, one thing per screen ---- */
.field-app {
  min-height: 100vh;
}

.field-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--slate);
  color: #fff;
  border-bottom: 4px solid var(--orange);
  padding: 10px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.field-header .brand {
  font-weight: 800;
}

.field-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px var(--gutter) 80px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.sync-pill {
  text-decoration: none;
}

.btn.big {
  min-height: 56px;
  font-size: 1.05rem;
  flex: 1 1 140px;
}

.field-card {
  display: grid;
  gap: 12px;
}

.field-card-link {
  display: grid;
  gap: 2px;
  color: inherit;
  text-decoration: none;
}

.field-time {
  font-size: 1.2rem;
}

.field-title {
  font-weight: 700;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}

.check-row input {
  width: 26px;
  height: 26px;
  flex: none;
}

.thumb-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  border-radius: 8px;
}

.bad-text {
  color: var(--bad);
}

/* ---- a card that is one big link (e.g. Settings → Emails) ---- */
.link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.link-card:hover {
  background: var(--surface-2);
}

/* ---- email outbox ---- */
.type-filter {
  display: grid;
  gap: 4px;
  max-width: 260px;
}

.list > .outbox-row {
  display: block;
  padding: 0;
}

.outbox-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.outbox-head:hover {
  background: var(--surface-2);
}

.outbox-head .main {
  flex: 1;
}

.outbox-head .main small {
  white-space: normal;
  overflow-wrap: anywhere;
}

.outbox-head .error-text {
  color: var(--bad);
}

.outbox-body {
  padding: 0 14px 14px;
}

.outbox-body pre {
  margin: 0;
  padding: 10px 12px;
  max-height: 320px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 0.92rem;
  background: var(--surface-2);
  border-radius: var(--radius);
}

/* A crew member's calendar colour, shown as a dot beside their name. */
.crew-dot {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-right: 0.4em;
  border-radius: 50%;
  border: 1px solid rgb(0 0 0 / 0.25);
}
.crew-names > span + span {
  margin-left: 0.8em;
}


/* Legal pages (terms, privacy, refunds): long text, so keep lines short and headings clear. */
.legal { line-height: 1.6; }
.legal h1 { margin-bottom: 4px; }
.legal h2 { margin-top: 28px; font-size: 1.1rem; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal hr { margin: 28px 0 16px; border: 0; border-top: 1px solid var(--border, #2c3a4a); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.public-footer { margin-top: 24px; text-align: center; font-size: 0.85rem; }
.public-footer a { margin: 0 8px; }

.public-header .company a { color: inherit; text-decoration: none; }

/* Styles for the public website (crewanvil.com). Loaded after theme.css, base.css and components.css, so it reuses the same colours. */

.lp { background: var(--bg); color: var(--text); }
.lp h1, .lp h2, .lp h3 { letter-spacing: -0.01em; }
.lp a { color: var(--link); }
.lp-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

.lp-skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.lp-skip:focus { left: 8px; }

/* Header */
.lp-header { background: var(--slate-deep); color: #fff; position: sticky; top: 0; z-index: 5; border-bottom: 3px solid var(--orange); }
.lp-header a { color: #fff; text-decoration: none; }
.lp-header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; flex-wrap: wrap; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.lp-logo { display: inline-flex; }
.lp-nav { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; font-size: 0.95rem; }
.lp-nav a:hover { text-decoration: underline; }
.lp-signin { border: 1px solid rgb(255 255 255 / 55%); padding: 6px 14px; border-radius: 999px; }

/* Hero */
.lp-hero { background: linear-gradient(160deg, var(--slate-deep) 0%, var(--slate) 100%); color: #fff; padding: 44px 0 52px; overflow: hidden; }
.lp-hero a { color: #fff; }
.lp-hero-grid { display: grid; gap: 36px; align-items: center; }
.lp-eyebrow { color: #f6c9a8; font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.lp-hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.1; margin-bottom: 16px; }
.lp-lede { font-size: 1.1rem; color: #dbe5f0; max-width: 34em; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.lp-cta.center { justify-content: center; }
.lp-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: #dbe5f0; font-size: 0.95rem; }
.lp-points li::before { content: "✓ "; color: #f6c9a8; font-weight: 700; }

.lp-btn { display: inline-block; text-align: center; padding: 13px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.lp-btn.primary { background: var(--orange-deep); color: #fff; }
.lp-btn.primary:hover { background: #b24f15; }
.lp-btn.ghost { border-color: rgb(255 255 255 / 60%); color: #fff; }
.lp-btn.ghost:hover { background: rgb(255 255 255 / 10%); }
.lp-btn.wide { display: block; margin-top: 18px; }

/* Phone-style mock-ups, built from plain markup so there are no images to load */
.lp-mocks { display: flex; gap: 12px; justify-content: center; align-items: flex-start; }
.mock { flex: 1 1 0; min-width: 0; max-width: 230px; background: #fff; color: #17222f; border-radius: 22px; box-shadow: 0 18px 40px rgb(0 0 0 / 35%); overflow: hidden; font-size: 0.82rem; }
.mock-b { margin-top: 38px; }
.mock-bar { background: var(--slate); color: #fff; padding: 12px 14px; font-weight: 700; }
.mock-bar.alt { background: var(--orange-deep); }
.mock-body { padding: 14px; display: grid; gap: 8px; }
.mock-body strong { font-size: 0.98rem; }
.mock-sub { color: #566474; font-size: 0.78rem; }
.mock-opt { display: flex; justify-content: space-between; border: 1.5px solid #d5dbe3; border-radius: 10px; padding: 9px 11px; }
.mock-opt.on { border-color: var(--orange-deep); background: #fdf1e8; font-weight: 700; }
.mock-btn { background: var(--orange-deep); color: #fff; text-align: center; border-radius: 10px; padding: 10px; font-weight: 700; margin-top: 2px; }
.mock-check { padding: 7px 10px; border-radius: 8px; background: #eef1f5; }
.mock-check.done { background: #e2f4ea; text-decoration: line-through; color: #1d7a46; }
.mock-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 2px; }
.mock-photos span { background: var(--slate); color: #fff; border-radius: 8px; padding: 14px 0; text-align: center; font-weight: 600; font-size: 0.72rem; }

/* Sections */
.lp-section { padding: 56px 0; }
.lp-section.alt { background: var(--surface-2); }
.lp-section h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 10px; }
.lp-intro { color: var(--text-muted); max-width: 40em; margin-bottom: 8px; }
.lp-cards { display: grid; gap: 16px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.lp-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.lp-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.lp-card p { color: var(--text-muted); }

.lp-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.lp-steps li { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.lp-steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.lp-steps p { color: var(--text-muted); }
.lp-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange-deep); color: #fff; font-weight: 800; display: grid; place-items: center; }

.lp-chips { list-style: none; padding: 0; margin: 22px 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-chips li { background: var(--surface); border: 1px solid var(--border); padding: 9px 16px; border-radius: 999px; font-weight: 600; }

/* Pricing */
.lp-price { display: grid; gap: 22px; margin-top: 28px; align-items: start; }
.lp-price-card { background: var(--surface); border: 2px solid var(--orange-deep); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.lp-plan { font-weight: 700; color: var(--orange-deep); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; }
.lp-amount { font-size: 3rem; font-weight: 800; line-height: 1.1; margin-top: 6px; }
.lp-amount span { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); }
.lp-sub { color: var(--text-muted); margin-bottom: 14px; }
.lp-price-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.lp-price-card li::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.lp-limits { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.lp-limits h3 { margin-bottom: 6px; }
.lp-limits ul { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0; }
.lp-fine { color: var(--text-muted); font-size: 0.85rem; margin-top: 14px; }

/* FAQ */
.lp-faq { margin-top: 22px; display: grid; gap: 10px; max-width: 820px; }
.lp-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 16px; }
.lp-faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.lp-faq details p { color: var(--text-muted); padding: 0 0 14px; }

/* Closing call to action and footer */
.lp-final { background: linear-gradient(160deg, var(--slate-deep), var(--slate)); color: #fff; padding: 56px 0; text-align: center; }
.lp-final h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 10px; }
.lp-final p { color: #dbe5f0; max-width: 36em; margin: 0 auto; }
.lp-final a.ghost.light { color: #fff; }
.lp-footer { background: var(--slate-deep); color: #c9d6e4; padding: 34px 0 40px; font-size: 0.92rem; }
.lp-footer a { color: #fff; }
.lp-foot-grid { display: grid; gap: 20px; }
.lp-foot-grid nav { display: grid; gap: 6px; align-content: start; }
.lp-brand-foot { color: #fff; font-weight: 800; margin-bottom: 4px; }
.lp-footer .lp-fine { color: #9fb0c1; margin-top: 22px; }

@media (min-width: 880px) {
  .lp-hero { padding: 72px 0 80px; }
  .lp-hero-grid { grid-template-columns: 1.15fr 1fr; }
  .lp-price { grid-template-columns: 1fr 1.1fr; }
  .lp-foot-grid { grid-template-columns: 1.4fr 1fr; }
  .lp-cards.three { grid-template-columns: repeat(3, 1fr); }
  .lp-cards.four { grid-template-columns: repeat(4, 1fr); }
}

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