/* Hallmark · genre: modern-minimal · macrostructure: Narrative Workflow · swipe sequence (4 stages, a store's day)
 * theme: custom · vibe: "a store's day, plain and warm" · paper: oklch(97% 0.012 80) · accent: oklch(76% 0.16 75)
 * display: Plus Jakarta Sans 800 · body: Plus Jakarta Sans 400 · receipt: JetBrains Mono · axes: light / geometric-sans / warm
 * enrichment: Tier A CSS till drawing + receipt, Tier B SVG Rockies · nav: N5 floating pill · footer: Ft5 statement
 * context: owner-approved (Oct 19, 2026): audience = independent store owners across Canada · use = Book a demo · tone = utilitarian, warm
 * Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4
 */
@import url("tokens.css");

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-x: clip;
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-style: normal;
  margin: 0;
  overflow-wrap: anywhere;
  min-width: 0;
}
p {
  margin: 0;
}
a {
  color: var(--color-accent-ink);
  text-underline-offset: 0.2em;
}
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: var(--space-md);
  top: -4rem;
  background: var(--color-accent);
  color: var(--color-on-accent);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: var(--z-sticky);
}
.skip:focus {
  top: var(--space-md);
}
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* Buttons: one filled (amber), one quiet */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  padding: 0 var(--space-lg);
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font: 700 var(--text-base) / 1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--dur-micro) var(--ease-out),
    background-color var(--dur-micro) var(--ease-out);
}
.btn--fill {
  background: var(--color-accent);
  color: var(--color-on-accent);
}
.btn--quiet {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .btn--fill:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
  }
  .btn--quiet:hover {
    transform: translateY(-1px);
  }
}
.btn:active {
  transform: translateY(0);
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* N5 floating pill */
.nav {
  position: fixed;
  top: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: max-content;
  max-width: calc(100% - 2 * var(--space-sm));
  padding: var(--space-2xs) var(--space-2xs) var(--space-2xs) var(--space-sm);
  background: color-mix(in oklch, var(--color-night) 88%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  border: var(--rule-hair) solid var(--color-night-rule);
  border-radius: var(--radius-pill);
  color: var(--color-night-ink);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-night-ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav__brand img {
  width: 30px;
  height: 30px;
}
.nav__links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-md);
}
.nav__links a {
  color: var(--color-night-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
}
.nav__links a:hover {
  color: var(--color-night-ink);
}
.nav .btn {
  min-height: 40px;
  padding: 0 var(--space-md);
  font-size: var(--text-sm);
}
@media (min-width: 52rem) {
  .nav__links {
    display: flex;
  }
}

/* Hero: the dark band; headline left, the drawn till with its receipt right */
.hero {
  background: var(--color-night);
  color: var(--color-night-ink);
  padding-block: calc(var(--space-2xl) + var(--space-xl)) var(--space-4xl);
}
.hero__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}
.hero h1 {
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.hero__lede {
  margin-top: var(--space-lg);
  max-width: 44ch;
  font-size: var(--text-md);
  color: var(--color-night-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.hero__note {
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-night-muted);
}
.hero__visual {
  position: relative;
}
@media (min-width: 60rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .hero__visual {
    padding-bottom: 9rem;
  }
}

/* The drawn till: a simplified sale screen, not a screenshot */
.till {
  background: var(--color-night-2);
  border: var(--rule-hair) solid var(--color-night-rule);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-night-ink);
}
.till__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2xs) var(--space-2xs) var(--space-sm);
  color: var(--color-night-muted);
  font-weight: 700;
}
.till__chip {
  background: var(--color-accent);
  color: var(--color-on-accent);
  border-radius: var(--radius-pill);
  padding: 0 var(--space-sm);
}
.till__body {
  display: grid;
  gap: var(--space-sm);
}
.till__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xs);
  align-content: start;
}
.till__tile {
  background: var(--color-till-tile);
  border: var(--rule-hair) solid var(--color-night-rule);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-xs);
  min-height: 3.5rem;
  font-weight: 700;
  line-height: 1.25;
}
@media (min-width: 40rem) {
  .till__body {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .till__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.till__tile.is-on {
  background: var(--color-till-tile-on);
  border-color: var(--color-accent);
}
.till__basket {
  display: grid;
  gap: var(--space-2xs);
  align-content: start;
  background: var(--color-paper);
  color: var(--color-ink);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
}
.till__line,
.till__total {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xs);
  font-variant-numeric: tabular-nums;
}
.till__line--sub {
  color: var(--color-muted);
  padding-left: var(--space-sm);
}
.till__line--ok {
  color: var(--color-good);
  font-weight: 700;
}
.till__total {
  margin-top: var(--space-xs);
  padding-top: var(--space-xs);
  border-top: var(--rule-hair) solid var(--color-rule);
  font-weight: 800;
  font-size: var(--text-base);
}
.till__pay {
  margin-top: var(--space-xs);
  text-align: center;
  background: var(--color-accent);
  color: var(--color-on-accent);
  border-radius: var(--radius-pill);
  padding: var(--space-xs);
  font-weight: 800;
}

/* The day's receipt, printing out beside the till */
.receipt {
  position: relative;
  margin: calc(-1 * var(--space-lg)) var(--space-xs) 0 auto;
  width: min(78%, 15.5rem);
  background: var(--color-paper);
  color: var(--color-ink);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  font-family: var(--font-receipt);
  font-size: 0.75rem;
  line-height: 1.5;
  transform: rotate(3deg);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 7px),
    93% 100%,
    86% calc(100% - 7px),
    79% 100%,
    72% calc(100% - 7px),
    65% 100%,
    58% calc(100% - 7px),
    51% 100%,
    44% calc(100% - 7px),
    37% 100%,
    30% calc(100% - 7px),
    23% 100%,
    16% calc(100% - 7px),
    9% 100%,
    0 calc(100% - 7px)
  );
}
.receipt__head {
  text-align: center;
  padding-bottom: var(--space-xs);
  border-bottom: 2px dashed var(--color-rule);
  margin-bottom: var(--space-xs);
}
.receipt__head strong {
  display: block;
  font-size: var(--text-sm);
}
.receipt ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.receipt li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xs);
}
.receipt li span:last-child {
  font-variant-numeric: tabular-nums;
  color: var(--color-muted);
}
.receipt__foot {
  margin-top: var(--space-xs);
  padding-top: var(--space-xs);
  border-top: 2px dashed var(--color-rule);
  text-align: center;
}
.receipt__line {
  height: 4px;
  margin-top: var(--space-xs);
  background: var(--color-accent);
  transform-origin: left center;
}
@media (min-width: 60rem) {
  .receipt {
    position: absolute;
    margin: 0;
    left: calc(-1 * var(--space-2xl));
    bottom: 0;
    width: 13.5rem;
    transform: rotate(-2deg);
  }
}
/* The day prints itself, once. Still for people who turn motion off. */
@media (prefers-reduced-motion: no-preference) {
  .receipt li,
  .receipt__foot {
    opacity: 0;
    animation: print var(--dur-long) var(--ease-out) forwards;
    animation-delay: calc(500ms + var(--i, 0) * 260ms);
  }
  .receipt__line {
    transform: scaleX(0);
    animation: draw 1.4s var(--ease-in-out) 2.4s forwards;
  }
}
@keyframes print {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes draw {
  to {
    transform: scaleX(1);
  }
}

/* Sections */
.section {
  padding-block: var(--space-3xl);
}
.section--tight {
  padding-block: var(--space-2xl) var(--space-3xl);
}
.section__head {
  max-width: 40rem;
  margin-bottom: var(--space-xl);
}
.section__head h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.section__head p {
  margin-top: var(--space-md);
  color: var(--color-muted);
  max-width: 58ch;
}

/* The day: a swipe carousel (scroll-snap). The card in view is in focus,
 * its neighbours step back. Arrows move one card; it never moves by itself. */
.carousel__track {
  --track-inset: max(var(--page-gutter), calc((100% - var(--page-max)) / 2 + var(--page-gutter)));
  display: grid;
  grid-auto-flow: column;
  /* Sized by the screen, never by the track: site.js pads the end of the
   * track so the last card can come to the front, and a %-width card would
   * shrink with that padding, again on every resize (Oct 19, the owner saw
   * the cards collapse). */
  grid-auto-columns: min(calc(100vw - 2 * var(--page-gutter) - 3rem), 22rem);
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--track-inset);
  padding: var(--space-md) var(--track-inset) var(--space-xl);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
@media (min-width: 60rem) {
  .carousel__track {
    grid-auto-columns: 24rem;
  }
}
.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-height: 27rem;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  background: var(--color-night);
  color: var(--color-night-ink);
  border-radius: var(--radius-lg);
  transform: scale(0.94);
  opacity: 0.78;
  transition:
    transform var(--dur-long) var(--ease-out),
    opacity var(--dur-long) var(--ease-out);
}
.card.is-active {
  transform: none;
  opacity: 1;
}
/* Tiny NorthTill marks, top to bottom, across the whole card */
.card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--color-accent);
  opacity: 0.2;
  -webkit-mask: url("nt-pattern.svg") 0 0 / 26px 26px repeat;
  mask: url("nt-pattern.svg") 0 0 / 26px 26px repeat;
}
.card__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 6vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--color-accent);
}
.card h3 {
  margin-top: var(--space-md);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.card p {
  max-width: 40ch;
  color: var(--color-night-muted);
}
.card .card__slip {
  margin-top: auto;
  align-self: stretch;
  font-family: var(--font-receipt);
  font-size: var(--text-sm);
  color: var(--color-ink);
  background: var(--color-paper);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
}
.card .card__slip::before {
  content: "✓ ";
  color: var(--color-good);
  font-weight: 700;
}
.carousel__controls {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.carousel__count {
  font-variant-numeric: tabular-nums;
  color: var(--color-muted);
  white-space: nowrap;
}
.carousel__count strong {
  color: var(--color-ink);
}
.carousel__progress {
  flex: 1;
  height: 3px;
  background: var(--color-rule);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.carousel__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--color-ink);
  transform-origin: left center;
  transform: scaleX(0.25);
  transition: transform var(--dur-long) var(--ease-out);
}
.carousel__arrow {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-ink);
  background: transparent;
  color: var(--color-ink);
  font: 700 var(--text-md) / 1 var(--font-body);
  cursor: pointer;
  transition: transform var(--dur-micro) var(--ease-out);
}
.carousel__arrow[data-next] {
  background: var(--color-ink);
  color: var(--color-paper);
}
.carousel__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (hover: hover) and (pointer: fine) {
  .carousel__arrow:not(:disabled):hover {
    transform: translateY(-1px);
  }
}

/* Offline: back on the dark band, a short statement and three plain facts */
.offline {
  background: var(--color-night);
  color: var(--color-night-ink);
}
.offline .section__head p {
  color: var(--color-night-muted);
}
.offline__facts {
  display: grid;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}
.offline__facts li {
  padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--color-night-rule);
  color: var(--color-night-muted);
}
.offline__facts strong {
  display: block;
  color: var(--color-night-ink);
  font-size: var(--text-md);
  margin-bottom: var(--space-2xs);
}
.tag {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 0.1rem 0.6rem;
  border-radius: var(--radius-pill);
  border: var(--rule-hair) solid currentColor;
  white-space: nowrap;
}
.offline .tag {
  color: var(--color-accent);
}
@media (min-width: 52rem) {
  .offline__facts {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr);
  }
}

/* Team and security: lists of plain facts */
.team {
  display: grid;
  gap: var(--space-xl);
}
.team__list,
.security__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
.team__list li,
.security__list li {
  display: grid;
  gap: var(--space-2xs);
  padding-block: var(--space-md);
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.team__list li:first-child {
  border-top: var(--rule-hair) solid var(--color-rule);
}
.team__list strong,
.security__list strong {
  font-size: var(--text-md);
}
.team__list span,
.security__list span {
  color: var(--color-muted);
}
@media (min-width: 52rem) {
  .team {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-3xl);
  }
  .team .section__head {
    position: sticky;
    top: 7rem;
    align-self: start;
  }
}

/* Who it's for: a brand board. Liquor is the signature tile (tiny marks and
 * the big mark cropped off its corner), one amber tile asks about yours. */
.who {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}
.who__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-2xs);
  min-height: 8.5rem;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-paper-2);
  border: var(--rule-hair) solid var(--color-rule);
  color: var(--color-ink);
  text-decoration: none;
  transition: transform var(--dur-short) var(--ease-out);
}
.who__card h3 {
  font-size: var(--text-md);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.who__card h3::after {
  content: " →";
  color: var(--color-accent-ink);
}
.who__card p {
  font-size: var(--text-sm);
}
.who__card--lead {
  grid-column: 1 / -1;
  min-height: 15rem;
  padding: var(--space-xl);
  background: var(--color-night);
  border-color: var(--color-night);
  color: var(--color-night-ink);
}
.who__card--lead::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--color-accent);
  opacity: 0.18;
  -webkit-mask: url("nt-pattern.svg") 0 0 / 26px 26px repeat;
  mask: url("nt-pattern.svg") 0 0 / 26px 26px repeat;
}
.who__card--lead::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: var(--space-lg);
  top: var(--space-lg);
  width: 4.5rem;
  height: 4.5rem;
  background: var(--color-accent);
  opacity: 0.45;
  -webkit-mask: url("mark-lines.svg") center / contain no-repeat;
  mask: url("mark-lines.svg") center / contain no-repeat;
}
.who__card--lead h3 {
  font-size: var(--text-xl);
  letter-spacing: -0.025em;
}
.who__card--lead h3::after {
  color: var(--color-accent);
}
.who__card--lead p {
  font-size: var(--text-base);
  color: var(--color-night-muted);
  max-width: 34ch;
}
.who__card--ask {
  grid-column: 1 / -1;
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-on-accent);
}
.who__card--ask h3::after {
  color: var(--color-on-accent);
}
@media (hover: hover) and (pointer: fine) {
  .who__card:hover {
    transform: translateY(-3px);
  }
}
@media (min-width: 52rem) {
  .who {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(9rem, auto);
  }
  .who__card--lead {
    grid-column: 1;
    grid-row: span 3;
  }
  .who__card--lead::after {
    right: var(--space-xl);
    top: var(--space-xl);
    width: 8rem;
    height: 8rem;
  }
  .who__card--ask {
    grid-column: 2 / -1;
  }
}

/* Switching: three numbered cards */
.switch__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-sm);
}
.switch__steps li {
  display: grid;
  align-content: start;
  gap: var(--space-xs);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-paper-2);
  border: var(--rule-hair) solid var(--color-rule);
}
.switch__no {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  color: var(--color-accent);
  font-weight: 800;
  font-size: var(--text-md);
}
.switch__steps strong {
  font-size: var(--text-md);
}
.switch__steps li > span:last-child {
  color: var(--color-muted);
}
@media (min-width: 52rem) {
  .switch__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
  }
}

/* Security: two columns on wide screens */
.security {
  background: var(--color-paper-2);
}
@media (min-width: 52rem) {
  .security__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-2xl);
  }
}

/* Made in Canada: the Rockies behind, the flag in front */
.canada {
  position: relative;
  isolation: isolate;
  background: var(--color-sky);
  padding-block: var(--space-3xl) clamp(11rem, 22vw, 17rem);
  overflow: hidden;
}
.canada__peaks {
  position: absolute;
  z-index: -1;
  inset: auto 0 0 0;
  width: 100%;
  height: clamp(10rem, 24vw, 19rem);
}
.peak-far {
  fill: var(--color-peak-far);
}
.peak-mid {
  fill: var(--color-peak-mid);
}
.snow {
  fill: var(--color-snow);
}
.peak-near {
  fill: var(--color-peak-near);
}
.canada__inner {
  display: grid;
  gap: var(--space-lg);
  align-content: start;
}
.canada__text {
  color: var(--color-ink);
  max-width: 36rem;
}
.canada h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.canada ul {
  margin: var(--space-sm) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2xs);
  color: var(--color-ink-2);
}
.flag {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  width: 9rem;
  aspect-ratio: 2 / 1;
  background: linear-gradient(to right, var(--color-maple) 0 25%, var(--color-flag-white) 25% 75%, var(--color-maple) 75%);
  border-radius: 3px;
}
.flag__leaf {
  grid-column: 2;
  margin: 12%;
  background: var(--color-maple);
  -webkit-mask: url("maple-leaf.svg") center / contain no-repeat;
  mask: url("maple-leaf.svg") center / contain no-repeat;
}
@media (min-width: 52rem) {
  .canada__inner {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: var(--space-xl);
  }
  .flag {
    width: 12rem;
  }
}

/* Founder note */
.founder {
  max-width: 50rem;
}
.founder h2 {
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.founder blockquote {
  margin: var(--space-md) 0 0;
  padding-left: var(--space-lg);
  border-left: var(--rule-thick) solid var(--color-accent);
}
.founder blockquote p {
  font-size: var(--text-md);
  line-height: 1.55;
}
.founder blockquote footer {
  margin-top: var(--space-sm);
  color: var(--color-muted);
  font-weight: 700;
}

/* Questions: topics as tabs, one answer open at a time, and a way to ask */
.faq {
  display: grid;
  gap: var(--space-xl);
}
.faq__tabs {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: var(--space-md);
  padding: var(--space-2xs);
}
.faq__tabs button {
  flex: none;
  min-height: 44px;
  padding: 0 var(--space-md);
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-rule);
  background: transparent;
  color: var(--color-ink);
  font: 700 var(--text-sm) / 1 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
}
.faq__tabs button[aria-selected="true"] {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-paper);
}
.faq__panel details {
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.faq__panel details:first-of-type {
  border-top: var(--rule-hair) solid var(--color-rule);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-md);
  font-weight: 700;
  font-size: var(--text-md);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-weight: 400;
  color: var(--color-accent-ink);
  transition: transform var(--dur-short) var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding-bottom: var(--space-md);
  max-width: 62ch;
  color: var(--color-ink-2);
}
.faq__ask {
  align-self: start;
  display: grid;
  gap: var(--space-sm);
  justify-items: start;
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  background: var(--color-night);
  color: var(--color-night-ink);
}
.faq__ask h3 {
  font-size: var(--text-lg);
  font-weight: 800;
}
.faq__ask p {
  color: var(--color-night-muted);
}
.faq__ask a:not(.btn) {
  color: var(--color-accent);
  font-weight: 700;
}
@media (min-width: 60rem) {
  .faq {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: var(--space-3xl);
  }
  .faq__ask {
    margin-top: 6.5rem;
  }
}

/* The news checkbox: separate and never ticked for you (CASL) */
.check {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  font-size: var(--text-sm);
}
.check input {
  width: 22px;
  height: 22px;
  margin: 0;
  flex: none;
  accent-color: var(--color-ink);
}

/* Phones: a Book a demo bar that stays at the bottom, once past the hero */
.dock {
  position: fixed;
  z-index: var(--z-sticky);
  left: var(--space-md);
  right: var(--space-md);
  bottom: max(var(--space-md), env(safe-area-inset-bottom));
  transform: translateY(160%);
  transition: transform var(--dur-short) var(--ease-out);
}
.dock.is-shown {
  transform: none;
}
@media (min-width: 52rem) {
  .dock {
    display: none;
  }
}

/* Book a demo */
.demo {
  display: grid;
  gap: var(--space-xl);
}
.form {
  display: grid;
  gap: var(--space-md);
}
.form__row {
  display: grid;
  gap: var(--space-md);
}
.field {
  display: grid;
  gap: var(--space-2xs);
}
.field label {
  font-weight: 700;
  font-size: var(--text-sm);
}
.field .hint {
  font-weight: 400;
  color: var(--color-muted);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--color-ink);
  background: var(--color-paper);
  border: 2px solid var(--color-rule);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  min-height: 48px;
  width: 100%;
}
.field textarea {
  min-height: 7rem;
  resize: vertical;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--color-muted);
}
.field [aria-invalid="true"] {
  border-color: var(--color-bad);
}
.field__error {
  color: var(--color-bad);
  font-size: var(--text-sm);
  font-weight: 600;
}
.form__status {
  font-weight: 600;
}
.form__status[data-state="good"] {
  color: var(--color-good);
}
.form__status[data-state="bad"] {
  color: var(--color-bad);
}
/* The box only bots fill in: off screen, out of the tab order */
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__small {
  font-size: var(--text-sm);
  color: var(--color-muted);
}
@media (min-width: 40rem) {
  .form__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (min-width: 60rem) {
  .demo {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-3xl);
  }
}

/* Ft5 statement footer */
.foot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-night);
  color: var(--color-night-ink);
  padding-block: var(--space-3xl) var(--space-xl);
}
/* The NorthTill mark, large and whole: the brand signing off */
.foot__mark {
  position: absolute;
  z-index: -1;
  right: var(--page-gutter);
  top: var(--space-lg);
  width: 4rem;
  aspect-ratio: 1;
  background: var(--color-accent);
  opacity: 0.22;
  -webkit-mask: url("mark-lines.svg") center / contain no-repeat;
  mask: url("mark-lines.svg") center / contain no-repeat;
}
@media (min-width: 52rem) {
  .foot__mark {
    top: var(--space-2xl);
    width: clamp(9rem, 22vw, 16rem);
  }
}
.foot__line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 20ch;
}
.foot .btn {
  margin-top: var(--space-xl);
}
.foot__meta {
  margin-top: var(--space-2xl);
  padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--color-night-rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-night-muted);
}
.foot__meta ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot__meta a {
  color: var(--color-night-muted);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 150ms !important;
  }
}

/* Legal pages (privacy, terms): one readable column, a DRAFT banner until
 * the lawyer's review is done (owner, Oct 19). */
.draft-banner {
  position: relative;
  z-index: var(--z-sticky);
  background: var(--color-accent);
  color: var(--color-on-accent);
  text-align: center;
  font-weight: 700;
  font-size: var(--text-sm);
  white-space: nowrap;
  padding: var(--space-xs) var(--page-gutter);
}
.legal-page .nav {
  top: calc(var(--space-sm) + 2.25rem);
}
.legal {
  max-width: 46rem;
  margin-inline: auto;
  padding: calc(var(--space-3xl) + var(--space-lg)) var(--page-gutter) var(--space-3xl);
}
.legal h1 {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.legal .legal__date {
  margin-top: var(--space-sm);
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.legal h2 {
  margin-top: var(--space-xl);
  font-size: var(--text-md);
  font-weight: 800;
}
.legal p,
.legal ul {
  margin-top: var(--space-sm);
  max-width: 68ch;
}
.legal ul {
  padding-left: var(--space-lg);
}
.legal li + li {
  margin-top: var(--space-2xs);
}

/* Contact: email, or a call back through the demo form */
.contact {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--color-rule);
  color: var(--color-muted);
}
.contact a {
  font-weight: 700;
}
