  :root {
    --blue: #004AAD;
    --blue-dark: #0b2d5b;
    --blue-soft: #eaf3ff;
    --navy: #132a46;
    --muted: #5d6b82;
    --text: #1d2a39;
    --border: #dfe7f5;
    --line: rgba(255, 255, 255, 0.18);
    --panel: #ffffff;
    --panel-alt: #f6faff;
    --shadow: 0 20px 48px rgba(10, 36, 76, 0.12);
    --success: #1a9e5a;
    --warning: #ffb224;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f4f8ff;
    color: var(--text);
  }

  a { text-decoration: none; }

  .page-hero {
    background: linear-gradient(135deg, #0a2f6b 0%, #004AAD 45%, #0f6ee8 100%);
    color: #ffffff;
    padding: 52px 24px 84px;
    position: relative;
    overflow: hidden;
  }

  .page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.14), transparent 28%);
    pointer-events: none;
  }

  .hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .breadcrumb {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }

  .breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
  }

  .breadcrumb span {
    opacity: 0.8;
  }

  .page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.05em;
  }

  .page-hero p {
    margin: 0;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.08rem;
    line-height: 1.7;
    opacity: 0.95;
    text-align: center;
  }

  .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
  }

  .btn-white,
  .btn-outline-white,
  .btn-primary,
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
  }

  .btn-white,
  .btn-primary {
    background: #ffffff;
    color: var(--blue);
    box-shadow: 0 10px 24px rgba(6, 28, 67, 0.12);
  }

  .btn-secondary {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: var(--line);
  }

  .btn-outline-white {
    background: transparent;
    border-color: rgba(255,255,255,0.45);
    color: #fff;
  }

  .btn-white:hover,
  .btn-outline-white:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: translateY(-1px);
  }

  .login-shell {
    max-width: 1200px;
    margin: -44px auto 0;
    padding: 0 24px 72px;
    position: relative;
    z-index: 2;
  }

  .login-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
  }

  .login-card,
  .info-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .login-card {
    padding: 32px;
    width: 685px;
  }

  .login-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 6px;
    margin-bottom: 26px;
    background: var(--panel-alt);
    border: 1px solid var(--border);
    border-radius: 14px;
  }

  .login-tab {
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    padding: 12px 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
  }

  .login-tab[aria-selected="true"] {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 4px 12px rgba(10, 36, 76, 0.08);
  }

  .login-tab:focus-visible {
    outline: 3px solid rgba(0, 74, 173, 0.25);
    outline-offset: 2px;
  }

  .login-panel[hidden] {
    display: none;
  }

  .parent-login-message {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel-alt);
    color: var(--muted);
    line-height: 1.7;
  }

  .parent-login-message strong {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
  }

  .info-card {
    padding: 30px 28px;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
  }

  .card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
  }

  .login-card h2 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 2vw, 2.5rem);
    color: var(--navy);
    line-height: 1.2;
  }

  .login-card .subtext {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 1rem;
  }

  .form-group {
    margin-bottom: 20px;
  }

  label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
  }

  input[type="email"],
  input[type="password"] {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  input[type="email"]:focus,
  input[type="password"]:focus {
    outline: none;
    border-color: rgba(0,74,173,0.55);
    box-shadow: 0 0 0 4px rgba(0,74,173,0.12);
  }

  .helper-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 14px;
    color: var(--muted);
  }

  .check-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .check-row input {
    accent-color: var(--blue);
    width: 16px;
    height: 16px;
    margin: 0;
  }

  .helper-row a {
    color: var(--blue);
    font-weight: 700;
  }

  .login-button {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue) 0%, #0f6ee8 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    padding: 16px 20px;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(0,74,173,0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 20px;
  }

  .login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(0,74,173,0.25);
  }

  .meta-line {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
  }

  .meta-line a {
    color: var(--blue);
    font-weight: 700;
  }

  .info-card h3 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(1.5rem, 2vw, 2.1rem);
    line-height: 1.3;
  }

  .info-card p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.7;
  }

  .benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
  }

  .benefits li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
  }

  .benefits li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: rgba(26, 158, 90, 0.12);
    color: var(--success);
    font-weight: 800;
    margin-top: 2px;
  }

  .mini-cta {
    margin-top: 28px;
    display: inline-block;
    color: var(--blue);
    font-weight: 800;
  }

  @media (max-width: 900px) {
    .login-layout {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 560px) {
    .page-hero {
      padding-top: 42px;
      padding-bottom: 70px;
    }

    .login-card,
    .info-card {
      padding: 22px 18px;
    }

    .helper-row {
      flex-direction: column;
      align-items: flex-start;
    }

    .login-shell { padding: 0 12px 48px; margin-top: -34px; }
    .login-tabs { margin-bottom: 20px; }
    .login-tab { padding: 11px 8px; font-size: 13px; }
  }