/* contact.css — Pass-2 page styles (generated by tools/pass2-css.mjs) */

/* ===== folded external sheet: auth.css ===== */
:root {
    --bg: #fbfaf7;
    --bg-elev: #ffffff;
    --bg-sunk: #f3f1ec;
    --ink: #1a1a1a;
    --ink-2: #4a4a4a;
    --ink-3: #8a8780;
    --ink-4: #c4c1b8;
    --line: rgba(20,18,12,0.08);
    --line-2: rgba(20,18,12,0.04);
    --accent: #4f5eed;
    --accent-2: #6b7afa;
    --accent-soft: rgba(79,94,237,0.10);
    --accent-ink: #2b3aa8;
    --ok: #1f8a5a;
    --ok-soft: rgba(31,138,90,0.10);
    --warn: #c97a2b;
    --warn-soft: rgba(201,122,43,0.10);
    --err: #c4543a;
    --err-soft: rgba(196,84,58,0.10);
    --shadow-card: 0 1px 0 rgba(255,255,255,0.7) inset, 0 1px 2px rgba(20,18,12,0.04), 0 8px 20px rgba(20,18,12,0.05);
    --shadow-card-lg: 0 1px 0 rgba(255,255,255,0.7) inset, 0 1px 3px rgba(20,18,12,0.04), 0 20px 50px rgba(20,18,12,0.06);
    --font-display: 'Heebo', system-ui, sans-serif;
    --font-body: 'Heebo', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    background-image:
      radial-gradient(1200px 700px at 90% -10%, rgba(79,94,237,0.07), transparent 60%),
      radial-gradient(900px 500px at -10% 110%, rgba(184,134,43,0.05), transparent 60%);
    background-attachment: fixed;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
  }
  a { color: var(--accent); text-decoration: none; }
  a:hover { text-decoration: underline; }

  /* ── Page layout ── */
  .auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
  @media (max-width: 960px) { .auth { grid-template-columns: 1fr; } }

  /* ── Form side ── */
  .auth-form-side {
    display: flex; flex-direction: column;
    padding: 32px 48px 40px;
    min-height: 100vh;
  }
  @media (max-width: 640px) { .auth-form-side { padding: 24px 20px 32px; } }

  .auth-topbar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 56px;
  }
  .auth-logo {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--ink);
  }
  .auth-logo-mark {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 60%, var(--ok)));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-weight: 700; font-size: 16px;
    box-shadow: 0 4px 12px color-mix(in oklab, var(--accent) 30%, transparent),
                inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
  }
  .auth-logo-mark::after {
    content: ""; position: absolute; inset: 4px;
    border-radius: 6px;
    border: 1.5px solid rgba(255,255,255,0.18);
  }
  .auth-logo-name {
    font-family: var(--font-display); font-size: 17px; font-weight: 700;
    letter-spacing: -0.01em;
  }
  .auth-logo-name span { color: var(--accent); font-weight: 800; }
  .auth-back {
    font-size: 13px; color: var(--ink-3);
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px; border-radius: 8px;
    transition: background .15s ease, color .15s ease;
  }
  .auth-back:hover { background: var(--bg-sunk); color: var(--ink); text-decoration: none; }
  .auth-back svg { width: 13px; height: 13px; }

  .auth-form-wrap {
    flex: 1;
    display: flex; flex-direction: column;
    justify-content: center;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

  .auth-h1 {
    font-family: var(--font-display);
    font-size: 32px; font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    line-height: 1.15;
  }
  .auth-sub {
    font-size: 15px; color: var(--ink-2);
    margin: 0 0 28px;
    line-height: 1.55;
  }
  .auth-sub a { font-weight: 600; }

  /* Google button */
  .auth-google {
    appearance: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%;
    padding: 13px 18px;
    border-radius: 12px;
    border: 0.5px solid var(--line);
    background: var(--bg-elev);
    color: var(--ink);
    font: inherit; font-size: 14.5px; font-weight: 600;
    transition: background .15s ease, border-color .15s ease, transform .12s ease;
    box-shadow: var(--shadow-card);
  }
  .auth-google:hover { background: var(--bg-sunk); border-color: color-mix(in oklab, var(--accent) 20%, var(--line)); }
  .auth-google:active { transform: scale(0.99); }
  .auth-google svg { width: 18px; height: 18px; }

  /* Divider */
  .auth-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 22px 0;
    color: var(--ink-3);
    font-size: 12px;
  }
  .auth-divider::before, .auth-divider::after {
    content: ""; flex: 1; height: 1px; background: var(--line);
  }

  /* Tab segmented (email / phone) */
  .auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-sunk);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 22px;
  }
  .auth-tab {
    appearance: none; border: 0; background: transparent;
    padding: 9px 14px;
    border-radius: 9px;
    font: inherit; font-size: 13.5px; font-weight: 600;
    color: var(--ink-3);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
  }
  .auth-tab svg { width: 14px; height: 14px; }
  .auth-tab.active {
    background: var(--bg-elev);
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(20,18,12,0.06), 0 0 0 0.5px var(--line);
  }

  /* Form fields */
  .auth-field { margin-bottom: 16px; }
  .auth-field-row {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 6px;
  }
  .auth-label {
    display: block;
    font-size: 13px; font-weight: 600;
    color: var(--ink-2);
  }
  .auth-link-sm {
    font-size: 12.5px; font-weight: 500;
    color: var(--accent);
    background: transparent; border: 0; cursor: pointer;
    padding: 0; font-family: inherit;
  }
  .auth-link-sm:hover { text-decoration: underline; }

  .auth-input-wrap {
    position: relative;
    display: flex; align-items: stretch;
  }
  .auth-input {
    width: 100%;
    padding: 13px 14px;
    border: 0.5px solid var(--line);
    border-radius: 12px;
    background: var(--bg-elev);
    color: var(--ink);
    font: inherit; font-size: 14.5px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .auth-input::placeholder { color: var(--ink-4); }
  .auth-input:hover { border-color: color-mix(in oklab, var(--accent) 20%, var(--line)); }
  .auth-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  .auth-input.has-icon { padding-inline-start: 42px; }
  .auth-input.has-suffix { padding-inline-end: 90px; }
  .auth-input.err { border-color: var(--err); }
  .auth-input.err:focus { box-shadow: 0 0 0 3px var(--err-soft); }
  .auth-input.ltr { direction: ltr; text-align: start; font-family: var(--font-mono); letter-spacing: 0.04em; }

  .auth-input-icon {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    inset-inline-start: 14px;
    width: 16px; height: 16px;
    color: var(--ink-3);
    pointer-events: none;
  }
  .auth-input-suffix {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    inset-inline-end: 6px;
    display: inline-flex; align-items: center;
  }
  .auth-suffix-btn {
    appearance: none; border: 0; background: transparent;
    color: var(--ink-3); cursor: pointer;
    padding: 6px 8px; border-radius: 8px;
    font: inherit; font-size: 12.5px; font-weight: 500;
    display: inline-flex; align-items: center; gap: 5px;
    transition: background .15s ease, color .15s ease;
  }
  .auth-suffix-btn:hover { background: var(--bg-sunk); color: var(--ink); }
  .auth-suffix-btn svg { width: 14px; height: 14px; }

  .auth-error {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--err);
    margin-top: 6px;
  }
  .auth-error svg { width: 13px; height: 13px; flex-shrink: 0; }

  .auth-hint {
    font-size: 12px; color: var(--ink-3);
    margin-top: 6px;
    line-height: 1.5;
  }
  .auth-hint b { color: var(--ink-2); }

  /* Country code split for phone field */
  .auth-phone {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 8px;
    align-items: stretch;
  }
  .auth-phone .auth-input { padding: 13px 14px; }
  .auth-phone .auth-cc {
    text-align: center;
    color: var(--ink-2);
    font-family: var(--font-mono); font-size: 14px;
    direction: ltr;
    background: var(--bg-sunk);
  }

  /* OTP boxes */
  .auth-otp {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    direction: ltr;
  }
  .auth-otp input {
    text-align: center;
    padding: 14px 0;
    font-family: var(--font-mono);
    font-size: 22px; font-weight: 600;
    border: 0.5px solid var(--line);
    border-radius: 12px;
    background: var(--bg-elev);
    color: var(--ink);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    -moz-appearance: textfield;
  }
  .auth-otp input::-webkit-outer-spin-button,
  .auth-otp input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
  .auth-otp input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  .auth-otp input.filled { background: var(--accent-soft); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }

  .auth-otp-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 12px;
    font-size: 12.5px; color: var(--ink-3);
  }
  .auth-otp-bar button {
    appearance: none; border: 0; background: transparent;
    color: var(--accent); cursor: pointer;
    font: inherit; font-size: 12.5px; font-weight: 600;
    padding: 0;
  }
  .auth-otp-bar button:hover { text-decoration: underline; }
  .auth-otp-bar button:disabled { color: var(--ink-3); cursor: not-allowed; text-decoration: none; }

  /* Remember row */
  .auth-remember {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 22px;
    font-size: 13px;
  }
  .auth-check {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--ink-2);
    cursor: pointer;
    user-select: none;
  }
  .auth-check input { display: none; }
  .auth-check-box {
    width: 18px; height: 18px;
    border-radius: 5px;
    border: 0.5px solid var(--line);
    background: var(--bg-elev);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s ease, border-color .15s ease;
  }
  .auth-check input:checked + .auth-check-box {
    background: var(--accent);
    border-color: var(--accent);
  }
  .auth-check-box svg {
    width: 13px; height: 13px;
    color: #fff;
    opacity: 0;
    transition: opacity .12s ease;
  }
  .auth-check input:checked + .auth-check-box svg { opacity: 1; }

  /* Primary submit */
  .auth-submit {
    appearance: none; border: 0; cursor: pointer;
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--bg-elev);
    font: inherit; font-size: 14.5px; font-weight: 600;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 8px 20px color-mix(in oklab, var(--ink) 22%, transparent);
    transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
  }
  .auth-submit:hover { background: var(--ink-2); }
  .auth-submit:active { transform: scale(0.99); }
  .auth-submit svg { width: 14px; height: 14px; }
  .auth-submit.loading { pointer-events: none; opacity: 0.85; }
  .auth-submit.loading .auth-submit-text { opacity: 0.4; }
  .auth-submit-spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: authSpin .7s linear infinite;
    position: absolute;
  }
  @keyframes authSpin { to { transform: rotate(360deg); } }
  .auth-submit { position: relative; }

  /* Switch link bottom */
  .auth-switch {
    margin-top: 28px;
    text-align: center;
    font-size: 13.5px; color: var(--ink-2);
  }
  .auth-switch a { font-weight: 600; }

  /* Legal mini */
  .auth-legal {
    margin-top: auto;
    padding-top: 32px;
    font-size: 11.5px; color: var(--ink-3);
    text-align: center;
  }
  .auth-legal a { color: var(--ink-3); text-decoration: underline; }

  /* Recovery sent state */
  .auth-success {
    background: var(--ok-soft);
    border: 0.5px solid color-mix(in oklab, var(--ok) 22%, transparent);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 22px;
    display: flex; gap: 14px; align-items: flex-start;
  }
  .auth-success-ic {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--ok);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .auth-success-ic svg { width: 18px; height: 18px; }
  .auth-success-title { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
  .auth-success-text { font-size: 13px; color: var(--ink-2); line-height: 1.55; }
  .auth-success-text b { color: var(--ink); }

  /* ── Brand side ── */
  .auth-brand-side {
    background:
      radial-gradient(700px 500px at 20% 30%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 60%),
      radial-gradient(500px 400px at 80% 80%, color-mix(in oklab, var(--ok) 16%, transparent), transparent 60%),
      linear-gradient(160deg, #1a1a1a, #2a2a2a);
    color: #fff;
    display: flex; flex-direction: column;
    padding: 48px 56px;
    position: relative;
    overflow: hidden;
  }
  @media (max-width: 960px) { .auth-brand-side { display: none; } }

  .auth-brand-side::before {
    content: ""; position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 80%);
  }

  .auth-brand-content {
    flex: 1;
    display: flex; flex-direction: column; justify-content: center;
    max-width: 460px;
    position: relative;
    z-index: 1;
  }

  .auth-brand-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 0.5px solid rgba(255,255,255,0.12);
    font-size: 11.5px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 22px;
    width: fit-content;
  }
  .auth-brand-eyebrow svg { width: 14px; height: 14px; }

  .auth-brand-title {
    font-family: var(--font-display);
    font-size: 38px; font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.022em;
    margin: 0 0 16px;
    text-wrap: balance;
  }
  .auth-brand-title em {
    font-style: normal;
    background: linear-gradient(120deg, #fff, color-mix(in oklab, var(--accent-2) 60%, #fff));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .auth-brand-sub {
    font-size: 16px; line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 0 0 36px;
    max-width: 42ch;
    text-wrap: pretty;
  }

  .auth-brand-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 24px 26px;
    background: rgba(255,255,255,0.04);
    border: 0.5px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    backdrop-filter: blur(8px);
  }
  .auth-brand-stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 26px; font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #fff, color-mix(in oklab, var(--accent-2) 80%, #fff));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
  }
  .auth-brand-stat span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
  }

  .auth-brand-quote {
    margin-top: 36px;
    padding: 22px 26px;
    background: rgba(255,255,255,0.04);
    border-inline-start: 3px solid var(--accent-2);
    border-radius: 12px;
  }
  .auth-brand-quote p {
    font-size: 15px; line-height: 1.55;
    color: rgba(255,255,255,0.92);
    margin: 0 0 12px;
    text-wrap: pretty;
  }
  .auth-brand-quote-meta {
    display: flex; align-items: center; gap: 10px;
  }
  .auth-brand-quote-pic {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5b91e, #c75a3a);
    color: #fff; font-weight: 700; font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .auth-brand-quote-meta b { font-size: 13px; font-weight: 600; }
  .auth-brand-quote-meta span { font-size: 11.5px; color: rgba(255,255,255,0.55); }

  /* Floating code snippet decoration */
  .auth-brand-code {
    margin-top: 28px;
    background: rgba(0,0,0,0.4);
    border: 0.5px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 16px 18px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    direction: ltr;
    text-align: left;
  }
  .auth-brand-code .k { color: #c89bff; }
  .auth-brand-code .s { color: #80d8a4; }
  .auth-brand-code .c { color: rgba(255,255,255,0.4); }
  .auth-brand-code .fn { color: #6b7afa; }

/* ===== inline design block #0 (from contact.student.html) ===== */
/* Contact-specific tweaks */
  .auth-textarea {
    width: 100%;
    padding: 13px 14px;
    border: 0.5px solid var(--line);
    border-radius: 12px;
    background: var(--bg-elev);
    color: var(--ink);
    font: inherit; font-size: 14.5px;
    outline: none;
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  .auth-textarea::placeholder { color: var(--ink-4); }
  .auth-textarea:hover { border-color: color-mix(in oklab, var(--accent) 20%, var(--line)); }
  .auth-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  .auth-textarea.err { border-color: var(--err); }
  .auth-textarea.err:focus { box-shadow: 0 0 0 3px var(--err-soft); }

  .auth-textarea-foot {
    display: flex; justify-content: space-between;
    font-size: 11.5px; color: var(--ink-3);
    margin-top: 4px;
  }

  /* WhatsApp action */
  .contact-actions {
    display: flex; gap: 10px;
    align-items: stretch;
    margin-top: 8px;
  }
  .contact-actions .auth-submit { flex: 1; }
  .contact-wa {
    appearance: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 0.5px solid color-mix(in oklab, #25D366 30%, var(--line));
    background: rgba(37,211,102,0.06);
    color: #128c52;
    font: inherit; font-size: 14px; font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, transform .12s ease;
    white-space: nowrap;
  }
  .contact-wa:hover { background: rgba(37,211,102,0.12); text-decoration: none; }
  .contact-wa:active { transform: scale(0.98); }
  .contact-wa svg { width: 18px; height: 18px; flex-shrink: 0; }

  /* Inline channels strip */
  .contact-channels {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .contact-channel {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    background: var(--bg-elev);
    border: 0.5px solid var(--line);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background .15s ease, border-color .15s ease;
  }
  .contact-channel:hover {
    background: var(--bg-sunk);
    border-color: color-mix(in oklab, var(--accent) 20%, var(--line));
    text-decoration: none;
  }
  .contact-channel-ic {
    width: 32px; height: 32px;
    border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .contact-channel-ic.email { background: var(--accent-soft); color: var(--accent-ink); }
  .contact-channel-ic.wa { background: rgba(37,211,102,0.12); color: #128c52; }
  .contact-channel-ic svg { width: 16px; height: 16px; }
  .contact-channel-text { min-width: 0; }
  .contact-channel-lbl { font-size: 11px; color: var(--ink-3); font-weight: 500; }
  .contact-channel-val {
    font-family: var(--font-mono);
    font-size: 13px; font-weight: 600;
    color: var(--ink);
    direction: ltr;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }

  /* Topic select / chips */
  .contact-topics {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-top: 6px;
  }
  .contact-topic {
    appearance: none; border: 0.5px solid var(--line);
    background: var(--bg-elev);
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    font: inherit; font-size: 12.5px; font-weight: 500;
    color: var(--ink-2);
    transition: background .15s ease, color .15s ease, border-color .15s ease;
  }
  .contact-topic:hover { background: var(--bg-sunk); }
  .contact-topic.active {
    background: var(--accent-soft);
    color: var(--accent-ink);
    border-color: color-mix(in oklab, var(--accent) 30%, transparent);
  }

  /* Brand panel — support-focused */
  .contact-brand-stat-row {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.04);
    border: 0.5px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    margin-bottom: 12px;
  }
  .contact-brand-stat-ic {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(107,122,250,0.2);
    color: var(--accent-2);
    display: inline-flex; align-items: center; justify-content: center;
  }
  .contact-brand-stat-ic svg { width: 18px; height: 18px; }
  .contact-brand-stat-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
  .contact-brand-stat-sub { font-size: 12.5px; color: rgba(255,255,255,0.65); line-height: 1.5; }
  .contact-brand-stat-sub b { color: #fff; font-weight: 600; }

  /* ── Contact page (uses GlobalHeader + Footer) ──────────────── */
  .contact-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 32px 32px;
  }
  .contact-hero { margin-bottom: 28px; text-align: start; }
  .contact-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 11.5px; font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .contact-hero-eyebrow svg { width: 13px; height: 13px; }
  .contact-hero-title {
    font-family: var(--font-display);
    font-size: 38px; font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 1.15;
    margin: 0 0 14px;
    color: var(--ink);
  }
  .contact-hero-sub {
    font-size: 16px;
    color: var(--ink-2);
    line-height: 1.65;
    margin: 0;
    max-width: 56ch;
    text-wrap: pretty;
  }
  .contact-hero-sub a {
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in oklab, var(--accent) 30%, transparent);
    text-underline-offset: 2px;
  }

  .contact-card {
    background: var(--bg-elev);
    border: 0.5px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-card);
  }

  .contact-legal {
    text-align: center;
    margin-top: 22px;
    font-size: 12.5px;
    color: var(--ink-3);
    line-height: 1.5;
  }
  .contact-legal a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--ink-4); }

  @media (max-width: 720px) {
    .contact-page { padding: 32px 18px 24px; }
    .contact-hero-title { font-size: 28px; }
    .contact-hero-sub { font-size: 14.5px; }
    .contact-card { padding: 22px 18px; border-radius: 16px; }
    .contact-channels { grid-template-columns: 1fr; }
  }

/* ===== inline design block #1 (from contact.student.html) ===== */
/* ── Global header ── */
  .gh {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in oklab, var(--bg-elev) 90%, transparent);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 0.5px solid var(--line);
  }
  .gh-inner {
    max-width: 1440px; margin: 0 auto;
    padding: 0 32px;
    height: 60px;
    display: flex; align-items: center; gap: 28px;
  }

  /* Logo */
  .gh-logo {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none;
    color: var(--ink);
    flex-shrink: 0;
  }
  .gh-logo:hover { text-decoration: none; }
  .gh-logo-mark {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 60%, var(--ok)));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 12px color-mix(in oklab, var(--accent) 32%, transparent),
                inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
  }
  .gh-logo-mark::after {
    content: ""; position: absolute;
    inset: 4px;
    border-radius: 6px;
    border: 1.5px solid rgba(255,255,255,0.18);
    pointer-events: none;
  }
  .gh-logo-name {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .gh-logo-name span { color: var(--accent); font-weight: 800; }

  /* Nav */
  .gh-nav {
    display: flex; align-items: center; gap: 4px;
    flex: 1;
  }
  .gh-nav a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
  }
  .gh-nav a:hover { background: var(--bg-sunk); color: var(--ink); text-decoration: none; }
  .gh-nav a.active {
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-weight: 600;
  }
  html[data-theme="editorial"] .gh-nav a.active,
  html[data-theme="mono"] .gh-nav a.active { color: var(--ink); background: var(--bg-sunk); }
  .gh-nav a svg { width: 14px; height: 14px; }

  /* Right side actions */
  .gh-actions {
    display: flex; align-items: center; gap: 6px;
    flex-shrink: 0;
  }
  .gh-search {
    position: relative;
    width: 240px;
  }
  .gh-search input {
    width: 100%;
    height: 34px;
    padding: 0 12px 0 36px;
    border: 0.5px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color .15s ease, background .15s ease;
  }
  .gh-search input:focus {
    border-color: var(--accent);
    background: var(--bg-elev);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .gh-search input::placeholder { color: var(--ink-3); }
  .gh-search svg {
    position: absolute;
    left: 12px; top: 50%;
    transform: translateY(-50%);
    width: 14px; height: 14px;
    color: var(--ink-3);
    pointer-events: none;
  }
  html[dir="rtl"] .gh-search input { padding: 0 36px 0 12px; }
  html[dir="rtl"] .gh-search svg { left: auto; right: 12px; }
  .gh-search kbd {
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    background: var(--bg-sunk);
    border: 0.5px solid var(--line);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--ink-3);
  }
  html[dir="rtl"] .gh-search kbd { right: auto; left: 8px; }

  .gh-iconbtn {
    appearance: none; border: 0; cursor: pointer;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: transparent;
    color: var(--ink-2);
    display: inline-flex; align-items: center; justify-content: center;
    position: relative;
    transition: background .15s ease, color .15s ease;
  }
  .gh-iconbtn:hover { background: var(--bg-sunk); color: var(--ink); }
  .gh-iconbtn svg { width: 18px; height: 18px; }
  .gh-iconbtn .bdg {
    position: absolute;
    top: 6px; right: 6px;
    min-width: 16px; height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--warn);
    color: #fff;
    font-size: 9.5px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--bg-elev);
    line-height: 1;
  }
  html[dir="rtl"] .gh-iconbtn .bdg { right: auto; left: 6px; }

  /* Streak chip */
  .gh-streak {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    background: linear-gradient(90deg,
      color-mix(in oklab, #f5b91e 18%, var(--bg-elev)),
      var(--bg-elev) 80%);
    border: 0.5px solid color-mix(in oklab, #f5b91e 30%, var(--line));
    font-size: 12.5px; font-weight: 600;
    color: var(--ink);
  }
  .gh-streak svg { width: 16px; height: 16px; color: #c89100; }
  .gh-streak b {
    color: #8a6800;
    font-variant-numeric: tabular-nums;
  }
  html[data-dark="1"] .gh-streak b { color: #f5d878; }

  /* Avatar menu */
  .gh-avatar {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    border: 0.5px solid var(--line);
    background: var(--bg-elev);
    cursor: pointer;
    font: inherit;
    transition: background .15s ease, border-color .15s ease;
    position: relative;
  }
  .gh-avatar:hover { background: var(--bg-sunk); border-color: color-mix(in oklab, var(--accent) 22%, var(--line)); }
  .gh-avatar-pic {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5b91e, #c75a3a);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 12.5px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  }
  .gh-avatar-text { display: flex; flex-direction: column; line-height: 1.2; padding-inline-end: 4px; }
  .gh-avatar-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
  .gh-avatar-role { font-size: 10.5px; color: var(--ink-3); }
  html[dir="rtl"] .gh-avatar { padding: 4px 4px 4px 10px; }

  /* Avatar dropdown menu */
  .gh-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 240px;
    background: var(--bg-elev);
    border: 0.5px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18), 0 1px 0 rgba(255,255,255,0.6) inset;
    padding: 6px;
    z-index: 100;
    animation: ghMenuIn .18s cubic-bezier(.16,1,.3,1);
  }
  @keyframes ghMenuIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .gh-menu-header {
    padding: 12px 14px 10px;
    border-bottom: 0.5px solid var(--line-2);
    margin-bottom: 6px;
  }
  .gh-menu-header .name { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
  .gh-menu-header .email { font-size: 12px; color: var(--ink-3); }
  .gh-menu-item {
    appearance: none; border: 0; background: transparent;
    width: 100%; text-align: inherit;
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font: inherit;
    font-size: 13.5px;
    color: var(--ink-2);
    cursor: pointer;
    transition: background .12s ease, color .12s ease;
  }
  .gh-menu-item:hover { background: var(--bg-sunk); color: var(--ink); }
  .gh-menu-item svg { width: 16px; height: 16px; color: var(--ink-3); flex-shrink: 0; }
  .gh-menu-item:hover svg { color: var(--accent); }
  .gh-menu-item.danger { color: var(--warn); }
  .gh-menu-item.danger svg { color: var(--warn); }
  .gh-menu-item.danger:hover { background: rgba(201,122,43,0.10); color: var(--warn); }
  .gh-menu-item.danger:hover svg { color: var(--warn); }
  .gh-menu-divider {
    height: 1px; background: var(--line-2);
    margin: 6px 4px;
  }
  .gh-menu-overlay {
    position: fixed; inset: 0; z-index: 99;
  }

  /* ── Breadcrumbs / hierarchy ── */
  .bc {
    background: var(--bg-elev);
    border-bottom: 0.5px solid var(--line-2);
  }
  .bc-inner {
    max-width: 1440px; margin: 0 auto;
    padding: 14px 32px 14px;
    display: flex; align-items: center; gap: 12px;
  }
  .bc-path {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 4px;
    overflow: hidden;
  }
  .bc-item {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    transition: background .15s ease;
    color: var(--ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .bc-item:hover { background: var(--bg-sunk); text-decoration: none; }
  .bc-item .bc-tier {
    font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-3);
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--bg-sunk);
    flex-shrink: 0;
  }
  .bc-item.track .bc-tier { background: rgba(138,90,240,0.14); color: #6a3fce; }
  .bc-item.course .bc-tier { background: rgba(31,122,138,0.14); color: var(--t-quiz); }
  .bc-item.module .bc-tier { background: var(--accent-soft); color: var(--accent-ink); }
  html[data-dark="1"] .bc-item.track .bc-tier { color: #c4a8ff; }
  .bc-item.current {
    color: var(--ink);
    font-weight: 600;
  }
  .bc-sep {
    color: var(--ink-4);
    flex-shrink: 0;
    width: 14px; height: 14px;
  }
  .bc-actions {
    display: flex; align-items: center; gap: 8px;
    flex-shrink: 0;
    color: var(--ink-3);
    font-size: 12.5px;
  }
  .bc-actions .pip {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--bg-sunk);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--ink-2);
  }
  .bc-actions .pip b { color: var(--ink); font-weight: 600; }
  .bc-actions svg { width: 13px; height: 13px; }

  /* ── Footer ── */
  .gf {
    margin-top: 64px;
    background: var(--bg-elev);
    border-top: 0.5px solid var(--line);
  }
  .gf-inner {
    max-width: 1440px; margin: 0 auto;
    padding: 48px 32px 32px;
  }
  .gf-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 36px;
  }
  .gf-brand .gf-logo {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
  }
  .gf-brand p {
    font-size: 13.5px; color: var(--ink-2);
    line-height: 1.6;
    margin: 0 0 18px;
    max-width: 32ch;
  }
  .gf-social {
    display: flex; gap: 6px;
  }
  .gf-social a {
    width: 34px; height: 34px;
    border-radius: 9px;
    border: 0.5px solid var(--line);
    color: var(--ink-2);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
  }
  .gf-social a:hover {
    background: var(--bg-sunk);
    color: var(--accent);
    border-color: color-mix(in oklab, var(--accent) 28%, var(--line));
    text-decoration: none;
  }
  .gf-social svg { width: 16px; height: 16px; }

  .gf-col h4 {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 0 0 14px;
  }
  .gf-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
  .gf-col a {
    font-size: 13.5px;
    color: var(--ink-2);
    text-decoration: none;
    transition: color .15s ease;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .gf-col a:hover { color: var(--ink); text-decoration: none; }
  .gf-col a .gf-new {
    background: var(--accent);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  /* Newsletter */
  .gf-newsletter {
    grid-column: span 2;
  }
  .gf-newsletter h4 { color: var(--ink); font-size: 15px; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
  .gf-newsletter p { font-size: 13px; color: var(--ink-2); margin: 0 0 12px; line-height: 1.5; }
  .gf-newsletter form {
    display: flex; gap: 8px;
  }
  .gf-newsletter input {
    flex: 1;
    height: 38px;
    padding: 0 14px;
    border: 0.5px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
    font: inherit;
    font-size: 13px;
    color: var(--ink);
    outline: none;
  }
  .gf-newsletter input:focus { border-color: var(--accent); }
  .gf-newsletter button {
    appearance: none; border: 0; cursor: pointer;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg-elev);
    font-size: 13px; font-weight: 600;
    transition: background .15s ease;
  }
  .gf-newsletter button:hover { background: var(--ink-2); }

  /* Bottom bar */
  .gf-bottom {
    border-top: 0.5px solid var(--line-2);
    padding-top: 22px;
    display: flex; align-items: center; gap: 16px;
    font-size: 12px;
    color: var(--ink-3);
  }
  .gf-bottom .spacer { flex: 1; }
  .gf-bottom a { color: var(--ink-3); text-decoration: none; }
  .gf-bottom a:hover { color: var(--ink); text-decoration: none; }
  .gf-bottom .gf-mentor {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-sunk);
    color: var(--ink-2);
    font-size: 11.5px;
  }
  .gf-bottom .gf-mentor svg { width: 12px; height: 12px; color: var(--ok); }

  @media (max-width: 900px) {
    .gh-nav { display: none; }
    .gh-search { width: auto; }
    .gh-streak { display: none; }
    .gf-grid { grid-template-columns: 1fr 1fr; }
    .gf-newsletter { grid-column: span 2; }
  }

  /* ── Guest mode — hide member chrome, show login/signup CTAs.
     Triggers off <html data-viewer="guest">. Matches the pattern used on
     every other page so behaviour is consistent.                       */
  .gh-guest-cta { display: none; }
  html[data-viewer="guest"] .gh-guest-cta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px; font-weight: 600;
    text-decoration: none; white-space: nowrap;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
  }
  html[data-viewer="guest"] .gh-guest-cta.primary {
    background: var(--ink); color: var(--bg-elev);
    box-shadow: 0 4px 12px color-mix(in oklab, var(--ink) 18%, transparent);
  }
  html[data-viewer="guest"] .gh-guest-cta.primary:hover { background: var(--ink-2); text-decoration: none; }
  html[data-viewer="guest"] .gh-guest-cta.ghost {
    background: transparent; color: var(--ink-2);
    border: 0.5px solid var(--line);
  }
  html[data-viewer="guest"] .gh-guest-cta.ghost:hover {
    background: var(--bg-sunk); color: var(--ink); text-decoration: none;
  }
  /* Hide member-only chrome in guest mode (avatar, streak, notification badge). */
  html[data-viewer="guest"] .gh-avatar,
  html[data-viewer="guest"] .gh-streak,
  html[data-viewer="guest"] .gh-iconbtn:has(.bdg) { display: none !important; }
