/* Teleprompter Cloud. Colours from the product: glass black, prompter white, reading-line amber, recording red, card blue. */
:root {
  --glass: #000000; --prompt: #f2f2ee; --amber: #ffb020; --rec: #ff3b30; --card: #1846c9;
  --paper: #ffffff; --ink: #14161b; --muted: #5b6270; --rule: #dde0e6; --wash: #f3f4f7; --ok: #1f8a4c; --warn: #9a5b00;
  --face: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --measure: 68ch;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--face); font-variant-numeric: tabular-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--card); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }
h1, h2, h3 { letter-spacing: -.02em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .6em 1.2em; border-radius: 10px;
  font: 700 1rem/1 var(--face); text-decoration: none; border: 2px solid transparent; cursor: pointer; background: var(--ink); color: #fff; }
.btn:hover { filter: brightness(1.12); }
.btn-rec { background: var(--rec); color: #fff; }
.btn-rec::before { content: ""; width: .65em; height: .65em; border-radius: 50%; background: #fff; flex: none; }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-quiet { background: var(--wash); color: var(--ink); border-color: var(--rule); }
.btn-danger { background: #fff; color: #b3261e; border-color: #e6b3ae; }
.btn-sm { min-height: 34px; padding: .35em .8em; font-size: .9rem; border-radius: 8px; }
.btn[disabled] { opacity: .5; cursor: default; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* site header */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; }
.topbar.dark { background: var(--glass); color: var(--prompt); position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; color: inherit; text-decoration: none; }
.brand i { width: 11px; height: 11px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px rgba(255,59,48,.25); }
.topnav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.topnav a.plain { color: inherit; text-decoration: none; font-weight: 600; padding: .5em .8em; border-radius: 8px; }
.topnav a.plain:hover { background: rgba(127,127,127,.14); }
.topnav form { margin: 0; }
.topnav button.plain { background: none; border: 0; color: inherit; font: 600 1rem var(--face); padding: .5em .8em; cursor: pointer; }

/* announcement banner */
.announcement { padding: 12px 24px; border-bottom: 1px solid var(--rule); text-align: center; font-size: .95rem; }
.announcement-info { background: #e8f5ff; color: #0056b3; border-bottom-color: #b3d9ff; }
.announcement-warning { background: #fff5dd; color: #9a5b00; border-bottom-color: #f3d38a; }
.announcement-danger { background: #fde8e6; color: #b3261e; border-bottom-color: #e6b3ae; }

/* flash messages */
.flashes { list-style: none; margin: 0 auto 20px; padding: 0; width: min(760px, calc(100% - 48px)); }
.flashes li { background: #fff5dd; border: 1px solid #f3d38a; border-radius: 10px; padding: 10px 14px; margin-top: 12px; }

/* forms */
.form-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: var(--wash); }
.form-card { width: min(460px, calc(100% - 32px)); margin: 32px auto 64px; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 28px; }
.form-card h1 { margin: 0 0 6px; font-size: 1.9rem; line-height: 1.1; }
.form-card .lede { color: var(--muted); margin: 0 0 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: .95rem; }
.field small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=date], input[type=search], select, textarea {
  font: 400 1rem var(--face); padding: .65em .8em; border: 1.5px solid #c9ced8; border-radius: 9px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--card); outline: none; box-shadow: 0 0 0 3px rgba(24,70,201,.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 6px 0 16px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--card); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; }
.form-foot { margin-top: 16px; color: var(--muted); font-size: .95rem; text-align: center; }

/* site footer */
.site-foot { border-top: 1px solid var(--rule); padding: 32px 0 44px; color: var(--muted); font-size: .95rem; }
.site-foot .wrap { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }
