:root {
  --ty-ink: #101a2d;
  --ty-blue: #005fc9;
  --ty-blue-light: #8ecaff;
  --ty-dark: #0b1424;
  --ty-panel: #15233a;
  --ty-line: #354963;
  --ty-paper: #f3f5fa;
  --ty-font: Inter, -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
}
.ty-site { font-family: var(--ty-font); }
.ty-site .top, .ty-site > header { background: #fbfcffeF; color: var(--ty-ink); border-color: #dbe2ee; }
.ty-site .top { position: sticky; top: 0; z-index: 3; backdrop-filter: blur(16px); }
.ty-site .ty-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 12px; }
.ty-brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 750 .82rem/1.2 var(--ty-font); letter-spacing: .075em; }
.ty-brand img { display: block; width: 30px; height: 30px; border-radius: 7px; }
.ty-site .ty-nav, .ty-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding: 0; }
.ty-nav a, .ty-footer a { color: inherit; font-size: .84rem; text-decoration: none; }
.ty-nav a:hover, .ty-footer a:hover { text-decoration: underline; }
.ty-nav [aria-current=page] { color: var(--ty-blue); font-weight: 750; }
.ty-site .hero, .ty-site .toolkit-hero { background: radial-gradient(ellipse at 72% 90%, #274b7a, #101e38 48%, #090f1b 83%); }
.ty-site .primary { background: var(--ty-blue); border-color: var(--ty-blue); }
.ty-site .primary:hover { background: #004fa8; border-color: #004fa8; }
.ty-site .signal { filter: saturate(1.12); }
.ty-footer { border-top: 1px solid #dbe2ee; background: #eef1f8; color: #40516b; }
.ty-footer .ty-header { padding-block: 20px; }
.ty-footer span { font-size: .8rem; }
.ty-home { background: var(--ty-paper); }
.ty-home .hero { color: #fff; border-radius: 28px; padding: clamp(30px,7vw,70px); margin: 28px 0 16px; }
.ty-home .hero p { color: #c3d5ef; }
.ty-home .hero .ty-mission { color: #fff; font-weight: 720; font-size: clamp(1.2rem,3vw,1.8rem); margin-top: 15px; }
.ty-home .destination { min-height: 195px; }
.ty-home main { padding-bottom: 30px; }
.ty-appbar {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 7px clamp(12px,3vw,26px);
  border-bottom: 1px solid var(--ty-line);
  background: var(--ty-dark);
  color: #eef5ff;
  font: 650 13px/1.4 var(--ty-font);
}
.ty-appbar .ty-brand { letter-spacing: .025em; }
.ty-appbar .ty-brand img { width: 22px; height: 22px; border-radius: 5px; }
.ty-appbar .ty-back { color: #b8dfff; text-underline-offset: 3px; }
.ty-appbar a:focus-visible { outline: 2px solid #a6d3ff; outline-offset: 3px; }
.ty-tool button:not(.btn-hw):not([disabled]), .ty-tool select, .ty-tool input:not([type=range]) { border-radius: 8px; }
.ty-tool :is(button,input,select,a):focus-visible { outline: 2px solid #88c9ff; outline-offset: 2px; }
@media (max-width:640px) {
  .ty-site .ty-nav { gap: 10px 14px; }
  .ty-site .ty-header { align-items: flex-start; }
}
