@font-face {
    font-family: Manrope;
    src: url('/fonts/Manrope-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/fonts/DM-Sans-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    font-family: 'DM Sans', Arial, sans-serif;
    color: #111827;
    background: #f6f7fb;
    font-synthesis: none;
    --accent: #6326ce;
    --muted: #525a70;
    --hero: radial-gradient(ellipse at 76% 7%, #281747, #0b1022 73%);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.entry-shell { min-height: 100vh; display: flex; flex-direction: column; }
.entry-header { display: flex; align-items: center; min-height: 68px; padding: 10px max(22px, calc((100% - 1120px) / 2)); background: #fff; border-bottom: 1px solid #e3e4ed; box-shadow: 0 5px 25px #1f143407; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 38px; height: 38px; }
.brand span { display: grid; gap: 2px; }
.brand strong { font: 800 17px/1.1 Manrope, sans-serif; letter-spacing: -.035em; }
.brand small { color: var(--muted); font-size: 11px; }

.entry-main {
    flex: 1;
    width: min(1164px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, .86fr);
    align-content: center;
    gap: 15px;
    padding: clamp(26px, 5vw, 66px) 22px;
}

.intro {
    display: grid;
    align-content: center;
    gap: 13px;
    min-width: 0;
    border-radius: 14px;
    background: var(--hero);
    color: #fff;
    padding: clamp(28px, 5vw, 58px);
}

.intro h1, .panel-header h2 { font-family: Manrope, sans-serif; font-weight: 850; letter-spacing: -.04em; margin: 0; }
.intro h1 { font-size: clamp(32px, 4.5vw, 55px); line-height: 1.08; max-width: 12ch; }
.intro-copy { font-size: 15px; line-height: 1.55; color: #e8e0f4; max-width: 31ch; margin: 0; }
.intro-art { position: relative; width: 102px; height: 98px; display: grid; place-items: center; margin: 0 0 9px; }
.art-ring { position: absolute; border: 1px solid #b0a2ff44; border-radius: 50%; }
.ring-one { width: 78px; height: 78px; }
.ring-two { width: 102px; height: 102px; }
.art-core { z-index: 1; width: 55px; height: 55px; border-radius: 13px; display: grid; place-items: center; background: #f1eaff; box-shadow: 0 15px 35px #0005; }
.art-core img { width: 41px; height: 41px; }
.art-node { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #b0a2ff; }
.node-one { top: 4px; left: 26px; }
.node-two { right: 3px; top: 62px; }

.entry-panel {
    min-width: 0;
    padding: clamp(22px, 3.7vw, 42px);
    border: 1px solid #e3e4ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 32px #1f14340b;
}

.panel-header h2 { font-size: clamp(23px, 2.4vw, 30px); line-height: 1.2; }
.panel-header p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.sign-in-options { display: grid; gap: 9px; margin-top: 20px; }

.option {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 71px;
    gap: 11px;
    padding: 11px;
    border: 1px solid #dfe1ec;
    border-radius: 10px;
    background: #fff;
    transition: background .15s, border-color .15s;
}

.option:hover { border-color: #b5a1e2; background: #f7f3ff; }
.option-primary { background: #fbf8ff; border-color: #dfd0f5; }
.option-copy { display: grid; gap: 4px; }
.option-copy strong { font: 800 14px/1.3 Manrope, sans-serif; }
.option-copy small { font-size: 12px; line-height: 1.4; color: var(--muted); }
.option-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: #eee6ff;
    color: var(--accent);
    font-size: 22px;
    font-weight: 800;
}

.option-arrow { color: var(--accent); font-size: 19px; }
.microsoft-icon { background: #f3f4f8; grid-template-columns: repeat(2, 8px); grid-template-rows: repeat(2, 8px); gap: 2px; place-content: center; }
.microsoft-icon i { display: block; width: 8px; height: 8px; }
.microsoft-icon i:nth-child(1) { background: #f35325; }
.microsoft-icon i:nth-child(2) { background: #81bc06; }
.microsoft-icon i:nth-child(3) { background: #05a6f0; }
.microsoft-icon i:nth-child(4) { background: #ffba08; }

.admin-entry { border-top: 1px solid #e3e4ed; margin-top: 19px; padding-top: 8px; }
.admin-entry a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #5020aa; font-size: 14px; font-weight: 800; }
.admin-entry a:hover { text-decoration: underline; text-underline-offset: 3px; }
.entry-footer { width: min(1164px, 100%); margin: 0 auto; padding: 0 22px 23px; color: var(--muted); font-size: 12px; }

@media (max-width: 730px) {
    .entry-main { max-width: 540px; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; }
    .intro { padding: 24px; gap: 9px; }
    .intro h1 { max-width: none; }
    .intro-art { display: none; }
    .entry-footer { max-width: 540px; }
}

@media (max-width: 360px) {
    .entry-main, .entry-header, .entry-footer { padding-left: 16px; padding-right: 16px; }
    .entry-panel { padding: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .option { transition: none; }
}
