:root {
  color: #151312;
  background: #fbfaf8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --accent: #c8242f;
  --accent-dark: #9f1720;
  --ink: #171311;
  --muted: #6f6965;
  --line: #e8e1da;
  --soft: #f5f1ec;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(31, 22, 17, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at top left, #fff4ef 0, transparent 32rem), #fbfaf8; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 860px; }
.section-pad { padding: 96px 0; }
.soft-section { background: rgba(245, 241, 236, 0.72); border-block: 1px solid var(--line); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 248, 0.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(232, 225, 218, 0.85); }
.nav-shell { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 14px; color: white; background: #171311; font-size: 0.82rem; box-shadow: 0 12px 28px rgba(23, 19, 17, 0.15); }
.nav-links { display: flex; align-items: center; gap: 18px; margin-left: auto; color: #514b47; font-size: 0.94rem; }
.nav-links a { padding: 10px 2px; border-bottom: 2px solid transparent; transition: 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); border-color: var(--accent); }
.nav-cta { border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; font-weight: 750; background: white; box-shadow: 0 10px 30px rgba(31, 22, 17, 0.05); transition: 0.2s ease; }
.nav-cta:hover { transform: translateY(-1px); border-color: #d9c8bd; }
.menu-button { display: none; margin-left: auto; border: 0; background: transparent; }

.hero { padding-top: 112px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 5.9rem); line-height: 0.92; letter-spacing: -0.085em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.065em; margin-bottom: 18px; }
h3 { font-size: 1.35rem; letter-spacing: -0.035em; }
p { color: var(--muted); line-height: 1.7; }
.hero-subtitle { max-width: 650px; font-size: 1.14rem; }
.flipper-line { color: #302a26; font-weight: 750; font-size: 1.18rem; margin-bottom: 14px; }
.word-flipper { display: inline-flex; color: var(--accent); min-width: 210px; animation: flipIn 2.2s ease infinite; transform-origin: center; }
@keyframes flipIn { 0% { opacity: 0; transform: translateY(12px) rotateX(-70deg); } 18%, 78% { opacity: 1; transform: translateY(0) rotateX(0); } 100% { opacity: 0; transform: translateY(-8px) rotateX(60deg); } }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; padding: 15px 22px; border: 1px solid transparent; font-weight: 800; transition: 0.22s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.primary { color: white; background: var(--accent); box-shadow: 0 18px 36px rgba(200, 36, 47, 0.24); }
.primary:hover { background: var(--accent-dark); }
.secondary { color: var(--ink); background: white; border-color: var(--line); box-shadow: 0 14px 34px rgba(31, 22, 17, 0.06); }
.hero-search-card { background: rgba(255,255,255,0.78); border: 1px solid var(--line); border-radius: 34px; padding: 28px; box-shadow: var(--shadow); }
.search-label { display: block; color: var(--muted); font-weight: 800; margin-bottom: 14px; }

.university-search { display: flex; align-items: center; gap: 12px; background: white; border: 1px solid var(--line); border-radius: 24px; padding: 12px 12px 12px 18px; box-shadow: 0 18px 48px rgba(31, 22, 17, 0.07); }
.university-search:focus-within { border-color: #d2b1a7; box-shadow: 0 20px 52px rgba(200, 36, 47, 0.09); }
.university-search svg { color: var(--accent); flex: 0 0 auto; }
.university-search input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.university-search button { border: 0; background: #171311; color: white; padding: 12px 18px; border-radius: 16px; font-weight: 800; cursor: pointer; }
.suggestion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.university-card, .program-card, .truth-card, .lead-form, .checklist-card { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: 0 16px 46px rgba(31, 22, 17, 0.045); transition: 0.22s ease; }
.university-card:hover, .program-card:hover, .truth-card:hover { transform: translateY(-4px); border-color: #daccc3; box-shadow: var(--shadow); }
.university-card.small { padding: 16px; border-radius: 22px; }
.card-topline { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); font-weight: 850; }
.card-topline svg { color: var(--accent); }
.university-card p { margin: 12px 0; font-size: 0.94rem; }
.university-card small { color: #7b5f56; font-weight: 800; }
.program-pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.program-pills span { background: var(--soft); color: #493d38; border-radius: 999px; padding: 7px 10px; font-size: 0.78rem; font-weight: 750; }

.section-intro { max-width: 760px; margin-bottom: 34px; }
.two-card-grid, .fees-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.fees-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.program-card svg { color: var(--accent); width: 34px; height: 34px; }
.program-card ul { color: var(--muted); line-height: 1.9; padding-left: 20px; }
.program-card a { color: var(--accent); font-weight: 850; }
.university-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.split-section { display: grid; grid-template-columns: 1fr 0.85fr; gap: 42px; align-items: center; }
.checklist-card h3, .checklist-card h2 { margin-bottom: 20px; }
.checklist-card p, .bullet-panel p { display: flex; align-items: flex-start; gap: 10px; color: #403936; font-weight: 650; }
.checklist-card svg, .bullet-panel svg { color: var(--accent); flex: 0 0 auto; margin-top: 4px; }
.dark-section { background: #171311; color: white; }
.dark-section p { color: #d6cfca; }
.dark-section .eyebrow { color: #ff7079; }
.truth-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.truth-card { background: #211c19; border-color: #332a25; }
.truth-card svg { color: #ff7079; }
.alumni-panel { display: grid; grid-template-columns: 0.85fr 1fr; gap: 44px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 38px; padding: 38px; box-shadow: var(--shadow); }

.faq-list { display: grid; gap: 12px; }
details { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; }
summary { cursor: pointer; font-weight: 850; }
details p { margin: 14px 0 0; }
.final-cta { text-align: center; background: #171311; border-radius: 40px; padding: 62px 28px; box-shadow: var(--shadow); }
.final-cta h2 { color: white; }
.final-cta p { max-width: 620px; margin: 0 auto 26px; color: #d8d0ca; }

.page-hero { background: linear-gradient(180deg, rgba(255,244,239,0.62), rgba(251,250,248,0)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.bullet-panel { background: var(--soft); border: 1px solid var(--line); border-radius: 28px; padding: 24px; }
.contact-layout { display: grid; grid-template-columns: 0.78fr 1fr; gap: 48px; align-items: start; }
.contact-note { display: flex; gap: 10px; align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 22px; padding: 16px; color: #493d38; font-weight: 750; }
.contact-note svg { color: var(--accent); }

.lead-form h2 { margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lead-form label { display: grid; gap: 8px; color: #514b47; font-size: 0.88rem; font-weight: 800; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; background: #fbfaf8; padding: 13px 14px; outline: 0; color: var(--ink); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: #cda59c; background: white; }
.full { grid-column: 1 / -1; }
.form-button { margin-top: 20px; width: 100%; }
.lead-form.compact { padding: 22px; }
.lead-form.compact h2 { font-size: 1.65rem; }

.disclaimer-section { padding: 24px 0; background: #fff; border-top: 1px solid var(--line); }
.disclaimer-section p { margin: 0; font-size: 0.92rem; }
.footer { background: #111; color: white; padding: 52px 0; }
.footer p, .footer a { color: #c9c1bc; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.7fr 0.9fr; gap: 34px; }
.footer h4 { margin: 0 0 14px; }
.footer a { display: block; margin-bottom: 10px; }
.footer .brand { color: white; margin-bottom: 16px; }
.thank-you { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.message-box { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 20px; margin: 24px 0; color: #342c28; font-weight: 750; box-shadow: var(--shadow); }

@media (max-width: 980px) {
  .nav-cta { display: none; }
  .menu-button { display: inline-flex; }
  .nav-links { position: absolute; inset: 76px 20px auto 20px; display: none; flex-direction: column; align-items: stretch; background: white; border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero-grid, .split-section, .alumni-panel, .contact-layout { grid-template-columns: 1fr; }
  .university-grid, .truth-grid, .fees-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { letter-spacing: -0.07em; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .section-pad { padding: 68px 0; }
  .hero { padding-top: 74px; }
  h1 { font-size: 3rem; }
  .hero-search-card, .alumni-panel, .final-cta { border-radius: 28px; padding: 22px; }
  .university-search { align-items: stretch; flex-wrap: wrap; border-radius: 22px; }
  .university-search input { flex-basis: calc(100% - 38px); }
  .university-search button { width: 100%; }
  .suggestion-grid, .two-card-grid, .university-grid, .truth-grid, .fees-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .word-flipper { min-width: 0; display: inline; }
}
.icon { display: inline-flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 900; }
.program-card > .icon { width: 34px; height: 34px; border-radius: 12px; background: #fff1ee; margin-bottom: 16px; }
.truth-card > .icon { color: #ff7079; margin-bottom: 12px; }
.university-search .icon { flex: 0 0 auto; font-size: 1.25rem; }
.empty-state { grid-column: 1 / -1; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin: 0; }
