/* Source: the Alabuga brandbook supplied by the project owner, October 2026.
   Exact palette, original Alabuga Sans faces and the Polytech project logo.
   Supporting synergy graphics and a short owner-requested symbol animation.
   The original path geometry, colours and wordmark remain intact. */
@font-face{font-family:"Alabuga Sans";src:url('./alabuga-sans-regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Alabuga Sans";src:url('./alabuga-sans-medium.woff2') format('woff2');font-style:normal;font-weight:500 600;font-display:swap}
@font-face{font-family:"Alabuga Display";src:url('./alabuga-sans-bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"Alabuga Display";src:url('./alabuga-sans-extra-bold.woff2') format('woff2');font-style:normal;font-weight:750 800;font-display:swap}
@font-face{font-family:"Alabuga Display";src:url('./alabuga-sans-black.woff2') format('woff2');font-style:normal;font-weight:900;font-display:swap}
:root{--blue:#0c6ff1;--deep:#000d3c;--ink:#161616;--muted:#4e596d;--line:#cccfd8;--paper:#f6fafe;--pale:#deeefd;--radius:16px;--xp-surface:#fff;--xp-soft:#deeefd;--xp-accent:#0c6ff1;--xp-shadow:0 16px 40px -30px #000d3c45}
body{font-family:"Alabuga Sans",Arial,sans-serif;font-weight:400;font-synthesis:none}
button,input{font-family:inherit}button{font-weight:500}
h1,h2,h3,.hero-facts b,.number,.curfew-numerals,.quick-contact-names,.xp-entry strong,.xp-result-score,.xp-complete-symbol{font-family:"Alabuga Display","Alabuga Sans",Arial,sans-serif;font-synthesis:none}
h1,h2,h3{font-weight:700}.eyebrow{font-weight:500;letter-spacing:.11em}
::selection{background:#deeefd;color:#000d3c}
.brand{padding:0}.brand-art{display:block;width:196px;height:auto;pointer-events:none;overflow:visible}.brand-wordmark{fill:#1b1b1b}
/* One short assembly, then a single travelling wave on hover or keyboard focus.
   No fill-forwards transform or continuous animation on the logo text. */
.brand-segment:nth-child(1){--brand-x:0px;--brand-y:-7px;--brand-delay:140ms;--brand-order:2}
.brand-segment:nth-child(2){--brand-x:7px;--brand-y:-4px;--brand-delay:110ms;--brand-order:3}
.brand-segment:nth-child(3){--brand-x:10px;--brand-y:4px;--brand-delay:0ms;--brand-order:4}
.brand-segment:nth-child(4){--brand-x:-7px;--brand-y:-4px;--brand-delay:110ms;--brand-order:1}
.brand-segment:nth-child(5){--brand-x:0px;--brand-y:9px;--brand-delay:280ms;--brand-order:5}
.brand-segment:nth-child(6){--brand-x:-10px;--brand-y:4px;--brand-delay:0ms;--brand-order:0}
@keyframes brand-segment-arrive {
  from{opacity:0;transform:translate(var(--brand-x),var(--brand-y))}
  to{opacity:1;transform:none}
}
@keyframes brand-segment-wave {
  0%,100%{opacity:1;transform:none}
  32%{opacity:.65;transform:translateY(-3px)}
  64%{opacity:1;transform:none}
}
@media screen and (prefers-reduced-motion:no-preference) {
  .brand-segment {
    animation:brand-segment-arrive 760ms cubic-bezier(.22,1,.36,1) calc(80ms + var(--brand-delay)) 1 backwards;
  }
  .brand:is(:hover,:focus-visible) .brand-segment > path {
    animation:brand-segment-wave 1050ms cubic-bezier(.22,1,.36,1) calc(var(--brand-order) * 65ms) 1 backwards;
  }
}
/* A broad, low-intensity halo lights the complete bilingual logo. The same
   restrained edge light covers lettering and symbol; the symbol has no
   additional glow. Ambient and hover layers remain independent. */
@media screen {
  .brand { position:relative; isolation:isolate; }
  .brand::before, .brand::after {
    content:""; position:absolute; pointer-events:none; z-index:-1;
    left:50%; top:50%; width:112%; height:88%; border-radius:50%;
    transform:translate(-50%,-50%);
  }
  .brand::before {
    background:radial-gradient(ellipse,#69cff71f 0%,#0c6ff11a 38%,transparent 74%);
    opacity:.4;
  }
  .brand::after {
    background:radial-gradient(ellipse,#69cff72e 0%,#0c6ff124 40%,transparent 74%);
    opacity:0;
  }
  .brand-art { filter:drop-shadow(0 0 2px #69cff72e) drop-shadow(0 0 6px #0c6ff11a); }
  .brand:is(:hover,:focus-visible)::after { opacity:.65; }
  .brand:is(:hover,:focus-visible) .brand-art {
    filter:drop-shadow(0 0 2px #69cff759) drop-shadow(0 0 7px #0c6ff13d);
  }
}
@keyframes brand-halo-breathe {
  0%,100% { opacity:.25; transform:translate(-50%,-50%) scale(.96); }
  50% { opacity:.55; transform:translate(-50%,-50%) scale(1.04); }
}
@media screen and (prefers-reduced-motion:no-preference) {
  .brand::before { animation:brand-halo-breathe 6.5s ease-in-out infinite; }
  .brand::after { transition:opacity .45s ease; }
  .brand-art { transition:filter .45s ease; }
}
.site-header{background:#fff;border-color:#cccfd899}.primary-nav a{font-size:13px;font-weight:500}.print-button{font-weight:500}.reading-progress>span{background:linear-gradient(90deg,#0c6ff1,#69cff7)}
.hero{padding-top:48px;padding-bottom:38px}.hero h1{font-weight:800;line-height:1.08;letter-spacing:-.025em;font-size:clamp(32px,3.35vw,43px)}
.hero-description{font-size:14px;line-height:1.65;color:var(--muted)}.hero-facts>span{font-size:18px;color:var(--deep);font-weight:500}.hero-facts b{font-weight:900;font-size:44px;letter-spacing:-.045em}
.hero-cards{gap:16px}.hero-cards .curfew,.quick-contacts{background:linear-gradient(140deg,#0c6ff1 15%,#085aca 72%,#000d3c 135%);border:1px solid #0c6ff1;box-shadow:0 14px 32px -27px #000d3c80;border-radius:18px}
.hero-cards .curfew-top,.quick-contacts-top{font-size:12px;font-weight:500;gap:8px;min-height:32px}.curfew-top svg,.quick-contacts-top svg{width:32px;height:32px}
.curfew-time{font-size:clamp(40px,4vw,56px);block-size:1.35em}.curfew-numerals{display:flex;align-items:baseline;line-height:1;font-weight:800;letter-spacing:-.045em;font-variant-numeric:tabular-nums;white-space:nowrap}.curfew-colon{position:relative;top:-.025em;margin:0 .015em;font-size:.91em;letter-spacing:0}
.hero-cards .curfew>p:not(.curfew-time){font-size:11px;color:#deeefd}.quick-contact-names{font-size:20px;line-height:1.3;font-weight:700;letter-spacing:-.025em;margin-top:12px}
.hero-cards .curfew>a,.hero-cards .quick-contacts-bottom{font-size:10px;border-top-color:#deeeFd55;min-height:42px}.quick-contacts:hover{background:linear-gradient(140deg,#0c6ff1 15%,#085aca 72%,#000d3c 135%)}
.brand-pattern{width:130px;height:180px;right:-20px;top:26px;opacity:.24;transform:rotate(-22deg)}
.brand-pattern i,.brand-pattern i:nth-child(2),.brand-pattern i:nth-child(3),.brand-pattern i:nth-child(4){position:absolute;width:96px;height:32px;left:0;top:0;transform:none;background:linear-gradient(165deg,#deeefd,#69cff7 42%,#0c6ff1);mask:url('./brand-triangle.svg') center/contain no-repeat;-webkit-mask:url('./brand-triangle.svg') center/contain no-repeat;animation:none}
.brand-pattern i:nth-child(2){top:35px;left:4px}.brand-pattern i:nth-child(3){top:70px;left:8px}.brand-pattern i:nth-child(4){top:105px;left:12px}
.growth-scene{max-width:260px}.growth-scene-caption{font-family:"Alabuga Sans",Arial,sans-serif;font-size:10px;font-weight:500;color:var(--muted)}
.growth-cube-1{--cube-x:20px;--cube-y:66px;--float-delay:0s}.growth-cube-2{--cube-x:82px;--cube-y:67px;--float-delay:-1.5s}.growth-cube-3{--cube-x:145px;--cube-y:43px;--float-delay:-3s}.growth-cube-4{--cube-x:205px;--cube-y:22px;--float-delay:-4.5s}
.growth-scene.is-assembled .growth-cube-1{--cube-x:50px;--cube-y:69px}.growth-scene.is-assembled .growth-cube-2{--cube-x:94px;--cube-y:53px}.growth-scene.is-assembled .growth-cube-3{--cube-x:138px;--cube-y:37px}.growth-scene.is-assembled .growth-cube-4{--cube-x:182px;--cube-y:21px}
.growth-cube{transition:transform 1.1s cubic-bezier(.22,1,.36,1)}
.category-button{font-size:12px;font-weight:500;border-radius:10px;gap:9px;padding:11px 10px}.category-button .cat-icon{width:32px;height:32px;flex:none;color:var(--muted)}.category-button .cat-icon svg{width:32px;height:32px}.category-button[aria-pressed=true] .cat-icon{color:white}.category-button .cat-count{font-size:11px}
.sidebar-label{font-size:11px;font-weight:500}.sidebar-note{padding-left:7px;padding-right:7px}.sidebar-note h2{font-size:12px;line-height:1.5}.sidebar-note p{font-size:11px}.sidebar-note a{font-size:11px;font-weight:500}.note-symbol{width:32px;height:32px;line-height:1}
.section-heading h2{font-size:26px;font-weight:800;letter-spacing:-.025em}.section-heading .eyebrow{font-size:10px}.section-description{font-size:13px}.search-box{height:56px;border-radius:12px;border-color:#cccfd8}.search-box input{font-size:13px}.search-box:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #0c6ff112}.search-box svg{color:#4e596d}.results-toolbar p,.results-toolbar button{font-size:11px}
.rule,.faq,.shared-group{border-color:#cccfd8;background:#fff;box-shadow:0 5px 14px -12px #000d3c40}.rule>summary h3{font-size:13px;line-height:1.55;font-weight:700;letter-spacing:-.01em}.number{font-weight:800;font-size:20px}.rule>summary:hover{background:#f6fafe}.rule[open]>summary{background:linear-gradient(100deg,#deeefd66,#fff 85%);border-bottom-color:#cccfd888}
.rule-body{padding-top:21px;padding-bottom:21px}.sanction-header p,.compare-button{font-size:10px;font-weight:500}.stage-tab{font-size:11px;font-weight:500}.stage-panel{border-color:#cccfd8;border-radius:11px;padding:18px}.stage-items li{font-size:12px;font-weight:500;line-height:1.6}.stage-items li.serious{color:var(--deep)}.stage-panels .sanction-marker{color:var(--blue)}.stage-items li.serious .sanction-marker{color:var(--deep)}.card-footer,.card-footer button{font-size:9px;color:var(--muted)}.compare-mode .stage-items li{font-size:11px}
.group-heading{background:#deeefd77}.group-heading h3{font-size:12px}.group-rule h3{font-size:12px}.group-sanction li{font-size:12px;border-radius:8px}.search-hit{background:#deeefd;color:#000d3c;border-radius:3px}.faq>summary h3{font-size:13px;font-weight:700}.faq-number{font-family:"Alabuga Display",Arial,sans-serif;font-weight:800;line-height:1}.faq-text{font-size:13px;line-height:1.85;color:var(--muted)}.main-advice{background:#deeefd;border-color:#a8cbf4}.main-advice p:last-child{font-size:13px}.main-advice .eyebrow{font-weight:500}
.xp-hub-heading h2{font-size:17px;font-weight:700;letter-spacing:-.02em}.xp-entry{border-color:#cccfd8;border-radius:18px}.xp-entry strong{font-size:19px;font-weight:800;letter-spacing:-.025em}.xp-entry p{font-size:11px}.xp-entry-bottom{font-size:10px;font-weight:500}.xp-entry-icon{width:40px;height:40px;background:#deeefd;border-radius:12px}.xp-entry-icon svg{width:25px;height:25px}.xp-house{background:linear-gradient(140deg,#fff,#deeefd);border-color:#cccfd8}.xp-house-top{font-size:11px;font-weight:500}.xp-live::before{background:#0c6ff1}.xp-house-zones button{font-size:10px;font-weight:500}.xp-window:nth-child(3n){fill:#deeefd}
.xp-dialog{border-radius:20px}.xp-dialog-header h2{font-size:22px;font-weight:800}.xp-mode-panel h3{font-size:27px;font-weight:700;letter-spacing:-.025em}.xp-lead{font-size:14px}.xp-choice{font-size:13px;font-weight:500}.xp-choice-letter{font-family:"Alabuga Display",Arial,sans-serif;font-weight:700}.xp-btn{font-size:12px;font-weight:500}.xp-btn--primary{background:#0c6ff1;border-color:#0c6ff1}.xp-btn--primary:hover{background:#0555bf;border-color:#0555bf}.xp-result{background:linear-gradient(130deg,#000d3c,#0c6ff1 80%,#69cff7 135%)}.xp-result h3{font-size:29px}.xp-result-score{font-weight:900}.xp-result>p{font-size:13px}.xp-result-kicker{font-weight:500}.xp-answer{font-size:14px;font-weight:500}.xp-source{font-size:12px;font-weight:500}.xp-feedback-mark.is-review{color:#000d3c;background:#deeefd}.xp-confetti i,.xp-confetti i:nth-child(2n){width:14px;height:5px;background:#69cff7;clip-path:polygon(50% 0,100% 100%,0 100%)}.xp-confetti i:nth-child(2n){background:#deeefd}.xp-study-count{font-weight:500}.xp-study-stage li{font-size:12px;font-weight:500}.xp-study-stage>h4{font-size:11px;font-weight:500}.xp-study-card h3{font-size:25px}.xp-status{font-size:12px}
.contact-card.residence-card,.residence-card[data-residence=ganimed],.residence-card[data-residence=piramida]{--residence-accent:#0c6ff1;--residence-rgb:12,111,241;--residence-line:#cccfd8;background:linear-gradient(155deg,#fff 45%,#deeefd77);border-radius:18px}.residence-card .residence-heading h3{font-size:22px;font-weight:800;letter-spacing:-.025em}.residence-card .contact-links a{font-size:13px;font-weight:500}.residence-card .contact-links svg{width:24px;height:24px}.residence-badge,.residence-model-hint{color:var(--muted);font-weight:500}.residence-card.is-night .residence-badge i{background:#69cff7;box-shadow:0 0 8px #69cff780,0 0 0 3px #69cff715}
.site-footer>span{font-family:"Alabuga Display",Arial,sans-serif;font-weight:700}.site-footer{font-size:10px}.site-footer>span{font-size:13px}
@keyframes synergy-light{0%,100%{opacity:.2;translate:0 0}50%{opacity:.34;translate:0 -4px}}
@media(prefers-reduced-motion:no-preference){.brand-pattern{animation:synergy-light 12s ease-in-out infinite}.hero-motion-paused .brand-pattern{animation-play-state:paused}}
[data-theme=dark]{--blue:#0c6ff1;--deep:#deeefd;--ink:#fff;--muted:#b5c9e4;--line:#2a4671;--paper:#000d3c;--pale:#102e5c;--xp-surface:#091f47;--xp-soft:#102e5c;--xp-accent:#69cff7}
[data-theme=dark] .site-header{background:#000d3c;border-color:#2a4671}[data-theme=dark] .brand-wordmark{fill:white}[data-theme=dark] :is(.rule,.rule>summary,.faq,.shared-group,.stage-panel,.search-box,.xp-entry,.xp-dialog){background:#091f47;border-color:#2a4671}[data-theme=dark] .rule[open]>summary{background:linear-gradient(100deg,#123668,#091f47 85%);border-bottom-color:#2a4671}[data-theme=dark] .rule>summary:hover{background:#102e5c}[data-theme=dark] .stage-items li.serious{color:#deeefd}[data-theme=dark] .sanction-marker,[data-theme=dark] .stage-items li.serious .sanction-marker{color:#69cff7}[data-theme=dark] .hero-facts>span{color:#deeefd}[data-theme=dark] .xp-house{background:linear-gradient(140deg,#091f47,#102e5c);border-color:#2a4671}[data-theme=dark] .xp-feedback-mark.is-review{color:#deeefd;background:#102e5c}[data-theme=dark] .search-hit{color:#fff;background:#174c88}[data-theme=dark] .main-advice{background:#102e5c;border-color:#2a4671}[data-theme=dark] .main-advice p{color:#deeefd}[data-theme=dark] .contact-card.residence-card,[data-theme=dark] .contact-card.residence-card.is-night{--residence-accent:#69cff7;--residence-rgb:105,207,247;--residence-line:#2a4671;background:linear-gradient(155deg,#091f47,#102e5c)}
@media(min-width:561px){.hero-cards .curfew>a,.hero-cards .quick-contacts-bottom{margin-top:auto}}
@media(max-width:1100px){.primary-nav a{font-size:12px}.hero h1{font-size:36px}.xp-entry strong{font-size:17px}.xp-entry p{font-size:10px}}
@media(max-width:800px){.brand-art{width:180px}.hero h1{font-size:36px}.hero-description{font-size:13px}.hero-cards .curfew,.quick-contacts{padding:21px}.primary-nav a{font-size:12px}.rule>summary h3,.faq>summary h3{font-size:13px}.section-heading h2{font-size:25px}.xp-entry strong{font-size:17px}.xp-entry p{font-size:10px}.residence-card .contact-links a{font-size:13px}}
@media(max-width:560px){.hero{padding-top:29px;padding-bottom:29px}.hero h1{font-size:32px;line-height:1.09;letter-spacing:-.025em}.hero .eyebrow{font-size:9px}.hero-facts>span{font-size:17px}.hero-facts b{font-size:40px}.hero-facts{gap:8px}.hero-description{font-size:12px}.hero-cards .curfew{padding:18px 20px;gap:6px 12px}.curfew-time{font-size:44px;block-size:1.2em}.hero-cards .curfew-top{font-size:11px}.hero-cards .curfew>p:not(.curfew-time){font-size:10px}.hero-cards .curfew>a,.hero-cards .quick-contacts-bottom{font-size:10px;min-height:34px}.quick-contact-names{font-size:16px;line-height:1.4;gap:8px 16px;margin-top:11px}.brand-pattern{width:120px;right:-25px;top:-16px;opacity:.16}.growth-scene-caption{font-size:9px}.xp-hub-heading h2{font-size:15px;max-width:210px;line-height:1.4}.xp-hub-heading .xp-source{font-size:10px;white-space:nowrap}.xp-house-top{font-size:11px}.xp-entry strong{font-size:18px}.xp-entry p{font-size:10px;line-height:1.7}.xp-entry-bottom{font-size:10px}.section-heading h2{font-size:25px}.search-box input{font-size:12px}.results-toolbar p,.results-toolbar button{font-size:10px}.rule>summary h3{font-size:12px;line-height:1.6}.rule>summary .number{font-size:20px;width:27px}.rule>summary{gap:12px;padding-top:21px;padding-bottom:21px}.rule-body{padding:17px}.sanction-header p,.compare-button{font-size:9px}.stage-tab{font-size:11px}.stage-panel{padding:17px}.stage-items li{font-size:12px}.compare-mode .stage-items li{font-size:11px}.card-footer,.card-footer button{font-size:8px}.faq>summary h3{font-size:12px;line-height:1.65}.faq-text{font-size:12px}.faq-number{width:27px;height:27px;font-size:12px}.main-advice p:last-child{font-size:12px}.xp-mode-panel h3{font-size:23px}.xp-lead{font-size:12px}.xp-choice{font-size:12px}.xp-btn{font-size:11px}.xp-result h3{font-size:25px}.xp-result>p{font-size:12px}.xp-study-card h3{font-size:22px}.xp-study-stage li{font-size:11px}.residence-card .residence-heading h3{font-size:24px}.site-footer p{font-size:10px}}
@media(max-width:380px){.brand-art{width:160px}.hero h1{font-size:29px}.hero-facts b{font-size:36px}.hero-facts>span{font-size:16px}.growth-scene{min-width:125px}.xp-entry strong{font-size:17px}.xp-entry p{font-size:9.5px}.primary-nav a{font-size:11px}}
@media(prefers-reduced-motion:reduce){.brand-pattern,.growth-float{animation:none!important}.growth-cube{transition:none!important}}
/* Screen typography: use the text face for reading, display faces for large
   headings, and whole-pixel sizes for small labels. Blue cards have no
   permanent transform; pointer tilt is enabled only during mouse interaction. */
@media screen {
  body { font-size:16px; line-height:1.6; }
  .primary-nav a, .print-button { font-size:14px; line-height:1.5; }
  .hero .eyebrow {
    font-family:"Alabuga Sans",Arial,sans-serif;
    font-size:14px; font-weight:500; line-height:1.6;
    text-transform:none; letter-spacing:0;
  }
  .hero h1 { font-weight:700; line-height:1.15; letter-spacing:-.015em; }
  .hero-description { font-size:16px; line-height:1.7; }
  .hero-cards [data-card-motion] {
    transform:none;
    transition:transform .3s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, background .2s ease;
  }
  .hero-cards .curfew-top, .quick-contacts-top { font-size:14px; line-height:1.5; }
  .hero-cards .curfew > p:not(.curfew-time) {
    font-size:14px; font-weight:500; line-height:1.65; color:#fff;
  }
  .quick-contact-names { font-size:22px; letter-spacing:0; line-height:1.35; }
  .hero-cards .curfew > a, .hero-cards .quick-contacts-bottom {
    font-size:12px; font-weight:500; line-height:1.55; min-height:54px;
  }
  .growth-scene-caption { font-size:12px; letter-spacing:0; }
  .category-button { font-size:14px; line-height:1.5; }
  .category-button .cat-count { font-size:12px; opacity:1; }
  .sidebar-label { font-size:12px; }
  .sidebar-note h2 {
    font-family:"Alabuga Sans",Arial,sans-serif;
    font-size:16px; font-weight:500; line-height:1.45; max-width:none;
  }
  .sidebar-note p { font-size:14px; line-height:1.7; }
  .sidebar-note a, .advice-nav a { font-size:13px; line-height:1.6; }
  .section-heading h2 { font-size:28px; font-weight:700; letter-spacing:-.015em; }
  .section-heading .eyebrow { font-size:12px; }
  .section-description { font-size:15px; }
  .search-box input { font-size:16px; }
  .results-toolbar { gap:12px; align-items:flex-start; }
  .results-toolbar p, .results-toolbar button { font-size:13px; line-height:1.6; }
  .results-toolbar p { flex:1; min-width:0; }
  .results-toolbar button { flex:none; }
  .mobile-filters button { font-size:13px; line-height:1.5; }
  .group-heading { gap:12px; }
  .group-heading h3 {
    font-family:"Alabuga Sans",Arial,sans-serif;
    font-size:16px; font-weight:500; line-height:1.5;
  }
  .group-heading > span { font-size:13px; line-height:1.5; }
  .group-rule h3, .rule > summary h3, .faq > summary h3 {
    font-family:"Alabuga Sans",Arial,sans-serif;
    font-size:16px; font-weight:500; line-height:1.6; letter-spacing:0;
  }
  .number { font-size:22px; line-height:1.2; letter-spacing:-.015em; }
  .group-sanction { flex-wrap:wrap; gap:14px 22px; }
  .group-sanction-label, .group-sanction-label b { font-size:13px; font-weight:500; line-height:1.6; }
  .group-sanction li { font-size:15px; font-weight:500; line-height:1.6; }
  .sanction-header { flex-wrap:wrap; }
  .sanction-header p { font-size:13px; line-height:1.6; }
  .compare-button { font-size:12px; line-height:1.6; }
  .stage-tab { font-size:14px; line-height:1.5; padding:10px 14px 12px; }
  .stage-items li { font-size:15px; line-height:1.65; }
  .compare-mode .stage-items li { font-size:14px; }
  .stage-panel > h4 { font-size:13px; line-height:1.5; }
  .card-footer, .card-footer button { font-size:12px; line-height:1.5; }
  .faq-text { font-size:16px; line-height:1.75; }
  .faq-number { font-size:14px; }
  .faq[open]:not(.is-closing) .faq-number { transform:none; }
  .main-advice .eyebrow { font-size:12px; }
  .main-advice p:last-child { font-size:16px; line-height:1.75; }
  .xp-hub-heading h2 { font-size:19px; line-height:1.45; letter-spacing:-.01em; }
  .xp-entry strong { font-size:20px; font-weight:700; letter-spacing:-.01em; }
  .xp-entry p { font-size:14px; line-height:1.7; }
  .xp-entry-bottom { font-size:12px; line-height:1.5; }
  .xp-house-top { font-size:13px; line-height:1.5; }
  .xp-live { font-size:11px; }
  .xp-house-zones button { font-size:12px; line-height:1.5; }
  .xp-dialog-header h2 { font-size:24px; font-weight:700; letter-spacing:-.01em; }
  .xp-dialog-kicker, .xp-result-kicker { font-size:12px; }
  .xp-mode-meta { font-size:13px; }
  .xp-mode-panel h3 { font-weight:700; letter-spacing:-.01em; }
  .xp-lead, .xp-choice, .xp-answer { font-size:16px; line-height:1.7; }
  .xp-choice-letter { font-size:13px; }
  .xp-btn, .xp-source { font-size:14px; line-height:1.6; }
  .xp-result > p { font-size:15px; line-height:1.7; }
  .xp-result-bottom > span { font-size:12px; line-height:1.6; }
  .xp-study-count, .xp-study-filter, .xp-study-caption { font-size:13px; }
  .xp-study-stage > h4 { font-size:13px; }
  .xp-study-stage li { font-size:15px; line-height:1.65; }
  .xp-study-bottom > span, .xp-study-jump > summary, .xp-known-tag { font-size:12px; }
  .xp-study-index button, .xp-status { font-size:13px; }
  .residence-card .contact-links a { font-size:15px; line-height:1.6; }
  .residence-badge, .residence-model-hint { font-size:12px; }
  .site-footer, .site-footer p { font-size:13px; line-height:1.6; }
  .site-footer p {
    font-family:"Alabuga Sans",Arial,sans-serif;
    font-size:14px; font-weight:500; letter-spacing:0;
  }
  .site-footer > span { font-size:15px; }
  .site-footer a { font-size:14px; }
  .xp-dialog[open], .search-reveal, .residence-card.is-visible .contact-links {
    animation-fill-mode:backwards;
  }
}
/* Keep the resting text sharp, and restore depth while following the pointer. */
@media screen and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .hero-cards [data-card-motion].is-pointed {
    transform:perspective(900px) rotateX(var(--card-rx,0deg)) rotateY(var(--card-ry,0deg)) translateY(-3px);
  }
}
@media screen and (max-width:800px) {
  .primary-nav { gap:16px; }
  .primary-nav a { font-size:13px; }
  .hero-cards .curfew-top, .quick-contacts-top { font-size:14px; }
  .xp-hub-heading .xp-source { font-size:12px; line-height:1.5; }
  .xp-entry strong { font-size:19px; }
  .xp-entry p { font-size:14px; }
  .residence-badge { font-size:11px; }
  .residence-card .residence-heading { flex-wrap:wrap; gap:7px; }
}
@media screen and (max-width:560px) {
  .hero h1 { font-size:32px; line-height:1.16; letter-spacing:-.015em; }
  .hero .eyebrow { font-size:13px; letter-spacing:0; }
  .hero-description { font-size:15px; }
  .hero-cards .curfew { display:flex; flex-direction:column; align-items:stretch; }
  .hero-cards .curfew > p:not(.curfew-time) { margin-top:8px; }
  .quick-contact-names { font-size:21px; }
  .hero-cards .curfew > a, .hero-cards .quick-contacts-bottom { min-height:44px; }
  .growth-scene-caption { font-size:11px; }
  .section-heading h2 { font-size:25px; }
  .group-heading { align-items:flex-start; }
  .group-heading > span { text-align:left; }
  .rule > summary h3, .group-rule h3, .faq > summary h3 { font-size:16px; }
  .rule > summary .number { font-size:21px; }
  .group-sanction-label { display:block; }
  .group-sanction-label b { margin-top:3px; }
  .stage-tab { padding-left:8px; padding-right:8px; }
  .faq-text, .main-advice p:last-child { font-size:16px; }
  .xp-hub-heading h2 { font-size:18px; max-width:230px; }
  .xp-entry { padding:17px 15px; }
  .xp-entry strong { font-size:18px; }
  .xp-entry p { font-size:14px; }
  .xp-entry-bottom { font-size:12px; }
  .xp-dialog-header h2 { font-size:22px; }
  .xp-mode-panel h3 { font-size:23px; }
  .xp-lead, .xp-choice, .xp-answer { font-size:16px; }
  .xp-btn { font-size:14px; }
  .xp-study-card h3 { font-size:22px; }
}
@media print{html,[data-theme=dark]{--blue:#0c6ff1;--deep:#000d3c;--ink:#161616;--muted:#4e596d;--line:#cccfd8;--paper:white;--xp-surface:white}.brand-art{width:180px}.brand-wordmark,[data-theme=dark] .brand-wordmark{fill:#1b1b1b}.hero h1{font-size:24pt}.hero-description{font-size:10pt}.rule>summary h3,.group-rule h3{font-size:9pt}.stage-items li{font-size:8pt}.faq-text{font-size:9pt}}
