/* USFLUENT corporate contrast lock, 2026-10-14.
   The corporate SPA is shared by /, /en/corporate/, /ro/corporate/,
   and /ru/corporate/.  Scope every rule to #corp so public pages,
   Student/Owner areas, and the isolated Teacher Network remain unchanged. */

/* In light appearance, explicitly keep dark lettering on light surfaces,
   regardless of inherited site theme variables. */
@media (prefers-color-scheme: light) {
  #corp .corpAreasSection .sectionHead h2,
  #corp .corpAreaCopy strong {
    color:#152943!important;
    opacity:1!important;
    text-shadow:none!important;
  }
  #corp .corpAreaTrigger,#corp .corpAreaCopy {
    color:#152943!important;
  }
  #corp .corpAreasSection .sectionHead .sub,
  #corp .corpExplorerHint,#corp .corpAreaCopy small {
    color:#57677d!important;
    opacity:1!important;
  }
}

/* iOS Safari dark appearance: surfaces and lettering must switch together.
   Previously light backgrounds survived while var(--ink) became white. */
@media (prefers-color-scheme: dark) {
  #corp {
    color-scheme:dark;
    background:#07152f!important;
    color:#edf3fb!important;
  }
  #corp .corpAreasSection {
    background:radial-gradient(circle at 88% 8%,rgba(222,180,77,.11),transparent 30%),
      linear-gradient(180deg,#07152f 0%,#102743 60%,#07182f 100%)!important;
    color:#edf3fb!important;
  }
  #corp .corpAreasSection .sectionHead h2,
  #corp #corpForm h2 {
    color:#f5f8ff!important;
    opacity:1!important;
    text-shadow:none!important;
  }
  #corp .corpAreasSection .kicker,#corp #corpForm .kicker {
    color:#f0c775!important;
  }
  #corp .corpAreasSection .sectionHead .sub,
  #corp .corpExplorerHint,#corp #corpForm .sub {
    color:#c3d0e1!important;
    opacity:1!important;
  }
  #corp .corpAreaCard {
    background:#102743!important;
    border-color:#35506d!important;
    box-shadow:0 14px 38px rgba(0,0,0,.24)!important;
  }
  #corp .corpAreaCard:hover,
  #corp .corpAreaCard.open {
    border-color:#c8a454!important;
    box-shadow:0 18px 44px rgba(0,0,0,.32)!important;
  }
  #corp .corpAreaTrigger {
    background:#102743!important;
    color:#f4f7fd!important;
  }
  #corp .corpAreaCopy {
    background:linear-gradient(135deg,#152e4d,#0e233e)!important;
    color:#f4f7fd!important;
  }
  #corp .corpAreaCopy strong {
    color:#f8faff!important;
    opacity:1!important;
    text-shadow:none!important;
  }
  #corp .corpAreaCopy small {
    color:#c0cee0!important;
    opacity:1!important;
  }
  #corp .corpAreaNum,#corp .corpAreaAction {
    color:#f1c778!important;
  }
  #corp .corpAreaPlus {
    color:#f5d589!important;
    border-color:#a98748!important;
    background:#253b55!important;
    box-shadow:none!important;
  }
  #corp .corpPhrasePanel {
    background:linear-gradient(145deg,#081b34,#10315c)!important;
    color:#f3f7fe!important;
  }
  #corp .corpPhraseGrid blockquote {
    background:#162f50!important;
    color:#edf4fe!important;
    border-color:#3c5777!important;
  }
  #corp .corpAreaTrigger:focus-visible {
    outline:3px solid #f1c778!important;
    outline-offset:-4px!important;
  }

  /* The enquiry form belongs to the same dark corporate journey. */
  #corp #corpForm {
    background:linear-gradient(180deg,#07182f,#0a213f)!important;
    color:#f1f6fd!important;
  }
  #corp #corpForm .formShell {
    background:linear-gradient(150deg,#102844,#0d233e)!important;
    color:#edf4fb!important;
    border-color:#36516f!important;
  }
  #corp #corpForm .formIntro,
  #corp #corpForm .formIntro strong {
    color:#f5f8fd!important;
  }
  #corp #corpForm .formHint,#corp #corpForm .formNote {
    color:#bdcce0!important;
  }
  #corp #corpForm .formSection {
    color:#f1c778!important;
  }
  #corp #corpForm label {
    color:#dbe6f5!important;
  }
  #corp #corpForm input,#corp #corpForm select,
  #corp #corpForm textarea {
    background:#081c35!important;
    color:#f5f8fd!important;
    border-color:#526783!important;
    color-scheme:dark;
  }
  #corp #corpForm input::placeholder,
  #corp #corpForm textarea::placeholder {
    color:#aabbd0!important;
    opacity:1!important;
  }
  #corp #corpForm input:focus-visible,
  #corp #corpForm textarea:focus-visible,
  #corp #corpForm select:focus-visible {
    outline:2px solid #e8bd68!important;
    outline-offset:2px!important;
  }
  #corp #corpForm .formBadge {
    background:#29384d!important;
    color:#f5d58a!important;
    border-color:#7c6747!important;
  }
}

/* Corporate enquiry typography and spacing, 2026-10-21. */
#corp #corpForm .formBadge{display:none!important}
#corp #corpForm .formShell{padding:0!important;overflow:hidden;border-radius:24px}
#corp #corpForm .formIntro{display:block;margin:0!important;padding:22px 24px!important;border-bottom:1px solid #b58c40!important}
#corp #corpForm .formIntro strong{font-size:20px!important;line-height:1.3}
#corp #corpForm .formHint{font-size:14px!important;line-height:1.55;margin:8px 0 0}
#corp #corpForm #leadForm{padding:24px!important;gap:18px}
#corp #corpForm .formGrid{gap:18px}
#corp #corpForm #leadForm label,#corp #corpForm #leadForm label>span{font-size:14px!important;font-weight:600!important;line-height:1.45;letter-spacing:0!important;text-transform:none!important;color:#283c56!important;opacity:1!important}
#corp #corpForm .fieldOptional{font-size:12px!important;font-weight:400!important;letter-spacing:0;text-transform:none;margin-left:5px}
#corp #corpForm #leadForm input,#corp #corpForm #leadForm select,#corp #corpForm #leadForm textarea{font-size:16px!important;font-weight:400!important;line-height:1.45!important;padding:12px 14px!important;min-height:48px}
#corp #corpForm #leadForm textarea{min-height:126px}
#corp #corpForm #leadForm textarea::placeholder,#corp #corpForm #leadForm input::placeholder{font-size:15px!important;font-weight:400!important}
#corp #corpForm .formSection{font-size:12px!important;font-weight:700!important;letter-spacing:.08em!important;margin:4px 0 0}
#corp #corpForm .formDetails summary{font-size:15px!important;font-weight:600!important}
#corp #corpForm .submitRow .btn{width:100%;font-size:18px!important;line-height:1.35!important;font-weight:700!important;padding:16px 20px!important;min-height:58px}
#corp #corpForm .formNote{font-size:13px!important;line-height:1.55!important}
@media(prefers-color-scheme:dark){
 #corp #corpForm #leadForm label,#corp #corpForm #leadForm label>span{color:#e3ecf8!important}
 #corp #corpForm .fieldOptional{color:#b9c9dc!important}
}
@media(max-width:620px){
 #corp #corpForm .formIntro{padding:20px!important}
 #corp #corpForm #leadForm{padding:20px!important}
 #corp #corpForm .submitRow .btn{font-size:17px!important}
}
