
:root {
  --cobalt: #2852A7;
  --sky: #4CB1E4;
  --gold: #d9a340;
  --ink: #060e1f;
  --muted: #566273;
  --page: #F8F9FF;
  --pale: #F0F4FF;
  --line: #d8e0e9;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: #fff; color: var(--ink); font: 16px/1.6 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
[hidden] { display: none !important; }
:is(a, button):focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; margin: 0; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); font-size: 14px; }
.inner { width: min(1280px, calc(100% - 160px)); margin: 0 auto; }

/* The site's header: a dark bar that says who is signed in, then the logo and the menu. */
.bar { background: var(--ink); color: #dbe5f7; font-size: 13px; line-height: 1.5; }
.bar .inner { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 22px; padding: 9px 0; }
.bar a { color: #fff; text-decoration: none; }
.bar a:hover { color: var(--gold); }
.bar strong { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.bar form { margin: 0; }
.bar button { border: 0; padding: 0; background: none; color: #fff; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.bar button:hover { color: var(--gold); }
header.site { background: #fff; border-bottom: 1px solid var(--line); }
header.site .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 34px; padding: 18px 0; }
header.site img { height: 40px; width: auto; display: block; }
.mark { display: flex; align-items: center; gap: 16px; }
.mark a { display: inline-block; text-decoration: none; }
.product { padding-left: 16px; border-left: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; margin-left: auto; font-size: 15px; }
.menu a { color: var(--ink); font-weight: 500; text-decoration: none; }
.menu a:hover { color: var(--cobalt); }
.menu a.cta { padding: 10px 16px; background: var(--cobalt); color: #fff; font-size: 14px; font-weight: 700; }
.menu a.cta::after { content: " \2192"; }
.menu a.cta:hover { background: var(--ink); color: #fff; }

/* The cobalt band. */
.hero { background: var(--cobalt); color: #fff; padding: 38px 0 50px; }
.eyebrow { display: block; margin: 0 0 18px; color: #dbe7fb; font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { color: #fff; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -.055em; overflow-wrap: anywhere; }
.hero p { max-width: 760px; margin: 20px 0 0; color: #dbe5f7; font-size: 16px; line-height: 1.8; }

main { flex: 1 0 auto; padding: 54px 0 74px; }
main h2 { margin: 0 0 20px; padding-top: 24px; border-top: 1px solid var(--ink); font-size: 24px; }
main section + section { margin-top: 54px; }

/* The launcher: one tile per place to go. Gold on the top edge under the pointer. */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.tile { display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 150px; padding: 24px 24px 22px; border: 1px solid var(--line); border-top: 3px solid var(--cobalt); background: #fff; color: var(--ink); text-decoration: none; }
a.tile:hover { border-top-color: var(--gold); background: var(--pale); color: var(--ink); }
.tile strong { font-size: 20px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.tile span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.tile .go { margin-top: auto; color: var(--cobalt); font-size: 13px; font-weight: 700; }
a.tile .go::after { content: " \2192"; }
.tile.soon { border-top-color: var(--line); background: var(--page); }
.tile.soon strong { color: var(--muted); }
.tile.soon .go { color: var(--muted); }

.course { display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 190px; padding: 24px 24px 22px; border: 1px solid var(--line); border-top: 3px solid var(--cobalt); background: #fff; }
.course strong { font-size: 20px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.course span { font-size: 14px; line-height: 1.6; }
.course .go { margin-top: auto; color: var(--cobalt); font-size: 13px; font-weight: 700; text-decoration: none; }
.course .go::after { content: " \2192"; }
.course.shut { border-top-color: var(--line); background: var(--page); }
.course progress { width: 100%; height: 8px; border: 0; border-radius: 0; background: var(--pale); appearance: none; -webkit-appearance: none; }
.course progress::-webkit-progress-bar { background: var(--pale); }
.course progress::-webkit-progress-value { background: var(--cobalt); }
.course progress::-moz-progress-bar { background: var(--cobalt); }
.course.shut progress::-webkit-progress-value { background: var(--muted); }
.course.shut progress::-moz-progress-bar { background: var(--muted); }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rows li:first-child { border-top: 1px solid var(--line); }

/* A page with one thing to say: signed out, not set up, something went wrong. */
.note { max-width: 640px; }
.note h1 { font-size: 34px; margin-bottom: 14px; }
.note p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 240px; margin-top: 10px; padding: 15px 18px; background: var(--cobalt); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.button::after { content: "\2192"; font-size: 19px; line-height: 1; }
.button:hover { background: var(--ink); color: #fff; }

/* The support desk: forms, a request's messages, and the lists. Wide and on the left. */
.button.quiet { background: #fff; color: var(--cobalt); box-shadow: inset 0 0 0 1px var(--cobalt); }
.button.quiet:hover { background: var(--pale); color: var(--ink); }
button.button { border: 0; font-family: inherit; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 16px; }
.actions .button { margin-top: 0; }
.rows.links a { font-weight: 500; text-decoration: none; }
.rows.links a:hover { text-decoration: underline; }
.article p { max-width: 760px; font-size: 17px; line-height: 1.75; }
.playbook { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 60px; align-items: start; }
.contents { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow: auto; padding: 16px 18px; border: 1px solid var(--line); border-top: 3px solid var(--cobalt); background: var(--page); font-size: 14px; }
.contents ul { list-style: none; margin: 0; padding: 0; }
.contents li { margin: 0 0 7px; line-height: 1.4; }
.contents li.h2 { margin-top: 12px; font-weight: 700; }
.contents li.h2:first-child { margin-top: 0; }
.contents a { text-decoration: none; }
.contents a:hover { text-decoration: underline; }
.playbook .article { max-width: 820px; }
.playbook .article h2 { margin: 44px 0 16px; }
.playbook .article h2:first-child { margin-top: 0; }
.playbook .article h3 { margin: 34px 0 12px; font-size: 20px; letter-spacing: -.03em; scroll-margin-top: 20px; }
.playbook .article :is(ol, ul) { margin: 0 0 16px; padding-left: 26px; font-size: 17px; line-height: 1.75; }
.playbook .article li { margin: 0 0 8px; }
.playbook .article li > :is(ol, ul) { margin-top: 8px; }
.playbook .article li > p { margin: 0 0 8px; }
.playbook .article code { padding: 1px 5px; background: var(--pale); font: 500 .9em ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
@media (max-width: 900px) { .playbook { grid-template-columns: minmax(0, 1fr); } .contents { position: static; max-height: none; } }
.form { max-width: 860px; margin: 0 0 40px; }
.form.slim { margin-top: -20px; }
.form label { display: block; margin: 0 0 22px; font-size: 15px; font-weight: 600; }
.form .hint { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 400; }
.form :is(input, select, textarea) { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
.form textarea { resize: vertical; line-height: 1.6; }
.form :is(input, select, textarea):focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--ink); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.problem, .warning, .done { max-width: 860px; margin: 0 0 22px; padding: 13px 16px; border-left: 3px solid var(--gold); background: var(--page); font-size: 15px; }
.problem { border-left-color: #b3261e; background: #fdf3f2; }
.done { border-left-color: #1f7a4d; background: #f1f8f4; }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0 0 26px; }
.state { display: inline-block; padding: 3px 9px; border: 1px solid var(--line); background: var(--page); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.state.open { border-color: var(--cobalt); color: var(--cobalt); }
.state.waiting { border-color: var(--gold); color: #7a5a14; }
.due { display: inline-block; margin-left: 8px; font-size: 13px; font-weight: 600; }
.due.late { color: #b3261e; }
.under { display: block; }
.thread { list-style: none; max-width: 860px; margin: 0 0 34px; padding: 0; }
.message { margin: 0 0 16px; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--line); background: #fff; }
.message.from-staff { border-left-color: var(--cobalt); background: var(--pale); }
.message.from-note { border-left-color: var(--gold); background: #fffaf0; }
.message.from-event { padding: 8px 18px; border-color: transparent; border-left-color: var(--line); color: var(--muted); font-size: 14px; }
.message .by { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 8px; font-size: 14px; }
.message.from-event .by { margin-bottom: 0; }
.message .text { white-space: pre-wrap; overflow-wrap: anywhere; }
.tag { padding: 1px 7px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.list { width: 100%; margin: 0 0 30px; border-collapse: collapse; font-size: 15px; }
.list th { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--ink); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.list td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.list a { font-weight: 600; text-decoration: none; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0 0 26px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.tabs a { color: var(--muted); font-weight: 600; text-decoration: none; }
.tabs a[aria-current] { color: var(--ink); box-shadow: 0 13px 0 -10px var(--gold); }
.empty { color: var(--muted); }
.crumb { margin: -20px 0 22px; font-size: 14px; }
.who { max-width: 860px; margin: 0 0 30px; padding: 16px 18px; border: 1px solid var(--line); border-top: 3px solid var(--cobalt); background: var(--page); font-size: 15px; }
.who.unproved { border-top-color: var(--gold); }
.who p { margin: 0 0 8px; }
.who p:last-child { margin-bottom: 0; }
.row-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.row-actions form { margin: 0; }
.row-actions .button { margin-top: 0; }

footer.site { flex-shrink: 0; background: #fff; border-top: 1px solid var(--line); }
footer.site .inner { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; padding: 22px 0 28px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

@media (max-width: 1100px) { .inner { width: calc(100% - 64px); } }
@media (max-width: 760px) {
  .inner { width: calc(100% - 40px); }
  .menu { margin-left: 0; gap: 4px 18px; font-size: 14px; }
  .hero { padding: 26px 0 32px; }
  main { padding: 30px 0 54px; }
  .list thead { display: none; }
  .list tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .list td { display: block; padding: 2px 0; border: 0; }
}
