/* MeinInternat public entry page. Independent of the application and imported subpage styles. */
:root { --ink:#173345; --muted:#657b88; --blue:#287fbe; --yellow:#f6d66d; --line:#e1e9ed; --paper:#f3f6f8; --radius:28px; }
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:110px; scrollbar-gutter:stable; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif; font-size:15px; line-height:1.6; -webkit-font-smoothing:antialiased; }
img,video { display:block; max-width:100%; height:auto; }
button,input { font:inherit; }
button,a,input,summary { -webkit-tap-highlight-color:transparent; }
a { color:inherit; text-decoration:none; }
button { cursor:pointer; }
h1,h2,h3,p,figure { margin:0; }
h1,h2,h3 { line-height:1.08; letter-spacing:-.045em; }
h2 { font-size:clamp(36px,4.2vw,54px); font-weight:650; }
h2 em { color:var(--blue); font-family:Georgia,serif; font-weight:400; }
p { color:var(--muted); }
:focus-visible { outline:3px solid var(--blue); outline-offset:5px; }
::selection { background:#f6d66d; color:var(--ink); }
.wrap { width:min(1200px,calc(100% - 64px)); margin-inline:auto; }
.section-space { padding-block:84px; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:10px; line-height:1.5; font-weight:700; letter-spacing:.13em; }
.skip-link { position:fixed; left:16px; top:-100px; padding:12px 20px; background:var(--ink); color:#fff; z-index:60; border-radius:8px; }
.skip-link:focus { top:12px; }
.text-link { display:inline-flex; align-items:center; gap:20px; font-size:13px; font-weight:650; }
.text-link:hover { color:var(--blue); }
.circle-arrow { display:grid; place-items:center; width:34px; height:34px; border:1px solid #a4bfce; border-radius:50%; font-size:18px; transition:background .2s,color .2s; }
.text-link:hover .circle-arrow { background:var(--ink); color:#fff; border-color:var(--ink); }
/* Navigation */
.site-header { position:sticky; top:0; z-index:30; background:#f3f6f8f5; border-bottom:1px solid #1733450b; backdrop-filter:blur(16px); }
.header-inner { min-height:86px; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.brand { display:inline-flex; align-items:center; gap:10px; white-space:nowrap; font-size:24px; font-weight:750; letter-spacing:-1px; }
.brand img { width:42px; height:42px; object-fit:contain; }
.brand-accent { font-weight:500; }
.brand-dot { color:var(--blue); }
.desktop-nav { display:flex; align-items:center; gap:30px; font-size:13px; font-weight:550; }
.desktop-nav a { padding-block:12px; color:#617581; transition:color .2s; }
.desktop-nav a:hover { color:var(--blue); }
.header-actions { display:flex; align-items:center; gap:12px; }
.header-contact { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:44px; padding:10px 18px; border:1px solid #2376ae; border-radius:100px; background:#2376ae; color:#fff; font-size:12px; font-weight:650; white-space:nowrap; box-shadow:0 5px 15px #287fbe18; transition:background .2s,border-color .2s; }
.header-contact:hover { background:var(--ink); border-color:var(--ink); }
.header-contact svg { width:17px; height:17px; flex-shrink:0; }
.platform-menu { position:relative; }
.platform-menu > summary { display:flex; align-items:center; gap:8px; padding-block:12px; color:#617581; list-style:none; cursor:pointer; }
.platform-menu > summary::-webkit-details-marker { display:none; }
.platform-menu > summary svg { width:14px; height:14px; transition:transform .2s; }
.platform-menu[open] > summary { color:var(--blue); }
.platform-menu[open] > summary svg { transform:rotate(180deg); }
.platform-dropdown { position:absolute; top:calc(100% + 9px); left:-20px; width:355px; padding:12px; background:#fff; border:1px solid #e0e9ef; border-radius:20px; box-shadow:0 18px 55px #1733451a; }
.platform-menu[open] .platform-dropdown,.mobile-menu[open] nav { animation:mi-menu-enter .18s ease-out; }
@keyframes mi-menu-enter { from { opacity:0; translate:0 -6px; } to { opacity:1; translate:0 0; } }
.menu-label { display:block; padding:10px 12px; color:#8b9da8; font-size:9px; line-height:1.5; font-weight:650; letter-spacing:.1em; text-transform:uppercase; }
.platform-dropdown .platform-menu-link,.mobile-menu .platform-menu-link { display:grid; grid-template-columns:42px minmax(0,1fr) 14px; gap:12px; align-items:center; padding:12px; color:var(--ink); border-radius:12px; transition:background .2s; }
.platform-menu-link img { width:42px; height:42px; object-fit:contain; }
.platform-menu-link strong { display:block; font-size:13px; font-weight:600; line-height:1.5; }
.platform-menu-link small { display:block; color:#8195a1; font-size:11px; line-height:1.7; }
.platform-menu-link b { color:#7d9aab; font-size:15px; font-weight:400; }
.platform-dropdown .platform-menu-link:hover,.platform-menu-link[aria-current="page"] { background:#edf5fa; }
.platform-dropdown .platform-overview { display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--line); margin-top:8px; padding:15px 12px 7px; color:var(--blue); font-size:11px; }
.mobile-menu { display:none; position:relative; }
.mobile-menu > summary { display:grid; place-items:center; width:44px; height:44px; list-style:none; cursor:pointer; padding:8px; }
.mobile-menu summary::-webkit-details-marker { display:none; }
.mobile-menu nav { position:absolute; right:0; top:48px; width:min(340px,calc(100vw - 36px)); max-height:calc(100vh - 100px); max-height:calc(100svh - 100px); overflow-y:auto; overscroll-behavior:contain; padding:10px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 16px 50px #17334520; z-index:10; }
.mobile-menu nav a { display:block; border-radius:10px; padding:12px; font-size:14px; }
.mobile-menu nav a:hover { background:#eef5f9; }
.mobile-menu .mobile-contact { display:flex; align-items:center; gap:10px; color:var(--blue); font-weight:650; background:#edf5fa; margin-top:5px; }
.mobile-contact svg { width:18px; height:18px; }
/* First screen */
.hero-surface { background:#eaf3f9; border-radius:var(--radius); position:relative; overflow:hidden; }
.hero-surface::before { content:""; position:absolute; pointer-events:none; width:520px; height:520px; right:-270px; top:-295px; border:85px solid #d9eaf4; border-radius:50%; }
.hero-layout { position:relative; display:grid; grid-template-columns:minmax(0,500px) minmax(0,400px); justify-content:center; align-items:center; gap:clamp(40px,6vw,90px); padding:42px 54px 28px; }
.hero-copy { min-width:0; }
.hero-copy .eyebrow { color:#45728a; }
.status-dot { width:7px; height:7px; background:var(--blue); border-radius:50%; box-shadow:0 0 0 4px #287fbe10; margin-right:3px; }
.hero-copy h1 { position:relative; font-size:clamp(48px,5.5vw,73px); font-weight:650; line-height:1.015; margin:20px 0 21px; letter-spacing:-.055em; }
.hero-copy h1 em { color:var(--blue); font-family:Georgia,serif; font-weight:400; }
.title-spark { display:inline-block; font-family:Arial,sans-serif; font-size:.7em; color:#c7a03e; margin-left:12px; vertical-align:top; transform:rotate(12deg); }
.hero-copy > p { max-width:375px; color:#5b7789; font-size:14px; line-height:1.8; }
.hero-link { margin-top:22px; }
.hero-art { position:relative; width:350px; max-width:100%; height:134px; margin-top:16px; }
.hero-students { position:absolute; left:-12px; bottom:-7px; width:210px; height:139px; object-fit:contain; z-index:1; }
.art-orbit { position:absolute; left:12px; bottom:0; width:275px; height:89px; border-radius:50%; border:1px solid #c2dce9; transform:rotate(-14deg); }
.art-note { display:flex; gap:9px; align-items:center; position:absolute; left:168px; top:36px; background:#fffdf8; padding:12px 16px; border:1px solid #fff; border-radius:13px; transform:rotate(-6deg); box-shadow:0 8px 25px #214c6910; font-size:11px; line-height:1.5; z-index:2; white-space:nowrap; }
.note-icon { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#f8e6a8; font-size:19px; }
.art-note strong { font-weight:650; }
.hero-footnote { position:relative; margin:0 44px; padding:18px 0; border-top:1px solid #cedfe8; display:flex; align-items:center; justify-content:space-between; gap:20px; font-size:10px; color:#608092; }
.hero-footnote > span { font-size:9px; letter-spacing:.1em; font-weight:600; }
.hero-footnote div { display:flex; align-items:center; gap:16px; }
.hero-footnote i { width:3px; height:3px; border-radius:50%; background:#92adbd; }
.hero-footnote a { display:flex; gap:14px; align-items:center; }
/* Account card */
.mi-auth { width:100%; min-width:0; justify-self:center; scroll-margin-top:24px; }
.mi-auth-card { position:relative; background:#fff; padding:26px 30px 20px; border:1px solid #fff; border-radius:22px; box-shadow:0 16px 54px -24px #194c703f,0 1px 3px #194c7005; }
.mi-auth-card.is-resizing { overflow:clip; }
.mi-auth-tabs { display:flex; padding:4px; gap:4px; border-radius:11px; background:#f1f5f7; margin-bottom:22px; }
.mi-auth-tabs a { flex:1; text-align:center; padding:8px 6px; font-size:13px; line-height:1.5; font-weight:600; border:1px solid transparent; border-radius:8px; color:#687d89; transition:background .2s,box-shadow .2s,color .2s; }
.mi-auth-tabs a[aria-current="true"] { background:#fff; color:var(--ink); border-color:#e8eef1; box-shadow:0 2px 4px #17334506; }
.mi-auth-tabs a:hover { color:var(--blue); }
.mi-auth-form { margin:0; }
.mi-auth-form + .mi-auth-form { margin-top:26px; }
.mi-auth-ready .mi-auth-form[hidden] { display:none; }
.mi-auth-ready .mi-auth-form + .mi-auth-form { margin-top:0; }
.mi-auth-heading { margin-bottom:23px; }
.mi-auth-heading h2 { font-size:31px; font-weight:650; letter-spacing:-.045em; line-height:1.12; margin-bottom:10px; }
.mi-auth-heading h2 span { color:var(--blue); }
.mi-auth-heading p { font-size:12px; color:#748793; }
.auth-field { margin-top:15px; min-width:0; }
.auth-field label { display:block; color:#526a78; font-weight:600; font-size:12px; line-height:1.5; margin-bottom:7px; }
.auth-field input { display:block; width:100%; min-width:0; height:45px; padding:11px 13px; border:1px solid #d8e3e9; border-radius:9px; outline:none; background:#fbfcfd; color:var(--ink); font-size:14px; line-height:1.5; transition:border-color .2s,box-shadow .2s,background .2s; }
.auth-field input::placeholder { color:#7d919e; font-size:12px; }
.auth-field input:focus { border-color:#68a7d1; background:#fff; box-shadow:0 0 0 3px #287fbe10; }
.field-label-row { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.mi-auth-forgot { color:#6d8798; font-size:11px; }
.mi-auth-forgot:hover { color:var(--blue); text-decoration:underline; }
.password-field { position:relative; }
.password-field input { padding-right:44px; }
.password-toggle { display:none; position:absolute; right:3px; top:3px; width:39px; height:39px; border:0; background:transparent; color:#92a6b2; border-radius:7px; }
.mi-auth-ready .password-toggle { display:grid; place-items:center; }
.password-toggle:hover,.password-toggle[aria-pressed="true"] { color:var(--blue); background:#edf5fa; }
.mi-auth-submit { display:flex; align-items:center; justify-content:space-between; width:100%; height:46px; padding:0 16px; margin-top:24px; border:1px solid var(--ink); border-radius:10px; background:var(--ink); color:#fff; font-size:14px; font-weight:600; box-shadow:0 4px 10px #17334510; transition:background .2s,border-color .2s,transform .2s; }
.mi-auth-submit span { font-size:21px; font-weight:400; color:#bdd5e3; }
.mi-auth-submit:hover { background:var(--blue); border-color:var(--blue); transform:translateY(-1px); }
.auth-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:6px; border-top:1px solid #edf1f3; padding-top:16px; margin-top:23px; font-size:9px; color:#6d8492; }
.auth-bottom a:hover { color:var(--blue); }
.field-validation-valid,.validation-summary-valid { display:none; }
.field-validation-error { display:block; font-size:11px; line-height:1.5; color:#b4373f; margin-top:5px; }
.auth-field .input-validation-error { border-color:#c46d74; background:#fffafa; }
/* Registration progresses in two short steps; without JavaScript all fields remain available. */
.registration-heading h2 { font-size:26px; line-height:1.15; }
.registration-heading { margin-bottom:15px; }
.registration-heading p { font-size:11px; }
.registration-progress,.registration-next,.registration-back { display:none; }
.mi-auth-ready .registration-progress { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:10px; color:#7c929f; margin-bottom:5px; }
.registration-progress > div { display:flex; gap:4px; }
.registration-progress i { display:block; width:25px; height:3px; border-radius:3px; background:#e5edf2; }
.registration-progress i.is-current { background:var(--blue); }
.mi-auth-ready .registration-next { display:flex; }
.mi-auth-ready .registration-panel[hidden] { display:none; }
.mi-auth[data-auth-mode="register"] .mi-auth-tabs { margin-bottom:18px; }
.registration-panel .auth-field { margin-top:12px; }
.registration-panel .auth-field label { margin-bottom:5px; }
.registration-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.registration-actions { display:flex; align-items:center; gap:12px; margin-top:18px; }
.registration-actions .mi-auth-submit { flex:1; min-width:0; margin-top:0; }
.mi-auth-ready .registration-back { display:flex; align-items:center; gap:6px; min-height:44px; border:0; padding:0 8px 0 0; color:#6d8798; background:transparent; font-size:12px; }
.registration-back:hover { color:var(--blue); }
.registration-panel > .mi-auth-submit { margin-top:18px; }
/* Network */
.network-section { display:flex; align-items:center; gap:55px; padding:38px 35px; border-bottom:1px solid var(--line); }
.network-caption > p { font-size:11px; line-height:1.65; flex-shrink:0; }
.network-caption strong { font-weight:550; color:#607888; }
.network-logos { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); align-items:center; gap:18px 30px; width:100%; }
.network-logo { display:flex; justify-content:center; align-items:center; min-width:0; min-height:64px; padding:8px; background:#fff; border:1px solid #e4ecf1; border-radius:12px; }
.network-logos img { width:auto; max-width:min(100%,125px); max-height:48px; object-fit:contain; filter:grayscale(1); opacity:.65; transition:filter .25s,opacity .25s,transform .25s; }
.network-logo:hover img { filter:none; opacity:1; transform:translateY(-2px); }
.network-caption { flex-shrink:0; }
.network-section[data-slideshow-ready]:not([data-slideshow-static]) .network-logos { grid-template-columns:repeat(4,minmax(0,1fr)); min-height:70px; }
.network-logo[hidden] { display:none; }
.network-logos:focus-visible { outline-offset:8px; border-radius:12px; }
/* Platforms */
.section-intro { display:flex; align-items:end; justify-content:space-between; gap:50px; margin-bottom:36px; }
.section-intro .eyebrow { color:#8396a1; margin-bottom:15px; }
.section-intro > p { font-size:13px; line-height:1.8; padding-bottom:4px; }
.section-intro > .text-link { margin-bottom:6px; flex-shrink:0; }
.platform-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.platform-card { border-radius:22px; padding:24px 28px; transition:transform .25s,box-shadow .25s; }
.platform-card:hover { transform:translateY(-5px); box-shadow:0 16px 30px #17334509; }
.platform-resident { background:#eaf3fa; }
.platform-team { background:#f1f0fa; }
.platform-company { background:#f9f3e4; }
.card-topline { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:8px; letter-spacing:.12em; color:#697c8e; font-weight:650; }
.card-symbol { display:grid; place-items:center; border:1px solid #17334515; width:28px; height:28px; border-radius:50%; font-size:16px; }
.platform-visual { display:flex; justify-content:center; align-items:center; height:215px; margin:10px -5px 15px; }
.platform-visual img { max-height:200px; width:210px; height:200px; object-fit:contain; transition:transform .3s; }
.platform-card:hover .platform-visual img { transform:translateY(-4px) rotate(-2deg); }
.platform-visual.platform-logo img { width:175px; height:175px; max-height:175px; }
.platform-card:hover .platform-logo img { transform:translateY(-4px); }
.platform-copy h3 { font-size:28px; font-weight:600; line-height:1.13; letter-spacing:-.04em; }
.platform-copy p { margin-top:16px; font-size:13px; line-height:1.8; min-height:71px; max-width:275px; }
.card-primary { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:11px; font-weight:650; padding:17px 0 12px; border-top:1px solid #17334515; margin-top:22px; }
.card-primary span { font-size:18px; }
.card-primary:hover { color:var(--blue); }
.card-more { display:inline-block; font-size:10px; color:#718593; text-decoration:underline; text-underline-offset:3px; }
/* Life at the boarding school */
.life-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:85px; align-items:center; padding-top:25px; }
.life-photo { position:relative; padding-right:20px; }
.life-photo > img { width:100%; height:470px; object-fit:cover; border-radius:24px; }
.photo-sticker { display:block; position:absolute; right:-12px; bottom:64px; background:var(--yellow); color:#53472d; border-radius:14px; padding:23px 24px; transform:rotate(6deg); font-size:21px; font-weight:550; line-height:1.05; box-shadow:0 8px 15px #203e4910; }
.photo-sticker em { font-family:Georgia,serif; font-weight:400; }
.photo-sticker > span { display:inline-block; font-size:40px; margin-left:15px; vertical-align:middle; }
.life-photo figcaption { font-size:8px; color:#97a5ad; margin-top:10px; }
.life-photo figcaption a { text-decoration:underline; }
.life-copy .eyebrow { font-size:8px; color:#8a9aa4; margin-bottom:20px; }
.life-copy h2 { font-size:clamp(34px,3.6vw,47px); margin-bottom:24px; }
.life-copy p { font-size:13px; line-height:1.85; margin-bottom:16px; max-width:355px; }
.life-points { border-top:1px solid var(--line); padding-top:14px; margin-top:24px; }
.life-points > span { display:flex; align-items:center; gap:13px; margin-top:12px; font-size:11px; }
.life-points b { display:grid; place-items:center; width:24px; height:24px; background:#f1f6f9; border-radius:50%; color:var(--blue); font-size:14px; font-weight:400; }
/* Feature collection */
.feature-section { background:#eaf0f4; }
.feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; border:1px solid #e0e8ed; background:#e0e8ed; border-radius:22px; overflow:hidden; }
.feature-grid article { position:relative; background:#fff; padding:30px; }
.feature-grid img { width:44px; height:44px; object-fit:contain; margin-bottom:24px; }
.feature-number { position:absolute; top:32px; right:28px; color:#becbd2; font-size:10px; }
.feature-grid h3 { font-size:18px; font-weight:600; letter-spacing:-.025em; margin-bottom:12px; }
.feature-grid p { font-size:12px; line-height:1.8; max-width:270px; }
/* Video */
.video-surface { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); align-items:center; gap:45px; background:var(--ink); color:#fff; padding:48px; border-radius:24px; }
.video-copy .eyebrow { color:#8ba8bb; font-size:8px; }
.video-copy h2 { font-size:35px; margin-top:17px; font-weight:550; }
.video-copy h2 em { color:#94c7e6; }
.video-copy p { font-size:12px; color:#a2b6c4; line-height:1.85; margin-top:20px; max-width:280px; }
.video-hint { display:flex; align-items:center; gap:10px; font-size:9px; color:#becdd6; margin-top:25px; }
.video-hint > span { display:grid; place-items:center; width:26px; height:26px; background:#ffffff12; color:#f4d36e; border:1px solid #ffffff15; border-radius:50%; font-size:8px; }
.video-frame { min-width:0; }
.video-frame video { width:100%; aspect-ratio:16/9; height:auto; background:#102633; border-radius:14px; border:1px solid #ffffff15; }
/* Questions */
.faq-section { display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); align-items:start; gap:64px; padding-top:0; }
.faq-intro { min-width:0; padding:32px; text-align:center; background:#edf5fa; border:1px solid #e2edf4; border-radius:24px; }
.faq-intro .eyebrow { color:#7593a6; margin-bottom:20px; }
.faq-intro h2 { padding:0 .09em .08em; font-size:clamp(38px,4vw,56px); }
.faq-intro h2 em { display:inline-block; padding-right:.12em; }
.faq-intro > p { max-width:270px; font-size:13px; line-height:1.8; margin:16px auto 0; }
.faq-intro > img { width:130px; height:160px; object-fit:contain; margin:26px auto 0; }
.faq-intro > a { margin:24px auto 0; font-size:12px; }
.faq-list { display:grid; gap:12px; min-width:0; }
.faq-list details { border:1px solid #e5edf2; background:#f8fafc; border-radius:17px; transition:background .25s,border-color .25s,box-shadow .25s; }
.faq-list details:hover { background:#f0f6fa; border-color:#cadfeC; }
.faq-list details[open]:not([data-expanded="false"]) { background:#fff; border-color:#c7dfef; box-shadow:0 10px 26px #17334507; }
.faq-list details.is-animating { overflow:clip; }
.faq-list summary { display:flex; align-items:center; gap:14px; list-style:none; cursor:pointer; font-size:14px; font-weight:600; padding:22px; line-height:1.5; border-radius:16px; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-number { color:#91a8b7; font-size:10px; letter-spacing:.05em; font-weight:500; flex-shrink:0; }
.faq-question { flex:1; min-width:0; }
.faq-toggle { position:relative; width:30px; height:30px; flex-shrink:0; background:#fff; border:1px solid #e1eaf0; border-radius:50%; color:#7895a8; transition:transform .3s,background .25s,color .25s,border-color .25s; }
.faq-toggle::before,.faq-toggle::after { content:""; position:absolute; top:50%; left:50%; width:12px; height:2px; border-radius:2px; background:currentColor; transform:translate(-50%,-50%); }
.faq-toggle::after { transform:translate(-50%,-50%) rotate(90deg); }
.faq-list details[open]:not([data-expanded="false"]) summary { color:var(--blue); }
.faq-list details[open]:not([data-expanded="false"]) .faq-toggle { transform:rotate(45deg); background:var(--blue); color:#fff; border-color:var(--blue); }
.faq-answer { font-size:13px; line-height:1.85; padding:0 26px 25px 51px; }
.faq-answer a { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.faq-access-list { display:grid; gap:8px; }
.faq-access-list a { display:flex; align-items:center; gap:12px; padding:13px 15px; background:#f3f8fc; border:1px solid #e9f0f5; border-radius:11px; text-decoration:none; transition:background .2s,border-color .2s; }
.faq-access-list a:hover { background:#e7f2fa; border-color:#c7dfef; }
.faq-access-list a > span { color:#88a6ba; font-size:10px; }
.faq-access-list a > div { flex:1; min-width:0; }
.faq-access-list strong { display:block; color:var(--ink); font-size:12px; font-weight:600; }
.faq-access-list small { display:block; color:#7a91a0; font-size:11px; }
.faq-access-list b { font-size:18px; font-weight:400; }
/* Contact and legal */
.contact-surface { position:relative; overflow:hidden; display:grid; grid-template-columns:1fr 250px; gap:30px; align-items:center; background:#f8f3e6; padding:46px 54px 26px; border-radius:24px; }
.contact-surface .eyebrow { font-size:8px; color:#988451; margin-bottom:18px; }
.contact-surface h2 { font-size:clamp(35px,4vw,52px); }
.contact-surface h2 em { color:#b2964a; }
.contact-surface > img { width:220px; height:220px; object-fit:contain; justify-self:center; }
.contact-description { max-width:390px; margin-top:18px; font-size:14px; line-height:1.8; color:#837653; }
.contact-cta { display:inline-flex; align-items:center; justify-content:space-between; gap:28px; width:max-content; max-width:100%; border:1px solid var(--ink); border-radius:100px; background:var(--ink); color:#fff; margin-top:24px; padding:13px 22px; font-size:14px; font-weight:600; transition:background .2s,border-color .2s; }
.contact-cta:hover { background:var(--blue); border-color:var(--blue); }
.contact-cta span { font-size:19px; }
.contact-details { grid-column:1/-1; border-top:1px solid #e7dfcc; display:flex; align-items:center; gap:32px; padding-top:20px; margin-top:5px; font-size:11px; }
.contact-details > span { margin-right:auto; font-size:10px; letter-spacing:.1em; color:#958258; }
.contact-details > a { color:var(--ink); font-size:16px; font-weight:550; overflow-wrap:anywhere; }
.contact-details a:hover { text-decoration:underline; }
.site-footer { margin-top:64px; padding-top:56px; background:var(--ink); color:#edf5fa; border-radius:28px 28px 0 0; }
.mi-subpage .site-footer { margin-top:24px; }
.footer-grid { display:grid; grid-template-columns:1.3fr .8fr .8fr 1fr; gap:38px; padding-bottom:45px; }
.site-footer .brand { font-size:22px; color:#f5f9fc; }
.site-footer .brand-dot { color:var(--yellow); }
.site-footer .brand img { width:34px; height:34px; }
.footer-grid p { font-size:12px; line-height:1.8; margin-top:17px; color:#a9bfce; }
.footer-grid > div > .footer-contact { display:inline-flex; align-items:center; gap:10px; padding:10px 15px; border:1px solid #466074; border-radius:100px; margin-top:20px; color:#fff; background:#ffffff08; font-size:12px; }
.footer-grid > div > .footer-contact:hover { border-color:#94c7e6; background:#ffffff12; }
.footer-grid h2 { font-size:11px; font-weight:650; letter-spacing:0; margin:8px 0 20px; color:#edf5fa; }
.footer-grid > div > a:not(.brand):not(.footer-contact) { display:block; width:fit-content; font-size:12px; line-height:1.7; margin-top:10px; color:#b3c7d4; transition:color .2s; }
.footer-grid > div > a:hover { color:#fff; }
.footer-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:15px; padding:23px 0 28px; border-top:1px solid #ffffff20; font-size:10px; color:#9db5c5; }
.footer-bottom a:hover { color:#fff; }
.site-footer :focus-visible { outline-color:var(--yellow); }
/* Tablet */
@media(min-width:1400px) {
  .wrap { width:min(1760px,calc(100% - 8vw)); }
  .section-space { padding-block:clamp(90px,6vw,120px); }
  .hero-layout { grid-template-columns:minmax(0,620px) minmax(0,440px); gap:clamp(64px,6vw,140px); padding:clamp(44px,3.3vw,64px) clamp(54px,5vw,100px) 36px; }
  .hero-copy h1 { font-size:clamp(76px,4.8vw,90px); }
  .hero-copy > p { max-width:440px; font-size:16px; }
  .hero-link { font-size:14px; }
  .hero-art { width:400px; height:160px; margin-top:24px; }
  .hero-students { width:240px; height:158px; }
  .art-note { left:195px; top:45px; font-size:12px; }
  .hero-footnote { margin-inline:clamp(44px,4vw,76px); font-size:12px; }
  .mi-auth-card { padding:32px 36px 24px; }
  .network-section { padding-block:44px; gap:80px; }
  .network-logos img { max-width:min(100%,145px); max-height:48px; }
  .section-intro > p { font-size:15px; }
  .platform-grid { gap:28px; }
  .platform-card { padding:30px 36px; }
  .platform-visual { height:245px; }
  .platform-visual img { width:250px; height:230px; max-height:230px; }
  .platform-visual.platform-logo img { width:195px; height:195px; max-height:195px; }
  .platform-copy h3 { font-size:34px; }
  .platform-copy p { font-size:14px; max-width:340px; min-height:76px; }
  .card-primary { font-size:13px; }
  .card-more { font-size:12px; }
  .life-photo > img { height:540px; }
  .life-copy h2 { font-size:54px; }
  .life-copy p { font-size:15px; max-width:440px; }
  .life-points > span { font-size:13px; }
  .feature-grid article { padding:38px; }
  .feature-grid h3 { font-size:21px; }
  .feature-grid p { font-size:14px; max-width:330px; }
  .video-surface { padding:60px; gap:60px; }
  .video-copy h2 { font-size:44px; }
  .video-copy p { font-size:14px; max-width:350px; }
  .faq-list summary { font-size:16px; padding:25px; }
  .faq-answer { font-size:14px; }
  .contact-surface { padding:60px 70px 32px; grid-template-columns:1fr 320px; }
  .contact-surface > img { width:280px; height:280px; }
}
@media(max-width:1100px) {
  .desktop-nav { gap:18px; }
  .header-inner { gap:20px; }
  .header-actions { gap:8px; }
  .hero-layout { gap:35px; padding-inline:36px; }
  .hero-copy h1 { font-size:60px; }
  .title-spark { margin-left:7px; }
  .network-logos { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px 24px; }
  .life-section { gap:50px; }
  .life-photo > img { height:430px; }
  .platform-card { padding:22px; }
  .platform-copy h3 { font-size:25px; }
  .video-surface { padding:36px; gap:30px; }
  .video-copy h2 { font-size:30px; }
  .faq-section { gap:32px; }
  .faq-intro { padding:26px; }
}
@media(max-width:900px) {
  .wrap { width:calc(100% - 40px); }
  .desktop-nav { display:none; }
  .header-actions { margin-left:auto; }
  .mobile-menu { display:block; }
  .header-inner { gap:18px; }
  .hero-layout { grid-template-columns:minmax(0,1fr) minmax(0,355px); gap:25px; padding:30px 25px; }
  .hero-copy h1 { font-size:47px; }
  .hero-copy > p { font-size:12px; }
  .hero-copy .eyebrow { font-size:8px; }
  .hero-art { height:125px; }
  .hero-students { width:170px; height:115px; }
  .art-note { left:125px; top:32px; padding:9px; font-size:9px; }
  .note-icon { width:23px; height:23px; }
  .art-orbit { width:220px; }
  .mi-auth-card { padding:24px; }
  .hero-footnote { margin-inline:28px; }
  .hero-footnote > a { display:none; }
  .network-section { gap:25px; padding:30px 10px; }
  .network-logos { gap:20px; }
  .network-logos img { max-width:min(100%,90px); max-height:40px; }
  .section-space { padding-block:65px; }
  .section-intro { gap:25px; }
  .platform-grid { gap:12px; }
  .platform-card { padding:20px; }
  .platform-visual { height:160px; }
  .platform-visual img { width:170px; height:155px; }
  .platform-visual.platform-logo img { width:135px; height:135px; max-height:135px; }
  .platform-copy h3 { font-size:22px; }
  .platform-copy p { font-size:11px; min-height:80px; }
  .card-topline { font-size:7px; }
  .card-primary { font-size:10px; }
  .life-section { gap:35px; padding-top:0; }
  .life-photo > img { height:390px; }
  .life-copy .eyebrow { font-size:7px; }
  .life-copy p { font-size:12px; }
  .life-copy h2 { font-size:35px; }
  .feature-grid article { padding:24px; }
  .feature-grid h3 { font-size:16px; }
  .video-copy h2 { font-size:26px; }
  .video-surface { padding:28px; gap:25px; }
  .faq-section { gap:26px; padding-top:0; }
  .contact-surface { padding:35px; }
  .footer-grid { gap:25px; }
}
/* Mobile: account first, with all photography and illustrations retained below. */
@media(max-width:800px) {
  .wrap { width:calc(100% - 28px); }
  .header-inner { min-height:72px; gap:12px; padding-inline:6px; }
  .brand { font-size:22px; gap:8px; }
  .brand img { width:34px; height:34px; }
  .hero-surface { border-radius:22px; }
  .hero-layout { grid-template-columns:minmax(0,1fr); gap:36px; padding:20px 20px 26px; }
  .mi-auth { order:-1; max-width:400px; display:grid; align-content:center; min-height:calc(100vh - 112px); min-height:calc(100svh - 112px); }
  .mi-auth-card { padding:22px; border-radius:18px; }
  .mi-auth-tabs { margin-bottom:20px; }
  .mi-auth-heading { margin-bottom:20px; }
  .mi-auth-heading h2 { font-size:28px; }
  .registration-heading h2 { font-size:25px; }
  .registration-heading { margin-bottom:14px; }
  .mi-auth-heading p { font-size:12px; }
  .auth-field input { font-size:16px; height:48px; }
  .password-toggle { height:42px; }
  .auth-field label { font-size:12px; }
  .mi-auth-submit { height:48px; margin-top:21px; }
  .auth-bottom { margin-top:21px; font-size:9px; }
  .hero-copy { max-width:400px; justify-self:center; padding-inline:6px; width:100%; }
  .hero-copy .eyebrow { font-size:9px; }
  .hero-copy h1 { font-size:clamp(43px,9.8vw,62px); margin-block:18px; }
  .hero-copy > p { font-size:13px; max-width:340px; }
  .hero-copy .hero-link { font-size:12px; margin-top:18px; }
  .hero-art { height:145px; margin-top:20px; width:330px; }
  .hero-students { width:215px; height:143px; }
  .art-orbit { width:270px; }
  .art-note { left:167px; top:40px; padding:12px; font-size:10px; }
  .hero-footnote { margin-inline:25px; padding-block:19px; justify-content:center; }
  .hero-footnote > span { display:none; }
  .hero-footnote div { font-size:10px; gap:20px; }
  .network-section { flex-direction:column; gap:22px; padding:30px 10px; }
  .network-caption > p { text-align:center; font-size:10px; }
  .network-caption > p br { display:block; }
  .network-logos { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 20px; }
  .network-logo { min-height:58px; padding:6px; }
  .network-logos img { max-width:min(100%,90px); max-height:42px; }
  .section-space { padding-block:55px; }
  h2 { font-size:36px; }
  .section-intro { flex-direction:column; align-items:start; gap:18px; margin-bottom:26px; padding-inline:7px; }
  .section-intro .eyebrow { font-size:8px; margin-bottom:14px; }
  .section-intro > p { font-size:12px; }
  .section-intro > .text-link { font-size:11px; }
  .platform-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  .platform-card { padding:25px; }
  .card-topline { font-size:8px; }
  .platform-visual { height:190px; margin-block:5px 15px; }
  .platform-visual img { width:225px; height:190px; }
  .platform-visual.platform-logo img { width:160px; height:160px; max-height:160px; }
  .platform-copy h3 { font-size:30px; }
  .platform-copy p { font-size:13px; min-height:0; max-width:none; }
  .card-primary { font-size:12px; }
  .card-more { font-size:11px; }
  .life-section { grid-template-columns:minmax(0,1fr); gap:33px; padding-top:0; }
  .life-photo { padding-right:14px; }
  .life-photo > img { height:350px; border-radius:20px; }
  .photo-sticker { right:0; bottom:45px; font-size:19px; padding:18px; }
  .life-copy { padding-inline:7px; }
  .life-copy .eyebrow { font-size:8px; }
  .life-copy h2 { font-size:36px; }
  .life-copy p { max-width:100%; font-size:13px; }
  .life-points > span { font-size:12px; }
  .feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); border-radius:18px; }
  .feature-grid article { padding:23px 18px; }
  .feature-grid img { width:38px; height:38px; margin-bottom:21px; }
  .feature-grid h3 { font-size:16px; line-height:1.2; }
  .feature-grid p { font-size:11px; line-height:1.75; }
  .feature-number { top:23px; right:17px; font-size:8px; }
  .video-surface { grid-template-columns:minmax(0,1fr); gap:28px; padding:30px 24px 24px; border-radius:20px; }
  .video-copy h2 { font-size:32px; }
  .video-copy p { max-width:100%; font-size:13px; }
  .video-hint { margin-top:18px; font-size:10px; }
  .video-frame video { border-radius:10px; }
  .faq-section { grid-template-columns:minmax(0,1fr); gap:28px; padding-top:0; }
  .faq-intro { padding:28px 25px; border-radius:20px; }
  .faq-intro .eyebrow { font-size:9px; }
  .faq-intro h2 { font-size:40px; }
  .faq-intro > p { max-width:270px; font-size:12px; }
  .faq-intro > img { width:110px; height:135px; margin:22px auto 0; }
  .faq-intro > a { font-size:12px; }
  .faq-list summary { font-size:13px; padding:18px 16px; gap:10px; }
  .faq-number { font-size:9px; }
  .faq-toggle { width:28px; height:28px; }
  .faq-answer { font-size:12px; padding:0 18px 20px; }
  .faq-access-list a { gap:10px; padding:12px; }
  .contact-surface { grid-template-columns:minmax(0,1fr) 85px; gap:12px; padding:30px 24px 24px; border-radius:20px; }
  .contact-surface .eyebrow { font-size:7px; max-width:250px; }
  .contact-surface h2 { font-size:33px; }
  .contact-surface > img { width:85px; height:110px; }
  .contact-cta { font-size:13px; gap:20px; }
  .contact-description { font-size:13px; }
  .contact-details { flex-wrap:wrap; gap:8px 25px; margin-top:18px; font-size:11px; }
  .contact-details > span { width:100%; font-size:9px; margin:0 0 6px; }
  .contact-details > a { font-size:14px; }
  .site-footer { margin-top:44px; padding-top:40px; border-radius:22px 22px 0 0; }
  .footer-inner { padding-inline:7px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:30px 20px; padding-bottom:30px; }
  .footer-grid > div:first-child { grid-column:1/-1; }
  .footer-grid > div:last-child { grid-column:1/-1; }
  .footer-grid h2 { font-size:11px; margin-bottom:16px; }
  .footer-grid > div > a:not(.brand):not(.footer-contact) { font-size:11px; }
  .footer-grid p { font-size:12px; margin-top:12px; }
  .footer-bottom { flex-direction:column; gap:10px; font-size:9px; }
}
@media(max-width:480px) {
  .header-inner { padding-inline:0; gap:10px; }
  .site-header .brand { font-size:20px; gap:7px; }
  .site-header .brand img { width:30px; height:30px; }
  .header-contact { padding:10px 12px; font-size:11px; gap:7px; }
  .header-contact svg { width:16px; height:16px; }
  .mobile-menu summary { padding:6px; }
  .registration-pair { grid-template-columns:minmax(0,1fr); gap:0; }
  .mi-auth-ready .registration-back { min-width:68px; }
}
@media(max-width:370px) {
  .hero-layout { padding-inline:12px; }
  .mi-auth-card { padding:20px; }
  .auth-bottom { font-size:7px; }
  .hero-copy { padding-inline:5px; }
  .hero-copy h1 { font-size:38px; }
  .title-spark { margin-left:5px; font-size:.55em; }
  .art-note { left:140px; font-size:9px; }
  .art-orbit { width:230px; }
  .network-logos { gap:12px; }
  .network-logos img { max-width:min(100%,75px); }
  .feature-grid article { padding:20px 14px; }
  .feature-grid h3 { font-size:14px; }
  .contact-surface { grid-template-columns:minmax(0,1fr); }
  .contact-surface > img { display:none; }
}
@media(max-width:800px) {
  .network-section[data-slideshow-ready]:not([data-slideshow-static]) .network-logos { grid-template-columns:repeat(2,minmax(0,1fr)); min-height:64px; }
  .network-caption { text-align:center; }
}
@media(min-width:901px) and (max-width:1000px) {
  .desktop-nav { display:none; }
  .mobile-menu { display:block; }
  .header-actions { margin-left:auto; }
}
/* Offscreen content is queued only after the observer is ready; without JavaScript it stays visible. */
@media(prefers-reduced-motion:no-preference) {
  .is-scroll-pending { opacity:0; }
}
@supports(animation-timeline:view()) {
  @media(min-width:801px) and (prefers-reduced-motion:no-preference) {
    .photo-sticker {
      animation:mi-photo-flow linear both;
      animation-timeline:view();
      animation-range:entry 0% exit 100%;
    }
  }
}
@keyframes mi-photo-flow {
  from { translate:0 18px; }
  to { translate:0 -18px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .is-scroll-pending { opacity:1; }
  *,*::before,*::after { transition:none !important; animation:none !important; }
}
