/* The demo pages. Each imitates a customer's site, so it is drawn plain and quiet: greys from
   the Pointline tokens, ink text, Geist. The yellow highlight and the blue agent cursor are then
   the only strong colours on the page when the product acts on it. The banner at the top and
   the debug box are Pointline's own and take its look. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/brand/fonts/geist-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/brand/fonts/geist-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/brand/fonts/geist-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/brand/fonts/geist-mono-latin-400-normal.woff2") format("woff2");
}
:root {
  --ground: #f4f2ea;
  --surface: #ffffff;
  --surface-sunken: #eae7dc;
  --ink: #111318;
  --on-ink: #f4f2ea;
  --ink-muted: #565a63;
  --line: #d5d1c4;
  --line-strong: #858273;
  --pointer: #2740f5;
  --danger: #b3300a;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* The names the rules below were written with. Every demo business shares them now: a
     customer page has no colour of its own. */
  --muted: var(--ink-muted);
  --brand: var(--ink);
  --bg: var(--surface-sunken);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font: 16px/25px var(--sans);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
a {
  color: var(--ink);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ---- Pointline's own: the banner that says what this page is ---- */
.banner {
  background: var(--ground);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5rem;
}
.banner::before {
  content: "";
  display: inline-block;
  width: 5.75rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  vertical-align: -0.25rem;
  background: url("/brand/lockup-ink.svg") left center / contain no-repeat;
}
.banner strong {
  font-weight: 600;
}
.banner a {
  color: var(--pointer);
  font-weight: 500;
}
.banner a:focus-visible {
  outline-color: var(--pointer);
}
#voice-problem {
  color: var(--danger);
}

/* ---- the customer's page ---- */
header.site {
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
.brand {
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
nav a {
  margin-left: 1rem;
  color: var(--ink-muted);
  text-decoration: none;
}
nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.hero {
  background: var(--bg);
  padding: 3rem 0;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 1rem;
}
h3 {
  font-weight: 600;
}
.lede {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--muted);
  max-width: 36rem;
}
.note {
  color: var(--muted);
  font-size: 0.9375rem;
}
.button,
button {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  color: var(--on-ink);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0.625rem 1rem;
  text-decoration: none;
  cursor: pointer;
}
.button.quiet {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
  margin-left: 0.5rem;
}
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}
.plan,
.card,
.private {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}
.plan h3 {
  margin: 0;
}
.price {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 0.25rem 0 0.5rem;
}
.plan ul {
  padding-left: 1.125rem;
  margin: 0 0 1rem;
  color: var(--ink-muted);
}
.card {
  max-width: 30rem;
}
label {
  display: block;
  font-weight: 600;
  margin: 0.875rem 0 0.25rem;
}
label.check {
  font-weight: 400;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"],
input[type="file"],
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--ink);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
form button {
  margin-top: 1.25rem;
}
.result {
  margin: 1rem 0 0;
  font-weight: 600;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
}
summary {
  font-weight: 600;
  cursor: pointer;
}
.private {
  margin-top: 1.5rem;
  background: var(--bg);
}
.private h3 {
  margin: 0 0 0.25rem;
}
.foot {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.1875rem;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

/* ---- Pointline's own: what the page's policy blocked, with ?debug=1 ---- */
#demo-debug {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
  max-height: 40vh;
  overflow: auto;
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--on-ink);
  font: 12px/1.4 var(--mono);
  white-space: pre-wrap;
}

/* ---- parts only some of the demo businesses use ---- */
.card.wide {
  max-width: 40rem;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
}
legend {
  font-weight: 600;
  font-size: 1.0625rem;
  margin: 0.75rem 0 0.25rem;
}
.field-error {
  margin: 0.25rem 0 0;
  color: var(--danger);
  font-size: 0.875rem;
}
/* The page's own message for a field shows only when the field is marked invalid. */
input:not([aria-invalid="true"]) + .field-error,
div:not(:has(> input[aria-invalid="true"])) > .field-error {
  display: none;
}
ol.progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  counter-reset: step;
}
ol.progress li {
  counter-increment: step;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-muted);
  font-size: 0.875rem;
}
ol.progress li::before {
  content: counter(step) ". ";
}
ol.progress li[aria-current="step"] {
  border-color: var(--line-strong);
  background: var(--surface-sunken);
  color: var(--ink);
  font-weight: 600;
}
table.table {
  width: 100%;
  border-collapse: collapse;
}
table.table th,
table.table td {
  text-align: left;
  padding: 0.625rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
table.table th {
  font-weight: 600;
}
meter {
  width: 100%;
  height: 1rem;
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
meter::-webkit-meter-bar {
  height: 100%;
  background: var(--surface-sunken);
  border: 0;
  border-radius: 0;
}
meter::-webkit-meter-optimum-value,
meter::-webkit-meter-suboptimum-value,
meter::-webkit-meter-even-less-good-value {
  background: var(--ink-muted);
}
meter::-moz-meter-bar {
  background: var(--ink-muted);
}
.info {
  cursor: help;
  color: var(--ink-muted);
}
.seatmap {
  display: grid;
  grid-template-columns: repeat(3, 3.25rem);
  gap: 0.5rem;
}
.seatmap button {
  padding: 0.5rem 0;
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line-strong);
}
.seatmap button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.seatmap button:disabled {
  background: var(--surface-sunken);
  border-color: var(--line);
  color: var(--ink-muted);
  cursor: not-allowed;
}
.card .private {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}
