@font-face { font-family: NexusSans; src: url("assets/assets/fonts/NotoSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: NexusSans; src: url("assets/assets/fonts/NotoSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: NexusSans; src: url("assets/assets/fonts/NotoSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: NexusSans; src: url("assets/assets/fonts/NotoSans-Bold.ttf") format("truetype"); font-weight: 700 900; font-display: swap; }
:root {
  color-scheme: light;
  --ink: #0f2340; --muted: #52657d; --blue: #1d4fd8;
  --teal: #08756a; --line: #e3e9f1; --inset: 24px;
  --shadow: 0 1px 2px #0f23400a, 0 4px 10px #0f23400d;
}
#nexus-landing, #nexus-landing *, #nexus-install-guide, #nexus-install-guide * { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: #f7f9fc; scroll-behavior: auto; }
body { margin: 0; color: var(--ink); font-family: NexusSans, system-ui, sans-serif; }
:where(#nexus-landing, #nexus-install-guide) a { color: inherit; }
#nexus-landing a:focus-visible, #nexus-landing button:focus-visible, #nexus-install-guide a:focus-visible, #nexus-install-guide button:focus-visible { outline: 3px solid #08756a; outline-offset: 4px; }
:where(#nexus-landing, #nexus-install-guide) p { margin: 0; text-align: justify; text-align-last: start; overflow-wrap: anywhere; }
#nexus-landing h1, #nexus-landing h2, #nexus-install-guide h2 { margin: 0; }
#nexus-landing svg, #nexus-install-guide svg { display: block; }
.icon { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.page { width: 100%; max-width: 1296px; margin-inline: auto; padding-inline: max(var(--inset), env(safe-area-inset-left)) max(var(--inset), env(safe-area-inset-right)); }
.site-header { padding-top: calc(18px + env(safe-area-inset-top)); display: flex; align-items: center; gap: 11px; padding-bottom: 18px; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand { flex: 1; min-width: 0; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -.5px; line-height: 1.4; overflow-wrap: anywhere; }
.brand-caption { display: none; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.25px; margin-top: 3px; }
.header-border { border-bottom: 1px solid var(--line); }
.button { font-family: inherit; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 11px; border: 1px solid #d3dce8; background: white; font-weight: 600; text-align: center; line-height: 1.45; }
.header-login { min-height: 42px; padding: 10px 14px; font-size: 13px; flex: 0 0 auto; }
.header-login .icon { display: none; width: 16px; height: 16px; }
.hero-background {
  background:
    linear-gradient(to bottom, transparent 70%, #f7f9fc),
    radial-gradient(ellipse at 12% 5%, #1d4fd826, transparent 58%),
    radial-gradient(ellipse at 92% 85%, #14b8a61f, transparent 58%),
    repeating-linear-gradient(to right, transparent 0 43px, #1d4fd80b 43px 44px),
    repeating-linear-gradient(to bottom, transparent 0 43px, #1d4fd80b 43px 44px);
}
.hero { display: grid; gap: 42px; padding-block: 36px 42px; }
.hero-copy { min-width: 0; }
.audience { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 6px 12px 6px 10px; border: 1px solid #bad8d3; border-radius: 999px; background: white; box-shadow: var(--shadow); color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; line-height: 1.5; }
.audience::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; background: var(--teal); border-radius: 50%; box-shadow: 0 0 6px #08756a59; }
#nexus-landing h1 { margin-top: 20px; font-size: 43px; font-weight: 800; line-height: 1.08; letter-spacing: -1.4px; }
#nexus-landing h1 span { display: block; }
#nexus-landing h1 .gradient { width: fit-content; background: linear-gradient(90deg, var(--blue), #1167b8, var(--teal)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.lead { max-width: 445px; margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.hero-actions { margin-top: 28px; }
.primary-login { width: 100%; min-height: 58px; border-color: var(--blue); border-radius: 14px; padding: 16px 18px; color: white; background: linear-gradient(#ffffff1f, #ffffff00 55%, #0000000d), var(--blue); box-shadow: var(--shadow); font-size: 15px; }
.primary-login .label { min-width: 0; }
.primary-login .arrow { width: 18px; height: 18px; }
.account-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.account-note .icon { width: 15px; height: 15px; margin-top: 2px; }
.join-note { margin-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.join-note strong { color: var(--ink); font-weight: 700; }
.install-link { margin-top: 18px; min-height: 48px; padding: 12px 16px; border-color: #c9d5e3; border-radius: 12px; color: var(--blue); font-size: 14px; }
.install-link .icon { width: 19px; height: 19px; }
.workspace { position: relative; height: 392px; min-width: 0; border-radius: 28px; background: var(--ink); box-shadow: 0 3px 6px #0a18301f, 0 28px 56px -12px #173e9e47; }
.workspace-scene { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: radial-gradient(ellipse at center, #1f4c86, #0d2140); }
.workspace-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; }
.workspace-heading { position: absolute; top: 23px; left: 23px; right: 23px; display: flex; align-items: center; gap: 8px; color: #c3d5e7; font-size: 9px; font-weight: 700; letter-spacing: 1.3px; }
.workspace-heading .icon { width: 18px; height: 18px; color: #72d0c5; }
.workspace-heading::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #72d0c5; margin-left: auto; }
.campus-card { position: absolute; top: 97px; left: 50%; width: 204px; padding: 19px; border: 2px solid white; border-radius: 21px; background: #f5f8fd; transform: translateX(-50%) rotate(-2deg); box-shadow: 0 14px 28px #0000002e; text-align: center; }
.campus-title { font-size: 15px; font-weight: 800; line-height: 1.4; }
.campus { width: 100%; height: 78px; margin-top: 16px; }
.campus-caption { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 17px; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: 9px; font-weight: 600; line-height: 1.5; }
.campus-caption .icon { width: 13px; height: 13px; color: var(--teal); }
.workspace-tag { position: absolute; display: flex; align-items: center; gap: 8px; padding: 11px 12px; border: 1px solid #b4ddd2; border-radius: 11px; background: #e2f3ed; box-shadow: 0 6px 15px #0000001a; font-size: 10px; font-weight: 700; line-height: 1.5; }
.workspace-tag .icon { width: 16px; height: 16px; color: var(--teal); }
.identity-tag { top: 67px; left: 15px; border-color: #41617b; background: #284761; color: white; }
.identity-tag .icon { color: #9ee0d7; }
.role-tag { top: 135px; right: 9px; }
.role-wide { display: none; }
.role-compact { display: inline; }
.workspace-bottom { position: absolute; bottom: 23px; left: 23px; right: 23px; display: flex; align-items: flex-end; gap: 16px; }
.workspace-caption { flex: 1; color: white; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.4px; }
.school-icon { padding: 10px; border: 1px solid #ffffff21; border-radius: 12px; background: #ffffff12; color: #90b0cc; }
.school-icon .icon { width: 23px; height: 23px; }
.benefits { border-block: 1px solid var(--line); background: linear-gradient(white, #f4f7fb); }
.benefit-grid { display: grid; gap: 12px; padding-block: 30px; }
.benefit { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 15px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.benefit-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #ccdaf7; border-radius: 13px; background: linear-gradient(135deg, #f1f6ff, #dde8ff); color: var(--blue); }
.benefit-icon .icon { width: 22px; height: 22px; }
.benefit-number { display: none; color: #64748b; font-size: 12px; font-weight: 600; letter-spacing: .5px; }
.benefit h2 { font-size: 16px; font-weight: 700; letter-spacing: -.2px; line-height: 1.4; }
.benefit p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.site-footer { padding-block: 20px calc(20px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.footer-links a { padding: 10px 12px; text-decoration: none; }
@media (min-width: 478px) {
  .workspace { height: 462px; }
  .workspace-heading { top: 30px; left: 30px; right: 30px; }
  .campus-card { top: 129px; width: 244px; padding: 23px; }
  .campus { height: 95px; margin-top: 20px; }
  .identity-tag { top: 88px; left: 26px; }
  .role-tag { top: 188px; right: 19px; }
  .role-wide { display: inline; }
  .role-compact { display: none; }
  .workspace-bottom { bottom: 31px; left: 30px; right: 30px; }
}
@media (min-width: 960px) {
  :root { --inset: 48px; }
  .site-header { padding-top: calc(24px + env(safe-area-inset-top)); padding-bottom: 24px; }
  .brand-caption { display: block; }
  .header-login { padding-inline: 20px; }
  .header-login .icon { display: block; }
  .hero { grid-template-columns: minmax(0, 12fr) minmax(0, 11fr); align-items: center; gap: 56px; padding-block: 64px 72px; }
  #nexus-landing h1 { margin-top: 24px; font-size: 56px; letter-spacing: -2.4px; }
  .lead { font-size: 16px; }
  .hero-actions { max-width: 380px; }
  .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-block: 48px; }
  .benefit { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .benefit-top { display: flex; align-items: center; justify-content: space-between; }
  .benefit-number { display: block; }
  .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 24px calc(24px + env(safe-area-inset-bottom)); }
  .footer-links { margin: 0; }
}
@media (min-width: 1200px) { #nexus-landing h1 { font-size: 64px; } }
@media (max-width: 379px) { :root { --inset: 20px; } #nexus-landing h1 { font-size: 37px; } }
@media (min-width: 960px) and (max-width: 1051px) {
  .workspace { height: 392px; }
  .workspace-heading { top: 23px; left: 23px; right: 23px; }
  .campus-card { top: 97px; width: 204px; padding: 19px; }
  .campus { height: 78px; margin-top: 16px; }
  .identity-tag { top: 67px; left: 15px; }
  .role-tag { top: 135px; right: 9px; }
  .role-wide { display: none; }
  .role-compact { display: inline; }
  .workspace-bottom { bottom: 23px; left: 23px; right: 23px; }
}

#nexus-entry-status {
  margin: 0 auto 20px; padding: 12px 16px; max-width: 680px;
  border: 1px solid #c9d5e3; border-radius: 12px; background: white;
  color: var(--ink); font-size: 14px; line-height: 1.6;
}
#nexus-install-guide {
  width: calc(100% - 40px); max-width: 520px; max-height: calc(100% - 48px);
  padding: 24px; border: 1px solid var(--line); border-radius: 20px;
  color: var(--ink); background: white; font-family: inherit; line-height: 1.6;
  box-shadow: 0 20px 60px #0f234033;
}
#nexus-install-guide::backdrop { background: #0f234066; }
.install-guide-header { display: flex; align-items: flex-start; gap: 20px; }
.install-guide-header h2 { flex: 1; font-size: 22px; line-height: 1.35; }
.install-guide-close { min-height: 40px; padding: 8px 12px; font-size: 13px; }
#nexus-install-guide-content { margin-top: 16px; }
#nexus-install-guide-content p + p { margin-top: 12px; }
#nexus-install-guide-content ol { padding-inline-start: 24px; }
#nexus-install-guide-content li + li { margin-top: 10px; }
.noscript-note { margin-top: 16px; padding: 12px 16px; font-size: 13px; line-height: 1.7; }

:where(#nexus-landing, #nexus-install-guide) button { font-family: inherit; cursor: pointer; }
:where(#nexus-landing, #nexus-install-guide) button:focus-visible { outline: 3px solid #08756a; outline-offset: 4px; }
.install-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.install-platforms button { min-height: 44px; padding: 8px 12px; border: 1px solid #c9d5e3; border-radius: 10px; background: white; color: #0f2340; font-size: 14px; }
.install-platforms button[aria-pressed="true"] { border-color: #1d4fd8; background: #edf3ff; color: #1740b0; }
