:root { --navy: #192f59; --ink: #13213d; --muted: #5d6677; --line: #e4e1d8; --warm: #faf8f3; --gold: #f5b700; --gold-soft: #fff4cc; }
body { color: var(--ink); background: var(--warm); font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif; }
h1, h2, h3, .site-footer h3 { font-family: "Source Serif 4", Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.005em; }
.tab, .help-list h3, .years strong, .brand-text strong { font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.12rem; }

/* Navy bar with centred links */
.main-nav { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 8px; }
.main-nav a { display: block; padding: 14px 18px; color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; letter-spacing: .02em; }
.main-nav a:hover { color: #fdc800; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px;
  border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:active { transform: scale(.97); }
.input { transition: border-color .2s ease, box-shadow .2s ease; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e3a800; color: var(--ink); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #10213f; color: #fff; }
.btn-light { background: #f1efe8; color: var(--ink); }
.btn-light:hover { background: #e7e3d8; color: var(--ink); }

/* Hero with tabbed panel. page-hero below uses the same image. */
.hero { position: relative; background: #10213f url("../../img/landing/graduates-bg.jpg") center bottom / cover; padding: 64px 0 84px; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,33,63,.78), rgba(16,33,63,.88)); }
.hero .container { position: relative; }
.hero-title { text-align: center; color: #fff; margin-bottom: 28px; }
.hero-title h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 6px; }
.hero-title p { color: #dbe2ef; margin: 0; font-size: 1.08rem; }

.helper { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.28); overflow: hidden; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: #f1efe8; position: relative; }
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px 20px;
  background: transparent; border: 0; font: inherit; font-weight: 700; font-size: .98rem;
  color: var(--muted); cursor: pointer; transition: background-color .25s ease, color .25s ease;
}
.tab .icon { font-size: 26px; transition: transform .25s ease; }
.tab:hover { color: var(--ink); }
.tab:hover .icon { transform: translateY(-2px); }
.tab[aria-selected="true"] { background: #fff; color: var(--navy); }
.tab-indicator { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--gold); border-radius: 4px 4px 0 0; pointer-events: none; }
.tabs.ready .tab-indicator { transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1); }
.tab-panel { padding: 30px 34px 34px; }
.tab-panel:not([hidden]) { animation: panel-in .32s cubic-bezier(.2,.8,.2,1) both; }
@keyframes panel-in { from { opacity: 0; transform: translateX(var(--enter-x, 0)); } }
.tab-panel h2 { font-size: 1.35rem; }
.tab-panel .sub { color: var(--muted); }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.input { width: 100%; padding: 13px 16px; font: inherit; border: 1.5px solid #cfcbbf; border-radius: 12px; background: #fff; }
.input:focus { border-color: var(--navy); outline: 3px solid rgba(245,183,0,.45); outline-offset: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.small-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: .93rem; }

.grad-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
.years { list-style: none; margin: 0; padding: 18px 20px; background: var(--warm); border-radius: 14px; }
.years li { display: flex; gap: 12px; align-items: baseline; }
.years li + li { margin-top: 14px; }
.years .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; transform: translateY(-1px); }
.years strong { display: block; font-size: .95rem; }
.years span.d { color: var(--muted); font-size: .9rem; }
.dot-ok { background: #1d9a5c; } .dot-info { background: var(--navy); } .dot-warn { background: var(--gold); }

.help-list { list-style: none; margin: 0; padding: 0; }
.help-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.help-list li:first-child { border-top: 0; padding-top: 4px; }
.help-list p { margin: 0; color: var(--muted); font-size: .93rem; }
.help-list h3 { margin: 0 0 2px; font-size: 1.02rem; }

/* Results */
.results-area:has(.result-card:not([hidden])) { padding-top: 40px; }
.result-card { background: #fff; border-radius: 18px; padding: 28px 30px; box-shadow: 0 2px 12px rgba(19,33,61,.07); }
.result-card:not([hidden]) { animation: rise-in .4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } }
.result-none p { color: var(--muted); max-width: 44em; }

/* Content */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 40em; margin: 0 auto 36px; }
.section-head p { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border-radius: 18px; padding: 28px; text-align: center; box-shadow: 0 2px 12px rgba(19,33,61,.06); transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(19,33,61,.1); }
.feature .ring { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: var(--gold-soft); color: #9a6f00; display: grid; place-items: center; font-size: 26px; }
.feature p { color: var(--muted); margin: 0; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: t; position: relative; }
.timeline::before { content: ""; position: absolute; top: 21px; left: 16%; right: 16%; height: 3px; background: var(--gold); }
.timeline li { counter-increment: t; text-align: center; padding: 0 18px; position: relative; }
.timeline li::before { content: counter(t); display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; box-shadow: 0 0 0 6px var(--warm); position: relative; }
.timeline p { color: var(--muted); margin: 0; }

.note { max-width: 820px; margin: 40px auto 0; background: var(--gold-soft); border-radius: 14px; padding: 18px 22px; display: flex; gap: 14px; }
.note .icon { font-size: 22px; color: #9a6f00; margin-top: 3px; }
.note ul { margin: 0; padding-left: 18px; }
.note li + li { margin-top: 6px; }

.bg-white { background: #fff; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--warm); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%) rotate(0deg);
  width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; line-height: 1;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background-color .2s ease;
}
.faq summary:hover::after { background: #e3a800; }
.faq details[open]:not(.is-closing) summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details { transition: background-color .2s ease; }
.faq details:hover { background: #f4f0e6; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }

@media (max-width: 900px) {
  .main-nav { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .32s cubic-bezier(.2,.8,.2,1), visibility .32s; }
  .main-nav.open { grid-template-rows: 1fr; visibility: visible; }
  .main-nav > .container { min-height: 0; overflow: hidden; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 6px 0 10px; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .grad-split, .features { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 56px; }
  .tab { font-size: .85rem; padding: 14px 4px 12px; }
  .tab-panel { padding: 24px 20px 26px; }
  .form-actions .btn, .tab-panel > .btn { width: 100%; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { display: none; }
  .result-card { padding: 22px 18px; }
}

/* FAQ answers with paragraphs and lists */
.faq details > div p { margin: 0 0 .8em; }
.faq details > div p:last-child { margin-bottom: 0; }
.faq details > div ul { margin: 0 0 .8em; padding-left: 20px; }
.faq details > div ul:last-child { margin-bottom: 0; }
.faq details > div li + li { margin-top: 6px; }
.faq details > div strong { color: #10213f; }

/* Inner pages: short campus-photo banner with an overlapping card */
.page-hero { position: relative; padding: 46px 0 104px; text-align: center; background: #10213f url("../../img/landing/graduates-bg.jpg") center 55% / cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,33,63,.80), rgba(16,33,63,.90)); }
.page-hero .container { position: relative; }
.page-hero .crumbs { margin: 0 0 8px; color: #c9d3e6; font-size: .9rem; }
.page-hero .crumbs a { color: #fdc800; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.5rem); margin: 0 0 6px; }
.page-hero p { color: #dbe2ef; margin: 0; }
.page-body { padding-bottom: 72px; }
.page-card { position: relative; max-width: 860px; margin: -64px auto 0; padding: 34px; background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(19,33,61,.16); }
.page-card.narrow { max-width: 520px; }
.page-card h2 { font-size: 1.35rem; }
.card-intro { color: var(--muted); margin-bottom: 24px; }
.page-note { max-width: 860px; margin: 22px auto 0; text-align: center; color: var(--muted); }
#verify-area .results-area { max-width: 860px; margin: 0 auto; }

/* Employer tab: account steps */
.org-steps { list-style: none; counter-reset: os; margin: 6px 0 24px; padding: 0; }
.org-steps li { counter-increment: os; position: relative; padding: 0 0 16px 48px; }
.org-steps li::before { content: counter(os); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; }
.org-steps strong { display: block; }
.org-steps span { color: var(--muted); font-size: .95rem; }

@media (max-width: 640px) {
  .page-hero { padding: 36px 0 92px; }
  .page-card { padding: 24px 20px; }
}

.org-steps.boxed { margin: 0; padding: 18px 20px 4px; background: var(--warm); border-radius: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .feature:hover, .btn:active, .tab:hover .icon { transform: none; }
}
/* Sign-in and registration components (assets/css/auth.css) */
:root { --auth-ink: #13213d; --auth-muted: #5d6677; --auth-line: #e4e1d8; --auth-soft: #faf8f3; --auth-accent: #192f59; --auth-accent-soft: #f1efe8; --auth-alt: #9a6f00; --auth-alt-soft: #fff4cc; --auth-radius: 12px; --auth-card-radius: 18px; }

/* Header: full system name fills the space beside the logo */
.brand-text strong { font-size: 1.2rem; font-weight: 700; line-height: 1.25; max-width: 22em; }
.brand-text span { font-size: .85rem; margin-top: 2px; display: block; }

/* "Who should I contact?" section */
.contact-list { max-width: 860px; margin: 0 auto; }
.contact-list li:first-child { padding-top: 16px; border-top: 1px solid var(--line); }

/* FAQ inside the third tab */
#panel-faq .faq { margin-top: 18px; }

/* Tablets: the long name needs the tagline's space, otherwise it wraps onto five lines */
@media (max-width: 1100px) {
  .tagline { display: none; }
}
@media (max-width: 700px) {
  .brand-text strong { font-size: 1.05rem; }
}

