/* AlfiTab: the public home page ("/" in Arabic, "/en" in English). Small and separate from app.css so the
   page search engines and visitors see first loads fast. Its colours are the app's own: the teal of the timetable
   frame, the amber of the break column, the light subject colours of the printed sheets. */
:root {
  --teal: #0f6e6a;
  --teal-2: #0a524f;
  --ink: #1d2a3a;
  --ink-2: #4a5a6c;
  --page: #f3f6f6;
  --paper: #ffffff;
  --line: #d6e0e0;
  --break: #fdf3dc;
  --break-ink: #8a6510;
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.site { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.65 var(--font); }
a { color: var(--teal); }
a:focus-visible, .cta:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 55%, transparent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
p { margin: 0; }

/* ---- top bar: the name, the other language, log in */
.site-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1140px; margin: 0 auto; padding: 1.1rem 1.5rem; }
.site-brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.site-brand span { white-space: nowrap; }
.site-brand img { display: block; height: 30px; width: auto; }
.site-nav a:hover { color: var(--teal); }
.site-nav .site-login { color: var(--teal); }
.site-nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; text-decoration-color: var(--teal); }

/* ---- the opening: what it is on one side, a class's week being filled on the other */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 3.5rem;
  max-width: 1140px; margin: 0 auto; padding: 2.5rem 1.5rem 4.5rem; }
.hero h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.05rem); font-weight: 700; letter-spacing: -.01em; max-width: 17ch; }
:lang(ar) .hero h1 { letter-spacing: 0; max-width: 15ch; line-height: 1.35; }
.lead { margin-top: 1.1rem; font-size: 1.12rem; color: var(--ink-2); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.5rem; border-radius: 10px;
  background: var(--teal); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--teal); }
.cta:hover { background: var(--teal-2); border-color: var(--teal-2); }
.cta.quiet { background: transparent; color: var(--teal); }
.cta.quiet:hover { background: color-mix(in srgb, var(--teal) 8%, transparent); }
.hero-price { margin-top: 1rem; font-size: .95rem; color: var(--ink-2); }

/* The week of 10A: days down the side, periods across, the break between the third and fourth period. */
.board { position: relative; margin: 0; background: var(--paper); border-radius: 14px; padding: 1.1rem 1.1rem 1.2rem; box-shadow: 0 1px 0 var(--line), 0 18px 40px -22px rgba(15, 60, 58, .35); }
/* The class's name in the middle, the term at the end. */
.board-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: .5rem; margin-bottom: .7rem; padding-inline: .2rem; }
.board-name { grid-column: 2; font-size: 1.6rem; font-weight: 700; letter-spacing: .01em; }
.board-term { grid-column: 3; justify-self: end; font-size: .85rem; color: var(--ink-2); }
/* Cards: each lesson a rounded card in its subject's tint, gaps instead of lines, the periods in grey boxes along the
   top and the days on their own down the side. The break is a grey card too, its heading as well, so the row along
   the top runs unbroken. */
.board-grid { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)) minmax(0, .5fr) repeat(3, minmax(0, 1fr));
  gap: .3rem; font-size: .78rem; }
.board-grid > span { display: flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .25rem; text-align: center;
  border-radius: 8px; line-height: 1.2; }
.board-grid .corner, .board-grid .period { min-height: 2.1rem; font-weight: 700; color: var(--ink); font-size: .9rem; }
.board-grid .period, .board-grid .brk { background: #eef1f4; }
.board-grid .day { padding-inline: .5rem; font-weight: 700; color: var(--teal); font-size: .85rem; }
.board-grid .lesson { background: var(--fill); font-weight: 600; color: var(--shade, var(--ink)); }
.board-grid .brk { grid-column: 5; grid-row: 2 / span 5; color: var(--ink-2); font-weight: 700; writing-mode: vertical-rl; letter-spacing: .04em; }
/* Each lesson takes its place in turn, once, as when the generator runs. */
@media (prefers-reduced-motion: no-preference) {
  .board-grid .lesson { animation: place .38s cubic-bezier(.2, .7, .3, 1) both; animation-delay: calc(250ms + var(--i) * 38ms); }
}
@keyframes place { from { opacity: 0; transform: scale(.82); } }
/* Pointing at a lesson (or tapping it on a phone) lights up its subject across the week; the rest fade back. */
.board-grid .lesson { transition: opacity .18s, transform .18s, box-shadow .18s; }
.board-grid.picking .lesson:not(.on) { opacity: .3; }
.board-grid.picking .lesson.on { transform: scale(1.05); box-shadow: 0 6px 14px -8px rgba(15, 60, 58, .55); }
/* Under the week: what it proves, once every lesson is in place, and Generate again. */
.board-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: .85rem; padding-inline: .2rem; min-height: 2rem; }
.board-done { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; background: #e2f3ea; color: #1d7447; font-size: .85rem; font-weight: 600; }
.board-foot svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.board-again { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .55rem; border: 0; border-radius: 8px; background: none; color: var(--teal);
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.board-again:hover { background: color-mix(in srgb, var(--teal) 9%, transparent); }
.board-again:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 55%, transparent); outline-offset: 2px; }
.board-again:disabled { opacity: .5; cursor: default; }
/* The students' link on a phone at the week's corner (wide screens): today's lessons and this week's plan. */
.board-phone { display: none; }
@media (min-width: 1260px) {
  .board-phone { display: block; position: absolute; inset-inline-end: -4rem; bottom: -2.9rem; width: 9.6rem; padding: .55rem .5rem .7rem;
    border: 5px solid #1d2a3a; border-radius: 1.55rem; background: #fff; box-shadow: 0 22px 40px -18px rgba(15, 60, 58, .5); font-size: .66rem; line-height: 1.25; }
  .board-foot { padding-inline-end: 6rem; } /* the phone stands over its end */
}
.board-phone::before { content: ""; display: block; width: 2.3rem; height: .3rem; margin: 0 auto .55rem; border-radius: 999px; background: #1d2a3a; }
.phone-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .45rem; padding-inline: .15rem; font-size: .82rem; }
.phone-head small { color: var(--ink-2); font-size: .62rem; font-weight: 600; }
.phone-row { display: flex; align-items: center; gap: .4rem; margin-bottom: .25rem; padding: .34rem .45rem; border-radius: .45rem; background: var(--fill); color: var(--shade); font-weight: 600; }
.phone-row time { margin-inline-start: auto; color: var(--ink-2); font-size: .58rem; font-weight: 500; direction: ltr; }
.phone-row.brk { justify-content: center; padding-block: .16rem; background: #eef1f4; color: var(--ink-2); font-size: .58rem; }
.phone-plan { display: flex; flex-direction: column; gap: .1rem; margin-top: .5rem; padding: .45rem .5rem; border-radius: .45rem; background: #f4f6f8; color: var(--ink-2); font-size: .6rem; }
.phone-plan small { color: var(--teal); font-size: .55rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
:lang(ar) .phone-plan small { text-transform: none; letter-spacing: 0; }
.phone-plan b { color: var(--shade); font-size: .7rem; }
/* The proof comes once the last lesson is placed; the phone rises after it. Without motion both are simply there. */
@media (prefers-reduced-motion: no-preference) {
  .board-done { animation: rise .4s ease-out both; animation-delay: calc(450ms + var(--n, 30) * 38ms); }
  .board-phone { animation: rise .55s cubic-bezier(.2, .7, .3, 1) both; animation-delay: calc(700ms + var(--n, 30) * 38ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---- the sections below */
.block { max-width: 1140px; margin: 0 auto; padding: 3.5rem 1.5rem; border-top: 1px solid var(--line); }
.block h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 1.8rem; }
/* What it does: each point marked by a subject colour, as subjects are marked in the app's lists. */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem 2.6rem; }
.features li { padding-inline-start: 1.1rem; border-inline-start: 4px solid var(--swatch); }
.features h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .45rem; }
.features p { color: var(--ink-2); font-size: .98rem; max-width: 36ch; }
/* How it works: three steps in order. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: .9rem; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700; font-size: 1.05rem; }
.steps h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .45rem; }
.steps p { color: var(--ink-2); font-size: .98rem; max-width: 34ch; }
.price p { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.4rem; max-width: 40rem; }
.price .hero-actions { margin-top: 0; }

/* ---- pricing: three plans; the yearly one carries the teal frame of a printed timetable */
.price-head { max-width: 1140px; margin: 0 auto; padding: 2.2rem 1.5rem 2.4rem; }
.price-head h1 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.8rem); font-weight: 700; max-width: 20ch; }
:lang(ar) .price-head h1 { line-height: 1.35; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1.4rem; max-width: 1140px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.plan { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.plan h2 { font-size: 1.05rem; font-weight: 700; padding: .8rem 1.5rem; background: var(--page); border-bottom: 1px solid var(--line); color: var(--ink-2); }
.plan.main { border: 2px solid var(--teal); box-shadow: 0 18px 40px -26px rgba(15, 60, 58, .45); }
.plan.main h2 { background: #e8f3f2; color: var(--teal-2); border-bottom-color: color-mix(in srgb, var(--teal) 25%, var(--line)); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem; padding: 1.4rem 1.5rem 0; }
.plan-price b { font-size: 3.1rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.plan-price b.word { font-size: 1.9rem; letter-spacing: 0; line-height: 1.3; }
.plan-price span { color: var(--ink-2); font-weight: 600; }
.plan-term { padding: .35rem 1.5rem 0; color: var(--ink-2); font-size: .95rem; min-height: 1.6em; }
.plan.main .plan-term { color: var(--teal-2); font-weight: 600; }
.plan ul { list-style: none; margin: 1.3rem 0 1.6rem; padding: 0 1.5rem; display: grid; gap: .55rem; flex: 1; align-content: start; }
.plan li { position: relative; padding-inline-start: 1.6rem; font-size: .98rem; }
.plan li::before { content: ""; position: absolute; inset-inline-start: .15rem; top: .48em; width: .62rem; height: .32rem;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.plan .cta { margin: 0 1.5rem 1.5rem; }
.plan-note { margin: -.8rem 1.5rem 1.4rem; color: var(--ink-2); font-size: .88rem; text-align: center; }
.faq h2 { margin-bottom: 1rem; }
.faq > details, .faq > h2 { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem .2rem; cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: #e8f3f2; color: var(--teal-2); font-weight: 700; font-size: 1.15rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.faq details p { padding: 0 .2rem 1.2rem; color: var(--ink-2); max-width: 64ch; }

/* ---- guides: one reading column, the steps numbered as the How-it-works steps are, the example week drawn like
   the home page's timetable (teal frame, amber breaks), with the subjects' own colours as light tints */
.guide { max-width: 780px; margin: 0 auto; padding: 1.4rem 1.5rem 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; font-size: .9rem; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.guide-head h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); font-weight: 700; max-width: 22ch; letter-spacing: -.01em; }
:lang(ar) .guide-head h1 { line-height: 1.4; letter-spacing: 0; }
.guide-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; color: var(--ink-2); font-size: .9rem; }
.g-body { margin-top: 1.8rem; counter-reset: gstep; }
.g-body p, .g-body ul { max-width: 68ch; }
.g-body p + p, .g-body p + .g-tip, .g-body ul + p, .g-body ol + p { margin-top: .9rem; }
.g-lead { font-size: 1.15rem; }
.g-body section { margin-top: 2.6rem; }
.g-body h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: .8rem; }
.g-body h3 { font-size: 1.1rem; font-weight: 700; margin: 1.7rem 0 .5rem; }
.g-body ul { display: grid; gap: .45rem; margin: .8rem 0 0; padding-inline-start: 1.3rem; }
.g-before { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.4rem 1.3rem; }
.g-before h2 { font-size: 1.15rem; }
.g-step { counter-increment: gstep; }
.g-step h2 { display: flex; align-items: center; gap: .75rem; }
.g-step h2::before { content: counter(gstep); flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 1rem; }
.g-body .g-tip { max-width: none; }
.g-tip { margin-top: 1rem; padding: .85rem 1.1rem; background: #e8f3f2; border-inline-start: 4px solid var(--teal);
  border-start-end-radius: 8px; border-end-end-radius: 8px; font-size: .97rem; }
.g-table { overflow-x: auto; margin-top: 1.2rem; }
.g-table table { width: 100%; min-width: 540px; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); font-size: .95rem; }
.g-table caption { padding-bottom: .45rem; text-align: start; font-size: .88rem; color: var(--ink-2); }
.g-table th, .g-table td { padding: .6rem .85rem; text-align: start; border-top: 1px solid var(--line); vertical-align: top; }
.g-table thead th { background: #e8f3f2; color: var(--teal-2); border-top: 0; font-size: .88rem; }
.tt-sample { margin: 1.8rem 0 0; padding: 1rem; background: var(--paper); border-radius: 14px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(15, 60, 58, .35); }
.tt-scroll { overflow-x: auto; }
.tt-scroll:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.tt-sample table { width: 100%; min-width: 720px; table-layout: fixed; border-collapse: separate; border-spacing: 0;
  border: 2px solid var(--teal); border-radius: 6px; overflow: hidden; font-size: .82rem; }
.tt-sample caption { caption-side: top; padding: 0 .2rem .6rem; text-align: center; font-size: 1.3rem; font-weight: 700; }
.tt-sample th, .tt-sample td { padding: .35rem .2rem; text-align: center; border-inline-start: 1px solid var(--line); border-top: 1px solid var(--line); line-height: 1.2; }
.tt-sample thead th, .tt-sample .corner { background: #e8f3f2; color: var(--teal-2); border-top: 0; }
.tt-sample .corner { width: 5.6rem; border-inline-start: 0; }
.tt-sample .p-num { display: block; font-weight: 700; font-size: .95rem; }
.tt-sample .p-time { display: block; font-weight: 400; font-size: .72rem; color: var(--ink-2); }
.tt-sample tbody th { padding-inline: .6rem; text-align: start; color: var(--teal); font-weight: 700; border-inline-start: 0; }
.tt-sample tbody td { height: 2.9rem; background: color-mix(in srgb, var(--fill) 16%, #fff); font-weight: 600; font-size: .78rem;
  hyphens: auto; }
.tt-sample tbody td.double { background: color-mix(in srgb, var(--fill) 27%, #fff); }
.tt-sample .brk-head { width: 2rem; background: var(--break); border-top: 0; }
.tt-sample .brk { background: var(--break); color: var(--break-ink); font-weight: 700; font-size: .78rem; writing-mode: vertical-rl; letter-spacing: .04em; }
.tt-sample figcaption { margin-top: .8rem; max-width: 68ch; font-size: .9rem; color: var(--ink-2); }
.guide-cta { width: calc(100% - 3rem); max-width: 780px; margin: 3rem auto 3.5rem; padding: 1.6rem 1.6rem 1.7rem; background: var(--paper);
  border: 2px solid var(--teal); border-radius: 14px; }
.guide-cta h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: .6rem; }
.guide-cta p { max-width: 60ch; color: var(--ink-2); }
.guide-cta .hero-actions { margin-top: 1.2rem; }
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.4rem; max-width: 1140px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.guide-card { padding: 1.4rem 1.5rem; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 14px; }
.guide-card h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.guide-card h2 a { color: var(--ink); text-decoration: none; }
.guide-card h2 a:hover { color: var(--teal); text-decoration: underline; }
.guide-card p { color: var(--ink-2); font-size: .97rem; }
.guide-card .guide-meta { margin-top: .9rem; font-size: .85rem; }

/* ---- help: a search box over short articles grouped by topic; an article reads in the guide's column, its steps
   in numbered circles like the guide's */
.help-head { max-width: 900px; margin: 0 auto; padding: 2.2rem 1.5rem 1.8rem; }
.help-head h1 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.8rem); font-weight: 700; }
.help-search { position: relative; max-width: 640px; margin-top: 1.6rem; }
.help-search input { width: 100%; height: 56px; padding-block: 0; padding-inline: 3rem 1rem; border: 2px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1.05rem; }
.help-search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 15%, transparent); }
.help-search-icon { position: absolute; inset-inline-start: 1rem; top: 50%; width: 1.3rem; height: 1.3rem; transform: translateY(-50%);
  fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.help-list { display: grid; gap: 2.2rem; max-width: 900px; margin: 0 auto; padding: .4rem 1.5rem 2.2rem; }
.help-topic h2 { margin-bottom: .6rem; font-size: 1.05rem; font-weight: 700; color: var(--ink-2); }
.help-topic ul { margin: 0; padding: 0; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.help-item { padding: .95rem 1.2rem; border-top: 1px solid var(--line); }
.help-item:first-child { border-top: 0; }
.help-item a { font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.help-item a:hover { text-decoration: underline; }
.help-item p { margin-top: .2rem; color: var(--ink-2); font-size: .95rem; }
.help-none { color: var(--ink-2); }
.help-all { margin-top: .9rem; }
.help-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.6rem 3rem; width: calc(100% - 3rem);
  max-width: 852px; margin: 1rem auto 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.help-article + .help-more { max-width: 732px; margin-top: 3rem; }
.help-more h2 { margin-bottom: .6rem; font-size: 1.05rem; font-weight: 700; }
.help-more ul { display: grid; gap: .35rem; margin: 0; padding-inline-start: 1.2rem; }
.help-more p { color: var(--ink-2); }
.help-more ul + p, .help-more p + p { margin-top: .5rem; }
.help-article .guide-head .lead { max-width: 40rem; }
.help-article .g-body { margin-top: 1.6rem; }
.help-article .g-body section { margin-top: 2.2rem; }
.help-article .g-body > section:first-child { margin-top: 0; }
.help-article .g-body h2 { font-size: 1.25rem; }
.h-steps { display: grid; gap: .9rem; max-width: 68ch; margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: hstep; }
.g-body .h-steps { padding: 0; }
.h-steps li { position: relative; min-height: 1.9rem; padding-inline-start: 2.6rem; counter-increment: hstep; }
.h-steps li::before { content: counter(hstep); position: absolute; inset-inline-start: 0; top: .1rem; display: grid; place-items: center;
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: .88rem; }

.site-foot { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; max-width: 1140px; margin: 0 auto; padding: 1.8rem 1.5rem 2.6rem;
  border-top: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; }
.site-foot a { color: var(--ink-2); }

/* On wide screens the example week reaches a little past the text column, so it needs no scrolling. */
@media (min-width: 901px) { .guide .tt-sample { margin-inline: -2rem; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 2.4rem; padding-top: 1.5rem; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 600px) {
  body.site { font-size: 16px; }
  .site-top { padding: 1rem; }
  .site-nav { gap: 1rem; }
  .site-nav .site-lang { display: none; } /* the footer has it */
  .site-brand img { height: 26px; }
  .hero, .block, .price-head, .plans, .guide, .guide-list, .help-head, .help-list { padding-inline: 1rem; }
  .help-more { width: calc(100% - 2rem); }
  .site-nav .site-guides { display: none; } /* the footer has it */
  .guide-cta { width: calc(100% - 2rem); padding: 1.3rem 1.2rem; }
  .tt-sample { padding: .7rem; }
  .features, .steps { grid-template-columns: 1fr; }
  .board { padding: .7rem; }
  .board-grid { gap: .2rem; font-size: .66rem; }
  .board-grid > span { min-height: 2.6rem; padding: .15rem; border-radius: 6px; }
  .board-grid .day { padding-inline: .3rem; }
}
