﻿/* Public sign-up wizard (SGN\Signup.aspx), copied from school-signup-v2.html <style>. Standalone page: it does NOT load base.css/shell.css,
   so these rules cannot clash with the shared components. The .demo box is only shown when AllowDemoLogin is true. */
  :root {
    color-scheme: light;
    --blue: #3C4A5C; --blue-600: #2F3B4A; --blue-700: #3C4A5C; --blue-50: #F1F7FB; --blue-100: #DDEBF5;
    --ink: #3C4A5C; --text: #4A5A6E; --muted: #5F6E82; --placeholder: #93A2B4;
    --line: #E3EEF6; --border: #DDEBF5; --page: #F1F7FB; --surface: #ffffff;
    --green: #2C7650; --green-50: #E4F3EA; --red: #B0423A; --red-50: #FBE8E5; --amber: #8E5E10;
    --ring: 0 0 0 3px rgba(211, 230, 243, .95);
    --shadow: 0 1px 2px rgba(15, 35, 64, .05), 0 12px 32px rgba(15, 35, 64, .08);
    --display: 'Nunito', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
    --body: 'Nunito', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
    --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; }
  body { background: var(--page); color: var(--text); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
  h1, h2, h3 { font-family: var(--display); color: var(--ink); }
  p { margin: 0; }
  a { color: var(--blue); text-underline-offset: 3px; }
  button, input, select { font: inherit; color: inherit; }
  [hidden] { display: none !important; }
  :focus-visible { outline: 3px solid rgba(141, 184, 218, .9); outline-offset: 2px; }
  .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

  /* ---------- layout: brand panel + form ---------- */
  .shell { display: grid; grid-template-columns: minmax(340px, 40%) minmax(0, 1fr); min-height: calc(100vh / var(--z, 1)); }
  .brand-panel {
    position: sticky; top: 0; height: calc(100vh / var(--z, 1)); overflow-y: auto; color: #dbe6f4;
    background: radial-gradient(circle at 88% 6%, rgba(255,255,255,.09), transparent 38%), linear-gradient(165deg, #0a2140 0%, #0e315c 52%, #154a85 100%);
    padding: var(--s5) var(--s6); display: flex; flex-direction: column; gap: var(--s4);
  }
  .brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; align-self: flex-start; border-radius: 8px; }
  .brand-mark { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; }
  .brand-mark svg { width: 34px; height: 34px; }
  .wordmark { font: 800 24px/1 var(--display); letter-spacing: -.3px; color: #fff; }
  .wordmark b { color: #8fc3f5; font-weight: 800; }
  .brand-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--s3); max-width: 460px; }
  .eyebrow { font: 700 13px var(--display); letter-spacing: .08em; text-transform: uppercase; color: #9cc7f0; }
  .hero { font: 800 clamp(30px, 3vw, 40px)/1.15 var(--display); color: #fff; letter-spacing: -.5px; }
  .lede { font-size: 17px; color: #c9d7e8; }
  .benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
  .benefits li { display: flex; gap: var(--s2); align-items: flex-start; }
  .benefits .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: #b9dafb; flex: none; }
  .benefits b { display: block; color: #fff; font: 700 16px/1.3 var(--display); }
  .benefits span.t { font-size: 14.5px; color: #b8c8dc; }
  .trust { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; color: #d6e3f2; font-weight: 600; }
  .trust span { display: inline-flex; align-items: center; gap: 6px; }
  .trust svg { width: 16px; height: 16px; color: #7fd3a1; stroke-width: 2.4; }
  .quote { margin: 0; padding: var(--s3); border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10); max-width: 460px; }
  .quote blockquote { margin: 0 0 var(--s2); font-size: 16px; color: #eef4fb; line-height: 1.55; }
  .quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #b8c8dc; }
  .quote figcaption b { color: #fff; font-weight: 700; display: block; }
  .quote .av { width: 36px; height: 36px; border-radius: 50%; background: #2c6db0; color: #fff; display: grid; place-items: center; font: 700 14px var(--display); flex: none; }

  .form-side { display: flex; flex-direction: column; min-width: 0; }
  .topnav { display: flex; justify-content: flex-end; align-items: center; gap: var(--s3); padding: var(--s3) var(--s5) 0; font-size: 15px; color: var(--muted); }
  .topnav a { font-weight: 700; text-decoration: none; }
  .topnav a:hover { text-decoration: underline; }
  .topnav .contact { color: var(--text); padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; }
  .topnav .contact:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
  .form-wrap { flex: 1; display: flex; justify-content: center; padding: var(--s4) var(--s5) var(--s6); }
  .form-col { width: 100%; max-width: 680px; container-type: inline-size; }
  .form-col.wide { max-width: 900px; }
  .footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: var(--s2) var(--s5); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
  .footer nav { display: flex; gap: var(--s2); }
  .footer a { color: var(--muted); text-decoration: none; }
  .footer a:hover { color: var(--blue); text-decoration: underline; }

  /* ---------- progress ---------- */
  .progress-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); font-size: 14.5px; color: var(--muted); margin-bottom: var(--s1); }
  .progress-head b { color: var(--ink); font-weight: 700; }
  .ph-right { display: inline-flex; align-items: center; gap: var(--s2); white-space: nowrap; }
  .saved { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 700; opacity: 0; transition: opacity .3s; }
  .saved.show { opacity: 1; }
  .saved svg { width: 16px; height: 16px; stroke-width: 2.6; }
  .bar { height: 6px; background: #EAF3FA; border-radius: 6px; overflow: hidden; }
  .bar span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--blue), #8DB8DA); border-radius: 6px; transition: width .45s ease; }
  .steps { list-style: none; margin: var(--s2) 0 var(--s3); padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .steps button { display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left; background: none; border: 0; padding: 8px; border-radius: 10px; cursor: default; }
  .steps .num { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: #fff; display: grid; place-items: center; font: 700 13px var(--display); color: var(--muted); }
  .steps .num svg { display: none; width: 15px; height: 15px; stroke-width: 3; }
  .steps .name { display: block; font: 700 14px/1.3 var(--display); color: var(--muted); }
  .steps .desc { display: block; font-size: 12.5px; color: var(--muted); }
  .steps li.current .num { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(211,230,243,.9); }
  .steps li.current .name { color: var(--ink); }
  .steps li.done .num { border-color: var(--green); background: var(--green); color: #fff; }
  .steps li.done .num .n { display: none; }
  .steps li.done .num svg { display: block; }
  .steps li.done .name { color: var(--text); }
  .steps li.clickable button { cursor: pointer; }
  .steps li.clickable button:hover { background: #F1F7FB; }
  .steps li.clickable button:hover .name { color: var(--blue); }
  @container (max-width: 620px) {
    .steps .txt { display: none; }
    .steps button { justify-content: center; padding: 6px 0; }
  }

  /* ---------- card ---------- */
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: var(--s5); }
  .step-head { margin-bottom: var(--s4); }
  .step-head h2 { margin: 0 0 6px; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -.3px; }
  .step-head .why { color: var(--muted); font-size: 16px; }
  .step-head .why b { color: var(--ink); }
  .alert { border-radius: 12px; padding: 12px 16px; font-size: 15px; margin-bottom: var(--s3); font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
  .alert-err { background: var(--red-50); border: 1px solid #f0c3bd; color: #8c2219; }
  .alert-err:empty { display: none; }
  .banner { display: flex; align-items: flex-start; gap: 12px; background: var(--blue-50); border: 1px solid var(--blue-100); color: #3C4A5C; border-radius: 14px; padding: 14px 16px; margin-bottom: var(--s2); }
  .banner .bi { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; flex: none; }
  .banner p { flex: 1; font-size: 15px; }
  .banner p b { font-family: var(--display); }
  .banner .x { background: none; border: 0; width: 32px; height: 32px; border-radius: 8px; color: #3C4A5C; cursor: pointer; display: grid; place-items: center; flex: none; }
  .banner .x:hover { background: #DDEBF5; }

  /* ---------- fields ---------- */
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s2); }
  .field { margin: 0 0 var(--s3); padding: 0; border: 0; min-width: 0; }
  .lbl { display: block; font: 700 15px/1.3 var(--body); color: var(--ink); margin: 0 0 8px; padding: 0; }
  .opt { font-weight: 400; color: var(--muted); font-size: 14px; }
  .control { position: relative; }
  .in, select.in {
    width: 100%; height: 48px; border: 1px solid var(--border); border-radius: 10px; padding: 0 44px 0 14px; color: var(--ink); background: #fff;
    font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
  }
  .in::placeholder { color: var(--placeholder); opacity: 1; }
  .in:hover { border-color: #BFD8EC; }
  .in:focus { border-color: var(--blue); box-shadow: var(--ring); }
  .in.invalid { border-color: var(--red); }
  .in.invalid:focus { box-shadow: 0 0 0 3px rgba(185, 50, 40, .22); }
  input[type=number].in { -moz-appearance: textfield; }
  input[type=date].in { padding-right: 12px; }
  .tick-ico { position: absolute; right: 14px; top: 14px; width: 20px; height: 20px; color: var(--green); stroke-width: 2.6; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; pointer-events: none; }
  .field.ok .tick-ico { opacity: 1; transform: none; }
  .field.ok .in:not(:focus) { border-color: #8cc9a4; }
  .chev { position: absolute; right: 14px; top: 14px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
  .has-prefix .in { padding-left: 94px; }
  .prefix { position: absolute; left: 1px; top: 1px; bottom: 1px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #F7FAFD; border-right: 1px solid var(--line); border-radius: 9px 0 0 9px; color: var(--text); font-weight: 700; font-size: 15px; pointer-events: none; transition: opacity .15s; }
  .prefix svg { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
  .has-prefix.intl .prefix { opacity: .35; }
  .pw .in { padding-right: 92px; }
  .pw .tick-ico { right: 56px; }
  .eye { position: absolute; right: 4px; top: 4px; height: 40px; min-width: 44px; padding: 0 8px; border: 0; background: none; border-radius: 8px; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
  .eye:hover { background: #F1F7FB; color: var(--ink); }
  .eye .hide-ico { display: none; }
  .eye[aria-pressed=true] .hide-ico { display: block; }
  .eye[aria-pressed=true] .show-ico { display: none; }
  .err { color: var(--red); font-size: 14.5px; font-weight: 600; margin-top: 8px; display: flex; gap: 8px; align-items: flex-start; }
  .err:empty { display: none; }
  .err::before { content: '!'; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--red); color: #fff; font: 800 12px/18px var(--display); text-align: center; }
  .hint { font-size: 14px; color: var(--muted); margin-top: 8px; }
  .info { font-size: 14.5px; color: #33608F; background: var(--blue-50); border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
  .info:empty { display: none; }
  .suggest { font-size: 14.5px; color: var(--text); margin-top: 8px; }
  .suggest button { margin-left: 4px; }
  .ok-msg { color: var(--green); font-size: 14.5px; margin-top: 8px; font-weight: 700; }
  .ok-msg:empty { display: none; }

  /* password meter + checklist */
  .meter { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
  .meter .segs { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .meter .segs i { height: 5px; border-radius: 4px; background: #E3EEF6; transition: background .2s; }
  .meter .lvl { font-size: 13.5px; font-weight: 700; color: var(--muted); min-width: 84px; text-align: right; }
  .meter[data-level="1"] .segs i:nth-child(-n+1) { background: var(--red); }
  .meter[data-level="2"] .segs i:nth-child(-n+2) { background: var(--amber); }
  .meter[data-level="3"] .segs i:nth-child(-n+3) { background: #2f9a5c; }
  .meter[data-level="4"] .segs i { background: var(--green); }
  .meter[data-level="1"] .lvl { color: var(--red); } .meter[data-level="2"] .lvl { color: #9a5d06; } .meter[data-level="3"] .lvl, .meter[data-level="4"] .lvl { color: var(--green); }
  .pw-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; font-size: 14px; color: var(--muted); }
  .pw-list li { display: flex; align-items: center; gap: 8px; }
  .pw-list li .dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #BFD8EC; display: grid; place-items: center; flex: none; }
  .pw-list li .dot svg { width: 10px; height: 10px; stroke-width: 3.4; display: none; color: #fff; }
  .pw-list li.ok { color: var(--green); font-weight: 600; }
  .pw-list li.ok .dot { background: var(--green); border-color: var(--green); }
  .pw-list li.ok .dot svg { display: block; }

  /* checkbox */
  .check { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--text); cursor: pointer; }
  .check input { appearance: none; -webkit-appearance: none; margin: 1px 0 0; width: 22px; height: 22px; border: 1.5px solid #93A2B4; border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; flex: none; transition: background .15s, border-color .15s; }
  .check input::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
  .check input:checked { background: var(--blue); border-color: var(--blue); }
  .check input:checked::after { opacity: 1; }
  .check input.invalid { border-color: var(--red); }

  /* chips & tiles (radio groups) */
  .chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
  .chip { position: relative; display: inline-flex; }
  .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
  .chip .face { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s, color .15s, box-shadow .15s; user-select: none; }
  .chip .face:hover { border-color: #BFD8EC; background: #F7FAFD; }
  .chip .face .ck { width: 16px; height: 16px; stroke-width: 3; display: none; }
  .chip input:checked + .face { border-color: var(--blue); background: var(--blue-50); color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue); }
  .chip input:checked + .face .ck { display: block; }
  .chip input:focus-visible + .face { box-shadow: inset 0 0 0 1px var(--blue), var(--ring); }
  .chips.invalid .face { border-color: var(--red); }
  .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .tiles .chip { display: flex; }
  .tiles .chip .face { width: 100%; min-height: 92px; flex-direction: column; justify-content: center; gap: 8px; border-radius: 14px; padding: 12px 8px; text-align: center; line-height: 1.25; }
  .tiles .chip .face svg.i { width: 26px; height: 26px; color: var(--blue); }
  .tiles .chip .face .ck { position: absolute; top: 10px; right: 10px; }
  @container (max-width: 480px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  /* ---------- buttons ---------- */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent; font: 700 16px var(--display); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s, transform .05s; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 4px 12px rgba(77,141,196,.35); }
  .btn-primary:hover { background: var(--blue-600); }
  .btn-primary:disabled { opacity: .7; cursor: wait; }
  .btn-ghost { background: #fff; border-color: var(--border); color: var(--ink); }
  .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
  .btn svg.i { width: 18px; height: 18px; stroke-width: 2.2; }
  .link { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(60,74,92,.3); text-underline-offset: 3px; border-radius: 4px; }
  .link:hover { text-decoration-color: currentColor; }
  .actions { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s4); }
  .actions .btn-primary { flex: 1; }
  .back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 4px; color: var(--muted); font-weight: 700; cursor: pointer; border-radius: 8px; }
  .back:hover { color: var(--ink); }
  .back svg { width: 18px; height: 18px; stroke-width: 2.2; }
  .below { text-align: center; margin: var(--s3) auto 0; font-size: 14px; color: var(--muted); }
  .below .link { color: var(--muted); font-weight: 600; }

  /* ---------- step 2: code ---------- */
  .demo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px dashed #d4a300; background: #fff8dc; color: #5a4300; border-radius: 12px; padding: 12px 16px; margin: 0 0 var(--s3); font-size: 15px; }
  .demo .tag { background: #7a5c00; color: #fff; font: 800 11px/1 var(--display); letter-spacing: .08em; padding: 5px 8px; border-radius: 5px; }
  .demo code { font: 700 19px ui-monospace, Consolas, 'Courier New', monospace; letter-spacing: 3px; color: #3a2c00; }
  .demo .link { color: #6b5000; text-decoration-color: rgba(107,80,0,.4); }
  .otp { display: flex; gap: 10px; }
  .otp input { flex: 1 1 0; min-width: 0; max-width: 58px; height: 62px; text-align: center; border: 1px solid var(--border); border-radius: 12px; font: 800 26px var(--display); color: var(--ink); background: #fff; outline: none; padding: 0; transition: border-color .15s, box-shadow .15s; }
  .otp input:nth-child(3) { margin-right: 10px; }
  .otp input:focus { border-color: var(--blue); box-shadow: var(--ring); }
  .otp input.filled { border-color: #BFD8EC; background: #F7FAFD; }
  .otp.invalid input { border-color: var(--red); background: #fffafa; }
  .otp.shake { animation: shake .35s; }
  @keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
  .code-status { margin-top: 10px; font-size: 14.5px; color: var(--muted); min-height: 1px; }
  .code-status:empty { display: none; }
  .resend { margin-top: var(--s3); font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 24px; }
  .resend .wait { font-variant-numeric: tabular-nums; }
  .note { font-size: 14px; color: var(--muted); margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--line); }
  .currency-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 8px; }
  .currency-note svg { width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }

  /* ---------- step 5: setup ---------- */
  .setup-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: var(--s4); align-items: start; }
  @container (max-width: 660px) { .setup-grid { grid-template-columns: 1fr; gap: 0; } .preview { order: -1; position: static !important; margin-bottom: var(--s3); } }
  .preview { position: sticky; top: var(--s3); border: 1px solid var(--line); border-radius: 16px; padding: var(--s3) 20px; background: linear-gradient(180deg, #F1F7FB, #fff 55%); }
  .preview .plabel { font: 700 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
  .pv-top { display: flex; align-items: center; gap: 14px; }
  .avatar { width: 60px; height: 60px; border-radius: 14px; background: #3C4A5C; color: #fff; display: grid; place-items: center; font: 800 22px var(--display); flex: none; overflow: hidden; }
  .avatar img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
  .pv-name { font: 800 17px/1.25 var(--display); color: var(--ink); word-break: break-word; }
  .pv-name.empty { color: #8c98a8; font-weight: 700; }
  .pv-code { display: inline-block; margin-top: 4px; font: 700 12.5px var(--display); letter-spacing: .06em; color: var(--blue-700); background: #DDEBF5; border-radius: 6px; padding: 2px 8px; }
  .pv-rows { list-style: none; margin: var(--s2) 0 0; padding: var(--s2) 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
  .pv-rows li { display: flex; justify-content: space-between; gap: 8px; }
  .pv-rows span { color: var(--muted); }
  .pv-rows b { color: var(--ink); text-align: right; font-weight: 700; }
  .code-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: 14px; color: var(--muted); }
  .auto-tag { font: 700 11.5px var(--display); color: var(--green); background: var(--green-50); border-radius: 6px; padding: 2px 8px; }
  #schoolCode { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
  #schoolCode::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
  .presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
  .presets .chip .face { min-height: 36px; padding: 0 14px; font-size: 14px; }
  .year-sum { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14.5px; color: var(--text); }
  .year-sum b { color: var(--ink); }
  .year-sum svg { width: 18px; height: 18px; color: var(--blue); }
  .drop { display: flex; align-items: center; gap: var(--s2); border: 1.5px dashed #C3DBEE; border-radius: 14px; padding: var(--s2); background: #F7FAFD; cursor: pointer; transition: border-color .15s, background .15s; }
  .drop:hover, .drop.over { border-color: var(--blue); background: var(--blue-50); }
  .drop:focus-within { border-color: var(--blue); box-shadow: var(--ring); }
  .drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .drop .thumb { width: 56px; height: 56px; border-radius: 12px; background: #F1F7FB; color: var(--blue); display: grid; place-items: center; flex: none; overflow: hidden; }
  .drop .thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
  .drop .thumb svg { width: 26px; height: 26px; }
  .drop .dt { font-size: 15px; color: var(--text); min-width: 0; }
  .drop .dt b { color: var(--ink); word-break: break-all; }
  .drop .dt u { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
  .drop .dt small { display: block; color: var(--muted); font-size: 13.5px; }
  .logo-actions { margin-top: 8px; font-size: 14px; }
  .section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: var(--s2) 0 var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); }
  .section-title h3 { margin: 0; font-size: 19px; font-weight: 800; }
  .section-title span { font-size: 14px; color: var(--muted); }

  /* plans */
  .plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 12px; }
  @container (min-width: 760px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @container (max-width: 460px) { .plans { grid-template-columns: 1fr; } .plans .pfeat { display: flex; flex-wrap: wrap; gap: 4px 16px; } .plans .pprice small { display: inline; } }
  .plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; padding: 22px 16px 16px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
  .plan:hover { border-color: #BFD8EC; }
  .plan input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .plan.sel { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue), 0 8px 22px rgba(77,141,196,.18); background: linear-gradient(180deg, #F7FAFD, #fff 45%); }
  .plan.focus { box-shadow: inset 0 0 0 1px var(--blue), var(--ring); }
  .plan.popular:not(.sel) { border-color: #BFD8EC; }
  .ribbon { position: absolute; top: -12px; left: 14px; background: var(--blue); color: #fff; font: 800 11.5px/1 var(--display); letter-spacing: .03em; padding: 6px 10px; border-radius: 999px; }
  .phead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .pname { font: 800 17px var(--display); color: var(--ink); }
  .pdot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #BFD8EC; flex: none; background: #fff; transition: border .15s; }
  .plan.sel .pdot { border: 6px solid var(--blue); }
  .pprice { display: block; margin-top: 12px; font: 800 24px/1.1 var(--display); color: var(--ink); letter-spacing: -.3px; }
  .pprice small { display: block; margin-top: 2px; font: 600 14px var(--body); color: var(--muted); letter-spacing: 0; }
  .pmonth { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; min-height: 21px; }
  .pfeat { display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
  .pfeat > span { display: flex; align-items: center; gap: 8px; }
  .pfeat svg { width: 16px; height: 16px; color: var(--green); stroke-width: 2.8; }
  .pfit { display: inline-flex; align-self: flex-start; margin-top: 12px; font: 700 12px var(--display); color: var(--green); background: var(--green-50); border-radius: 6px; padding: 3px 8px; }

  /* order summary */
  .order { margin-top: var(--s3); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; z-index: 5; }
  .mini-order { position: sticky; bottom: 16px; z-index: 6; margin-top: var(--s3); display: flex; align-items: center; gap: var(--s2); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 10px 18px; box-shadow: 0 14px 40px rgba(15,35,64,.18); }
  .mini-order .mo-text { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); }
  .mini-order .mo-text b { color: var(--ink); font: 800 15px var(--display); }
  .mini-order .mo-total { font: 800 20px var(--display); color: var(--ink); white-space: nowrap; }
  .mini-order .btn { height: 44px; padding: 0 18px; font-size: 15px; }
  @media (max-width: 600px) {
    .mini-order { bottom: 8px; padding: 8px 8px 8px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 0; }
    .mini-order .mo-text { grid-column: 1; grid-row: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mini-order .mo-text br, .mini-order .mo-dates, #miniReview { display: none; }
    .mini-order .mo-total { grid-column: 1; grid-row: 2; font-size: 17px; }
    .mini-order .btn { grid-column: 2; grid-row: 1 / span 2; }
  }
  .order-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px var(--s3); align-items: center; }
  .order-plan { font-size: 15px; color: var(--muted); }
  .order-plan b { color: var(--ink); font: 800 16px var(--display); }
  .order-dates { font-size: 14px; color: var(--muted); margin-top: 2px; }
  .order-disc { font-size: 14px; color: var(--green); font-weight: 700; margin-top: 2px; }
  .order-total { text-align: right; }
  .order-total span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
  .order-total b { font: 800 26px/1.1 var(--display); color: var(--ink); white-space: nowrap; }
  .promo-area { margin-top: 10px; font-size: 15px; }
  .promo { display: flex; gap: 8px; margin-top: 10px; }
  .promo .in { text-transform: uppercase; padding-right: 14px; height: 46px; }
  .promo .btn { height: 46px; padding: 0 18px; }
  .order .actions { margin-top: var(--s2); }

  /* ---------- success ---------- */
  .done-hero { text-align: center; margin-bottom: var(--s3); }
  .done-check { width: 76px; height: 76px; display: block; margin: 0 auto var(--s2); }
  .done-check .c { fill: var(--green-50); stroke: #9fd5b5; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
  .done-check .p { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 0; }
  .anim .done-check .c { animation: pop .45s ease-out both; }
  .anim .done-check .p { animation: draw .5s .25s ease-out both; }
  @keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  @keyframes draw { from { stroke-dashoffset: 48; } to { stroke-dashoffset: 0; } }
  .done-hero h2 { margin: 0 0 6px; font-size: 28px; font-weight: 800; letter-spacing: -.3px; }
  .done-sub { font-size: 17px; color: var(--muted); }
  .done-sub b { color: var(--ink); }
  .summary { margin: 0 0 var(--s3); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
  .summary div { display: flex; justify-content: space-between; gap: var(--s2); padding: 10px 0; border-bottom: 1px solid #EEF4F9; font-size: 15px; }
  .summary div:last-child { border-bottom: 0; }
  .summary dt { color: var(--muted); }
  .summary dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }
  .summary .due dd { color: #8c2219; font-size: 17px; font-family: var(--display); }
  .done h3 { font-size: 17px; margin: 0 0 8px; }
  .next { list-style: none; margin: 0 0 var(--s3); padding: 0; }
  .next li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
  .next li:first-child { border-top: 0; }
  .next .ni { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
  .next b { display: block; color: var(--ink); font-family: var(--display); }
  .next span.t { font-size: 14.5px; color: var(--muted); }
  .done-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .done-actions .btn-primary { flex: 1 1 220px; }
  .done-actions .btn-ghost { flex: 0 1 auto; }
  .done .small { font-size: 14px; color: var(--muted); margin-top: var(--s2); }

  /* ---------- modal + toast ---------- */
  .overlay { position: fixed; inset: 0; background: rgba(10, 25, 45, .5); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
  .overlay.open { display: flex; }
  .modal { background: #fff; border-radius: 16px; max-width: 420px; width: 100%; padding: var(--s3); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
  .modal h3 { margin: 0 0 8px; font-size: 19px; }
  .modal p { margin: 0 0 var(--s3); color: var(--muted); font-size: 15px; }
  .modal .btns { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
  .modal .btn { height: 44px; padding: 0 18px; font-size: 15px; }
  .btn-danger { background: var(--red); color: #fff; }
  .btn-danger:hover { background: #9c271f; }
  .toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: #13203a; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

  /* ---------- responsive ---------- */
  @media (max-width: 1180px) { :where(html:not(.fit)) .brand-panel { padding: var(--s4) var(--s5); } :where(html:not(.fit)) .quote { display: none; }
  }
  @media (max-width: 960px) {
    .shell { grid-template-columns: minmax(0, 1fr); }
    .brand-panel { position: relative; height: auto; overflow: visible; padding: 16px 16px 20px; gap: 12px; }
    .brand-mark { width: 38px; height: 38px; border-radius: 10px; }
    .brand-mark svg { width: 28px; height: 28px; }
    .wordmark { font-size: 21px; }
    .brand-body { gap: 8px; max-width: none; }
    .eyebrow, .lede, .benefits, .quote { display: none; }
    .hero { font-size: 22px; }
    .trust { font-size: 13.5px; gap: 4px 12px; }
    .topnav { position: absolute; top: 16px; right: 16px; padding: 0; height: 38px; gap: 14px; font-size: 14.5px; z-index: 2; }
    .topnav .ask { display: none; }
    .topnav a { color: #fff; }
    .topnav .contact { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; padding: 6px 12px; }
    .form-wrap { padding: var(--s3) var(--s2) var(--s5); }
    .footer { padding: var(--s2); }
  }
  @media (max-width: 600px) {
    .card { padding: var(--s3) 20px; border-radius: 16px; }
    .row2 { grid-template-columns: 1fr; }
    .step-head { margin-bottom: var(--s3); }
    .step-head h2 { font-size: 22px; }
    .pw-list { grid-template-columns: 1fr 1fr; }
    .actions { gap: var(--s2); }
    .order-total b { font-size: 22px; }
    .done-hero h2 { font-size: 24px; }
    .progress-head { font-size: 13.5px; }
  }
  @media (max-width: 380px) {
    .card { padding: 20px 16px; }
    .otp { gap: 6px; }
    .otp input:nth-child(3) { margin-right: 6px; }
    .otp input { height: 54px; font-size: 22px; }
    .pw-list { grid-template-columns: 1fr; }
    .chip .face { padding: 0 14px; }
    .topnav .contact { display: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  }

  /* ======================================================================
     School Management v2 theme: "Calm, clear, ready." moodboard + its sign-in scene
     Sky mist ground, Cloud / Rain blues, Slate text, one Spark orange hint. Nunito.
     ====================================================================== */
  @property --lg-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
  :root {
    --canvas: #F1F7FB; --cloud: #DDEBF5; --rain: #D3E6F3; --rain-2: #C3DBEE; --slate: #3C4A5C;
    --spark: #F26B21; --spark-soft: #FEE7D9; --spark-text: #B4470E; --label: #6A7A8E;
  }
  body { background: #EEF5FB; font-size: 14.5px; color: var(--text); --mx: 50%; --my: 40%; --px: 0; --py: 0; }
  h1, h2, h3 { color: var(--slate); }
  ::selection { background: var(--rain); }
  :focus-visible { outline: 2px solid #8DB8DA; outline-offset: 2px; }
  a, .link { color: var(--slate); }
  .link { text-decoration: none; background-image: linear-gradient(var(--spark), var(--spark)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
  .link:hover { background-size: 100% 2px; }

  /* sky background: drifting blobs, a spark glow, faint dots, cursor spotlight */
  .lg-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
  .lg-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; will-change: transform; }
  .lg-blob.b1 { width: 620px; height: 620px; left: -140px; top: -160px; background: #C9E1F5; animation: lg-drift1 22s ease-in-out infinite alternate; }
  .lg-blob.b2 { width: 520px; height: 520px; right: -120px; top: 10%; background: #D7E9F6; animation: lg-drift2 26s ease-in-out infinite alternate; }
  .lg-blob.b3 { width: 560px; height: 560px; left: 30%; bottom: -260px; background: #B9D8F1; animation: lg-drift3 24s ease-in-out infinite alternate; }
  .lg-blob.b4 { width: 260px; height: 260px; left: 26%; top: 22%; background: rgba(242,107,33,.26); filter: blur(80px); animation: lg-drift4 18s ease-in-out infinite alternate; }
  @keyframes lg-drift1 { to { transform: translate(160px,120px) scale(1.15); } }
  @keyframes lg-drift2 { to { transform: translate(-140px,160px) scale(.9); } }
  @keyframes lg-drift3 { to { transform: translate(-180px,-120px) scale(1.1); } }
  @keyframes lg-drift4 { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(120px,80px) scale(1.3); } 100% { transform: translate(-60px,160px) scale(.9); } }
  .lg-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(60,74,92,.13) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, #000 20%, transparent 75%); }
  .lg-spot { position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.75), transparent 60%); }

  /* layout: sign-in style stage, the form floats as a glass card */
  .shell { position: relative; z-index: 1; grid-template-columns: minmax(0, 1fr) clamp(600px, 50vw, 760px); max-width: 1440px; margin: 0 auto; }
  .brand-panel { background: none; color: var(--slate); padding: 30px clamp(28px, 3.6vw, 56px) 24px; gap: 0; }

  /* crest: slate tile with the orange spark */
  .crest { position: relative; width: 40px; height: 40px; border-radius: 12px; background: var(--slate); color: #fff; display: grid; place-items: center; font: 900 17px var(--display); flex: none; box-shadow: 0 0 0 6px rgba(255,255,255,.6), 0 10px 24px -8px rgba(60,74,92,.5); }
  .crest::after { content: ""; position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--spark); border: 2px solid #fff; }
  .sk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; animation: lg-in .7s .05s both; }
  .sk-mark { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--slate); }
  .sk-mark b { display: block; font-size: 15px; font-weight: 800; }
  .sk-mark small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
  .lg-status { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 999px; background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(10px); font-size: 12px; font-weight: 700; color: var(--slate); white-space: nowrap; }
  .lg-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--spark); }
  .lg-pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--spark); animation: lg-ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
  @keyframes lg-ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

  /* hero */
  .sk-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 28px 0 10px; }
  .sk-hero h2 { margin: 0; font-size: clamp(40px, 4.2vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -.045em; animation: lg-in .8s .15s both; }
  .sk-hero h2 em { font-style: normal; position: relative; background: linear-gradient(100deg, #F26B21 10%, #FF9A5C 45%, #F26B21 80%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lg-shine 5s linear infinite; }
  .sk-hero h2 em::after { content: ""; position: absolute; left: 2px; right: 6px; bottom: -6px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(242,107,33,0), rgba(242,107,33,.55), rgba(242,107,33,0)); filter: blur(3px); animation: lg-glow 3s ease-in-out infinite; }
  @keyframes lg-shine { to { background-position: -200% center; } }
  @keyframes lg-glow { 50% { opacity: .35; transform: scaleX(.85); } }
  .sk-hero p { margin: 16px 0 0; max-width: 42ch; font-size: 15px; line-height: 1.65; color: var(--muted); animation: lg-in .8s .25s both; }
  .lg-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; animation: lg-in .8s .35s both; }
  .lg-pills span { height: 30px; padding: 0 13px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 700; color: var(--slate); box-shadow: 0 6px 16px -10px rgba(60,74,92,.35); }

  /* floating glass cards (from the School Management sign-in) */
  .lg-cards { position: relative; height: 300px; margin-top: 30px; }
  .glass { background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(45,70,100,.45), 0 2px 6px rgba(45,70,100,.06); }
  .lg-card { position: absolute; padding: 16px 18px; transform: translate(calc(var(--px) * var(--d) * 1px), calc(var(--py) * var(--d) * 1px)); transition: transform .25s ease-out; }
  .lg-card > .inner { animation: lg-float 6s ease-in-out infinite; }
  @keyframes lg-float { 50% { transform: translateY(-10px); } }
  .lg-class { left: 0; top: 0; width: 300px; --d: -14; animation: lg-pop .8s .45s both; }
  .lg-class .hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
  .lg-class .hd b { font-size: 17px; font-weight: 800; } .lg-class .hd small { font-size: 11.5px; color: var(--muted); }
  .lg-class .ln { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-top: 1px solid rgba(221,235,245,.9); }
  .lg-class .ln.hot { margin: 0 -8px; padding: 8px; border-radius: 10px; border-color: transparent; background: rgba(241,247,251,.95); font-weight: 800; }
  .lg-class .ln.hot span:first-child::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--spark); margin-right: 8px; box-shadow: 0 0 0 4px rgba(242,107,33,.15), 0 0 12px rgba(242,107,33,.7); vertical-align: 1px; }
  .lg-class .bt { display: flex; gap: 6px; margin-top: 10px; }
  .lg-class .bt span { height: 28px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 8px; font-size: 11.5px; font-weight: 800; background: #D3E6F3; }
  .lg-class .bt span + span { background: #fff; border: 1px solid #DDEBF5; font-weight: 700; }
  .lg-ring { left: 322px; top: 36px; width: 170px; --d: 22; text-align: center; animation: lg-pop .8s .6s both; }
  .lg-ring .inner { animation-delay: -2s; }
  .lg-ring svg { width: 96px; height: 96px; display: block; margin: 2px auto 6px; overflow: visible; }
  .lg-ring .trk { fill: none; stroke: #E3EEF6; stroke-width: 9; }
  .lg-ring .val { fill: none; stroke: url(#lg-grad); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 251.3; stroke-dashoffset: 251.3; transform: rotate(-90deg); transform-origin: 50% 50%; animation: lg-draw 1.8s .9s cubic-bezier(.2,.8,.2,1) forwards; filter: drop-shadow(0 0 6px rgba(141,184,218,.9)); }
  @keyframes lg-draw { to { stroke-dashoffset: 16.6; } }
  .lg-ring .num { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
  .lg-ring small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; font-weight: 600; }
  .lg-pay { left: 120px; top: 214px; --d: 10; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; animation: lg-pop .8s .8s both; }
  .lg-pay .inner { display: flex; align-items: center; gap: 10px; animation-delay: -4s; }
  .lg-pay i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #E4F3EA; color: #2C7650; font-style: normal; font-weight: 900; }
  .lg-pay b { display: block; font-size: 12.5px; font-weight: 800; } .lg-pay small { display: block; font-size: 11px; color: var(--muted); }
  @keyframes lg-pop { from { opacity: 0; translate: 0 24px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
  .lg-bars { position: absolute; left: 0; bottom: -26px; display: flex; align-items: flex-end; gap: 8px; height: 70px; opacity: .9; }
  .lg-bars i { display: block; width: 2px; height: 100%; border-radius: 2px; background: #AFCFE9; transform-origin: bottom; animation: lg-eq 2.4s ease-in-out infinite alternate; }
  .lg-bars i:nth-child(3n) { animation-duration: 1.8s; } .lg-bars i:nth-child(4n) { animation-duration: 3s; } .lg-bars i:nth-child(5n) { animation-duration: 2.1s; }
  .lg-bars i.s { background: var(--spark); box-shadow: 0 0 10px rgba(242,107,33,.9), 0 0 22px rgba(242,107,33,.5); }
  @keyframes lg-eq { 0% { transform: scaleY(.35); } 100% { transform: scaleY(1); } }
  @keyframes lg-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .sk-by { font-size: 11.5px; color: var(--muted); font-weight: 600; padding-top: 14px; }

  /* the form: a glass card with a slowly rotating glowing edge */
  .form-side { position: relative; margin: 16px 16px 16px 0; min-height: calc(100vh / var(--z, 1) - 32px); border-radius: 24px; background: rgba(255,255,255,.82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 40px 80px -30px rgba(45,70,100,.45), inset 0 1px 0 rgba(255,255,255,.9); animation: lg-in .9s .2s both; }
  .form-side::before { content: ""; position: absolute; inset: -1.5px; border-radius: 26px; padding: 1.5px; background: conic-gradient(from var(--lg-a), rgba(211,230,243,.2), #9FC6E6, rgba(255,255,255,.9), #F26B21, rgba(211,230,243,.2) 60%, #9FC6E6, rgba(211,230,243,.2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: lg-spin 7s linear infinite; opacity: .9; pointer-events: none; }
  @keyframes lg-spin { to { --lg-a: 360deg; } }
  .topnav { padding: 20px 30px 0; font-size: 13px; color: var(--muted); }
  .topnav a { color: var(--slate); font-weight: 800; }
  .topnav .contact { background: rgba(255,255,255,.85); border: 1px solid var(--cloud); color: var(--slate); font-weight: 700; }
  .topnav .contact:hover { background: var(--canvas); border-color: #BFD8EC; color: var(--slate); }
  .form-wrap { padding: 18px 30px 32px; }
  .form-col, .form-col.wide { max-width: 640px; }
  .footer { border-top-color: var(--line); font-size: 12.5px; color: var(--muted); }
  .footer a { color: var(--muted); } .footer a:hover { color: var(--slate); }
  .card { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
  .step-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.025em; }
  .step-head .why { font-size: 14px; color: var(--muted); }
  .banner { background: var(--canvas); border-color: var(--cloud); color: var(--slate); }

  /* progress + stepper */
  .progress-head { font-size: 12.5px; color: var(--muted); }
  .progress-head b { color: var(--slate); font-weight: 800; }
  .bar { height: 5px; background: #EAF3FA; }
  .bar span { background: linear-gradient(90deg, #9FC6E6, #5E97C8); box-shadow: 0 0 10px rgba(141,184,218,.8); }
  .steps .num { position: relative; border: 1.5px solid var(--cloud); font-family: var(--display); font-weight: 800; color: var(--muted); }
  .steps .name { font: 700 12.5px/1.3 var(--body); color: var(--muted); }
  .steps .desc { font-size: 11.5px; color: #93A2B4; }
  .steps li.current .num { background: var(--slate); border-color: var(--slate); color: #fff; box-shadow: 0 0 0 4px rgba(211,230,243,.9); }
  .steps li.current .num::after { content: ""; position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--spark); border: 2px solid #fff; }
  .steps li.current .name { color: var(--slate); }
  .steps li.done .num { background: var(--rain); border-color: var(--rain); color: var(--slate); }
  .steps li.done .name { color: var(--text); }
  .steps li.clickable button:hover { background: var(--canvas); }
  .steps li.clickable button:hover .name { color: var(--slate); }
  .saved { color: var(--green); }

  /* fields (moodboard forms) */
  .lbl { font: 700 13px/1.3 var(--body); color: var(--slate); }
  .lbl .opt { font-weight: 600; color: var(--muted); font-size: 12.5px; }
  .in, select.in { height: 46px; border: 1.5px solid var(--cloud); border-radius: 13px; background: rgba(255,255,255,.9); font-size: 14px; transition: border-color .2s, box-shadow .25s, transform .2s; }
  .in:hover { border-color: #BFD8EC; }
  .in:focus { border-color: #8DB8DA; box-shadow: 0 0 0 4px rgba(211,230,243,.9), 0 10px 26px -12px rgba(77,141,196,.6); transform: translateY(-1px); }
  .tick-ico, .chev { top: 13px; }
  .prefix { background: var(--canvas); border-right-color: var(--cloud); border-radius: 12px 0 0 12px; }
  .eye { color: var(--slate); }
  .eye:hover { background: var(--cloud); }
  .info { background: #E8F2FA; color: var(--slate); }
  .hint, .currency-note { font-size: 13px; }
  .currency-note svg, .year-sum svg { color: #5E97C8; }
  .field { margin-bottom: 20px; }
  .check input { border: 1.5px solid #BFD8EC; border-radius: 6px; }
  .check input:checked { background: var(--slate); border-color: var(--slate); }

  /* choices: Rain for the chosen one, with the spark dot */
  .chip .face { border: 1.5px solid var(--cloud); background: rgba(255,255,255,.85); font-weight: 700; font-size: 14px; color: var(--text); }
  .chip .face:hover { border-color: #BFD8EC; background: #fff; transform: translateY(-1px); box-shadow: 0 8px 16px -10px rgba(60,74,92,.5); }
  .chip input:checked + .face { background: var(--rain); border-color: var(--rain); color: var(--slate); box-shadow: 0 0 0 3px rgba(211,230,243,.6), 0 8px 18px -10px rgba(77,141,196,.9); }
  .chip input:checked + .face .ck { display: none; }
  .chip input:checked + .face::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 8px rgba(242,107,33,.8); flex: none; }
  .tiles .chip input:checked + .face::before { position: absolute; top: 10px; right: 10px; }
  .tiles .chip .face svg.i { color: var(--slate); }
  .chip input:focus-visible + .face { box-shadow: 0 0 0 4px rgba(211,230,243,.95); }

  /* buttons: Rain gradient with a sheen, slate text */
  .btn { border-radius: 14px; font-family: var(--display); }
  .btn-primary { position: relative; overflow: hidden; background: linear-gradient(135deg, #D3E6F3, #BBD8EE); color: var(--slate); font-weight: 800; box-shadow: 0 14px 30px -14px rgba(77,141,196,.9), inset 0 1px 0 rgba(255,255,255,.8); transition: transform .2s, box-shadow .25s; }
  .btn-primary::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent); transform: skewX(-20deg); transition: left .7s; }
  .btn-primary:hover { background: linear-gradient(135deg, #D3E6F3, #BBD8EE); transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(77,141,196,1), 0 0 0 4px rgba(211,230,243,.7), inset 0 1px 0 rgba(255,255,255,.8); }
  .btn-primary:hover::before { left: 120%; }
  .btn-ghost { background: #fff; border: 1px solid var(--rain); color: var(--slate); font-weight: 700; }
  .btn-ghost:hover { background: var(--canvas); border-color: #BFD8EC; color: var(--slate); }
  .back { color: var(--muted); }
  .back:hover { color: var(--slate); }

  /* code step */
  .otp input { border: 1.5px solid var(--cloud); border-radius: 13px; font-family: var(--display); font-weight: 800; color: var(--slate); background: rgba(255,255,255,.9); }
  .otp input:focus { border-color: #8DB8DA; box-shadow: 0 0 0 4px rgba(211,230,243,.9); }
  .otp input.filled { border-color: #BFD8EC; background: var(--canvas); }

  /* setup + plans */
  .preview { background: linear-gradient(180deg, #F1F7FB, #fff 60%); border-color: var(--cloud); }
  .preview .plabel, .section-title span { font: 800 10.5px var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--label); }
  .section-title span { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }
  .avatar { background: var(--slate); }
  .pv-code { background: var(--cloud); color: var(--slate); }
  .drop { border: 1.5px dashed #BFD8EC; background: rgba(255,255,255,.7); }
  .drop:hover, .drop.over { border-color: #8DB8DA; background: var(--canvas); }
  .drop .thumb { background: var(--canvas); color: var(--slate); }
  .plan { border: 1.5px solid var(--cloud); border-radius: 16px; background: rgba(255,255,255,.88); }
  .plan:hover { border-color: #BFD8EC; transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(60,74,92,.45); }
  .plan.sel { border-color: #8DB8DA; background: linear-gradient(180deg, #F1F7FB, #fff 55%); box-shadow: 0 0 0 4px rgba(211,230,243,.8), 0 18px 36px -18px rgba(77,141,196,.7); }
  .plan.focus { box-shadow: 0 0 0 4px rgba(211,230,243,.95); }
  .plan.popular:not(.sel) { border-color: #BFD8EC; }
  .ribbon { background: var(--slate); color: #fff; display: inline-flex; align-items: center; gap: 6px; }
  .ribbon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--spark); }
  .plan.sel .pdot { border-color: var(--slate); }
  .pname, .pprice { font-weight: 800; color: var(--slate); }
  .pfeat svg { color: #5E97C8; }
  .order, .mini-order { border-color: var(--cloud); background: rgba(255,255,255,.92); }

  /* done */
  .done-check .c { fill: var(--canvas); stroke: #BFD8EC; }
  .done-check .p { stroke: var(--slate); }
  /* the stroke-draw tick could end up invisible when the screen was hidden as it started; pop it in instead */
  .done-check .p { stroke-dasharray: none; transform-box: fill-box; transform-origin: center; }
  .anim .done-check .p { animation: tickpop .45s .3s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes tickpop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
  .done-hero h2 { font-weight: 800; letter-spacing: -.025em; }
  .next .ni { background: var(--canvas); color: var(--slate); }
  .summary { border-color: var(--cloud); }
  .demo { background: #FFF6EF; border-color: #F6C3A3; color: var(--spark-text); }
  .demo .tag { background: var(--spark-text); }
  .demo code { color: var(--slate); }
  .demo .link { color: var(--spark-text); }
  .toast { background: var(--slate); }
  .modal { border-radius: 20px; }
  .step:focus, .step:focus-visible { outline: none; }
  /* ---------- screen preview bar ---------- */


  /* responsive */
  @media (max-width: 1280px) { :where(html:not(.fit)) .lg-cards { zoom: .82; } }
  @media (max-height: 820px) { :where(html:not(.fit)) .lg-cards { zoom: .82; margin-top: 22px; } :where(html:not(.fit)) .sk-hero h2 { font-size: clamp(36px, 3.6vw, 50px); } }
  @media (max-height: 700px) { :where(html:not(.fit)) .lg-cards { zoom: .68; } :where(html:not(.fit)) .sk-hero p { font-size: 14px; } }
  @media (max-width: 1180px) { :where(html:not(.fit)) .shell { grid-template-columns: minmax(0, 1fr) minmax(520px, 58%); } }
  @media (max-width: 960px) {
    .shell { grid-template-columns: minmax(0, 1fr); }
    .brand-panel { position: relative; height: auto; padding: 16px 16px 4px; }
    .lg-status, .sk-hero p, .lg-pills, .lg-cards, .sk-by { display: none; }
    .sk-hero { padding: 14px 0 6px; } .sk-hero h2 { font-size: 30px; }
    .crest { width: 36px; height: 36px; }
    .form-side { margin: 8px; min-height: 0; border-radius: 20px; }
    .topnav { position: static; padding: 14px 16px 0; justify-content: flex-end; }
    .topnav .ask { display: inline; }
    .topnav a { color: var(--slate); }
    .topnav .contact { background: rgba(255,255,255,.85); border-color: var(--cloud); color: var(--slate); }
    .form-wrap { padding: 20px 16px 32px; }
  }
  @media (prefers-reduced-motion: reduce) { .lg-bg *, .lg-card, .lg-card *, .form-side::before { animation: none !important; } .lg-ring .val { stroke-dashoffset: 16.6; } }

  /* preview bar in the moodboard style */
  /* preview bar sits in the bottom-left corner of the sky side, clear of the form */

  /* module showcase on the sky side: glass tiles, gentle float, parallax with the cursor */
  .mods { margin-top: 26px; max-width: 640px; animation: lg-in .8s .35s both; }
  .mods-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--label); }
  .mods-head span:first-child { display: inline-flex; align-items: center; gap: 8px; }
  .mods-head span:first-child::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 4px rgba(242,107,33,.15); }
  .mods-count { height: 22px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.95); letter-spacing: .04em; text-transform: none; font-size: 11.5px; color: var(--slate); }
  .mods-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .mod { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 13px 13px; border-radius: 16px; background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 18px 36px -24px rgba(45,70,100,.5), 0 1px 3px rgba(45,70,100,.05); transform: translate(calc(var(--px) * var(--d) * .6px), calc(var(--py) * var(--d) * .6px)); transition: transform .3s ease-out, background .2s, box-shadow .25s; animation: mod-in .6s calc(.4s + var(--i) * .06s) both; cursor: default; }
  .mod:hover { background: rgba(255,255,255,.92); box-shadow: 0 22px 40px -20px rgba(45,70,100,.55), 0 0 0 3px rgba(211,230,243,.7); transform: translateY(-3px); }
  .mod-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 7px; background: var(--cloud); color: var(--slate); transition: background .2s, color .2s; }
  .mod-ic svg { width: 17px; height: 17px; }
  .mod:hover .mod-ic { background: var(--slate); color: #fff; }
  .mod b { font-size: 13.5px; font-weight: 800; color: var(--slate); line-height: 1.25; }
  .mod small { font-size: 11.5px; line-height: 1.35; color: var(--muted); font-weight: 600; }
  .mod.hot::after { content: ""; position: absolute; top: 12px; right: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 4px rgba(242,107,33,.15), 0 0 12px rgba(242,107,33,.7); }
  @keyframes mod-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
  @media (max-width: 1280px) { :where(html:not(.fit)) .mods-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } :where(html:not(.fit)) .mod:nth-child(n+7) { display: none; } :where(html:not(.fit)) .mods-count { display: none; } }
  @media (max-height: 820px) { :where(html:not(.fit)) .mods { margin-top: 18px; } :where(html:not(.fit)) .mod { padding: 11px 11px 10px; } :where(html:not(.fit)) .mod small { display: none; } :where(html:not(.fit)) .mod-ic { width: 30px; height: 30px; margin-bottom: 5px; } }
  @media (max-height: 700px) { :where(html:not(.fit)) .mod:nth-child(n+5) { display: none; } }
  @media (max-width: 960px) { .mods { display: none; } }
  @media (prefers-reduced-motion: reduce) { .mod { animation: none; transform: none; } }

  html.fit .shell { max-width: none; }