:root {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --brand: #4f46e5;
  color: #25334a;
  background: #f4f7f6;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr); }
a { color: var(--brand); text-underline-offset: 4px; }
a:focus-visible, iframe:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 10px max(22px, env(safe-area-inset-right)) 10px max(22px, env(safe-area-inset-left));
  background: #fff;
  border-bottom: 1px solid #dce3ed;
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--brand); font-size: 32px; line-height: 1; text-decoration: none; }
/* Reuse the original silhouette; currentColor keeps mark and wordmark equal. */
.brand-mark { width: 44px; height: 50px; flex: none; background: currentColor; mask: url("/assets/logo.png") center / contain no-repeat; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; }
nav a { padding: 10px 0; font-size: 14px; }
main { min-height: 0; position: relative; }
iframe { display: block; width: 100%; height: 100%; border: 0; }
noscript { position: absolute; inset: 0; padding: 24px; background: #f4f7f6; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 8px 14px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 600px) {
  .topbar { gap: 4px; padding: 8px 14px; }
  .brand { font-size: 27px; }
  .brand-mark { width: 35px; height: 40px; }
  nav { gap: 0 16px; }
  nav a { font-size: 12px; padding: 8px 0; }
}
