/*
 * The public sites' one visual system (design review 2026-11, stage 2.4): lessonwing.com with
 * How to start, Parents and Privacy, and every white-label school's site. It speaks the app's
 * "pro" language (docs/design/DESIGN.md, ADR 0041): ink neutrals, one filled primary, Bricolage
 * display over Inter, radii 4-16, a 1 px border instead of soft glows.
 *
 * A brand is a set of variables: `html.school` swaps the primary, its tints and the display face
 * for the school's own (ADR 0034). Pages carry no inline styles; everything they need is here.
 */

:root {
  color-scheme: light dark;
  --font-display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: Caveat, "Segoe Print", cursive;

  /* Brand (LessonWing's Wing blue; a school overrides these). */
  --brand: #2f5bea;
  --brand-ink: #1b3ecd;
  --on-brand: #ffffff;
  --brand-soft: #e4ecff;
  --brand-soft-ink: #1b3ecd;
  /* One warm highlight per screen, never a button (DESIGN.md). */
  --accent: #ff9f2e;
  --accent-ink: #8f4700;

  /* Neutrals, light. */
  --bg: #f6f8fc;
  --surface: #ffffff;
  --sunken: #eef2f8;
  --ink: #14213d;
  --muted: #3a4766;
  --hint: #56627d;
  --line: #e3e8f2;
  --line-strong: #cfd7e6;
  --good: #1a6b43;
  --good-soft: #ddf4e7;
  --warn-soft: #fff1d6;
  --warn-ink: #6b3a00;

  /* The night band (board, footer): dark in both themes. */
  --night: #14213d;
  --night-2: #1d2c52;
  --night-ink: #ffffff;
  --night-muted: #c9d3ea;
  --night-line: #2a3a63;

  --shadow: 0 1px 2px rgb(20 33 61 / 6%);
  --shadow-lift: 0 24px 48px -24px rgb(20 33 61 / 35%);
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;

  --wrap: 1200px;
  --gutter: 24px;
  /* Vertical rhythm: one scale for every page. 96 px between sections on desktop, 56 on a phone;
     blocks inside a section (steps, a second split, the sign-in row) get the smaller step. */
  --space-section: clamp(56px, 2.2rem + 4.2vw, 96px);
  --space-block: clamp(40px, 1.5rem + 2.6vw, 56px);
  --space-head: clamp(28px, 1rem + 1.9vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #7aa1fd;
    --brand-ink: #b8cefd;
    --on-brand: #0b1220;
    --brand-soft: #16244a;
    --brand-soft-ink: #b8cefd;
    --accent-ink: #ffb866;
    --bg: #0b1220;
    --surface: #111a2e;
    --sunken: #0e1628;
    --ink: #e7ecf6;
    --muted: #b4bed2;
    --hint: #93a0b8;
    --line: #1f2a44;
    --line-strong: #2c3a5a;
    --good: #7fd6a6;
    --good-soft: #10291d;
    --warn-soft: #2b1f0c;
    --warn-ink: #ffcf8f;
    --night: #070c17;
    --night-2: #111a2e;
    --night-line: #1f2a44;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%);
    --shadow-lift: 0 24px 48px -24px rgb(0 0 0 / 70%);
  }
}

/* A white-label school: its own colours and display face (Abigail English Club today). */
html.school {
  --font-display: Manrope, Inter, system-ui, sans-serif;
  --brand: #2f338f;
  --brand-ink: #2f338f;
  --brand-soft: #e4e4fa;
  --brand-soft-ink: #2f338f;
  --accent: #ff9f2e;
}
@media (prefers-color-scheme: dark) {
  html.school {
    --brand: #a9acf5;
    --brand-ink: #c9cbf5;
    --brand-soft: #1e2050;
    --brand-soft-ink: #c9cbf5;
  }
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px / 1.6 var(--font-body);
  overflow-x: clip;
}
img,
video,
svg {
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
a {
  color: var(--brand-ink);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ink);
}
b,
strong {
  font-weight: 600;
  color: var(--ink);
}
code {
  font:
    500 0.88em / 1.4 ui-monospace,
    "SF Mono",
    Menlo,
    monospace;
  background: var(--sunken);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: var(--r-sm);
  overflow-wrap: anywhere;
}
::selection {
  background: var(--brand-soft);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  background: var(--surface);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.narrow {
  max-width: 860px;
}
.stack.narrow > p {
  max-width: 70ch;
}
.muted {
  color: var(--muted);
}
.hint {
  color: var(--hint);
  font-size: 15px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-lg);
  font: 600 16px / 1.2 var(--font-body);
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}
.btn-primary:hover {
  background: var(--brand-ink);
  color: var(--on-brand);
}
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost {
  color: var(--ink);
  padding: 0 14px;
}
.btn-ghost:hover {
  background: var(--sunken);
}
.btn-sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
}
.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 17px;
}
.btn svg {
  flex: none;
}
.on-night .btn-secondary {
  background: transparent;
  color: var(--night-ink);
  border-color: var(--night-line);
}

/* ---------- header ---------- */
.site-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font: 700 21px / 1 var(--font-display);
  letter-spacing: -0.01em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  flex: 1 1 340px;
  font-size: 15px;
  font-weight: 500;
}
.links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}
.links a:hover,
.links a[aria-current] {
  color: var(--ink);
}
.links a[aria-current] {
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--brand);
}
.actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.lang {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--hint);
}
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--hint);
  text-decoration: none;
}
.lang a[aria-current] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (max-width: 860px) {
  .burger {
    display: inline-flex;
  }
  .nav .links,
  .nav .actions {
    display: none;
  }
  .menu-open .links {
    display: flex;
    flex: 1 1 100%;
    flex-direction: column;
    border-top: 1px solid var(--line);
    padding-top: 6px;
  }
  .menu-open .links a {
    font-size: 17px;
    min-height: 48px;
  }
  .menu-open .actions {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    margin: 0;
    padding-bottom: 8px;
  }
}

/* ---------- sections ---------- */
.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
/* Two plain sections in a row share one gap. A hidden section in between (owner content not yet
   published, or the marketplace before it has listings) does not count, and a band's edge always gets the full gap on both sides. */
.section:not([hidden], .market-empty) + .section,
.section:not([hidden], .market-empty) + :is(.section[hidden], .market-empty) + .section {
  padding-top: 0;
}
.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
}
.h2-sm {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-bottom: var(--space-head);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}
.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 600px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.stack-lg {
  gap: 22px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px 72px;
  align-items: center;
}
.split.reverse > :first-child {
  order: 2;
}
/* Text keeps a readable measure when a split or a final call stacks into one column. */
:is(.split, .guide-step, .final) .stack > :is(p, ul, ol) {
  max-width: 36em;
}
.split + .split {
  margin-top: var(--space-section);
}
.visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  min-width: 0;
}
.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(-45deg);
}
.ticks b {
  color: var(--ink);
}
.note {
  font-size: 15px;
  color: var(--hint);
}
.tip {
  background: var(--warn-soft);
  color: var(--warn-ink);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  font-size: 15px;
}
.tip b {
  color: inherit;
}
.chip.hero-subjects {
  border-radius: 14px;
  line-height: 1.4;
  flex-wrap: wrap;
  column-gap: 4px;
}
.chip.hero-subjects a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  /* A 44px tap target around the short link (UX audit P3), without moving the text. */
  display: inline-block;
  padding: 12px 4px;
  margin: -12px -4px;
}
.chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: var(--brand-soft);
  color: var(--brand-soft-ink);
}

/* ---------- device frames around the real screens ---------- */
.browser {
  width: 100%;
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}
.browser-bar {
  min-height: 34px;
  background: #eef1f7;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
}
.browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfd7e6;
}
.browser-bar span {
  margin-left: 8px;
  font-size: 12px;
  color: #56627d;
  background: #fff;
  padding: 2px 10px;
  border-radius: var(--r-sm);
}
.phone {
  width: min(260px, 100%);
  flex: none;
  border-radius: 30px;
  border: 7px solid #14213d;
  background: #14213d;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.phone.cut {
  border-bottom-width: 0;
  border-radius: 30px 30px 0 0;
}
.phone.sm {
  width: min(220px, 46%);
}
.shot {
  display: block;
  width: 100%;
  height: auto;
}
.mascot {
  display: block;
  width: 220px;
  max-width: 60%;
}

/* ---------- product home: hero ---------- */
.hero {
  padding-top: 72px;
  padding-bottom: 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px 48px;
  align-items: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-title {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}
.hero-title em {
  font-style: normal;
  color: var(--brand-ink);
  background: linear-gradient(
    transparent 82%,
    color-mix(in srgb, var(--accent) 55%, transparent) 82%
  );
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stage {
  position: relative;
  padding: 0 0 0 9%;
}
.stage-back {
  width: 88%;
  margin-left: auto;
  opacity: 0.9;
}
.stage-front {
  position: absolute;
  left: 0;
  bottom: -72px;
  width: 64%;
}

.stage-tag {
  position: absolute;
  right: 2%;
  bottom: -104px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 44%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: var(--shadow-lift);
}
.stage-tag svg {
  flex: none;
  color: var(--good);
}

/* The product hero: one real screen on each device (a computer, a tablet, a phone). */
.devices {
  position: relative;
  padding: 8px 0 120px;
}
.devices .shot {
  border-radius: var(--r-xs);
}
.laptop {
  position: relative;
  width: 88%;
  margin-left: 2%;
}
.laptop-screen {
  padding: 10px 10px 12px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: #14213d;
  box-shadow: var(--shadow-lift);
}
.laptop-base {
  position: relative;
  height: 14px;
  margin: 0 -7%;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  background: linear-gradient(#cfd7e6, #b8c3d8);
}
.laptop-base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: #a9b5cc;
}
.tablet {
  position: absolute;
  left: -4%;
  bottom: 8px;
  width: 46%;
  padding: 10px;
  border-radius: 18px;
  background: #14213d;
  box-shadow: var(--shadow-lift);
}
.handset {
  position: absolute;
  right: -3%;
  bottom: 0;
  width: 21%;
  padding: 6px;
  border-radius: 26px;
  background: #14213d;
  box-shadow: var(--shadow-lift);
}
.devices .handset .shot {
  aspect-ratio: 600 / 1100;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
}
.devices .stage-tag {
  top: 0;
  right: auto;
  bottom: auto;
  left: -6%;
}

/* "Where it works": four places, a row on wide screens and a 2 x 2 grid on phones. */
.where {
  display: grid;
  grid-template-columns: auto repeat(4, auto);
  gap: 12px 36px;
  align-items: center;
  justify-content: center;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.where > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.where > span:first-child {
  color: var(--hint);
  font-weight: 500;
}
.where svg {
  flex: none;
  color: var(--brand-ink);
}

/* ---------- the three steps (home) ---------- */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  overflow: hidden;
}
.steps li {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-increment: step;
}
.steps li + li {
  border-left: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  font: 700 15px / 1 var(--font-body);
  color: var(--brand-ink);
  background: var(--brand-soft);
  width: 32px;
  height: 32px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.steps p {
  color: var(--muted);
  font-size: 16px;
}

/* ---------- the tutor's week (home) ---------- */
/* Five moments of a week: a rail of anchors, then one section per moment (heading, a list of what
   works there, one line of what to ask her AI, a real screen). */
.week ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.week li {
  position: relative;
}
.week li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 70px;
  right: 10px;
  height: 1px;
  background: var(--line-strong);
}
.week a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 12px 16px 12px 12px;
  border-radius: var(--r-lg);
  color: var(--ink);
  text-decoration: none;
}
.week a:hover {
  background: var(--surface);
}
.week svg {
  box-sizing: content-box;
  padding: 11px;
  margin-bottom: 10px;
  border-radius: var(--r-lg);
  background: var(--brand-soft);
  color: var(--brand-soft-ink);
}
.week b {
  font-size: 16px;
  line-height: 1.3;
}
.week span {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}
.week-head {
  padding-bottom: 72px;
}
.moment .h2,
#board-title {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
}
.h2 .when {
  color: var(--brand-ink);
}
.night .h2 .when {
  color: #b8cefd;
}
.feats,
.games {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  text-wrap: pretty;
}
.feats li,
.games li {
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
.feats li + li {
  border-top: 1px solid var(--line);
}
.feats b,
.games b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}
.games {
  margin-top: 8px;
  border-top: 1px solid var(--night-line);
}
.games li + li {
  border-top: 1px solid var(--night-line);
}
.night .games b {
  color: var(--night-ink);
}
.ask {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.ask svg {
  flex: none;
  margin-top: 2px;
  color: var(--brand-ink);
}
.shot-top {
  aspect-ratio: 600 / 1000;
  object-fit: cover;
  object-position: top;
}
.board-list {
  text-wrap: pretty;
}

/* ---------- the board (home) ---------- */
.night {
  background: var(--night);
  color: var(--night-ink);
}
.night .muted,
.night p,
.night li {
  color: var(--night-muted);
}
.night h2,
.night b {
  color: var(--night-ink);
}
.night a {
  color: #b8cefd;
}
.board-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px 56px;
  align-items: start;
}
.board-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.board-list li {
  padding-left: 18px;
  position: relative;
}
.board-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 2px;
  background: var(--accent);
}
.board-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.tools {
  display: flex;
  gap: 4px;
  background: var(--night-2);
  padding: 4px;
  border-radius: var(--r-lg);
}
.tool {
  font: 600 15px / 1 var(--font-body);
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-md);
  border: 0;
  background: transparent;
  color: var(--night-muted);
  cursor: pointer;
}
.tool[aria-pressed="true"] {
  background: #fff;
  color: #14213d;
}
.board-toggle {
  font: 600 15px / 1.15 var(--font-body);
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-lg);
  border: 0;
  background: #fff;
  color: #14213d;
  cursor: pointer;
}
.board {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background-color: #fff;
  background-image:
    linear-gradient(#e3e9f6 1px, transparent 1px),
    linear-gradient(90deg, #e3e9f6 1px, transparent 1px);
  background-size: 28px 28px;
  touch-action: auto;
}
.board.drawing {
  touch-action: none;
  cursor: crosshair;
  box-shadow: 0 0 0 3px var(--accent);
}
.board svg {
  display: block;
  width: 100%;
  height: auto;
}
.board-people {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.board-people span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #2f5bea;
  color: #fff;
}
.board-people span + span {
  background: #ff9f2e;
  color: #14213d;
}
.board-caption {
  margin-top: 10px;
  font-size: 14px;
}

/* ---------- schools card (home) ---------- */
.school-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.school-card-bar {
  padding: 10px 16px;
  background: var(--sunken);
  font-size: 13px;
  color: var(--hint);
}
.school-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.school-card-name {
  font:
    700 26px / 1.1 Manrope,
    Inter,
    sans-serif;
  color: var(--ink);
}
.school-card .btn-school {
  align-self: flex-start;
  background: #2f338f;
  color: #fff;
}
.school-card .btn-school:hover {
  background: #1e2170;
  color: #fff;
}
.runs-on {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--hint);
}
.runs-on img {
  border-radius: var(--r-xs);
}

/* ---------- proof (owner content; hidden until supplied) ---------- */
.proof {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(22px, 4vw, 44px);
}
.proof[hidden] {
  display: none;
}
.proof-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--sunken);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hint);
  font-size: 14px;
  text-align: center;
  padding: 16px;
}
.proof blockquote {
  font: 500 clamp(20px, 2.2vw, 26px) / 1.4 var(--font-body);
  color: var(--ink);
}
.proof figcaption {
  color: var(--hint);
  font-size: 15px;
}
.numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.numbers div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}
.numbers dt {
  font-size: 14px;
  color: var(--hint);
}
.numbers dd {
  margin: 0;
  font: 700 32px / 1.1 var(--font-display);
  font-variant-numeric: tabular-nums;
}

/* ---------- prices ---------- */
.beta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  background: var(--brand-soft);
  color: var(--brand-soft-ink);
  border-radius: var(--r-xl);
  padding: 22px 26px;
  margin-bottom: 20px;
}
.beta p {
  color: var(--ink);
  max-width: 720px;
}
.beta b {
  color: var(--brand-soft-ink);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.plan-soon {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-soft-ink);
  font: 600 13px / 1.5 var(--font-body);
}
.tg-icon {
  flex: none;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--hint);
  font-size: 15px;
}
.plan-price b {
  font: 700 40px / 1 var(--font-display);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}
.plan li {
  padding-left: 16px;
  position: relative;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.plan .btn {
  margin-top: auto;
}
.school-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-xl);
  padding: 18px 26px;
  margin-top: 16px;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  font-weight: 600;
  font-size: 18px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--hint);
  border-bottom: 2px solid var(--hint);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
}
.faq details p {
  padding: 0 0 18px;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- the final call ---------- */
.final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  background: var(--night);
  color: var(--night-ink);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 56px);
}
.final h2 {
  color: var(--night-ink);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
}
.final p {
  color: var(--night-muted);
}
.final p a {
  color: var(--night-ink);
  text-decoration: underline;
}
.final p a:hover {
  color: var(--night-ink);
  text-decoration-thickness: 2px;
}
.final .btn-primary {
  background: #fff;
  color: #14213d;
}
.final .btn-primary:hover {
  background: #e4ecff;
  color: #14213d;
}
.final img {
  width: 200px;
}

/* ---------- footer ---------- */
.site-foot {
  background: var(--night);
  color: var(--night-muted);
  font-size: 15px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  justify-content: space-between;
  padding-top: 48px;
  padding-bottom: 32px;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 260px;
}
.foot-brand .brand {
  color: var(--night-ink);
  font-size: 20px;
}
.foot-col {
  display: flex;
  flex-direction: column;
}
.foot-col > span {
  color: var(--night-ink);
  font-weight: 600;
  margin-bottom: 4px;
}
.foot-col a {
  color: var(--night-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.foot-col a:hover {
  color: var(--night-ink);
  text-decoration: underline;
}
.foot-legal {
  border-top: 1px solid var(--night-line);
  padding-top: 16px;
  padding-bottom: 28px;
  font-size: 14px;
  color: #aeb9d3;
}

/* ---------- How to start / Parents: numbered steps with screens ---------- */
.page-head {
  padding-top: 64px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.page-title {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
}
.guide-step {
  padding-top: var(--space-block);
  padding-bottom: var(--space-block);
  border-top: 1px solid var(--line);
}
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-lg);
  background: var(--brand);
  color: var(--on-brand);
  font: 700 18px / 1 var(--font-body);
  font-variant-numeric: tabular-nums;
}
.guide-step ul,
.guide-step ol {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}
.pair {
  position: relative;
  width: 100%;
  padding-bottom: 90px;
}
.pair .phone {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: min(170px, 32%);
}
.chat {
  width: 100%;
  max-width: 440px;
  background: #dce8f5;
  color: #14213d;
  border-radius: var(--r-xl);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-lift);
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.chat-top img {
  border-radius: 50%;
}
.chat-top small {
  display: block;
  font-weight: 500;
  color: #56627d;
  font-size: 13px;
}
.bubble {
  background: #fff;
  border-radius: 16px 16px 16px 4px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.45;
  max-width: 92%;
}
.bubble.me {
  align-self: flex-end;
  background: #e1f6cb;
  border-radius: 16px 16px 4px 16px;
}
.keys {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 92%;
}
.keys span {
  background: rgb(255 255 255 / 70%);
  border-radius: var(--r-lg);
  padding: 9px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: #1b3ecd;
}
.table {
  border-collapse: collapse;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.table th,
.table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.table th {
  background: var(--sunken);
  font-weight: 600;
}
.video {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 900px;
}
.video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  background: var(--brand-soft);
  border: 1px solid var(--line);
}
.video figcaption {
  font-size: 15px;
  color: var(--hint);
}
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(22px, 4vw, 44px);
}
.promise {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 16px;
  align-items: start;
  background: var(--good-soft);
  border-radius: var(--r-xl);
  padding: 20px 22px;
  max-width: 760px;
}
.promise svg {
  color: var(--good);
}
.promise p {
  color: var(--ink);
}

/* ---------- privacy and other long text ---------- */
.prose-page {
  padding-top: 40px;
  padding-bottom: 64px;
}
.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(22px, 4vw, 48px);
}
.prose h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 8px;
}
.prose h2 {
  font: 600 21px / 1.3 var(--font-body);
  letter-spacing: 0;
  margin: 36px 0 8px;
}
.prose p,
.prose li {
  color: var(--muted);
  max-width: 36em;
}
.prose p + p {
  margin-top: 12px;
}
.prose ul {
  padding-left: 22px;
}
.prose li {
  margin: 6px 0;
}
.prose .date {
  color: var(--hint);
  font-size: 15px;
  margin: 0 0 24px;
}
.prose-foot {
  padding-top: 0;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--hint);
}

/* ---------- the school's site ---------- */
.school-hero {
  padding-top: 64px;
  padding-bottom: 80px;
}
.points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--muted);
}
.points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.points svg {
  color: var(--brand-ink);
  flex: none;
}
.ways {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
}
.ways li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 16px;
}
.ways svg {
  grid-row: span 2;
  color: var(--brand-ink);
  margin-top: 2px;
}
.ways p {
  color: var(--muted);
}
.who {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.who article {
  padding: 28px 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.who article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.who h3 {
  font-size: 22px;
}
.who .chip {
  margin-bottom: 4px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.gallery figure {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gallery .phone {
  width: min(240px, 100%);
  align-self: center;
}
.gallery figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gallery figcaption span {
  color: var(--muted);
  font-size: 16px;
}
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.duo figure {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.duo .shot-crop {
  aspect-ratio: 1440 / 640;
  object-fit: cover;
  object-position: top;
}
.signin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 28px 48px;
  align-items: center;
  margin-top: var(--space-block);
}
.signin ol {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}
.signin img {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.reviews[hidden],
.owner-pending[hidden] {
  display: none;
}
.reviews figure {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 2px solid var(--brand);
  padding-top: 18px;
}
.reviews blockquote {
  font-size: 18px;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .hero-grid,
  .board-grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .split.reverse > :first-child {
    order: 0;
  }
  .week ol {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
  .week a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 0;
    padding: 8px 0;
  }
  .week svg {
    grid-row: span 2;
    margin: 0;
  }
  .week li:not(:last-child)::after {
    top: 52px;
    bottom: -8px;
    left: 22px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .week a:hover {
    background: none;
  }
  .stage {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
  /* Stacked hero: the devices stay inside the gutter, the tablet, tag and phone on its edges. */
  .devices {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
  }
  .laptop {
    width: 84%;
    margin: 0 auto;
  }
  .tablet,
  .devices .stage-tag {
    left: 0;
  }
  .handset {
    right: 0;
  }
  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
  .gallery,
  .reviews,
  .who {
    grid-template-columns: minmax(0, 1fr);
  }
  .who article,
  .who article + article {
    padding: 24px 0 0;
    border-left: 0;
  }
}

/* Phones: one readable screen in the hero, the call above the fold, compact rhythm. */
@media (max-width: 719px) {
  :root {
    --gutter: 16px;
  }
  body {
    font-size: 16px;
  }
  .hero,
  .school-hero {
    padding-top: 28px;
    padding-bottom: 48px;
  }
  .hero-text {
    gap: 16px;
  }
  .hero-title {
    font-size: 36px;
  }
  .lead {
    font-size: 17px;
  }
  .ctas .btn {
    flex: 1 1 auto;
  }
  .stage {
    padding: 0;
  }
  .stage-back,
  .stage-tag,
  .tablet {
    display: none;
  }
  .devices {
    padding-bottom: 72px;
  }
  .laptop {
    width: 100%;
    margin-left: 0;
  }
  .laptop-base {
    margin: 0 -4%;
  }
  .handset {
    right: -4px;
    width: 34%;
  }
  .stage-front {
    position: static;
    width: 100%;
  }
  .where {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    justify-content: stretch;
  }
  .where > span:first-child {
    grid-column: 1 / -1;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps li {
    padding: 20px;
  }
  .steps li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .board-bar {
    flex-wrap: nowrap;
  }
  .tool {
    padding: 0 10px;
    font-size: 14px;
  }
  .board-toggle {
    flex: 1 1 0;
    min-width: 0;
    padding: 4px 10px;
    font-size: 14px;
  }
  .proof {
    grid-template-columns: minmax(0, 1fr);
  }
  .proof-photo {
    max-width: 200px;
  }
  .numbers dd {
    font-size: 26px;
  }
  .final {
    grid-template-columns: minmax(0, 1fr);
  }
  .final img {
    display: none;
  }
  .page-head {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .ways {
    grid-template-columns: minmax(0, 1fr);
  }
  .duo,
  .signin {
    grid-template-columns: minmax(0, 1fr);
  }
  .signin img {
    max-width: 300px;
  }
  .phone.sm {
    width: min(200px, 46%);
  }
  .visual .phone + .phone {
    width: min(240px, 46%);
  }
  .visual .phone:has(+ .phone) {
    width: min(240px, 50%);
  }
  .week-head {
    padding-bottom: 48px;
  }
}
@media (max-width: 359px) {
  .board-bar {
    flex-wrap: wrap;
  }
  .board-toggle {
    flex: none;
    padding: 0 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .faq summary::after {
    transition: none;
  }
}

.center-note {
  text-align: center;
  margin-top: 16px;
}
.faq-title {
  margin-bottom: 24px;
}
.start-btn {
  align-self: flex-start;
}
.center-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.final-shot {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}
.callout.split {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 32px;
}
.page-head .video {
  margin-top: 12px;
}
@media (max-width: 1024px) {
  .final-shot {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 719px) {
  .callout.split {
    grid-template-columns: minmax(0, 1fr);
  }
}
.prose + .prose {
  margin-top: 24px;
}

/* ---------- the school's hero and blocks ---------- */
.school-stage {
  padding: 0 0 72px 64px;
}
.school-stage .stage-back {
  width: 100%;
  opacity: 1;
}
.stage-phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 168px;
  border-width: 5px;
  border-radius: 24px;
}
.visual-col {
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
/* A column of phone + caption: the phone keeps its full height (a flex basis would set it). */
.visual.visual-col > .phone {
  flex: none;
  width: min(300px, 100%);
}
.ways-one {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
html.school .final {
  background: #2f338f;
}
html.school .final .btn-primary {
  color: #2f338f;
}
.runs-on-night {
  color: var(--night-muted);
}
.duo figcaption {
  font-size: 16px;
}
@media (max-width: 719px) {
  .school-stage {
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .school-stage .stage-back {
    display: none;
  }
  .stage-phone {
    position: static;
    width: 220px;
  }
}
.school-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.school-hero .hero-title {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.06;
}
.who-line {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-top: -6px;
}
@media (max-width: 1024px) {
  .school-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 719px) {
  .school-hero .hero-title {
    font-size: 32px;
  }
}
.visual > .phone {
  flex: 0 1 260px;
  min-width: 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  font-weight: 600;
}

/* The marketplace's most-liked listings (ADR 0044): server-rendered cards, hidden until enough are published. */
.market-empty {
  display: none;
}
.market-grid {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.market-card {
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
}
.market-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}
.market-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.market-card .cover {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: -20px -20px 4px;
  overflow: hidden;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(135deg, var(--brand-soft), var(--sunken));
}
.market-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.market-card .price {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font:
    700 14px / 1.4 Manrope,
    Inter,
    sans-serif;
  box-shadow: var(--shadow);
}
.market-card-title {
  font:
    700 19px / 1.25 Manrope,
    Inter,
    sans-serif;
  overflow-wrap: anywhere;
}
.market-card-by {
  color: var(--hint);
  font-size: 14px;
}
.market-card .tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.market-card .tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sunken);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.market-card .tag.soft {
  background: var(--brand-soft);
  color: var(--brand-soft-ink);
}
.market-card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--hint);
  font-size: 13px;
}
.market-card-likes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
@media (max-width: 1024px) {
  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .market-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
