/*
  Shoplistd marketing site.
  Concept: the AI answer is the new shelf. The hero is an assistant's answer
  with the visitor's store slotted into the list, marked with a shelf-label
  yellow tag. Everything else stays quiet: navy ink, cool paper, one yellow.
*/
:root {
  --paper: #f6f7fa;
  --surface: #ffffff;
  --ink: #18213a;
  --muted: #5a6478;
  --line: #dde1ea;
  --tag: #ffd43b;
  --tag-ink: #18213a;
  --tick: #13805d;
  --chat: #eef2f8;
  --focus: #2f6fdf;
  --warn: #b4541a;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.25rem;
  --step-4: clamp(2.6rem, 6vw, 4.4rem);

  --radius-tag: 4px;
  --radius-panel: 14px;
  --wrap: 1240px;

  /* Logo colours (the inline logo in the header) */
  --logo-bubble: #18213a;
  --logo-row: #46516f;
  --logo-hi: #ffd43b;
  --logo-tick: #18213a;
  --logo-word: #18213a;
  --logo-wtick: #18213a;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1421;
    --surface: #161d2d;
    --ink: #e7ebf3;
    --muted: #9aa4b8;
    --line: #29324a;
    --tag: #f3c93f;
    --tag-ink: #141a2b;
    --tick: #3fbf8a;
    --chat: #1b2336;
    --focus: #7fa8ff;
    --warn: #f0a46b;
    --logo-bubble: #e7ebf3;
    --logo-row: #aab3c6;
    --logo-hi: #f3c93f;
    --logo-tick: #141a2b;
    --logo-word: #e7ebf3;
    --logo-wtick: #f3c93f;
  color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1421;
  --surface: #161d2d;
  --ink: #e7ebf3;
  --muted: #9aa4b8;
  --line: #29324a;
  --tag: #f3c93f;
  --tag-ink: #141a2b;
  --tick: #3fbf8a;
  --chat: #1b2336;
  --focus: #7fa8ff;
  --warn: #f0a46b;
  --logo-bubble: #e7ebf3;
  --logo-row: #aab3c6;
  --logo-hi: #f3c93f;
  --logo-tick: #141a2b;
  --logo-word: #e7ebf3;
  --logo-wtick: #f3c93f;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--surface);
  padding: 8px 12px;
  z-index: 10;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand .logo {
  display: block;
  height: 34px;
  width: auto;
}
.lg-bubble { fill: var(--logo-bubble); }
.lg-row { fill: var(--logo-row); }
.lg-hi { fill: var(--logo-hi); }
.lg-tick { stroke: var(--logo-tick); }
.lg-line { fill: var(--logo-tick); }
.lg-word { fill: var(--logo-word); }
.lg-wtick { stroke: var(--logo-wtick); }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: var(--step--1);
}
.nav a {
  text-decoration: none;
  color: var(--muted);
}
.nav a:hover {
  color: var(--ink);
}
.nav .btn {
  color: var(--paper);
}
@media (max-width: 760px) {
  .nav a:not(.btn) {
    display: none;
  }
}

/* ---------- Buttons and fields ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 var(--step-0) / 1 var(--body);
  padding: 13px 18px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: color-mix(in srgb, var(--ink) 86%, var(--paper));
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.small {
  padding: 9px 14px;
  font-size: var(--step--1);
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-size: var(--step--1);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font: 400 var(--step-0) var(--body);
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 12px 12px;
  width: 100%;
  min-width: 0;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--focus);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent);
}

/* ---------- Hero ---------- */
.hero {
  padding-block: 56px 72px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px 56px;
  align-items: start;
}
@media (max-width: 920px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

.headline {
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.035em;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25em;
  align-items: start;
}
.headline .box {
  width: 0.78em;
  height: 0.78em;
  margin-top: 0.12em;
}
.headline .box rect {
  fill: none;
  stroke: var(--ink);
  stroke-width: 7;
}
.headline .box path {
  fill: none;
  stroke: var(--tick);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 120;
  stroke-dashoffset: 0;
}

.lede {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 34rem;
  margin-top: 20px;
  line-height: 1.5;
}

.check-form {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}
.check-form .full,
.check-form .actions {
  grid-column: 1 / -1;
}
.check-form .actions {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}
.check-form .btn {
  width: 100%;
}
.check-form .hint {
  font-size: var(--step--1);
  color: var(--muted);
}
.preview-note {
  grid-column: 1 / -1;
  font-size: var(--step--1);
  background: var(--chat);
  border-radius: 8px;
  padding: 10px 12px;
}
@media (max-width: 480px) {
  .check-form {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The answer card: the signature element */
.answer {
  margin: 0;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  overflow: hidden;
  box-shadow: 0 18px 50px -28px color-mix(in srgb, var(--ink) 45%, transparent);
}
.engines {
  display: flex;
  gap: 4px;
  padding: 10px 10px 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.engines button {
  font: 600 var(--step--1) var(--body);
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 8px 12px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.engines button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.answer-body {
  padding: 22px 22px 18px;
  display: grid;
  gap: 16px;
}
.question {
  justify-self: end;
  max-width: 88%;
  background: var(--chat);
  border-radius: 14px 14px 4px 14px;
  padding: 10px 14px;
}
.reply-intro {
  color: var(--muted);
  font-size: var(--step--1);
}
.picks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  counter-reset: pick;
}
.picks li {
  counter-increment: pick;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 8px;
}
.picks li::before {
  content: counter(pick) ".";
  font-family: var(--display);
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.picks .name {
  font-weight: 600;
  min-width: 0;
  overflow-wrap: break-word;
}
@media (max-width: 480px) {
  .answer-body {
    padding: 18px 14px 14px;
  }
  .picks li {
    grid-template-columns: 1.6rem minmax(0, 1fr);
    row-gap: 6px;
  }
  .picks .tag {
    grid-column: 2;
    justify-self: start;
  }
}
.picks .why {
  display: block;
  font-weight: 400;
  font-size: var(--step--1);
  color: var(--muted);
}
.picks li.yours {
  background: linear-gradient(var(--tag), var(--tag)) no-repeat left / 100% 100%;
  color: var(--tag-ink);
}
.picks li.yours::before,
.picks li.yours .why {
  color: var(--tag-ink);
}
.tag {
  font: 700 0.72rem/1 var(--body);
  letter-spacing: 0.02em;
  background: var(--tag-ink);
  color: var(--tag);
  border-radius: var(--radius-tag);
  padding: 5px 7px;
  white-space: nowrap;
}
.missing {
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: var(--step--1);
  color: var(--muted);
}
.missing strong {
  color: var(--warn);
}
.answer-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 10px 22px;
}
@media (prefers-reduced-motion: no-preference) {
  .answer-body.enter {
    animation: answer-in 0.4s ease;
  }
  .missing.animate {
    animation: answer-in 0.45s ease;
  }
}
@keyframes answer-in {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
}

/* One orchestrated moment on load: the box ticks and the store's row is tagged. */
@media (prefers-reduced-motion: no-preference) {
  .headline .box path {
    animation: tick 0.5s 0.35s cubic-bezier(0.3, 0.7, 0.4, 1) backwards;
  }
  .picks li.yours.animate {
    animation: mark 0.55s 0.65s cubic-bezier(0.3, 0.7, 0.4, 1) backwards;
  }
  .picks li.yours.animate::before,
  .picks li.yours.animate .why {
    animation: ink-in 0.55s 0.65s cubic-bezier(0.3, 0.7, 0.4, 1) backwards;
  }
}
@keyframes tick {
  from {
    stroke-dashoffset: 120;
  }
}
@keyframes mark {
  from {
    background-size: 0% 100%;
    color: var(--ink);
  }
}
@keyframes ink-in {
  from {
    color: var(--muted);
  }
}

/* ---------- Assistants strip ---------- */
.assistants {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.assistants .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 28px;
  padding-block: 22px;
}
.assistants p {
  color: var(--muted);
  font-size: var(--step--1);
}
.assistants ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 700;
}

/* ---------- Sections ---------- */
.section {
  padding-block: 88px;
}
.section-head {
  display: grid;
  gap: 14px;
  max-width: 44rem;
  margin-bottom: 48px;
}
.section-head p {
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.5;
}
@media (min-width: 960px) {
  #how .section-head,
  #pricing .section-head {
    max-width: none;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 12px 64px;
    align-items: end;
  }
}
@media (min-width: 1100px) {
  .band .wrap,
  #faq .wrap {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    gap: 20px 64px;
    align-items: start;
  }
  .band .section-head,
  #faq .section-head {
    margin-bottom: 0;
    max-width: none;
  }
  #faq .faq {
    max-width: none;
  }
}

/* See / Fix / Prove: alternating rows of copy and a fragment of the product */
.pillars {
  display: grid;
  gap: 64px;
}
.pillar {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}
.pillar:nth-child(even) .pillar-copy {
  order: 2;
}
@media (max-width: 860px) {
  .pillar {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .pillar:nth-child(even) .pillar-copy {
    order: 0;
  }
}
.pillar-copy {
  display: grid;
  gap: 12px;
}
.pillar-copy h3 {
  font-size: var(--step-2);
}
.pillar-copy p {
  color: var(--muted);
}
.pillar-copy ul {
  margin: 4px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.fragment {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 22px;
  display: grid;
  gap: 14px;
  min-width: 0;
}
.fragment-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  flex-wrap: wrap;
}
.fragment-title span {
  font-weight: 400;
  color: var(--muted);
  font-size: var(--step--1);
}
.example {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Visibility bars */
.bars {
  display: grid;
  gap: 12px;
}
.bar-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) 3rem;
  gap: 12px;
  align-items: center;
  font-size: var(--step--1);
}
.bar-row b {
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.bar {
  display: block;
  position: relative;
  height: 12px;
  border-radius: 6px;
  background: var(--chat);
}
.bar .range {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 6px;
  background: color-mix(in srgb, var(--ink) 16%, transparent);
}
.bar .value {
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  border-radius: 4px;
  background: var(--ink);
}

/* Fix diff */
.diff {
  display: grid;
  gap: 10px;
  font-size: var(--step--1);
}
.diff .now,
.diff .added {
  border-radius: 8px;
  padding: 12px 14px;
}
.diff .now {
  background: var(--chat);
  color: var(--muted);
}
.diff .added {
  border: 1.5px solid var(--tick);
}
.diff .added b {
  color: var(--tick);
}
.diff dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px 14px;
  margin: 8px 0 0;
}
.diff dt {
  font-weight: 600;
}
.diff dd {
  margin: 0;
}
.diff-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Revenue */
.revenue-total {
  font-family: var(--display);
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}
.ledger td,
.ledger th {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.ledger th {
  font-weight: 600;
  color: var(--muted);
}
.ledger td:last-child,
.ledger th:last-child {
  text-align: right;
}

/* ---------- Location ---------- */
.location {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.location .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .location .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
.location .section-head {
  margin-bottom: 0;
}
.markets {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.markets th,
.markets td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.markets th {
  font-size: var(--step--1);
  color: var(--muted);
  font-weight: 600;
}
.markets td.num {
  text-align: right;
  font-weight: 700;
  width: 4rem;
}
.markets .kind {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}
.markets .bar {
  min-width: 72px;
}
.markets td:nth-child(2) {
  width: 45%;
}
.table-scroll {
  overflow-x: auto;
  min-width: 0;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}
.steps li {
  counter-increment: step;
  display: grid;
  gap: 8px;
  align-content: start;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1;
}
.steps p {
  color: var(--muted);
}

/* ---------- Promises ---------- */
.promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 720px) {
  .promises {
    grid-template-columns: minmax(0, 1fr);
  }
}
.promises li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
}
.promises svg {
  width: 24px;
  height: 24px;
  margin-top: 2px;
}
.promises svg path {
  fill: none;
  stroke: var(--tick);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.promises p {
  color: var(--muted);
}

/* ---------- Pricing ---------- */
.pricing-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
}
.pricing {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.pricing th,
.pricing td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.pricing thead th {
  vertical-align: bottom;
}
.pricing .plan {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 700;
  display: block;
}
.pricing .price {
  display: block;
  font-size: var(--step-2);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.pricing .price small {
  font-size: var(--step--1);
  font-family: var(--body);
  font-weight: 400;
  color: var(--muted);
}
.pricing tbody th {
  font-weight: 600;
  color: var(--muted);
  font-size: var(--step--1);
  white-space: nowrap;
}
.pricing .popular {
  background: color-mix(in srgb, var(--tag) 16%, transparent);
}
.pricing .popular-label {
  display: inline-block;
  margin-bottom: 6px;
}
.pricing tfoot td {
  border-bottom: 0;
}
.pricing-note {
  margin-top: 14px;
  font-size: var(--step--1);
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 0;
  max-width: 48rem;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}
.faq summary {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-weight: 400;
  color: var(--muted);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 42rem;
}

/* ---------- Closing call to action ---------- */
.closing {
  background: var(--ink);
  color: var(--paper);
}
.closing .wrap {
  padding-block: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.closing h2 {
  max-width: 30rem;
}
.closing p {
  color: color-mix(in srgb, var(--paper) 72%, var(--ink));
  margin-top: 10px;
}
.closing .btn {
  background: var(--tag);
  color: var(--tag-ink);
  border-color: var(--tag);
}
.closing .btn.ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.closing .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.site-footer .wrap {
  padding-block: 48px 28px;
  display: grid;
  gap: 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 36px 48px;
  align-items: start;
}
.footer-brand p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 26ch;
  font-size: var(--step--1);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}
.footer-cols h2 {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.footer-cols a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 5px 0;
  font-size: var(--step--1);
}
.footer-cols a:hover {
  text-decoration: underline;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}
.footer-base .disclaimer {
  flex: 1 1 28rem;
  margin: 0;
}
@media (max-width: 800px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Legal pages ---------- */
.legal {
  padding-block: 56px 88px;
}
.legal .wrap {
  max-width: 760px;
}
.legal h1 {
  font-size: var(--step-3);
  margin-bottom: 8px;
}
.legal h2 {
  font-size: var(--step-1);
  margin-top: 36px;
  margin-bottom: 10px;
}
.legal p,
.legal li {
  color: var(--ink);
  max-width: 68ch;
}
.legal p + p {
  margin-top: 12px;
}
.legal ul {
  padding-left: 1.2rem;
  display: grid;
  gap: 6px;
}
.legal .updated {
  color: var(--muted);
  margin-bottom: 28px;
}
.legal .btn {
  margin-top: 24px;
}
.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  max-width: 32rem;
}
.contact-form .btn {
  margin-top: 4px;
  justify-self: start;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#contact-captcha {
  min-height: 78px;
}
#sent {
  display: none;
  margin-bottom: 0;
}
#sent:target,
#sent.is-visible {
  display: block;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}
.legal th,
.legal td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
