/* uopxstudentexperience.com — shared styles */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&family=Roboto:wght@300;400;500;700&display=swap");

:root {
  --phoenix-red: #db3725;
  --phoenix-red-lt: #fbebea;
  --almost-black: #001823;
  --almost-black-l10: #1d333d;
  --almost-black-l20: #3a4f59;
  --almost-black-l40: #7b8a92;
  --almost-black-l60: #b2bbbf;
  --almost-black-l80: #e3e6e7;
  --almost-black-l90: #f2f3f3;
  --white: #ffffff;
  --border: #e3e6e7;
  --text: #001823;
  --green: #16a34a;
  --green-lt: #f0fdf4;
  /* legacy aliases so other rules still resolve */
  --navy: #001823;
  --orange: #db3725;
  --orange-lt: #fbebea;
  --teal: #001823;
  --teal-lt: #f2f3f3;
  --slate: #5e7079;
  --mist: #f2f3f3;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: "Roboto", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.72;
}
a {
  color: #db3725;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ── HEADER: phoenix.edu style — white bg, dark text, red accent ── */
.site-header {
  background: #ffffff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 #e8ecee;
}
.site-header .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 64px;
}
.site-name {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.site-name:hover {
  text-decoration: none;
}
.uopx-logo {
  height: 32px;
  width: auto;
  display: block;
}
.site-divider {
  display: block;
  width: 1px;
  height: 24px;
  background: #d4dadd;
  flex-shrink: 0;
}
.site-name-sub {
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #5a6b74;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.site-name {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-name img.uopx-logo {
  height: 38px;
  width: auto;
}
.site-name-sub {
  font-family: "Roboto", sans-serif;
  font-size: 0.78rem;
  color: #7b8a92;
  letter-spacing: 0.01em;
  border-left: 1px solid #e3e6e7;
  padding-left: 12px;
  line-height: 1.3;
  max-width: 140px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.site-header nav a {
  font-family: "Roboto", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #3a4f59;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  border: none;
  transition:
    color 0.15s,
    background 0.15s;
  border-radius: 4px;
}
.site-header nav a:hover {
  color: #001823;
  background: #f7f1f0;
  text-decoration: none;
}
.site-header nav a.active {
  color: #db3725;
  font-weight: 700;
  background: #fdf4f3;
}

/* ── HERO: phoenix.edu style — white bg, dark text, red accent left border ── */
.hero {
  background: #ffffff;
  padding: 56px 24px 48px;
  border-top: 4px solid #db3725;
  position: relative;
}
.hero .inner {
  max-width: 900px;
  margin: 0 auto;
}
.hero-home {
  background: url(hero-bg-wide.jpg) center center/cover no-repeat;
  padding: 0;
  border-top: none;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.38) 50%,
    rgba(0, 0, 0, 0.08) 100%
  );
}
.hero-home .inner {
  position: relative;
  z-index: 1;
  padding: 72px 24px 64px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.hero .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.hero-eyebrow {
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #db3725;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-home .hero-eyebrow {
  color: #f5a898;
}
.hero h1 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 600;
  color: #001823;
  line-height: 1.18;
  margin-bottom: 18px;
}
.hero-home h1 {
  color: #ffffff;
}
.hero-lead {
  font-family: "Roboto", sans-serif;
  font-size: 1.02rem;
  color: #3a4f59;
  line-height: 1.68;
  max-width: 640px;
}
.hero-home .hero-lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
}
.trust-hero {
  background: #f2f3f3;
  border: 1px solid #e3e6e7;
  border-radius: 8px;
  padding: 22px 28px;
  margin-top: 36px;
  display: inline-block;
}
.trust-hero .trust-label {
  font-family: "Roboto", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b8a92;
  margin-bottom: 6px;
}
.trust-hero .trust-widget-note {
  font-family: "Roboto", sans-serif;
  font-size: 0.88rem;
  color: #3a4f59;
}

/* ── MAIN ── */
.page-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px;
}
.page-content.wide {
  max-width: 960px;
}
h2 {
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--almost-black);
  margin: 48px 0 16px;
  line-height: 1.25;
}
h2:first-child {
  margin-top: 0;
}
h3 {
  font-family: "Roboto", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--almost-black);
  margin: 28px 0 10px;
}
p {
  margin-bottom: 1.15em;
  font-size: 1rem;
}
ul,
ol {
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.55em;
  font-size: 1rem;
}

/* CALLOUT */
.callout {
  border-left: 3px solid var(--almost-black);
  background: var(--almost-black-l90);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}
.callout.orange {
  border-color: var(--orange);
  background: var(--orange-lt);
}
.callout.green {
  border-color: var(--green);
  background: var(--green-lt);
}
.callout-label {
  font-family: "Roboto", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--almost-black);
  margin-bottom: 6px;
}
.callout.orange .callout-label {
  color: var(--orange);
}
.callout.green .callout-label {
  color: var(--green);
}
.callout p {
  margin: 0;
  font-size: 0.93rem;
}

/* REVIEW THEME */
.theme-section {
  margin-bottom: 28px;
}
.theme-section h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--navy);
}
.theme-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0;
  margin: 0 0 8px;
}
.theme-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.theme-item:first-child {
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) {
  .theme-list {
    grid-template-columns: 1fr;
  }
}
.theme-name {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--almost-black);
  line-height: 1.3;
}
.theme-source {
  font-size: 0.72rem;
  color: #b2bbbf;
  margin-top: auto;
  padding-top: 8px;
  font-style: italic;
  border-top: 1px solid var(--border);
}

/* LABELS */
.label-adverse {
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: #fee2e2;
  color: #991b1b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.label-positive {
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: #dcfce7;
  color: #166534;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.label-mixed {
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: #fef3c7;
  color: #92400e;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* BENCHMARK TABLE */
.bench-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}
.trend-chart-wrap {
  margin: 24px 0 32px;
}
.trend-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: #8a9ba8;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-line {
  display: inline-block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
}
.legend-line.solid {
  background: #185fa5;
}
.legend-line.dashed {
  background: transparent;
  border-top: 2px dashed #888780;
  height: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
thead tr {
  background: var(--navy);
  color: var(--white);
}
thead th {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
tbody tr:nth-child(odd) {
  background: var(--mist);
}
tbody tr:hover {
  background: var(--almost-black-l90);
}
tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
}
tbody td:first-child {
  font-weight: 500;
}
.uopx-val {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: var(--navy);
}
.bench-val {
  color: var(--slate);
}
.diff {
  font-family: "Roboto", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
}

/* METHODOLOGY TABLE */
.method-table {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 24px 0;
}
.method-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--border);
}
.method-row:last-child {
  border-bottom: none;
}
.method-label {
  background: var(--navy);
  color: var(--white);
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
}
.method-value {
  padding: 14px 16px;
  font-size: 0.92rem;
}
@media (max-width: 560px) {
  .method-row {
    grid-template-columns: 1fr;
  }
  .method-label {
    font-size: 0.78rem;
  }
}

/* CATEGORY TABLE */
.cat-table {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
}
.cat-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  border-bottom: 1px solid var(--border);
}
.cat-row:last-child {
  border-bottom: none;
}
.cat-row.header {
  background: var(--navy);
  color: var(--white);
}
.cat-row.header div {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 10px 14px;
  letter-spacing: 0.04em;
}
.cat-theme {
  padding: 14px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}
.cat-content {
  padding: 14px;
  font-size: 0.88rem;
}
.cat-source {
  padding: 14px;
  font-size: 0.78rem;
  color: var(--slate);
  white-space: nowrap;
}
@media (max-width: 620px) {
  .cat-row {
    grid-template-columns: 1fr;
  }
  .cat-source {
    display: none;
  }
}

/* TRUSTPILOT PLACEHOLDER */
.widget-placeholder {
  background: var(--mist);
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  margin: 24px 0;
}
.widget-placeholder .wp-label {
  font-family: "Roboto", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b2bbbf;
  margin-bottom: 8px;
}
.widget-placeholder .wp-note {
  font-size: 0.88rem;
  color: var(--slate);
}
.widget-code {
  background: #1a202c;
  color: #a8d8a0;
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  padding: 14px 16px;
  border-radius: 6px;
  text-align: left;
  margin-top: 12px;
  white-space: pre-wrap;
  word-break: break-all;
}

/* FAQ */
.faq-list {
  margin-top: 8px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-q {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.faq-a {
  font-size: 0.95rem;
  color: var(--slate);
}

/* STAT INLINE */
.stat-inline {
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: var(--teal);
}

/* SOURCE NOTE */
.source-note {
  font-size: 0.78rem;
  color: #b2bbbf;
  font-style: italic;
  margin-top: 4px;
}

/* HEADER (for cat tables — keep .header as utility) */
.cat-row.header {
  background: var(--navy);
  color: var(--white);
}

/* FOOTER */
.site-footer {
  background: #001823;
  color: #b2bbbf;
  padding: 36px 24px;
  margin-top: 80px;
  border-top: 3px solid var(--phoenix-red);
}
.site-footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.footer-nav a {
  color: #b2bbbf;
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
}
.footer-nav a:hover {
  color: var(--white);
}
.footer-disclosure a {
  color: #b2bbbf;
}
.footer-disclosure {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: #97a3a9;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  line-height: 1.6;
}
.disclosure-statement {
  font-size: 16px;
  font-weight: 500;
  color: var(--footer-text-strong, #c8d4da);
  line-height: 1.5;
  margin-bottom: 6px;
}
.disclosure-sources {
  font-size: 16px;
  color: var(--footer-text, #97a3a9);
  line-height: 1.6;
}

/* TRUST BAND — Trustpilot carousel section below hero */
.trust-band {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 16px;
}
.trust-band .inner {
  max-width: 900px;
  margin: 0 auto;
}
.trust-band-label {
  font-family: "Roboto", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}
.trust-band-note {
  font-size: 0.72rem;
  color: #7b8a92;
  margin-top: 8px;
  font-family: "Roboto", sans-serif;
}
@media (min-width: 1280px) {
  .trust-band .inner {
    max-width: 860px;
  }
}
@media (min-width: 1600px) {
  .trust-band .inner {
    max-width: 960px;
  }
}
/* IN-CONTENT TRUSTPILOT WIDGET */
.tp-widget-wrap {
  margin: 28px 0 36px;
}
.tp-widget-label {
  font-family: "Roboto", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}
.tp-widget-note {
  font-size: 0.75rem;
  color: var(--text-sm);
  font-style: italic;
  margin-top: 8px;
}

/* ── RESPONSIVE: Scale up for wide screens ── */
@media (min-width: 1280px) {
  .site-header .inner,
  .site-footer .inner,
  .hero .inner,
  .trust-band .inner {
    max-width: 1100px;
  }
  .page-content {
    max-width: 900px;
  }
  .page-content.wide {
    max-width: 1100px;
  }
}
@media (min-width: 1600px) {
  .site-header .inner,
  .site-footer .inner,
  .hero .inner,
  .trust-band .inner {
    max-width: 1300px;
  }
  .hero .inner {
    padding: 72px 0 64px;
  }
  .page-content {
    max-width: 1040px;
  }
  .page-content.wide {
    max-width: 1300px;
  }
  .hero h1 {
    font-size: 3rem;
  }
}
@media (min-width: 1920px) {
  .site-header .inner,
  .site-footer .inner,
  .hero .inner,
  .trust-band .inner {
    max-width: 1440px;
  }
  .page-content {
    max-width: 1160px;
  }
  .page-content.wide {
    max-width: 1440px;
  }
}

/* Persistent disclosure banner */
.disclosure-banner {
  background: #f5f0e8;
  border-bottom: 2px solid #c8a84b;
  padding: 10px 24px;
  text-align: center;
}
.disclosure-banner p {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #3a2e00;
  margin: 0;
}

/* Contact form */
.contact-form-wrap {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
  margin: 24px 0 32px;
  max-width: 560px;
}
.contact-form-wrap h2 {
  font-size: 1.15rem;
  margin: 0 0 20px;
}
.form-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-field label {
  font-family: "Roboto", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3a4f59;
}
.form-field input,
.form-field textarea {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  padding: 9px 12px;
  border: 1px solid #cdd4d8;
  border-radius: 5px;
  background: #fff;
  color: #001823;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid #185fa5;
  border-color: #185fa5;
}
.form-note {
  font-size: 0.8rem;
  color: #8a9ba8;
  margin: 4px 0 16px;
  font-style: italic;
}
.form-submit {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #db3725;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 11px 28px;
  cursor: pointer;
}
.form-submit:hover {
  background: #b82e1e;
}

/* Cookie consent banner */
#cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--almost-black);
  color: var(--white);
  border-top: 3px solid var(--phoenix-red);
  box-shadow: 0 -2px 12px rgba(0, 24, 35, 0.25);
}
.cookie-consent-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-consent-text {
  margin: 0;
  flex: 1 1 300px;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-consent-text a {
  color: var(--white);
  text-decoration: underline;
}
.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  padding: 10px 22px;
  cursor: pointer;
  border: 1px solid transparent;
}
.cookie-btn-accept {
  background: var(--phoenix-red);
  color: var(--white);
}
.cookie-btn-accept:hover {
  background: #b82e1e;
}
.cookie-btn-reject {
  background: transparent;
  color: var(--white);
  border-color: var(--almost-black-l40);
}
.cookie-btn-reject:hover {
  border-color: var(--white);
}
.cookie-prefs-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 600px) {
  .cookie-consent-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1 1 auto;
  }
}

/* ── Mobile hamburger menu (no-JS, checkbox toggle) ── */
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-burger { display: none; }

@media (max-width: 768px) {
  .site-header .inner { position: relative; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    align-self: center;
    margin-left: auto;
    cursor: pointer;
    border-radius: 4px;
  }
  .nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--almost-black);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
  }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--phoenix-red); }

  /* nav drops as a panel below the sticky bar */
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
  }
  .nav-toggle:checked ~ nav { display: flex; }
  .site-header nav a {
    height: 52px;
    width: 100%;
    padding: 0 24px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  /* burger -> X */
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
