/*
 * The guide pages.
 *
 * The other pages on this site each carry their own copy of this in a <style>
 * block. Six more copies of ninety lines is six places for one fact to drift,
 * so the guides share a file instead. It is a stylesheet and not a script:
 * these pages still load nothing executable, which is the property the privacy
 * page describes and the reason it can keep saying so.
 */
:root {
  color-scheme: light dark;

  /* Light is white. Not off-white, not tinted: the page is paper and the
     colour on it is the product's own. */
  --bg: #f6f7f9; --surface: #ffffff; --panel: #f6f7f9;
  --ink: #0d1017; --ink-2: #39414f; --muted: #5c6070;
  --line: #e5e7ec; --line-2: #d2d6de; --accent: #1a63db;
  --good: #0f7a43; --warn: #8a5a00; --bad: #b4232b;
  --shadow: 0 1px 2px rgba(13,16,23,.05), 0 10px 28px rgba(13,16,23,.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e1e; --surface: #151932; --panel: #1b2039;
    --ink: #eef0f7; --ink-2: #c3cad6; --muted: #9aa0b8;
    --line: #242942; --line-2: #333a5c; --accent: #6ea8ff;
    --good: #3cd682; --warn: #e0a930; --bad: #ff6b74;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.35);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.7 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip {
  position: absolute; left: 50%; translate: -50% -200%; z-index: 10;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-2);
  border-radius: 0 0 12px 12px; padding: .7rem 1.2rem; font-weight: 600;
  text-decoration: none;
}
.skip:focus { translate: -50% 0; }
.wrap {
  max-width: 780px; margin: 2.5rem auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  padding: 2.6rem 2.6rem 1.2rem;
}
.brandbar {
  display: inline-flex; align-items: center; gap: .55rem; font-weight: 700;
  letter-spacing: -.03em; font-size: 1.05rem; color: var(--ink);
  text-decoration: none; margin-bottom: 2.2rem;
}
.brandbar svg { width: 28px; height: 28px; border-radius: 8px; }
h1 { font-size: 2.15rem; letter-spacing: -0.03em; margin: 0 0 .2rem; line-height: 1.15; }
h2 { font-size: 1.25rem; margin-top: 2.6rem; letter-spacing: -0.02em; }
h3 { font-size: 1.05rem; margin-top: 1.8rem; margin-bottom: .3rem; letter-spacing: -0.01em; }
.updated { color: var(--muted); font-size: .93rem; margin-top: 0; }
.lede { font-size: 1.18rem; font-weight: 600; color: var(--ink-2); }
ul, ol { padding-left: 1.2rem; }
li { margin: .5rem 0; }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 1rem 1.2rem; margin: 1rem 0;
}
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
blockquote {
  margin: 1.2rem 0; padding: .2rem 0 .2rem 1.1rem;
  border-left: 3px solid var(--line-2); color: var(--ink-2);
}
blockquote p { margin: .4rem 0; }
/* The four dates, and anything else that is a small table of facts. */
table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; font-size: .97rem; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.scroll { overflow-x: auto; }
/* The one thing this page is asking for, made obvious without shouting. */
.cta {
  margin-top: 2.6rem; padding: 1.4rem 1.5rem; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line-2);
}
.cta h2 { margin-top: 0; font-size: 1.12rem; }
.cta p:last-of-type { margin-bottom: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .6rem 1.15rem; margin-top: .8rem;
  border-radius: 12px; border: 1px solid var(--accent); background: var(--accent);
  color: #fff; font-weight: 600; text-decoration: none;
}
@media (prefers-color-scheme: dark) { .btn { color: #0b0e1e; } }
.btn:hover { filter: brightness(1.06); }
.more { margin-top: 2.6rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.more h2 { font-size: 1rem; margin-top: 0; }
.more ul { list-style: none; padding-left: 0; }
.more li { margin: .7rem 0; }
.more a { font-weight: 600; text-decoration: none; }
.more a:hover { text-decoration: underline; }
.more span { display: block; color: var(--muted); font-size: .94rem; font-weight: 400; }
.note {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 1rem 1.2rem; color: var(--muted);
  font-size: .95rem; margin-top: 2.5rem;
}
.sources { font-size: .94rem; color: var(--muted); }
.sources li { margin: .35rem 0; }
footer {
  margin-top: 3rem; padding: 1.8rem 0 1rem; text-align: center;
  border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem;
}
footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
footer nav a { min-height: 44px; display: inline-flex; align-items: center;
  text-decoration: none; }
footer nav a:hover { text-decoration: underline; }
footer p { margin-top: 1.2rem; font-size: .86rem; }
@media (max-width: 760px) {
  .wrap { margin: 0; border-radius: 0; border-left: none; border-right: none;
    padding: 1.8rem 1.15rem 1rem; }
  h1 { font-size: 1.8rem; }
}

/* ---------------------------------------------------------------------------
   The clearance calendar page.

   One form, no script. The submit posts to the Worker, which answers with a
   page of its own rather than sending the visitor back here with a query
   string nothing on a static page could read.
   --------------------------------------------------------------------------- */
.dates { list-style: none; padding: 0; margin: 1.4rem 0; }
.dates li {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: .85rem 1.1rem; margin: .5rem 0; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line);
}
.dates .when { font-weight: 700; letter-spacing: -.02em; min-width: 11rem; }
.dates .what { color: var(--muted); font-size: .95rem; }
.dates .next {
  border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--panel));
}
.dates .tag {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; color: var(--accent);
}
.signup {
  margin-top: 2.4rem; padding: 1.6rem 1.6rem 1.4rem; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line-2);
}
.signup h2 { margin-top: 0; }
.field { display: block; margin: 1rem 0 0; }
.field span { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.field input {
  width: 100%; min-height: 46px; padding: .6rem .8rem; font: inherit;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 11px;
}
.field input:focus-visible { border-color: var(--accent); }
.consent {
  display: flex; gap: .7rem; align-items: flex-start; margin: 1.2rem 0 0;
  font-size: .95rem; color: var(--ink-2);
}
.consent input { margin-top: .35rem; width: 20px; height: 20px; flex: none; }
.signup button {
  margin-top: 1.2rem; min-height: 46px; padding: .6rem 1.4rem; cursor: pointer;
  border-radius: 12px; border: 1px solid var(--accent); background: var(--accent);
  color: #fff; font: inherit; font-weight: 600;
}
@media (prefers-color-scheme: dark) { .signup button { color: #0b0e1e; } }
.signup button:hover { filter: brightness(1.06); }
.signup .fine { font-size: .88rem; color: var(--muted); margin: 1.1rem 0 0; }
/* Off the page, out of the accessibility tree, and not display:none, because a
   form filler skips what is hidden and fills what is merely somewhere else. */
.trap {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
