/* Guruly home page: the dealt :root block (start.mjs brand, kept as printed) and the page CSS
   that sits inside visuals. Loaded last, after the kit's stylesheets. */
:root {
  --p-bg: #f7f6f5; --p-surface: #f3efed; --p-ink: #1e1a1b; --p-muted: #6a6064;
  --p-accent: #b5172f; --p-accent-ink: #f7f6f5; --p-action: #b5172f; --p-action-ink: #f7f6f5;
  --p-inv-bg: #1e1a1b; --p-inv-surface: #2a2727; --p-inv-ink: #f7f6f5; --p-inv-muted: #9d9a9a;
  --p-inv-accent: #f7f6f5; --p-inv-accent-ink: #1e1a1b; --p-inv-action: #f7f6f5; --p-inv-action-ink: #1e1a1b;
  --font-display: "Reddit Sans", system-ui, sans-serif;
  --font-text: "Reddit Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.04em;
}

/* the app's version badge stays on every other page; the marketing page has no fixed extras */
[data-testid="version-badge"] { display: none !important; }
/* globals.css sets the app's heading face; the home page uses the dealt pairing */
html[data-type] h1, html[data-type] h2 { font-family: var(--font-display); font-stretch: normal; }

/* ---------------------------------------------------------------- shared UI pieces */
.g-win__dots { display: inline-flex; gap: 6px; }
.g-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcd3d0; }
.sp { flex: 1 1 auto; }

/* ---------------------------------------------------------------- hero */
/* the Week Quilt (week-quilt.ts): the poster first, then the still canvas and the moving layer */
.hg { position: relative; overflow: hidden; background: #ece6e3; }
.hg__poster, .hg__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__media.hg > picture > .hg__poster { object-fit: cover; object-position: 0 0; }
.hg[data-ground-drawn] .hg__poster { visibility: hidden; }
.hg__pause { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); cursor: pointer; }
.hg__pause::before { content: ""; position: absolute; inset: -6px; }
/* the words sit level with the middle of the picture; on a phone they come first, the picture after */
@media (min-width: 1024px) { .hero--split .hero__text { align-self: center; } }
.hero--split .hero__lead { max-width: 44ch; }

/* ---------------------------------------------------------------- nav cards */
.menu-card .panel { --p-h: 200px; }
.mc { position: absolute; left: 24px; right: 24px; top: 28px; display: grid; gap: 6px; }
.mc__row { display: flex; justify-content: space-between; gap: 12px; align-items: center; height: 38px; padding: 0 12px; border-radius: 10px;
  background: #fff; box-shadow: 0 0 0 1px rgb(30 26 27 / .08); font-size: 13px; color: #1e1a1b; }
.mc__row b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc__row em, .mc__row i { font-style: normal; color: #6a6064; font-size: 12px; white-space: nowrap; }

/* ---------------------------------------------------------------- app frame (sections-library app-frame, verbatim) */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg, #fff); border: 1px solid var(--u-border, rgb(30 26 27 / .1)); border-radius: var(--u-r, 14px); box-shadow: var(--u-shadow, 0 1px 2px rgb(30 26 27 / .06), 0 24px 60px -30px rgb(30 26 27 / .25)); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line, rgb(30 26 27 / .08)); }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg, #fff)); pointer-events: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line, rgb(30 26 27 / .08)); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
}
.a-list, .a-open { font: 400 14px/1.4 var(--font-text); color: #1e1a1b; }
.a-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-bottom: 1px solid rgb(30 26 27 / .07); }
.a-bar b { font-weight: 500; }
.a-chip { font-size: 12px; color: #6a6064; }
.a-list ul { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; }
.a-list li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; }
.a-list li b { font-weight: 500; font-size: 14px; }
.a-list li span { font-size: 12px; color: #6a6064; }
.a-list li.is-on { background: #fbe3e6; }
@media (min-width: 640px) and (max-width: 1023px) {
  .a-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.a-open__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px 12px; }
.a-open__head > div { display: grid; gap: 2px; min-width: 0; }
.a-open__head b { font-weight: 500; font-size: 17px; }
.a-open__head span { font-size: 13px; color: #6a6064; }
.a-btn { height: 32px; padding: 0 14px; border-radius: 8px; background: #1e1a1b; color: #fff !important; font-size: 13px !important; display: inline-flex; align-items: center; white-space: nowrap; }
.a-tabs { display: flex; gap: 18px; padding: 0 20px; border-bottom: 1px solid rgb(30 26 27 / .07); font-size: 13px; color: #6a6064; }
.a-tabs span { padding: 8px 0; }
.a-tabs .is-on { color: #1e1a1b; box-shadow: inset 0 -2px 0 #1e1a1b; }
.a-lessons { list-style: none; margin: 0; padding: 8px 12px; display: grid; }
.a-lessons li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; height: 46px; padding: 0 8px; border-bottom: 1px solid rgb(30 26 27 / .06); }
.a-lessons b { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-meta { font-size: 12px; color: #6a6064; white-space: nowrap; }
.a-kind { justify-self: start; font: 500 12px/1 var(--font-text); padding: 5px 7px; border-radius: 6px; background: #f3efed; color: #4a4245; }
.a-lessons li.is-new { background: #fdf1f2; border-radius: 8px; }
.a-lessons li.is-new .a-kind { background: #b5172f; color: #fff; }

/* ---------------------------------------------------------------- the 3D scene (#how) */
.week__chapters { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; gap: var(--s-5); }
.week__chapters li { position: relative; padding-left: var(--s-5); }
.week__chapters li::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line); }
.week__chapters h3 { margin: 0; font: 500 var(--t-card)/1.4 var(--font-display); }
.week__chapters p { margin: var(--s-1) 0 0; max-width: 46ch; }
.week__lead { margin: var(--s-4) 0 0; max-width: 46ch; }
.week__stage.frame { padding: 0; border: 0; }
.week__stage { position: relative; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--padt) - var(--padb)); width: 100%; border-radius: var(--r-lg); overflow: hidden; background: #f7f6f5; }
.week__stage.frame > picture { position: absolute; inset: 0; max-width: none; }
/* the still sits whole in its frame, on the ground it was baked on, whatever the frame's shape */
.week__still, .week__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.week__canvas { opacity: 0; transition: opacity .6s var(--ease); }
.week__stage[data-live] .week__canvas { opacity: 1; }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .week[data-chapter="0"] .week__chapters li:nth-child(1)::before,
  .week[data-chapter="1"] .week__chapters li:nth-child(2)::before,
  .week[data-chapter="2"] .week__chapters li:nth-child(3)::before,
  .week[data-chapter="3"] .week__chapters li:nth-child(4)::before { background: var(--accent); }
}
/* one screen (two on a phone). On a screen wide and tall enough to hold the heading and the four
   chapters beside the stage, with motion allowed, two: the content holds the screen for the second
   while the stack opens (week-stage.tsx tests the same media query). The held content runs to 24px
   from the fold, which is what lets a 768px-tall laptop screen carry all four chapters */
main > .week { --h: 1; --hm: 2; }
@media (min-width: 1366px) and (min-height: 720px) and (prefers-reduced-motion: no-preference),
       (min-width: 1280px) and (min-height: 768px) and (prefers-reduced-motion: no-preference) {
  main > .section.week { --h: 2; padding-bottom: 24px; }
  /* (.section.week: the kit's own rule for a section's .wrap weighs as much, and comes first) */
  main > .section.week > .wrap { position: sticky; top: var(--padt); flex: 0 0 auto; height: calc(100svh - var(--padt) - 24px); }
}
@media (max-width: 1023px) {
  .week__stage { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  .week__chapters { margin-top: var(--s-6); gap: var(--s-4); }
  .week__visual { margin-top: var(--s-6); }
  /* the picture takes what the words leave of the section's two phone screens */
  .week > .wrap > .week__grid { display: flex; flex-direction: column; height: 100%; }
  .week__visual { flex: 1 1 auto; display: flex; min-height: 0; }
  .week__stage { flex: 1 1 auto; aspect-ratio: auto; max-height: none; min-height: 342px; height: auto; }
}

/* ---------------------------------------------------------------- feature cards (#families) */
/* each panel hugs its screen: ground round the card, the card centred, no fixed tall panel */
.f-pos { --ax: max(16px, 50% - 210px); --ay: 20px; --ay-sm: 16px; }
@media (min-width: 640px) {
  #families .card > .panel { --p-h: auto; min-height: 0; margin-bottom: 0; border-radius: var(--r-md);
    padding: 24px; display: grid; place-items: center; flex: 0 0 auto; }
  #families .panel > .stage { position: static; inset: auto; -webkit-mask: none; mask: none; width: 100%; display: grid; place-items: center; }
  #families .stage > .f-pos { position: static; width: 100%; max-width: 400px; }
  #families .grid { align-items: start; }
}
/* from 1280: each card is a row, its words left and its screen right, so four fit one screen */
@media (min-width: 1280px) {
  #families .card { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: var(--s-5); align-items: start; align-content: start; }
  #families .card > h3, #families .card > p { grid-column: 1; }
  #families .card > p { min-height: 0; }
  #families .card > .panel { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; padding: 20px; }
}
@media (min-width: 640px) and (max-width: 1279px) { #families { --h: 2; } }
/* a phone keeps the kit's short panel: the screen cut by its foot, never an empty band */
@media (max-width: 639px) { #families .panel { --p-h: 200px; } }
.f-ui { background: #fff; color: #1e1a1b; border-radius: 12px; box-shadow: 0 0 0 1px rgb(30 26 27 / .08), 0 18px 40px -22px rgb(30 26 27 / .35); font: 400 13px/1.4 var(--font-text); overflow: hidden; }
.f-ui__head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-bottom: 1px solid rgb(30 26 27 / .07); }
.f-ui__head b { font-weight: 500; font-size: 14px; }
.f-ui__head span { font-size: 12px; color: #6a6064; }
.f-req, .f-kid { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgb(30 26 27 / .06); }
.f-req.is-done { opacity: .7; }
.f-av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 500; color: #1e1a1b; background: #f3efed; }
.f-av[data-tone="1"] { background: #fde7c2; } .f-av[data-tone="2"] { background: #e5ecd9; } .f-av[data-tone="3"] { background: #f6d9dd; }
.f-av[data-tone="4"] { background: #dce8ee; } .f-av[data-tone="5"] { background: #efe2d0; }
.f-req__who { display: grid; min-width: 0; flex: 1 1 auto; }
.f-req__who b { font-weight: 500; }
.f-req__who span { font-size: 12px; color: #6a6064; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-btn { flex: none; height: 28px; padding: 0 10px; border-radius: 7px; border: 1px solid rgb(30 26 27 / .14); display: inline-flex; align-items: center; font-size: 12px; }
.f-btn.is-ink { background: #1e1a1b; color: #fff; border-color: #1e1a1b; }
.f-btn.is-brand { background: #b5172f; color: #fff; border-color: #b5172f; justify-content: center; height: 34px; }
.f-tag { flex: none; font-size: 12px; padding: 3px 8px; border-radius: 99px; background: #f3efed; color: #4a4245; }
.f-tag.is-accent { background: #fbe3e6; color: #8e0f23; }
.f-sum { display: flex; justify-content: space-between; padding: 12px 14px; font-size: 13px; color: #6a6064; }
.f-sum b { color: #2f6b2f; font-weight: 500; }
.f-url { display: flex; align-items: center; gap: 8px; height: 34px; margin: 10px; padding: 0 12px; border-radius: 8px; background: #f3efed; font-size: 12px; color: #4a4245; }
.f-lock { width: 9px; height: 11px; border-radius: 2px; background: #6a6064; }
.f-site__body { display: grid; gap: 10px; padding: 10px 24px 24px; justify-items: stretch; }
.f-site__body > b { font-weight: 500; font-size: 16px; }
.f-logo { width: 36px; height: 36px; border-radius: 10px; background: #2f6b2f; box-shadow: inset 0 0 0 9px #2f6b2f, inset 0 0 0 13px #e8a317; }
.f-field { height: 34px; border-radius: 7px; border: 1px solid rgb(30 26 27 / .16); display: flex; align-items: center; padding: 0 10px; color: #6a6064; font-size: 12px; }
.f-check { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #4a4245; }
.f-check i { flex: none; width: 14px; height: 14px; border-radius: 4px; background: #1e1a1b; }

/* ---------------------------------------------------------------- fees split (#fees) */
.facts { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.facts li { padding-top: var(--s-3); border-top: 1px solid var(--line); }
#fees .frame--split { min-width: 0; overflow: hidden; }
.s-pos { --ax: 56px; --ay: 56px; }
.s-ui { width: 640px; max-width: none; background: #fff; color: #1e1a1b; border-radius: 12px; box-shadow: 0 0 0 1px rgb(30 26 27 / .08), 0 24px 50px -28px rgb(30 26 27 / .35); font: 400 13px/1.4 var(--font-text); }
.s-ui__bar { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-bottom: 1px solid rgb(30 26 27 / .07); }
.s-ui__bar b { font-weight: 500; font-size: 15px; }
.s-ui__bar span { font-size: 12px; color: #6a6064; }
.s-ui__filters { display: flex; gap: 6px; padding: 10px 16px; }
.s-ui__filters span { height: 26px; padding: 0 10px; border-radius: 99px; border: 1px solid rgb(30 26 27 / .12); display: inline-flex; align-items: center; font-size: 12px; color: #4a4245; }
.s-ui__filters .is-on { background: #1e1a1b; color: #fff; border-color: #1e1a1b; }
.s-ui__rows { list-style: none; margin: 0; padding: 0 8px 8px; }
.s-ui__rows li { display: grid; grid-template-columns: minmax(0, 1.25fr) 72px minmax(0, 1.2fr) 100px; gap: 10px; align-items: center; height: 44px; padding: 0 8px; border-top: 1px solid rgb(30 26 27 / .06); }
.s-payer, .s-to { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-payer { font-size: 12px; color: #4a4245; }
.s-amt { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.s-st { justify-self: start; font-size: 12px; padding: 3px 8px; border-radius: 99px; background: #edf5ec; color: #2f6b2f; white-space: nowrap; }
.s-st[data-st="review"] { background: #b5172f; color: #fff; }
.s-st[data-st="none"] { background: #f3efed; color: #4a4245; }
.s-over { --bx: 24px; --by: -40px; }
.s-remind { width: 300px; background: #fff; color: #1e1a1b; border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px;
  box-shadow: 0 0 0 1px rgb(30 26 27 / .1), 0 20px 40px -16px rgb(30 26 27 / .4); font: 400 13px/1.45 var(--font-text); }
.s-remind__head { display: flex; align-items: center; gap: 8px; }
.s-remind__head img { width: 20px; height: 20px; }
.s-remind__head b { font-weight: 500; font-size: 14px; }
.s-remind p { margin: 0; color: #4a4245; }
.s-remind__acts { display: flex; gap: 8px; }
.s-remind__acts span { height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid rgb(30 26 27 / .14); display: inline-flex; align-items: center; font-size: 12px; }
.s-remind__acts .is-ink { background: #1e1a1b; color: #fff; border-color: #1e1a1b; }

/* ---------------------------------------------------------------- events (#events) */
.e-frame { margin-top: var(--s-7); border-radius: var(--r-lg); padding: 0; background: none; }
.e-ui { background: #2a2727; color: #f7f6f5; border-radius: 14px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08); font: 400 14px/1.4 var(--font-text); overflow: hidden; }
.e-ui__bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.e-ui__bar b { font-weight: 500; font-size: 16px; }
.e-ui__bar > span:not(.sp):not(.e-btn) { font-size: 13px; color: #b3a8a5; }
.e-btn { height: 32px; padding: 0 14px; border-radius: 8px; background: #f7f6f5; color: #1e1a1b; font-size: 13px; display: inline-flex; align-items: center; }
.e-ui__tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid rgb(255 255 255 / .08); }
.e-ui__tally span { padding: 14px 20px; font-size: 13px; color: #b3a8a5; }
.e-ui__tally span + span { border-left: 1px solid rgb(255 255 255 / .08); }
.e-ui__tally b { display: block; font: 500 26px/1.1 var(--font-display); color: #f7f6f5; letter-spacing: -0.02em; }
.e-ui__rows { list-style: none; margin: 0; padding: 4px 12px 10px; }
.e-ui__rows li { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 72px minmax(0, 1.3fr) 130px; gap: 12px; align-items: center; height: 46px; padding: 0 8px; border-top: 1px solid rgb(255 255 255 / .06); }
.e-ui__rows li:first-child { border-top: 0; }
.e-cls { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.e-who, .e-money { color: #b3a8a5; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.e-count { font-variant-numeric: tabular-nums; }
.e-st { justify-self: start; font-size: 12px; padding: 3px 9px; border-radius: 99px; background: rgb(255 255 255 / .08); color: #dcd3d0; white-space: nowrap; }
.e-st[data-st="done"] { background: #2f6b2f; color: #fff; }
.e-names { margin-top: var(--s-7); }
.e-names h3 { margin: 0; font: 500 var(--t-card)/1.4 var(--font-display); }
.e-names p { margin: var(--s-1) 0 0; }
@media (max-width: 1023px) {
  .e-ui__rows li { grid-template-columns: minmax(0, 1.6fr) 64px minmax(0, 1.2fr) 120px; }
  .e-who { display: none; }
  .e-names > div { grid-column: span 6; }
}
@media (max-width: 639px) {
  .e-ui__tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-ui__tally span:nth-child(3) { border-left: 0; }
  .e-ui__tally span:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .08); }
  .e-ui__rows li { grid-template-columns: minmax(0, 1fr) auto; height: auto; padding: 10px 8px; row-gap: 2px; }
  .e-money { grid-column: 1; }
  .e-count { grid-row: 1; grid-column: 2; }
  .e-st { grid-column: 2; }
  .e-ui__bar > span:not(.sp):not(.e-btn) { width: 100%; order: 3; }
  .e-names > div { grid-column: 1 / -1; }
}

/* fees statement on a phone: the frame's width, rows on two lines */
@media (max-width: 639px) {
  .s-ui { width: 100%; }
  .s-ui__rows li { grid-template-columns: minmax(0, 1fr) auto; height: auto; padding: 8px; row-gap: 2px; }
  .s-to { grid-column: 1; }
  .s-st { grid-column: 2; grid-row: 2; justify-self: end; }
  .s-ui__filters span:nth-child(n+3) { display: none; }
}
/* the smallest phones: the bar keeps the name and the menu; the main button is in the sheet and the hero */
@media (max-width: 379px) {
  .nav:not(.is-open) .nav__actions { display: none; }
  .nav:not(.is-open) .nav__toggle { margin-left: auto; }
}
@media (max-width: 639px) { .nav__logo svg { width: 20px; height: 20px; } }
/* body text in the ink (7:1); grey stays for labels */
/* product buttons in the mocks use the app's own primary, so the page keeps one button look */
.a-btn, .f-btn.is-ink, .s-remind__acts .is-ink { background: #b5172f !important; border-color: #b5172f !important; color: #fff !important; }
.e-btn { background: #f7f6f5; }
/* questions: the policies screen beside the heading */
.q-ui { margin-top: var(--s-6); max-width: 360px; }
/* the lit ground in the brand's own sand and cream (globals.css), flat: no wash behind the UI */
html[data-ground] { --ground-bg: #ece6e3; --ground-surface: #f3efed; --ground-ink: #1e1a1b; --ground-muted: #4a4245; --ground-accent: #b5172f; }
.panel:not([data-fx], .panel--device) { background-image: none !important; }
.a-search { color: #6a6064; }

/* the news pill keeps to one line on a phone */

/* ---------------------------------------------------------------- website (#website): an example school's site */
.w-pos { --ax: 32px; --ay: 32px; right: 32px; }
#website .stage > .w-pos { max-width: none; }
.w-site { width: 100%; container-type: inline-size; background: #fff; color: #1e1a1b; border-radius: 12px; overflow: hidden; font: 400 13px/1.4 var(--font-text);
  box-shadow: 0 0 0 1px rgb(30 26 27 / .08), 0 24px 50px -28px rgb(30 26 27 / .35); --site: #0d6b73; }
.w-site__url { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: #f3efed; font-size: 12px; color: #4a4245; }
.w-site__nav { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid rgb(30 26 27 / .07); font-size: 12px; color: #4a4245; }
.w-site__nav b { font-weight: 500; font-size: 14px; color: #1e1a1b; }
.w-site__logo { width: 24px; height: 24px; border-radius: 7px; background: var(--site); box-shadow: inset 0 0 0 6px var(--site), inset 0 0 0 9px #f1d9a4; }
.w-site__enrol { height: 28px; padding: 0 12px; border-radius: 7px; background: var(--site); color: #fff; display: inline-flex; align-items: center; }
.w-site__hero { display: grid; gap: 4px; padding: 20px 18px; background: color-mix(in oklab, var(--site) 9%, #fff); }
.w-site__hero b { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.w-site__hero span { color: #4a4245; }
.w-site__label { padding: 16px 18px 8px; font-size: 12px; font-weight: 500; color: #6a6064; }
.w-site__teachers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0 18px; }
.w-t { display: grid; justify-items: start; gap: 2px; padding: 10px; border: 1px solid rgb(30 26 27 / .08); border-radius: 10px; }
.w-t__av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 12px; margin-bottom: 4px; background: #e6eef0; }
.w-t__av[data-tone="2"] { background: #f1e6d4; } .w-t__av[data-tone="3"] { background: #e5ecd9; } .w-t__av[data-tone="4"] { background: #f2e1e3; }
.w-t b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.w-t span { font-size: 12px; color: #6a6064; }
.w-site__times { list-style: none; margin: 0; padding: 0 18px 18px; }
.w-site__times li { display: grid; grid-template-columns: 44px 72px minmax(0, 1fr); gap: 8px; height: 32px; align-items: center; border-top: 1px solid rgb(30 26 27 / .06); }
.w-site__times b { font-weight: 500; }
@media (max-width: 639px) {
  .w-site { width: 100%; }
  .w-site__nav > span:not(.w-site__logo):not(.sp):not(.w-site__enrol) { display: none; }
  .w-site__teachers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.q-prof { display: flex; align-items: center; gap: 12px; padding: 14px 14px 4px; }
.q-prof .w-t__av { margin: 0; }
.q-bio { margin: 0; padding: 4px 14px 16px; font-size: 13px; line-height: 1.5; color: #4a4245; }
/* the website and questions sections stack into two screens on a tablet */
@media (min-width: 640px) and (max-width: 1023px) { #website { --h: 2; } }
@media (min-width: 640px) and (max-width: 1279px) { #questions { --h: 2; } }
/* the mark hangs left of the centred headline, so the words sit on the page's axis */
/* the website's preview fills its screen beside the words (and its two phone screens) */
@media (min-width: 1024px) { #website .frame--split { --ratio: 112%; } }
/* a phone: the words and the preview on one screen; the lead already names what is on the site */
@media (max-width: 639px) { #website .facts { display: none; } #website .frame--split { --ratio: 125%; } }
/* the family cards in a row share one height: each panel stretches to the taller one */
#families .grid { align-items: stretch; }
@media (min-width: 1280px) { #families .card > .panel { align-self: stretch; } }
@media (min-width: 640px) and (max-width: 1279px) { #families .card { display: flex; flex-direction: column; } #families .card > .panel { flex: 1 1 auto; } }
@media (min-width: 1280px) { #families .card > .panel { min-height: 248px; } }
.w-site__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; padding: 0 18px 18px; }
.w-site__send { height: 34px; padding: 0 14px; border-radius: 7px; background: var(--site); color: #fff; display: inline-flex; align-items: center; font-size: 12px; }
/* the example site fits its frame: it lays itself out for the width it gets */
.w-site__teachers { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
@container (max-width: 520px) {
  .w-site__nav > span:not(.w-site__logo):not(.sp):not(.w-site__enrol) { display: none; }
  .w-site__form { grid-template-columns: 1fr auto; }
  .w-site__form > .f-field:nth-child(2) { display: none; }
}
@container (max-width: 360px) { .w-site__times li { grid-template-columns: 36px 64px minmax(0, 1fr); } }
