@import url('https://fonts.googleapis.com/css2?family=Product+Sans:wght@400;500;600;700&display=swap');

*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden}
body{font-family:'Product Sans',Arial,sans-serif;color:#26344c;-webkit-font-smoothing:antialiased}
button,input{font:inherit}

/* The supplied student-login graphic is the complete visual background used by
   the portal: lavender panel, campus, curved divider and lower purple sweep. */
.login-page{position:relative;width:100vw;height:100vh;min-height:640px;overflow:hidden;background:#f4f0fb}
.login-page::before{content:"";position:absolute;inset:0;background-image:url('assets/studentlogin-CduVQ0m8.png');background-repeat:no-repeat;background-size:cover;background-position:center center;z-index:0}

.topbar{position:absolute;z-index:20;left:0;right:0;top:0;height:128px;padding:25px 69px 0;display:flex;align-items:flex-start;justify-content:space-between}
.mit-logo{display:block;width:239px;height:auto}
.top-actions{display:flex;align-items:center;gap:14px;margin-top:23px}
.faculty-btn{height:40px;padding:0 10px;border:1px solid #ddd9e8;border-radius:16px;background:rgba(255,255,255,.97);color:#2d176f;font-size:15px;font-weight:700;display:inline-flex;align-items:center;gap:9px;box-shadow:0 2px 8px rgba(36,19,94,.12);cursor:pointer}
.faculty-btn svg{width:24px;height:24px;fill:none;stroke:#6c20d3;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.home-btn{width:58px;height:58px;border:0;border-radius:50%;background:#f0f3f7;color:#536075;display:grid;place-items:center;box-shadow:0 2px 8px rgba(37,20,94,.09);cursor:pointer}
.home-btn svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Exact desktop composition visible in the supplied reference screenshot. */
.login-content{position:absolute;z-index:10;left:68px;top:199px;width:423.48px}
.soc-heading{height:176px;display:flex;align-items:center}
.soc-icon-wrap{width:176px;height:176px;flex:0 0 176px;overflow:hidden;display:flex;align-items:center}
.soc-icon{display:block;width:176px;height:176px;object-fit:contain}
.soc-title{margin-left:17px;color:#2d237f;line-height:1}
.soc-small{margin-bottom:10px;color:#59647c;font-size:14px;font-weight:600;letter-spacing:2.25px}
.soc-large{color:#302486;font-size:60px;font-weight:700;letter-spacing:-1.05px}
.soc-accent{width:51px;height:4px;margin:12px 0 34px 6px;border-radius:5px;background:#f5a400}
.home-link{height:34px;margin:0 0 12px;padding:0 14px;border:1px solid #ded4f2;border-radius:18px;background:rgba(252,250,255,.95);color:#2f1976;font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:7px;box-shadow:0 2px 5px rgba(64,37,120,.09);cursor:pointer}
.home-link .arrow{font-size:16px;line-height:1}

#loginForm{width:100%}
label{display:block;margin:0 0 8px;color:#34435d;font-size:13px;font-weight:700}
.input-wrap{position:relative;width:100%;margin-bottom:18px}
.input-wrap input{display:block;width:100%;height:45px;padding:0 45px 0 45px;border:1px solid #cbd7e8;border-radius:13px;outline:none;background:#eaf2fd;color:#17233b;font-size:14px;line-height:45px}
.input-wrap input::placeholder{color:#8491a5;opacity:1}
.input-wrap input:focus{border-color:#7657c7;box-shadow:0 0 0 3px rgba(118,87,199,.11)}
.input-icon{position:absolute;left:14px;top:50%;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:#8d9aab;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.eye-btn{position:absolute;right:10px;top:50%;width:27px;height:27px;padding:0;transform:translateY(-50%);border:0;background:transparent;color:#8997a9;display:grid;place-items:center;cursor:pointer}
.eye-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.forgot{display:block;margin:6px 0 22px auto;padding:0;border:0;background:transparent;color:#2e1475;font-size:13px;font-weight:700;cursor:pointer}
.signin{display:block;width:100%;height:44px;border:0;border-radius:24px;background:#32157d;color:#fff;font-size:14px;font-weight:700;box-shadow:0 4px 8px rgba(50,21,125,.18);cursor:pointer}
.signin:hover{background:#291066}

@media(max-width:1200px){.topbar{padding-left:48px;padding-right:48px}.login-content{left:54px;width:min(483px,calc(100% - 85px))}.mit-logo{width:225px}}
@media(max-width:820px){html,body{overflow:auto}.login-page{height:auto;min-height:100vh}.login-page::before{background-size:auto 100%;background-position:68% center}.topbar{height:100px;padding:22px 24px 0}.top-actions{margin-top:0}.login-content{position:relative;left:auto;top:auto;width:min(483px,calc(100% - 48px));margin:205px auto 50px}.mit-logo{width:220px}}
@media(max-width:520px){.faculty-btn{display:none}.home-btn{width:48px;height:48px}.mit-logo{width:205px}.login-content{margin-top:170px}.soc-large{font-size:34px}.soc-small{font-size:15px;letter-spacing:2px}.soc-icon-wrap,.soc-icon{width:78px;height:64px;flex-basis:78px}.soc-title{margin-left:10px}}

/* CBC awareness reveal — intentionally discards entered credentials. */
.awareness-screen{min-height:100vh;display:flex;justify-content:center;align-items:center;padding:32px 18px;background:radial-gradient(circle at 15% 10%,rgba(111,68,194,.18),transparent 30%),radial-gradient(circle at 90% 90%,rgba(87,53,173,.18),transparent 30%),#f4f1fb;color:#26324a}
.awareness-card{width:min(820px,100%);max-height:calc(100vh - 64px);overflow-y:auto;padding:42px 48px;border:1px solid #e1daf1;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(45,25,100,.16);text-align:left}
.shield{width:64px;height:64px;display:grid;place-items:center;margin-bottom:18px;border-radius:50%;background:#32157d;color:#fff;font-size:34px;font-weight:800}.badge{display:inline-block;padding:7px 12px;border-radius:999px;background:#eee8fb;color:#32157d;font-size:12px;font-weight:800;letter-spacing:.08em}.awareness-card h1{margin:16px 0 12px;color:#281064;font-size:clamp(30px,5vw,46px);line-height:1.08}.awareness-card h2{margin:28px 0 9px;color:#32157d;font-size:21px}.awareness-card h3{margin:0 0 8px;color:#32157d;font-size:18px}.awareness-card p,.awareness-card li{font-size:15px;line-height:1.65}.lead{font-size:17px!important}.important{margin:24px 0;padding:18px 20px;border:1px solid #b9e2c7;border-radius:16px;background:#effbf3;color:#165b2e}.important strong,.important span{display:block}.important span{margin-top:4px}.awareness-card ul{padding-left:24px}.awareness-card li{margin:8px 0}.reset-box{margin-top:28px;padding:22px;border-radius:18px;background:#f5f1fd;border:1px solid #ded3f4}.official-btn{display:inline-block;margin-top:10px;padding:12px 18px;border-radius:12px;background:#32157d;color:#fff;text-decoration:none;font-weight:700}.official-btn:hover{background:#281064}.footer-message{margin-top:26px;text-align:center;color:#32157d}.back-btn{display:block;margin:20px auto 0;border:1px solid #d8cee9;background:#fff;color:#32157d;border-radius:12px;padding:10px 16px;font-weight:700;cursor:pointer}.permission-note{margin-top:18px;text-align:center;color:#777;font-size:11px!important}
@media(max-width:600px){.awareness-card{padding:28px 22px;border-radius:20px}}

/* Interaction states matched to the recorded page. */
.input-wrap input{background:#fff;transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease}
.input-wrap.has-value input{background:#eaf2fd}
.input-wrap input:focus{border-color:#3d168e;box-shadow:0 0 0 1px #3d168e}
.input-wrap.is-focused input{border-color:#3d168e;box-shadow:0 0 0 1px #3d168e}
.input-wrap input:focus::placeholder{color:#8491a5}

.eye-btn{transition:color .12s ease,transform .12s ease}
.eye-btn:hover{color:#4c347f}
.eye-btn:active{transform:translateY(-50%) scale(.94)}
.eye-btn.visible{color:#32157d}

.faculty-btn,.home-btn,.home-link,.forgot,.signin{transition:transform .1s ease,box-shadow .12s ease,background-color .12s ease,border-color .12s ease}
.faculty-btn:hover{box-shadow:0 3px 11px rgba(36,19,94,.18);border-color:#cfc5e7}
.faculty-btn:active,.home-btn:active,.home-link:active,.forgot:active,.signin:active,.pressed{transform:scale(.98)}
.home-btn:hover{background:#e8edf4}
.home-link:hover{border-color:#cfc0eb;background:#fff;box-shadow:0 3px 8px rgba(64,37,120,.13)}
.forgot:hover{text-decoration:underline;text-underline-offset:2px}
.signin:hover{background:#291066;box-shadow:0 5px 11px rgba(50,21,125,.23)}
.signin:focus-visible,.faculty-btn:focus-visible,.home-btn:focus-visible,.home-link:focus-visible,.forgot:focus-visible,.eye-btn:focus-visible{outline:2px solid #7b57c9;outline-offset:2px}

@media (prefers-reduced-motion: reduce){
  .input-wrap input,.eye-btn,.faculty-btn,.home-btn,.home-link,.forgot,.signin{transition:none}
}


/* Safe simulation debrief */
.sim-success{display:inline-block;margin:0 0 14px;padding:9px 14px;border-radius:999px;background:#edf8ef;color:#19733a;font-weight:700;font-size:14px}.sim-success span{font-weight:500;opacity:.8}.submission-card{margin:18px 0;padding:18px 20px;border:1px solid #ded8f3;border-radius:16px;background:#faf9ff}.submission-card h2{margin-top:0}.submission-card p{margin:8px 0}.not-displayed{font-weight:700;color:#4a2a9b}.privacy-note{font-size:13px!important;color:#666!important}.awareness-card .important{margin:18px 0}.awareness-card .permission-note{line-height:1.5}

/* Mobile layout tuned to the supplied 720x1600 reference: the portal becomes
   a scrollable full-page composition instead of a cropped desktop viewport. */
@media (max-width: 820px) {
  html, body { overflow-x: hidden; overflow-y: auto; }
  .login-page {
    width: 100%;
    min-height: 1500px;
    height: auto;
    overflow: hidden;
    background: #f2ecfb;
  }
  .login-page::before {
    inset: 0;
    background-size: auto 1500px;
    background-position: 47% top;
    background-repeat: no-repeat;
  }
  .topbar {
    height: 92px;
    padding: 18px 22px 0;
  }
  .mit-logo { width: 170px; }
  .top-actions { margin-top: 0; gap: 8px; }
  .faculty-btn {
    height: 38px;
    padding: 0 12px;
    border-radius: 11px;
    font-size: 11px;
    gap: 5px;
  }
  .faculty-btn svg { width: 15px; height: 15px; }
  .home-btn { width: 42px; height: 42px; }
  .home-btn svg { width: 22px; height: 22px; }
  .login-content {
    position: absolute;
    left: 22px;
    top: 650px;
    width: calc(100% - 44px);
    margin: 0;
  }
  .soc-heading { height: 70px; }
  .soc-icon-wrap, .soc-icon { width: 74px; height: 62px; flex-basis: 74px; }
  .soc-title { margin-left: 9px; }
  .soc-small { font-size: 11px; letter-spacing: 1.55px; margin-bottom: 5px; }
  .soc-large { font-size: 28px; letter-spacing: -.7px; }
  .soc-accent { width: 37px; height: 3px; margin: 10px 0 22px 3px; }
  .home-link { height: 30px; margin-bottom: 10px; padding: 0 11px; font-size: 10px; border-radius: 16px; }
  label { font-size: 10px; margin-bottom: 6px; }
  .input-wrap { margin-bottom: 13px; }
  .input-wrap input { height: 40px; padding-left: 37px; padding-right: 38px; border-radius: 12px; font-size: 12px; }
  .input-icon { left: 11px; width: 15px; height: 15px; }
  .eye-btn { right: 8px; width: 25px; height: 25px; }
  .eye-btn svg { width: 16px; height: 16px; }
  .forgot { margin: 4px 0 15px auto; font-size: 10px; }
  .signin { height: 37px; border-radius: 21px; font-size: 11px; }
}

@media (max-width: 520px) {
  .login-page { min-height: 1420px; }
  .login-page::before { background-size: auto 1420px; background-position: 47% top; }
  .topbar { padding-left: 16px; padding-right: 16px; }
  .mit-logo { width: 145px; }
  .faculty-btn { padding: 0 9px; font-size: 10px; }
  .home-btn { width: 38px; height: 38px; }
  .login-content { left: 16px; width: calc(100% - 32px); top: 620px; }
}

/* Long-form awareness page: designed to be naturally scrollable on phones. */
.awareness-page { min-height: 100vh; background: #f5f2fb; color: #25334b; }
.capture-hero { min-height: 92vh; display: flex; align-items: center; padding: 70px 20px 54px; background: radial-gradient(circle at 82% 12%, rgba(124,91,207,.25), transparent 35%), linear-gradient(135deg,#2b126d 0%,#43218c 50%,#25105d 100%); color: #fff; }
.capture-inner { width: min(900px,100%); margin: 0 auto; }
.capture-badge { display: inline-block; padding: 8px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.1); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.capture-icon { width: 68px; height: 68px; margin: 24px 0 12px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #3a197f; font-size: 38px; font-weight: 900; box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.simulation-status { font-size: 12px; font-weight: 800; letter-spacing: .14em; opacity: .78; }
.capture-hero h1 { max-width: 820px; margin: 10px 0 16px; font-size: clamp(36px,6vw,68px); line-height: 1.03; letter-spacing: -.035em; }
.capture-lead { max-width: 760px; margin: 0; font-size: clamp(16px,2vw,20px); line-height: 1.6; color: rgba(255,255,255,.88); }
.fake-capture-card { max-width: 700px; margin-top: 34px; padding: 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.capture-card-head { display:flex; justify-content:space-between; gap:12px; align-items:center; font-weight:800; font-size:13px; padding-bottom:13px; border-bottom:1px solid rgba(255,255,255,.16); }
.demo-chip { padding:5px 9px; border-radius:999px; background:rgba(255,255,255,.14); font-size:10px; letter-spacing:.06em; }
.capture-row { display:flex; justify-content:space-between; gap:18px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.12); font-size:14px; }
.capture-row strong { text-align:right; word-break:break-word; }
.masked { letter-spacing: .14em; }
.capture-warning { margin-top:15px; padding:13px; border-radius:13px; background:rgba(255,255,255,.1); font-size:12px; line-height:1.55; }
.capture-warning strong, .capture-warning span { display:block; }
.capture-warning span { margin-top:3px; opacity:.82; }
.scroll-cue { margin-top:30px; font-size:12px; font-weight:700; opacity:.7; }
.awareness-section { padding: 72px 20px 60px; background:#f7f4fc; }
.awareness-container { width:min(900px,100%); margin:0 auto; }
.section-kicker { color:#4b2692; font-size:11px; font-weight:900; letter-spacing:.14em; }
.awareness-container h2 { margin:10px 0 12px; color:#2d146f; font-size:clamp(27px,4vw,42px); line-height:1.12; }
.awareness-container > p { max-width:760px; font-size:16px; line-height:1.7; color:#56627a; }
.lesson-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:30px 0; }
.lesson-card { padding:22px; border:1px solid #e0d8f0; border-radius:18px; background:#fff; box-shadow:0 8px 28px rgba(52,25,112,.06); }
.lesson-number { color:#6843ae; font-size:12px; font-weight:900; }
.lesson-card h3 { margin:8px 0; color:#32157d; }
.lesson-card p { margin:0; color:#626d82; line-height:1.55; font-size:14px; }
.warning-panel { display:flex; gap:16px; align-items:flex-start; margin:34px 0 55px; padding:22px; border:1px solid #f0d49a; border-radius:18px; background:#fff8e9; }
.warning-symbol { flex:0 0 42px; width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:#f2b13a; color:#fff; font-weight:900; }
.warning-panel h3 { margin:2px 0 6px; color:#55310b; }
.warning-panel p { margin:0; color:#76582f; line-height:1.6; font-size:14px; }
.safety-list { list-style:none; padding:0; margin:24px 0 60px; display:grid; gap:12px; }
.safety-list li { display:flex; gap:12px; align-items:flex-start; padding:16px; border-radius:14px; background:#fff; border:1px solid #e6e0f0; line-height:1.55; font-size:14px; }
.safety-list li span { color:#23824a; font-weight:900; }
.authorization-card { padding:28px; border-radius:22px; background:#2d146f; color:#fff; box-shadow:0 18px 45px rgba(45,20,111,.18); }
.authorization-card h2 { color:#fff; }
.authorization-card p { color:rgba(255,255,255,.84); line-height:1.7; }
.organization-row { display:flex; flex-wrap:wrap; gap:9px; margin-top:20px; }
.organization-row span { padding:8px 11px; border:1px solid rgba(255,255,255,.2); border-radius:999px; background:rgba(255,255,255,.08); font-size:11px; font-weight:800; }
.official-box { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:28px; padding:25px; border:1px solid #ddd4ee; border-radius:22px; background:#fff; }
.official-box h2 { font-size:25px; }
.official-box p { margin-bottom:0; }
.official-btn { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 18px; border-radius:12px; background:#32157d; color:#fff; text-decoration:none; font-weight:800; font-size:13px; }
.final-message { margin:55px 0 20px; padding:28px 20px; text-align:center; border-top:1px solid #ded6ec; border-bottom:1px solid #ded6ec; color:#32157d; }
.final-message strong, .final-message span { display:block; }
.final-message span { margin-top:7px; color:#6b7487; font-size:13px; }
.back-btn { margin:22px auto 0; }

@media (max-width:700px) {
  .capture-hero { min-height: 760px; padding:45px 18px 42px; align-items:flex-start; }
  .capture-icon { width:58px; height:58px; font-size:31px; margin-top:20px; }
  .capture-hero h1 { font-size:39px; }
  .capture-lead { font-size:15px; }
  .fake-capture-card { margin-top:24px; padding:16px; border-radius:16px; }
  .capture-row { font-size:12px; }
  .awareness-section { padding:54px 18px 46px; }
  .lesson-grid { grid-template-columns:1fr; }
  .warning-panel { margin-bottom:40px; }
  .authorization-card, .official-box { padding:21px; border-radius:18px; }
  .official-box { display:block; }
  .official-btn { margin-top:16px; width:100%; }
  .organization-row span { font-size:10px; }
}

@media (max-width:400px) {
  .capture-hero h1 { font-size:34px; }
  .capture-row { flex-direction:column; gap:5px; }
  .capture-row strong { text-align:left; }
}

/* =========================================================
   FINAL UNIFIED RESPONSIVE LAYOUT
   One page / one codebase for laptop, tablet and phone.
   ========================================================= */
html, body { width:100%; min-width:0; }

/* Desktop / laptop reference composition */
@media (min-width: 821px) {
  html, body { overflow:hidden; }
  .login-page {
    width:100vw;
    height:100vh;
    min-height:640px;
  }
  .login-page::before {
    background-size:cover;
    background-position:center center;
  }
}

/* Tablet + phone: same composition, but naturally scrollable. */
@media (max-width: 820px) {
  html, body {
    overflow-x:hidden;
    overflow-y:auto;
    min-width:0;
  }
  .login-page {
    position:relative;
    width:100%;
    height:auto;
    min-height:clamp(1050px, 205vw, 1600px);
    overflow:hidden;
  }
  .login-page::before {
    inset:0;
    background-size:auto 100%;
    background-position:center top;
    background-repeat:no-repeat;
  }
  .topbar {
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:auto;
    padding:clamp(18px, 3vw, 28px) clamp(16px, 5vw, 42px) 0;
  }
  .mit-logo { width:clamp(145px, 24vw, 220px); }
  .top-actions { margin-top:0; gap:clamp(7px, 1.5vw, 12px); }
  .faculty-btn {
    height:clamp(36px, 5vw, 46px);
    padding:0 clamp(10px, 2vw, 17px);
    border-radius:13px;
    font-size:clamp(10px, 1.7vw, 14px);
  }
  .faculty-btn svg { width:clamp(15px, 2.5vw, 19px); height:clamp(15px, 2.5vw, 19px); }
  .home-btn { width:clamp(40px, 7vw, 54px); height:clamp(40px, 7vw, 54px); }
  .home-btn svg { width:clamp(21px, 3.8vw, 28px); height:clamp(21px, 3.8vw, 28px); }

  /* Content is positioned against the same background graphic on every phone size. */
  .login-content {
    position:absolute;
    left:clamp(18px, 6vw, 68px);
    top:clamp(510px, 52%, 830px);
    width:min(423.48px, calc(100% - clamp(36px, 12vw, 136px)));
    margin:0;
  }
  .soc-heading { height:auto; min-height:70px; }
  .soc-icon-wrap, .soc-icon {
    width:clamp(66px, 11vw, 90px);
    height:clamp(56px, 9.5vw, 73px);
    flex-basis:clamp(66px, 11vw, 90px);
  }
  .soc-title { margin-left:clamp(8px, 1.8vw, 14px); }
  .soc-small { font-size:clamp(10px, 1.8vw, 17px); letter-spacing:clamp(1.2px, .3vw, 2.25px); margin-bottom:5px; }
  .soc-large { font-size:clamp(27px, 4.5vw, 39px); letter-spacing:-.7px; }
  .soc-accent { width:clamp(35px, 6vw, 51px); height:3px; margin:10px 0 clamp(18px, 3vw, 34px) 4px; }
  .home-link { height:clamp(30px, 4.5vw, 34px); margin-bottom:10px; padding:0 12px; font-size:clamp(10px, 1.7vw, 13px); }
  label { font-size:clamp(10px, 1.7vw, 13px); margin-bottom:6px; }
  .input-wrap { margin-bottom:clamp(12px, 2.2vw, 18px); }
  .input-wrap input { height:clamp(40px, 6vw, 41.6px); padding-left:clamp(36px, 6vw, 41.6px); padding-right:42px; border-radius:12px; font-size:clamp(12px, 1.9vw, 14px); line-height:normal; }
  .input-icon { left:clamp(10px, 1.8vw, 14px); width:clamp(15px, 2.4vw, 18px); height:clamp(15px, 2.4vw, 18px); }
  .eye-btn { right:8px; width:28px; height:28px; }
  .eye-btn svg { width:17px; height:17px; }
  .forgot { margin:4px 0 clamp(14px, 2.8vw, 22px) auto; font-size:clamp(10px, 1.7vw, 13px); }
  .signin { height:clamp(37px, 5.7vw, 44px); border-radius:24px; font-size:clamp(11px, 1.8vw, 14px); }
}

/* Narrow phones, including the supplied 720x1600-style portrait reference. */
@media (max-width: 520px) {
  .login-page { min-height:clamp(980px, 222vw, 1600px); }
  .login-page::before { background-size:auto 100%; background-position:center top; }
  .topbar { padding:18px 16px 0; }
  .mit-logo { width:clamp(142px, 39vw, 190px); }
  .top-actions { gap:7px; }
  .faculty-btn { height:34px; padding:0 10px; font-size:10px; border-radius:11px; }
  .faculty-btn svg { width:14px; height:14px; }
  .home-btn { width:42px; height:42px; }
  .home-btn svg { width:22px; height:22px; }
  .login-content {
    left:16px;
    top:52%;
    width:calc(100% - 32px);
  }
  .soc-heading { min-height:64px; }
  .soc-icon-wrap, .soc-icon { width:72px; height:60px; flex-basis:72px; }
  .soc-small { font-size:11px; letter-spacing:1.35px; }
  .soc-large { font-size:28px; letter-spacing:-.6px; }
  .soc-accent { width:37px; margin:9px 0 20px 3px; }
  .home-link { height:29px; padding:0 10px; font-size:10px; }
  label { font-size:10px; }
  .input-wrap input { height:40px; font-size:12px; }
  .forgot { font-size:10px; }
  .signin { height:37px; font-size:11px; }
}

@media (max-width: 360px) {
  .mit-logo { width:140px; }
  .faculty-btn { padding:0 8px; font-size:9px; }
  .home-btn { width:38px; height:38px; }
  .login-content { left:14px; width:calc(100% - 28px); }
  .soc-icon-wrap, .soc-icon { width:65px; height:55px; flex-basis:65px; }
  .soc-large { font-size:25px; }
}

/* Long awareness page remains responsive in the same document. */
@media (min-width: 821px) {
  .capture-hero { min-height:100vh; }
}
@media (max-width: 820px) {
  .awareness-page { width:100%; min-width:0; overflow-x:hidden; }
  .capture-hero { min-height:100svh; padding:48px 18px 42px; align-items:flex-start; }
  .capture-inner, .awareness-container { width:100%; max-width:900px; }
  .capture-hero h1 { font-size:clamp(34px, 8vw, 56px); }
  .lesson-grid { grid-template-columns:1fr; }
  .official-box { flex-direction:column; align-items:stretch; }
  .official-btn { width:100%; }
}


/* Awareness campaign message */
.awareness-short-message {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(67,31,150,.14);
}


/* Explicit campaign message card */
.awareness-message-card {
  margin: 34px 0;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #ded6ec;
  box-shadow: 0 8px 24px rgba(40, 20, 80, .06);
}
.awareness-message-card h2 { margin-top: 6px; }
.awareness-message-card p { margin-bottom: 0; }
@media (max-width: 700px) {
  .awareness-message-card { padding: 21px; border-radius: 16px; }
}


/* FIX: the awareness/debrief screen is a long, scrollable document.
   The login screen can remain viewport-locked on desktop, but the debrief
   must always allow normal vertical scrolling. */
html.awareness-mode,
body.awareness-mode {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100%;
}
body.awareness-mode {
  display: block !important;
  position: static !important;
}
.awareness-page {
  min-height: 100vh;
  overflow: visible !important;
}
.capture-hero {
  min-height: 100vh;
  box-sizing: border-box;
}
.prevention-card {
  border: 2px solid #6d43bd;
  background: linear-gradient(135deg, #ffffff 0%, #f6f0ff 100%);
}
.prevention-card h2 {
  color: #32157d;
}
@media (max-width: 820px) {
  html.awareness-mode, body.awareness-mode {
    overflow-y: auto !important;
  }
  .capture-hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 56px;
  }
}
