/* The MyTuitionClass help centre (site/public/help/). Fonts, colours, header and footer follow
   the product site's home page (site/public/index.html): change them there and here together. */
@font-face { font-family: "Source Sans 3"; src: url(/fonts/source-sans-3-latin-wght-normal.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light;
  --bg: #fdfcf9; --surface: #fff; --subtle: #f5f3ee; --border: #ebe4d7;
  --text: #1e2a44; --muted: #5a6275; --primary: #1f3a5f; --primary-soft: #e7edf5;
  --teal: #3bc3c5; --orange: #fd8501; --highlight: #ffe2b8; --success: #2e6b3f; --success-soft: #e6f0e2;
  --radius: 12px; --shadow: 0 1px 2px rgb(60 45 20 / 6%), 0 8px 24px rgb(60 45 20 / 7%);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; overflow-wrap: break-word; }
a { color: var(--primary); }
a:focus-visible, .btn:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 360px) { .wrap { padding: 0 16px; } }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid var(--primary); }
.btn.primary { background: var(--primary); color: #fff; }
.small { font-size: .92rem; color: var(--muted); }

/* Skip link: hidden until it has focus */
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Top bar (as on the home page) */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.logo img { width: 32px; height: 32px; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.top nav a[aria-current="page"] { color: var(--text); }
.top nav a.btn.primary { color: #fff; }
@media (max-width: 640px) { .top nav { gap: 14px; } .top .btn { padding: 9px 14px; } }
@media (max-width: 520px) { .top nav .hide-sm { display: none; } }
/* The smallest phones: the breadcrumb leads back to the help centre, so the bar keeps to one line */
@media (max-width: 400px) { .top nav .hide-xs { display: none; } }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); margin: 0 0 14px; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.55rem); margin: 2em 0 .5em; }
h3 { font-size: 1.12rem; margin: 1.6em 0 .4em; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 8px; }
p, ul, ol { margin: 0 0 1em; }
li + li { margin-top: .35em; }
b, strong { font-weight: 650; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--subtle); border: 1px solid var(--border); border-radius: 4px; padding: 0 4px; }

/* Article layout */
main { padding-bottom: 64px; }
.page { max-width: 760px; }
.crumbs { margin: 8px 0 28px; font-size: .92rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { margin: 0; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
article h2:first-of-type { margin-top: 1.6em; }

/* Numbered steps */
ol.steps { list-style: none; counter-reset: s; padding: 0; }
ol.steps > li { counter-increment: s; position: relative; padding-left: 40px; min-height: 28px; }
ol.steps > li + li { margin-top: .7em; }
ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: .85rem; }

/* A note to the side of the steps */
.note { background: var(--primary-soft); border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 0 0 1.2em; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note.warm { background: #fff4e5; border-left-color: var(--orange); }

/* Tables: scroll inside their own box on a phone, never the page */
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: 0; }
th { background: var(--subtle); font-weight: 650; }
table.example { font-size: .9rem; }
table.example th, table.example td { white-space: nowrap; }
td.num, th.num { text-align: right; }

/* Screenshots, as on the home page */
.shot { margin: 8px 0 1.6em; }
.shot img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
.shot figcaption { font-size: .92rem; color: var(--muted); margin-top: 10px; }
.shot.phone { max-width: 260px; }
.shot.phone img { border-radius: 22px; border: 6px solid var(--text); }

/* End of an article: more help, and where to go next */
.more { margin-top: 48px; background: var(--subtle); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.more h2 { margin: 0 0 6px; font-size: 1.25rem; }
.more h3 { margin: 18px 0 6px; font-size: 1.02rem; }
.more ul { margin: 0; padding-left: 20px; }

/* Help centre home */
.help-intro { max-width: 40em; margin-bottom: 8px; }
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
@media (max-width: 760px) { .groups { grid-template-columns: 1fr; } }
.group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.group h2 { margin: 0 0 12px; font-size: 1.3rem; }
.group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.group li + li { margin-top: 0; }
.group a { font-weight: 650; }
.group p { margin: 2px 0 0; color: var(--muted); font-size: .96rem; }

/* Footer, as on the home page */
footer { padding: 32px 0 48px; border-top: 1px solid var(--border); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }
