/* Guide articles: one layout for every guide under /guides/<slug>/, built on the approved legal pages (legal.css:
 * the title block, the doodle in its 320 x 300 box, the sticky contents and the 720 reading column) with the
 * Figma guide pieces (web 2026-10 Students, "guides redo (18 Oct)": 1615:20582 at 1440, 1615:20710 at 390,
 * 1615:155030 for the contents and question states).
 *
 * Markup, in order inside main.ls-page.ga-page:
 *   header.ga-head      the Guide kicker, the title at y 148, the date chip, the lead, one doodle in .ga-tile
 *   div.ga-body         aside.ga-side (details#ga-toc, guide-article.js) + div.ga-read
 *   section.ga-sec      one per question: h2, p.ga-answer (the direct answer, a quiet paper card), then the body
 *   section.ga-qa       Quick answers: a sticky intro with a doodle beside the site's .ls-faq rows (site-launch.css)
 *   section.ga-more     the other guides as the Guides index's scalloped tickets
 *   section.ga-band     the dark closing band, straight into the footer
 * Tokens come from site-launch.css; dark mode is company-theme.css plus the few rules at the end of this file.
 */

/* ---------- title block: Privacy's, with the Guide kicker in the space above the title ---------- */
/* The title starts 148px from the top at 1440 (76 header + 72), as on Privacy: the kicker takes 37 + 23 + 12 of it. */
.ga-page .ga-head { display: flex; align-items: flex-end; gap: 56px; padding: 37px 0 56px; }
.ga-page .ga-head-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ga-page .ga-title { max-width: none; margin: 0; color: var(--ls-ink); font-size: 56px; font-weight: 800; line-height: 56px; letter-spacing: -0.045em; }
.ga-page .ga-chip { margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--ls-sand); color: var(--ls-ink); font-size: 14px; font-weight: 700; line-height: 18px; }
.ga-page .ga-lead { max-width: 760px; margin: 0; color: var(--ls-ink); font-size: 19px; font-weight: 500; line-height: 29px; }
/* The doodle box is Privacy's .lg-tile: 320 x 300, the drawing whole, upright and centred, at most 260 either way. */
.ga-page .ga-tile { flex: none; display: grid; place-items: center; width: 320px; height: 300px; }
.ga-page .ga-tile img { grid-area: 1 / 1; display: block; width: auto; height: auto; max-width: 260px; max-height: 260px; mix-blend-mode: multiply; }

/* ---------- body: Privacy's sticky contents left, the reading column to the container's right edge ---------- */
.ga-page .ga-body { display: flex; align-items: flex-start; gap: 120px; padding-bottom: 8px; }
.ga-page .ga-side { flex: none; width: 280px; }
@media (min-width: 1024px) and (min-height: 700px) {
  .ga-page .ga-side { position: sticky; top: 100px; }
}
.ga-page .ga-toc summary { display: block; padding-bottom: 10px; color: var(--ls-ink); font-size: 15px; font-weight: 700; line-height: 1.4; list-style: none; cursor: default; }
.ga-page .ga-toc summary::-webkit-details-marker { display: none; }
.ga-page .ga-toc summary::marker { content: none; }
.ga-page .ga-toc-links { display: flex; flex-direction: column; }
.ga-page .ga-toc-links a { display: flex; align-items: center; min-height: 44px; padding: 10px 8px 10px 16px; border-left: 2px solid var(--ls-line-2); color: var(--ls-soft); font-size: 15px; font-weight: 600; line-height: 20px; text-decoration: none; }
.ga-page .ga-toc-links a:hover { color: var(--ls-ink); border-left-color: var(--ls-control); }
.ga-page .ga-toc-links a[aria-current="true"] { border-left-color: var(--ls-ink); color: var(--ls-ink); font-weight: 700; }
.ga-page .ga-toc-links a:focus-visible { outline: 3px solid var(--ls-ink); outline-offset: -3px; }

.ga-page .ga-read { flex: 1 1 0; min-width: 0; max-width: 720px; }
.ga-page .ga-sec { display: flex; flex-direction: column; gap: 16px; padding: 40px 0 16px; border-top: 1px solid var(--ls-line-2); scroll-margin-top: 96px; }
.ga-page .ga-sec h2 { margin: 0 0 2px; font-size: 28px; font-weight: 800; line-height: 34px; letter-spacing: -0.025em; }
/* Running text stops near 72 characters; the answer cards, lists, steps and tables take the full column. */
.ga-page .ga-sec p { max-width: 72ch; margin: 0; color: var(--ls-soft); font-size: 17px; font-weight: 500; line-height: 1.65; }
/* The direct answer: the site's quiet card (paper, a hairline, 16 radius), the first thing under each question. */
.ga-page .ga-sec > p.ga-answer { max-width: none; padding: 20px 24px; border-radius: 16px; background: var(--ls-paper); box-shadow: inset 0 0 0 1px var(--ls-line-2); color: var(--ls-ink-2); font-size: 18px; line-height: 1.6; }
.ga-page .ga-sec ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ga-page .ga-sec ul li { position: relative; padding-left: 22px; color: var(--ls-soft); font-size: 17px; font-weight: 500; line-height: 1.6; }
.ga-page .ga-sec ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--ls-ink); }
.ga-page .ga-sec strong { color: var(--ls-ink); font-weight: 700; }
/* The steps are a real sequence: numbered ink discs, the step's name on its own line. */
.ga-page .ga-steps { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 6px 0 0; list-style: none; counter-reset: ga-step; }
.ga-page .ga-steps li { position: relative; min-height: 32px; padding-left: 50px; color: var(--ls-soft); font-size: 16px; font-weight: 500; line-height: 1.6; counter-increment: ga-step; }
/* The disc is centred on the step name's first line (18px at 1.5, a 27px line), not hung 2.5px below it. */
.ga-page .ga-steps li::before { content: counter(ga-step); position: absolute; left: 0; top: -2.5px; width: 32px; height: 32px; border-radius: 50%; background: var(--ls-ink); color: var(--ls-paper); font-size: 15px; font-weight: 700; line-height: 32px; text-align: center; }
.ga-page .ga-steps li > strong:first-child { display: block; margin-bottom: 2px; font-size: 18px; line-height: 1.5; }
.ga-page :is(.ga-sec, .ga-lead, .ga-qa-more) a { color: var(--ls-accent-text); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ga-page :is(.ga-sec, .ga-lead, .ga-qa-more) a:hover { color: var(--ls-ink); }

/* Tables: one quiet paper card, the caption above, hairline rows. On a phone each row stacks into a block. */
.ga-page .ga-table { overflow: hidden; border-radius: 16px; background: var(--ls-paper); box-shadow: inset 0 0 0 1px var(--ls-line-2); }
.ga-page .ga-table table { width: 100%; border-collapse: collapse; text-align: left; }
.ga-page .ga-table caption { caption-side: top; padding: 18px 20px 12px; color: var(--ls-muted); font-size: 14px; font-weight: 600; line-height: 1.5; text-align: left; }
.ga-page .ga-table :is(th, td) { padding: 14px 20px; vertical-align: top; border-top: 1px solid var(--ls-line-2); }
.ga-page .ga-table thead th { padding-block: 10px; color: var(--ls-ink); font-size: 14px; font-weight: 700; line-height: 1.4; }
.ga-page .ga-table tbody th { width: 30%; color: var(--ls-ink); font-size: 16px; font-weight: 700; line-height: 1.45; }
.ga-page .ga-table tbody td { color: var(--ls-soft); font-size: 15px; font-weight: 500; line-height: 1.55; }
.ga-page .ga-table a { color: var(--ls-accent-text); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ga-page .ga-table a:hover { color: var(--ls-ink); }

/* ---------- quick answers: the Guides index's sticky intro beside the site's 68 rows ---------- */
.ga-page .ga-qa { display: flex; align-items: flex-start; gap: 72px; padding-top: 88px; scroll-margin-top: 76px; }
.ga-page .ga-qa-intro { flex: none; width: 420px; display: flex; flex-direction: column; gap: 12px; }
.ga-page .ga-qa-intro h2 { margin: 0; font-size: 44px; font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; }
.ga-page .ga-qa-art { display: flex; justify-content: center; padding-top: 20px; }
.ga-page .ga-qa-art img { display: block; width: 228px; height: 250px; object-fit: contain; }
.ga-page .ga-qa-list { flex: 1 1 0; min-width: 0; }
.ga-page .ga-qa-more { margin: 20px 0 0; color: var(--ls-soft); font-size: 16px; font-weight: 500; line-height: 1.6; }
@media (min-width: 900px) and (min-height: 760px) {
  .ga-page .ga-qa-intro { position: sticky; top: 100px; }
}

/* ---------- more guides: the Guides index tickets (guides.css), the tinted stub's scallops bulging into the body ---------- */
.ga-page .ga-more { display: flex; flex-direction: column; gap: 20px; padding-top: 96px; }
.ga-page .ga-more h2 { margin: 0; font-size: 28px; font-weight: 800; line-height: 34px; letter-spacing: -0.025em; }
.ga-page .ga-tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ga-page .ga-ticket { display: flex; align-items: stretch; overflow: hidden; border: 1px solid var(--ls-line-2); border-radius: 18px; background: var(--ls-paper); color: inherit; text-decoration: none; }
.ga-page .ga-ticket:focus-visible { outline: 3px solid var(--ls-ink); outline-offset: 3px; }
.ga-page .ga-stub { position: relative; flex: none; display: grid; place-items: center; width: 112px; background: var(--ls-tone); }
.ga-page .ga-stub::after { content: ""; position: absolute; top: 0; bottom: 0; right: -6px; width: 6px; background: var(--ls-tone); -webkit-mask: var(--tud-scallop-bulge-right); mask: var(--tud-scallop-bulge-right); }
.ga-page .ga-stub--sand { --ls-tone: var(--ls-sand); }
.ga-page .ga-stub--study { --ls-tone: var(--ls-study); }
.ga-page .ga-stub--chai { --ls-tone: var(--ls-chai); }
.ga-page .ga-stub-art { display: grid; place-items: center; width: 76px; height: 76px; }
.ga-page .ga-stub-art img { grid-area: 1 / 1; display: block; width: 100%; height: 100%; object-fit: contain; }
/* The wallet ink sits 40 of 560 px left of its canvas centre: nudge it so it reads centred in the hero tile and the stub. */
.ga-page .ga-tile img[src*="wallet-coins-tile"],
.ga-page .ga-stub-art img[src*="wallet-coins-tile"] { transform: translateX(7%); }
/* 18px on every side as the eye reads it: the left 24 starts behind the stub's 6px scallops. */
.ga-page .ga-ticket-body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 18px 18px 24px; }
.ga-page .ga-ticket-title { margin: 0; text-wrap: wrap; color: var(--ls-ink); font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.ga-page .ga-go { display: inline-block; color: var(--ls-accent-text); font-size: 15px; font-weight: 700; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.ga-page .ga-ticket:hover .ga-go { text-decoration-thickness: 2.5px; }

/* ---------- the dark closing band, scalloped on top, straight into the footer ---------- */
.ls main#main-content.ga-page { padding-bottom: 0; }
.ga-page .ga-band { --ga-band: #141412; position: relative; margin-top: 102px; padding: 56px 0 64px; background: var(--ga-band); color: #F6EFE4; }
.ga-page .ga-band::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: radial-gradient(circle at 12px 6px, var(--ga-band) 6px, transparent 6.5px) 0 0 / 24px 6px repeat-x; }
.ga-page .ga-band-inner { display: flex; align-items: center; gap: 40px; }
.ga-page .ga-band-art { flex: none; width: 150px; line-height: 0; }
.ga-page .ga-band-art img { display: block; width: 100%; height: auto; }
.ga-page .ga-band-title { flex: 1 1 0; min-width: 0; margin: 0; color: #F6EFE4; font-size: 44px; font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; }
.ga-page .ga-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ga-page .ga-band-btn { min-height: 52px; border-color: #F6EFE4; background: #F6EFE4; color: #141412; }
.ga-page .ga-band-btn:hover { border-color: #E2D8CA; background: #E2D8CA; color: #141412; }
.ga-page .ga-band-btn--line { background: transparent; color: #F6EFE4; }
.ga-page .ga-band-btn--line:hover { border-color: #F6EFE4; background: rgba(246, 239, 228, .1); color: #F6EFE4; }
/* The first button follows the account (guide-article.js): hidden but holding its space until the status is known,
   gone for a pending or verified student, whose one remaining button then reads as the solid one. */
:root[data-ga-cta="wait"] .ga-page .ga-band-actions .ga-band-btn:not(.ga-band-btn--line) { visibility: hidden; }
.ga-page .ga-band-btn[hidden] { display: none; }
.ga-page .ga-band-actions--solo .ga-band-btn--line { background: #F6EFE4; color: #141412; }
.ga-page .ga-band-actions--solo .ga-band-btn--line:hover { border-color: #E2D8CA; background: #E2D8CA; color: #141412; }
.ga-page .ga-band-btn:focus-visible { outline: 2px solid #F6EFE4; outline-offset: 3px; }

/* ---------- narrower screens ---------- */
/* As on Privacy: the box and the drawing step down, the gaps close up. */
@media (max-width: 1100px) {
  .ga-page .ga-head { gap: 32px; }
  .ga-page .ga-tile { width: 240px; height: 240px; }
  .ga-page .ga-tile img { max-width: 200px; max-height: 200px; }
  .ga-page .ga-body { gap: 64px; }
  .ga-page .ga-side { width: 240px; }
  .ga-page .ga-qa { gap: 56px; }
  .ga-page .ga-qa-intro { width: 360px; }
}
/* Below 1024 the contents are a closed card above the article (guide-article.js). */
@media (max-width: 1023px) {
  .ga-page .ga-body { flex-direction: column; align-items: stretch; gap: 32px; }
  .ga-page .ga-side { width: 100%; }
  .ga-page .ga-read { max-width: none; }
  .ga-page .ga-toc { border-radius: 14px; background: var(--ls-paper); box-shadow: inset 0 0 0 1px var(--ls-line-2); }
  .ga-page .ga-toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; cursor: pointer; }
  .ga-page .ga-toc summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0 16px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
  .ga-page .ga-toc[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
  .ga-page .ga-toc summary:focus-visible { outline: 3px solid var(--ls-ink); outline-offset: 2px; border-radius: 14px; }
  .ga-page .ga-toc-links { padding: 0 18px 12px; }
  .ga-page .ga-toc-links a { padding: 8px 0; border-left: 0; }
}
@media (max-width: 900px) {
  .ga-page .ga-head { flex-direction: column; align-items: stretch; gap: 28px; padding: 16px 0 48px; }
  .ga-page .ga-tile { width: 100%; height: 150px; justify-items: center; }
  .ga-page .ga-tile img { max-width: 150px; max-height: 150px; }
  .ga-page .ga-title { font-size: 40px; line-height: 44px; }
  .ga-page .ga-sec h2 { font-size: 24px; line-height: 30px; }
  .ga-page .ga-qa { flex-direction: column; align-items: stretch; gap: 20px; }
  .ga-page .ga-qa-intro { width: 100%; }
  .ga-page .ga-tickets { grid-template-columns: minmax(0, 1fr); }
  .ga-page .ga-band-inner { flex-wrap: wrap; gap: 24px; }
  .ga-page .ga-band-actions { flex-basis: 100%; }
}
@media (max-width: 760px) {
  .ga-page .ga-title { font-size: 36px; line-height: 40px; letter-spacing: -0.04em; }
  .ga-page .ga-lead { font-size: 17px; line-height: 27px; }
  .ga-page .ga-sec { padding-top: 32px; }
  .ga-page .ga-sec p, .ga-page .ga-sec ul li { font-size: 16px; }
  .ga-page .ga-sec > p.ga-answer { padding: 16px 18px; font-size: 17px; }
  .ga-page .ga-steps li { padding-left: 46px; }
  .ga-page .ga-table caption { padding: 16px 18px 12px; }
  .ga-page .ga-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ga-page .ga-table :is(tr, th, td) { display: block; }
  .ga-page .ga-table tbody tr { padding: 16px 18px; border-top: 1px solid var(--ls-line-2); }
  .ga-page .ga-table tbody :is(th, td) { width: auto; padding: 0; border-top: 0; }
  .ga-page .ga-table tbody td::before { content: attr(data-label); display: block; margin-top: 10px; color: var(--ls-muted); font-size: 13px; font-weight: 700; line-height: 1.5; }
  .ga-page .ga-qa { padding-top: 56px; }
  .ga-page .ga-qa-intro h2 { font-size: 30px; }
  .ga-page .ga-qa-art { padding-top: 8px; }
  .ga-page .ga-qa-art img { width: 182px; height: 200px; }
  .ga-page .ga-more { padding-top: 64px; }
  .ga-page .ga-more h2 { font-size: 24px; line-height: 30px; }
  .ga-page .ga-band { margin-top: 64px; padding: 40px 0 48px; }
  .ga-page .ga-band-art { width: 96px; }
  .ga-page .ga-band-title { font-size: 30px; }
  .ga-page .ga-band-actions { flex-direction: column; }
  .ga-page .ga-band-btn { width: 100%; }
}
@media (max-width: 374px) {
  .ga-page .ga-title { font-size: 33px; line-height: 37px; }
  .ga-page .ga-stub { width: 96px; }
}
@media (prefers-reduced-motion: no-preference) { html:has(.ga-page) { scroll-behavior: smooth; } }

/* ---------- dark ----------
   Tokens, header and footer come from company-theme.css: the cards take the dark paper, the stubs and the chip their
   deep tones, the drawings their cream versions. The band stays the darkest thing on the page, the band tone below
   the ground, as on Delete account. */
:root[data-theme="dark"] .ga-page .ga-tile img { mix-blend-mode: normal; }
:root[data-theme="dark"] .ga-page .ga-band { --ga-band: var(--ls-band); }
:root[data-theme="dark"] .ga-page .ga-ticket:hover { border-color: #8C7F71; }
