/* ============================================================
   wgustudent.com — homepage comp v1
   Family palette: WGU navy #0E1F3A + aqua #12C7D8 on the cool
   board ground its siblings use (wgututors / wguassignments /
   wgupreceptor). First COOL-toned site in the network — driven
   by the school, not invented.

   THIRD DISTINCT LAYOUT PRIMITIVE.
     capellastudent — instrument panel, centred white cards, all-sans
     waldenstudent  — annotated document, serif measure + hanging margin
     wgustudent     — a SPINE. A continuous rule down the left with
                      nodes at each stage, so the page itself reads as
                      a competency track. Nothing carded, nothing centred.
   ============================================================ */

:root {
  --board:    #F4F7FA;
  --panel:    #FFFFFF;
  --recess:   #E8EEF4;

  --navy:     #0E1F3A;
  --navy-2:   #22364F;
  --slate:    #52657D;
  --mist:     #7C8DA3;

  --edge:     #DCE4EC;
  --edge-2:   #C3CEDB;

  --aqua:      #0A7C89;
  --aqua-lit:  #12C7D8;
  --aqua-wash: #E2F5F8;

  --amber:      #A15A08;
  --amber-lit:  #F0A24B;
  --amber-wash: #FCEEDD;

  --disp: "Manrope", "Segoe UI", Arial, sans-serif;
  --text: "Public Sans", "Segoe UI", Arial, sans-serif;

  --pad: clamp(1.15rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--board);
  color: var(--navy);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--disp); margin: 0; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--aqua); outline-offset: 3px; }

.frame { max-width: 1200px; margin: 0 auto; padding-inline: var(--pad); }

.go {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 700; font-size: 1rem;
  padding: .9rem 1.6rem; min-height: 50px;
  background: var(--navy); color: #fff; border: 0; border-radius: 6px;
  cursor: pointer; text-decoration: none; transition: background .16s ease;
}
.go:hover { background: #16304F; }
.go-quiet { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--edge-2); }
.go-quiet:hover { background: var(--recess); }

/* ============================================================
   TOP BAR
   ============================================================ */

.top { background: var(--navy); }
.top .frame { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; padding-block: .95rem; }

.badge { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; }
.badge svg { width: 26px; height: 26px; flex: none; display: block; }
.badge .u3 { transition: transform .4s cubic-bezier(.22,1,.36,1); transform-origin: 26px 30px; }
.badge:hover .u3 { transform: translateY(-3px); }
.badge b { font-family: var(--disp); font-weight: 800; font-size: 1.08rem; letter-spacing: -.035em; }

.jump { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.jump a { font-size: .92rem; color: #A9BDD6; text-decoration: none; }
.jump a:hover { color: #fff; }
@media (max-width: 900px) { .jump { display: none; } }

.standing { background: var(--panel); border-bottom: 1px solid var(--edge); }
.standing .frame { padding-block: .7rem; font-size: .88rem; color: var(--slate); }
.standing b { color: var(--navy); font-weight: 600; }

/* ============================================================
   THE SPINE — the governing primitive
   ============================================================ */

.track { position: relative; }
.track .frame { padding-block: clamp(2.5rem, 5.5vw, 4.5rem); }

.stage { position: relative; padding-left: clamp(1.75rem, 4vw, 3.25rem); }
.stage::before {
  content: ""; position: absolute; left: 0; top: .55rem; bottom: -3rem;
  width: 2px; background: var(--edge);
}
.stage:last-child::before { bottom: auto; height: 1.5rem; }
.stage::after {
  content: ""; position: absolute; left: -5px; top: .45rem;
  width: 12px; height: 12px; border-radius: 3px;
  background: var(--panel); box-shadow: 0 0 0 2px var(--edge-2);
}
.stage.live::after { background: var(--aqua-lit); box-shadow: 0 0 0 2px var(--aqua); }
.stage + .stage { margin-top: clamp(3rem, 6vw, 5rem); }

.stage h2 { font-size: clamp(1.8rem, 3.9vw, 2.7rem); }
.stage > p { margin-top: 1.05rem; font-size: 1.06rem; color: var(--slate); max-width: 60ch; }

/* ============================================================
   OPENING
   ============================================================ */

.open .frame { padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.open-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 940px) { .open-grid { grid-template-columns: 1fr; } }

/* the hero enquiry card */
.hero-form { background: var(--panel); border: 1px solid var(--edge); border-radius: 12px; box-shadow: 0 1px 2px rgba(14,31,58,.05), 0 24px 44px -28px rgba(14,31,58,.28); padding: clamp(1.5rem, 3.5vw, 2rem); display: grid; gap: .85rem; }
.hero-form h2 { font-size: 1.35rem; letter-spacing: -.032em; }
.hero-form > p { font-size: .95rem; color: var(--slate); }
.hero-form .go { margin-top: .2rem; }
.hero-form small { font-size: .82rem; color: var(--mist); line-height: 1.5; }

/* the device, given room and flanked so the band is not empty */
.device-band { background: var(--panel); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.device-band .frame { padding-block: clamp(3rem, 6vw, 4.75rem); }
.device-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
@media (max-width: 1080px) { .device-grid { grid-template-columns: 1fr; } }
.device-aside h3 { font-size: 1.08rem; letter-spacing: -.024em; }
.device-aside p { margin-top: .55rem; font-size: .95rem; color: var(--slate); line-height: 1.6; }
.device-aside + .device-aside, .device-aside p + h3 { margin-top: 1.6rem; }
.device-aside .pull-fact { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.4rem); letter-spacing: -.04em; color: var(--aqua); line-height: 1; margin-bottom: .35rem; }
.open h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); letter-spacing: -.042em; max-width: 19ch; }
.open h1 em { font-style: normal; color: var(--aqua); }
.open .sub { margin-top: 1.4rem; font-size: 1.12rem; color: var(--slate); max-width: 54ch; }
.open .fair { margin-top: 1.6rem; font-size: .98rem; color: var(--slate); max-width: 56ch; border-left: 2px solid var(--aqua-lit); padding-left: 1.1rem; }
.open .fair b { color: var(--navy); font-weight: 600; }

/* ============================================================
   THE RUBRIC — the signature device
   ============================================================ */

.rubric { margin-top: clamp(2rem, 4vw, 3rem); background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; overflow: hidden; }
.rubric-bar { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: baseline; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--edge); background: var(--recess); }
.rubric-bar strong { font-family: var(--disp); font-weight: 800; font-size: 1.05rem; letter-spacing: -.028em; }
.rubric-bar span { font-size: .9rem; color: var(--slate); }

.aspect { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--edge); padding: 1.1rem 1.5rem; min-height: 62px; cursor: pointer; font-family: var(--text); font-size: 1rem; color: var(--navy); transition: background .14s ease; }
.aspect:hover { background: var(--aqua-wash); }
.aspect-name { line-height: 1.4; }
.aspect-name small { display: block; font-size: .85rem; color: var(--mist); margin-top: .1rem; }
.verdict-pill { font-family: var(--disp); font-weight: 700; font-size: .82rem; padding: .35rem .7rem; border-radius: 5px; white-space: nowrap; }
.aspect[data-ok="1"] .verdict-pill { background: var(--aqua-wash); color: var(--aqua); }
.aspect[data-ok="0"] .verdict-pill { background: var(--amber-wash); color: var(--amber); }

.rubric-out { padding: 1.4rem 1.5rem; display: grid; gap: .5rem; }
.rubric-out strong { font-family: var(--disp); font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 1.6rem); letter-spacing: -.03em; }
.rubric-out[data-pass="1"] strong { color: var(--aqua); }
.rubric-out[data-pass="0"] strong { color: var(--amber); }
.rubric-out p { font-size: .97rem; color: var(--slate); max-width: 58ch; }
.rubric-note { margin-top: 1.1rem; font-size: .86rem; color: var(--mist); line-height: 1.55; max-width: 70ch; }

/* ============================================================
   CONSEQUENCES — plain ruled statements
   ============================================================ */

.claims { margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0; padding: 0; list-style: none; }
.claims li { border-top: 1px solid var(--edge); padding-block: 1.35rem; display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.claims li:last-child { border-bottom: 1px solid var(--edge); }
@media (max-width: 800px) { .claims li { grid-template-columns: 1fr; gap: .4rem; } }
.claims h3 { font-size: 1.12rem; letter-spacing: -.024em; }
.claims p { font-size: .97rem; color: var(--slate); line-height: 1.6; }

/* ============================================================
   TERMS — the money, stated not charted
   ============================================================ */

.slab { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; padding: clamp(1.5rem, 3.5vw, 2.25rem); }
.figure-row { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--edge); }
.fig { display: grid; gap: .15rem; }
.fig b { font-family: var(--disp); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fig b.warm { color: var(--amber); }
.fig span { font-size: .88rem; color: var(--slate); }

.throughput { margin-top: 1.5rem; display: grid; gap: .9rem; }
.tp { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
@media (max-width: 720px) {
  .tp { grid-template-columns: 1fr auto; row-gap: .45rem; }
  .tp span { grid-column: 1 / -1; }
}
.tp span { font-size: .95rem; color: var(--slate); }
.tp .units { display: flex; gap: 3px; flex: 1; max-width: 330px; }
.tp .units i { flex: 1 1 0; min-width: 0; height: 22px; border-radius: 2px; background: var(--recess); }
.tp .units i[data-fill="1"] { background: var(--aqua-lit); }
.tp .units i[data-fill="2"] { background: var(--aqua); }
.tp b { font-family: var(--disp); font-weight: 700; font-size: .98rem; text-align: right; }
.slab footer { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--edge); font-size: .86rem; color: var(--mist); line-height: 1.55; }

/* ============================================================
   SELF-CHECK — multi-select, not a question flow
   ============================================================ */

.selfcheck { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.statements { display: grid; gap: 0; max-width: 46rem; border-top: 1px solid var(--edge-2); }
.statement { display: grid; grid-template-columns: 1.6rem 1fr; gap: .95rem; align-items: start; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--edge); padding: 1rem .2rem; min-height: 58px; cursor: pointer; font-family: var(--text); font-size: 1.03rem; color: var(--navy); transition: padding-left .15s ease; }
.statement:hover { padding-left: .6rem; }
.statement i { width: 1.35rem; height: 1.35rem; margin-top: .18rem; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--edge-2); display: grid; place-items: center; font-style: normal; font-size: .82rem; color: transparent; transition: background .15s ease, box-shadow .15s ease, color .15s ease; }
.statement[aria-pressed="true"] i { background: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); color: #fff; }
.statement[aria-pressed="true"] { color: var(--navy); font-weight: 500; }

.reading-out { margin-top: 1.75rem; border-left: 3px solid var(--aqua); padding-left: 1.35rem; max-width: 54rem; }
.reading-out[data-tone="warn"] { border-left-color: var(--amber-lit); }
.reading-out[data-tone="idle"] { border-left-color: var(--edge-2); }
.reading-out strong { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(1.2rem, 2.5vw, 1.55rem); letter-spacing: -.03em; }
.reading-out p { margin-top: .6rem; font-size: 1.02rem; color: var(--slate); max-width: 56ch; }
.reading-out .act-row { margin-top: 1.35rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.reading-out .act-row[hidden] { display: none; }

/* ============================================================
   AGAINST — comparisons as ruled lines
   ============================================================ */

.against { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); border-top: 1px solid var(--edge-2); }
.against a { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) auto; gap: clamp(1rem, 3vw, 2.5rem); align-items: baseline; padding-block: 1.25rem; border-bottom: 1px solid var(--edge); text-decoration: none; transition: padding-left .16s ease; }
.against a:hover { padding-left: .6rem; }
.against strong { font-family: var(--disp); font-weight: 700; font-size: 1.15rem; letter-spacing: -.028em; }
.against span { font-size: .97rem; color: var(--slate); }
.against em { font-style: normal; color: var(--aqua); font-size: 1.2rem; transition: transform .16s ease; }
.against a:hover em { transform: translateX(4px); }
@media (max-width: 800px) { .against a { grid-template-columns: 1fr auto; } .against span { grid-column: 1 / -1; } }

/* ============================================================
   CLOSE
   ============================================================ */

.close { background: var(--navy); color: #fff; }
.close .frame { padding-block: clamp(3rem, 6vw, 4.75rem); }
.close-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .close-grid { grid-template-columns: 1fr; } }
.close h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: -.04em; max-width: 18ch; color: #fff; }
.close .lede { margin-top: 1.2rem; font-size: 1.08rem; color: #B9C9DC; max-width: 42ch; }
.close ul { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: 1rem; max-width: 44ch; }
.close li { border-left: 2px solid var(--aqua-lit); padding-left: 1.1rem; }
.close li b { display: block; font-family: var(--disp); font-weight: 700; font-size: .98rem; }
.close li span { display: block; margin-top: .2rem; font-size: .95rem; color: #A9BDD6; line-height: 1.55; }

.request { background: var(--panel); color: var(--navy); border-radius: 10px; padding: clamp(1.5rem, 3.5vw, 2rem); display: grid; gap: .9rem; }
.request h3 { font-size: 1.35rem; letter-spacing: -.032em; }
.slot { display: grid; gap: .3rem; }
.slot label { font-size: .9rem; font-weight: 500; color: var(--navy-2); }
.slot input, .slot select { font-family: var(--text); font-size: 16px; color: var(--navy); background: var(--board); border: 1px solid var(--edge-2); border-radius: 6px; padding: .8rem .9rem; width: 100%; }
.slot input::placeholder { color: var(--mist); }
.request small { font-size: .82rem; color: var(--slate); line-height: 1.5; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   BASE
   ============================================================ */

.base { background: #0A1729; color: #C6D4E4; }
.base .frame { padding-block: clamp(3rem, 5.5vw, 4rem) clamp(2rem, 4vw, 2.75rem); display: grid; gap: clamp(2rem, 4vw, 2.75rem); }

.base-lead { display: grid; gap: .9rem; max-width: 46ch; }
.base-lead .badge { color: #fff; }
.base-lead p { font-size: .95rem; color: #8FA3BC; line-height: 1.6; }

.base-map { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.75rem 2rem; padding-block: clamp(1.75rem, 3.5vw, 2.5rem); border-top: 1px solid #1E3350; border-bottom: 1px solid #1E3350; }
.base-col { display: grid; gap: .55rem; align-content: start; }
.base-col h2 { font-family: var(--disp); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #6E88A6; margin: 0 0 .2rem; }
.base-col a { font-size: .94rem; color: #C6D4E4; text-decoration: none; line-height: 1.5; }
.base-col a:hover { color: var(--aqua-lit); }

.history { font-family: var(--disp); font-weight: 700; font-size: clamp(1.15rem, 2.3vw, 1.55rem); letter-spacing: -.03em; max-width: 36ch; line-height: 1.3; color: #fff; }
.history b { color: var(--aqua-lit); font-weight: 800; }
.fineprint { font-size: .83rem; color: #8FA3BC; line-height: 1.65; max-width: 82ch; }
.fineprint b { color: #C6D4E4; font-weight: 600; }
.stamp { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; padding-top: 1.3rem; border-top: 1px solid #1E3350; font-size: .84rem; color: #6E88A6; }
.stamp a { color: #6E88A6; }
.stamp a:hover { color: var(--aqua-lit); }

/* ---------- mobile navigation ---------- */
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; border-top: 1px solid #1E3350; padding: .5rem var(--pad) 1rem; }
.mobile-nav a { display: block; padding: .85rem .2rem; min-height: 48px; font-size: 1rem; color: #C6D4E4; text-decoration: none; border-bottom: 1px solid #16283F; }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a[aria-current="page"] { color: var(--aqua-lit); }
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: block; }
}


/* ============================================================
   CONVERSION SURFACES
   Network standing layout: direct-text channels bottom-LEFT,
   live chat bottom-RIGHT. They never stack. The seasonal offer
   is a CENTRE modal, never a corner toast.
   ============================================================ */

/* iOS force-zooms any field under 16px, which is what makes a chat
   composer "free fall" under the keyboard. Catch-all, touch only. */
@media (pointer: coarse) { input, textarea, select { font-size: 16px !important; } }

/* --- direct text channels, bottom-left --- */
.reach { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: grid; gap: .55rem; }
.reach a { display: inline-flex; align-items: center; gap: .55rem; height: 48px; padding: 0 1rem; border-radius: 999px; font-family: var(--disp); font-weight: 700; font-size: .9rem; color: #fff; text-decoration: none; box-shadow: 0 6px 18px -6px rgba(10,23,41,.45); transition: transform .15s ease; }
.reach a:hover { transform: translateY(-2px); }
.reach .wa { background: #1FA855; }
.reach .sms { background: #0E1F3A; }
.reach svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 560px) { .reach { left: 12px; bottom: 12px; gap: .45rem; } .reach a { height: 46px; padding: 0 .85rem; font-size: .85rem; } }
body.chat-open .reach, body.chat-open .season-modal { display: none; }

/* --- live chat, bottom-right --- */
.chat-fab { position: fixed; right: 16px; bottom: 16px; z-index: 70; width: 60px; height: 60px; border-radius: 18px; border: 0; padding: 0; cursor: pointer; background: var(--panel); box-shadow: 0 10px 26px -8px rgba(10,23,41,.5); display: grid; place-items: center; overflow: hidden; transition: transform .15s ease; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab svg { display: block; }
.chat-dot { position: absolute; top: 6px; right: 6px; width: 11px; height: 11px; border-radius: 50%; background: #23C16B; box-shadow: 0 0 0 2px var(--panel); }
@media (max-width: 560px) { .chat-fab { right: 12px; bottom: 12px; width: 56px; height: 56px; } }

.chat-panel { position: fixed; right: 16px; bottom: 88px; z-index: 75; width: min(380px, calc(100vw - 32px)); height: clamp(460px, 72vh, 580px); background: var(--panel); border: 1px solid var(--edge); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(10,23,41,.45); display: none; flex-direction: column; overflow: hidden; }
.chat-panel.open { display: flex; }
.chat-head { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; background: var(--navy); color: #fff; }
.chat-head b { font-family: var(--disp); font-weight: 700; font-size: .98rem; display: block; letter-spacing: -.02em; }
.chat-head span { font-size: .8rem; color: #9FE9F2; }
.chat-head .hx { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; width: 44px; height: 44px; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: grid; gap: .6rem; align-content: start; background: var(--board); }
.msg { max-width: 84%; padding: .7rem .9rem; border-radius: 12px; font-size: .95rem; line-height: 1.5; }
.msg.bot { background: var(--panel); border: 1px solid var(--edge); justify-self: start; }
.msg.me { background: var(--navy); color: #fff; justify-self: end; }
.chat-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--edge); background: var(--panel); }
.chat-form input { flex: 1; font-family: var(--text); font-size: 16px; color: var(--navy); background: var(--board); border: 1px solid var(--edge-2); border-radius: 10px; padding: .7rem .85rem; }
.chat-form button { flex: none; height: 44px; padding: 0 1rem; border: 0; border-radius: 10px; background: var(--aqua); color: #fff; font-family: var(--disp); font-weight: 700; cursor: pointer; }

/* --- the seasonal offer: a centre modal, honest copy, no countdown --- */
.season-modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(10,23,41,.55); }
.season-modal.show { display: flex; }
.season-card { background: var(--panel); border-radius: 16px; width: min(480px, 100%); max-height: 92vh; overflow-y: auto; padding: clamp(1.5rem, 4vw, 2.1rem); position: relative; box-shadow: 0 30px 70px -20px rgba(10,23,41,.6); }
.season-card .sx { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--slate); cursor: pointer; }
.season-card .tag { font-family: var(--disp); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); }
.season-card h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); letter-spacing: -.034em; margin-top: .5rem; }
.season-card p { margin-top: .65rem; font-size: .97rem; color: var(--slate); }
.season-card form { margin-top: 1.1rem; display: grid; gap: .7rem; }
.season-card small { font-size: .82rem; color: var(--mist); line-height: 1.5; }

/* the dedicated chat page: normal document flow so iOS handles the keyboard
   natively. No position:fixed anywhere on this layout. */
.chat-page { margin-top: clamp(1.5rem, 3.5vw, 2.25rem); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-height: 26rem; max-width: 44rem; background: var(--panel); }
.chat-page .chat-body { min-height: 18rem; }
@media (max-width: 560px) { .chat-page { min-height: 60vh; } }

@media (prefers-reduced-motion: reduce) { *, *::before { transition: none !important; } }
