
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy: #0D1B3D;
  --navy-2: #162A54;
  --cream: #F7F4EB;
  --green: #2E7D52;
  --green-dark: #236441;
  --gold: #D4AF37;
  --sky: #E6F1FB;
  --slate: #64748B;
  --ink: #18243A;
  --muted: #5F6D80;
  --paper: #FFFFFF;
  --danger: #C84A35;
  --success: #22774A;
  --line: #DDE5EC;
  --shadow-sm: 0 8px 24px rgba(13,27,61,.08);
  --shadow-lg: 0 24px 70px rgba(13,27,61,.15);
  --radius: 22px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Public Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--gold); }
h1,h2,h3,h4 { font-family: var(--serif); color: var(--navy); line-height: 1.08; margin: 0 0 .55em; }
h1 { font-size: clamp(2.8rem, 5.2vw, 5rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); letter-spacing: -.03em; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.15em; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 64ch; }
.text-link { color: var(--green); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.text-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 8px; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(13,27,61,.08); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-family: var(--serif); font-weight: 800; font-size: clamp(1rem, 2vw, 1.42rem); letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { width: 54px; height: 54px; flex: 0 0 auto; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.nav-item, .nav-link { position: relative; }
.nav-link, .nav-drop-btn { border: 0; background: transparent; color: var(--navy); font-weight: 600; padding: 12px 13px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; }
.nav-link:hover, .nav-drop-btn:hover, .nav-link[aria-current="page"] { background: var(--sky); color: var(--green-dark); }
.nav-drop-btn::after { content: '⌄'; font-size: .9em; transform: translateY(-2px); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: 10px; border: 1px solid var(--line); background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .18s ease; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; transform: translateY(0); pointer-events: auto; }
.dropdown a { display: block; padding: 11px 12px; border-radius: 10px; font-weight: 600; }
.dropdown a:hover { background: var(--sky); color: var(--green-dark); }
.nav-cta, .btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 0; border-radius: 10px; padding: 14px 20px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }
.nav-cta, .btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 22px rgba(46,125,82,.2); }
.nav-cta:hover, .btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 14px 26px rgba(46,125,82,.25); }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display:block; width: 24px; height:2px; margin:5px 0; background:var(--navy); }
.mobile-nav { display: none; }

.hero { position: relative; overflow: hidden; min-height: 720px; background: linear-gradient(135deg,#f8fbff 0%,#edf7ff 48%,#fff 100%); border-bottom: 1px solid #d7e6f0; }
.hero::before, .hero::after { content:''; position:absolute; border-radius:50%; background:rgba(255,255,255,.72); filter:blur(1px); }
.hero::before { width: 420px; height: 160px; left: -80px; bottom: 80px; }
.hero::after { width: 520px; height: 180px; right: -130px; top: 210px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.48fr; gap: 48px; align-items: center; padding: 68px 0 188px; }
.hero-copy { padding: 28px 0; }
.hero-copy h1 span { color: var(--green); }
.hero-copy .lede { font-size: 1.18rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.trust-chips { display:flex; flex-wrap:wrap; gap:18px; color:var(--navy); font-size:.86rem; font-weight:600; }
.trust-chips span { display:inline-flex; align-items:center; gap:7px; }
.trust-chips svg { width:18px; fill:none; stroke:var(--green); stroke-width:2; }
.hero-landscape { position:absolute; left:0; right:0; bottom:0; height:148px; z-index:1; pointer-events:none; overflow:hidden; }
.hero-landscape::after { content:''; position:absolute; left:0; right:0; bottom:0; height:10px; background:rgba(185,213,224,.28); }
.scene-hill { position:absolute; left:-4%; right:-4%; bottom:-56px; border-radius:50% 50% 0 0 / 100% 100% 0 0; }
.scene-hill.hill-back { height:138px; background:#dcebf4; transform:translateX(-2%); opacity:.95; }
.scene-hill.hill-mid { height:116px; bottom:-50px; background:#cfe4ee; transform:translateX(16%); opacity:.92; }
.scene-hill.hill-front { height:92px; bottom:-42px; background:#d6e7dc; transform:translateX(-10%); opacity:.98; }
.campus-landscape-img { position:absolute; left:0; bottom:0; width:min(460px, 36vw); height:auto; object-fit:contain; object-position:left bottom; }

.calculator-shell { background: rgba(255,255,255,.93); border:1px solid rgba(13,27,61,.1); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 18px; display:grid; grid-template-columns:1.36fr .84fr; gap:18px; }
.calc-panel { padding: 14px 10px 8px; }
.calc-title { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.icon-badge { width:42px; height:42px; border-radius:14px; background:var(--sky); display:grid; place-items:center; color:var(--navy); flex:0 0 auto; }
.icon-badge svg, .feature-icon svg, .trust-icon svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.calc-title h2 { font-family:var(--sans); font-size:1.25rem; margin:0; letter-spacing:0; }
.calc-fields { display:grid; gap:10px; }
.field-row { display:grid; grid-template-columns: minmax(180px,1fr) minmax(140px,190px); gap:16px; align-items:center; padding: 8px 0; border-bottom:1px solid #edf1f4; }
.field-row label { font-size:.9rem; color:var(--ink); font-weight:600; }
.field-label { display:flex; align-items:center; gap:9px; }
.field-label svg { width:20px; height:20px; fill:none; stroke:var(--slate); stroke-width:1.8; }
.input-wrap { position:relative; }
.input-wrap .prefix, .input-wrap .suffix { position:absolute; top:50%; transform:translateY(-50%); color:var(--muted); font-weight:700; pointer-events:none; font-size:.88rem; }
.input-wrap .prefix { left:12px; }
.input-wrap .suffix { right:12px; }
.input-wrap input, .input-wrap select, .contact-form input, .contact-form textarea { width:100%; border:1px solid #d5dde5; background:#fff; color:var(--navy); border-radius:9px; padding:11px 12px; outline:none; transition:.18s ease; }
.input-wrap.has-prefix input { padding-left:29px; }
.input-wrap.has-suffix input { padding-right:42px; }
.input-wrap input:focus, .input-wrap select:focus, .contact-form input:focus, .contact-form textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(46,125,82,.12); }
.calc-presets { display:flex; flex-wrap:wrap; gap:8px; padding-top:14px; }
.preset-btn { border:1px solid #d5dde5; background:#fff; color:var(--navy); padding:8px 10px; border-radius:999px; font-size:.78rem; font-weight:700; }
.preset-btn:hover { border-color:var(--green); color:var(--green-dark); background:#f4fbf6; }
.calc-note { display:flex; gap:9px; align-items:flex-start; color:var(--muted); font-size:.75rem; margin-top:14px; }
.calc-note svg { width:22px; flex:0 0 auto; fill:none; stroke:var(--green); stroke-width:1.8; }
.results-panel { background:linear-gradient(155deg,#eef7ff,#e2f0fb); border:1px solid #d4e4f1; border-radius:18px; padding:24px 20px; display:flex; flex-direction:column; }
.results-panel h3 { font-size:1.2rem; margin-bottom:4px; }
.result-kicker { font-size:.78rem; color:var(--muted); margin-bottom:12px; }
.result-item { padding:14px 0; border-bottom:1px solid rgba(100,116,139,.22); }
.result-item:last-of-type { border-bottom:0; }
.result-label { display:flex; align-items:center; gap:5px; color:var(--ink); font-size:.8rem; font-weight:600; }
.result-value { font-family:var(--serif); font-size:2rem; line-height:1.15; color:var(--navy); font-weight:700; }
.result-value.good { color:var(--green); }
.result-value.alert { color:var(--danger); }
.result-tip { margin-top:14px; border:1px solid #bdd7ee; border-radius:10px; background:rgba(255,255,255,.46); padding:12px; display:flex; gap:9px; font-size:.75rem; color:var(--ink); }
.result-tip::before { content:'✦'; color:var(--gold); font-size:1.15rem; }
.results-panel .text-link { margin-top:auto; padding-top:14px; font-size:.82rem; color:#1a66c7; }

.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.feature-card { border:1px solid var(--line); border-radius:18px; padding:28px; background:#fff; box-shadow:var(--shadow-sm); display:grid; grid-template-columns:auto 1fr; gap:18px; transition:.2s ease; }
.feature-card:hover { transform:translateY(-5px); box-shadow:0 18px 44px rgba(13,27,61,.12); }
.feature-icon { width:64px; height:64px; border-radius:50%; display:grid; place-items:center; background:#eef7f2; color:var(--green); }
.feature-card:nth-child(2) .feature-icon { background:var(--sky); color:var(--navy); }
.feature-card h3 { margin:.15em 0 .35em; font-size:1.28rem; }
.feature-card p { font-size:.92rem; color:var(--muted); margin-bottom:.8em; }

.trust-band { background:var(--cream); border:1px solid #eee7d8; border-radius:18px; padding:24px; display:grid; grid-template-columns:1.35fr repeat(3,1fr); gap:18px; align-items:center; }
.trust-lead { display:flex; gap:15px; align-items:center; }
.trust-icon { width:54px; height:54px; border:1.5px solid var(--navy); border-radius:50%; display:grid; place-items:center; color:var(--navy); flex:0 0 auto; }
.trust-lead h3 { font-size:1.24rem; margin:0 0 .25em; }
.trust-lead p, .trust-item p { font-size:.8rem; color:var(--muted); margin:0; }
.trust-item { border-left:1px solid #d7ccb7; padding-left:18px; }
.trust-item strong { display:flex; align-items:center; gap:8px; font-size:.78rem; color:var(--navy); }
.trust-item svg { width:22px; fill:none; stroke:var(--navy); stroke-width:1.8; }

.section-head { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:34px; }
.section-head p { max-width:600px; color:var(--muted); margin:0; }
.math-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:38px; align-items:center; }
.formula-card { background:var(--navy); color:#fff; border-radius:24px; padding:34px; box-shadow:var(--shadow-lg); }
.formula-card h3 { color:#fff; font-size:1.7rem; }
.formula-line { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); padding:16px; border-radius:12px; margin:12px 0; font-size:.9rem; }
.formula-line strong { color:#f0cf62; }
.list-checks { list-style:none; padding:0; margin:22px 0; }
.list-checks li { display:flex; gap:12px; margin:11px 0; }
.list-checks li::before { content:'✓'; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; background:#e7f5ec; color:var(--green); font-weight:900; flex:0 0 auto; }

.scenario-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.scenario-card { border:1px solid var(--line); border-radius:18px; overflow:hidden; background:#fff; }
.scenario-card .scenario-top { padding:24px; background:var(--sky); }
.scenario-card:nth-child(2) .scenario-top { background:#edf7f1; }
.scenario-card:nth-child(3) .scenario-top { background:#fbf4e2; }
.scenario-card .scenario-body { padding:24px; }
.scenario-price { font-family:var(--serif); color:var(--navy); font-size:2rem; font-weight:700; }
.scenario-card small { color:var(--muted); }

.faq-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:56px; align-items:start; }
.faq-list details { border-bottom:1px solid var(--line); padding:0; }
.faq-list summary { list-style:none; cursor:pointer; font-weight:700; color:var(--navy); padding:19px 38px 19px 0; position:relative; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:'+'; position:absolute; right:4px; top:15px; font-size:1.4rem; color:var(--green); }
.faq-list details[open] summary::after { content:'−'; }
.faq-list details p { color:var(--muted); padding:0 28px 18px 0; font-size:.93rem; }

.newsletter { background:linear-gradient(90deg,var(--navy),#12356c); color:#fff; border-radius:20px; padding:28px 34px; display:grid; grid-template-columns:1fr 1.15fr; gap:26px; align-items:center; overflow:hidden; position:relative; }
.newsletter::after { content:'COLLEGE\A PLAN'; white-space:pre; position:absolute; right:26px; bottom:-12px; font-family:var(--serif); font-weight:800; font-size:3.5rem; line-height:.78; color:rgba(255,255,255,.05); transform:rotate(-5deg); }
.newsletter h3 { color:#fff; margin:0 0 .25em; font-size:1.55rem; }
.newsletter p { margin:0; color:#dce7f7; font-size:.88rem; }
.newsletter-form { display:flex; position:relative; z-index:1; }
.newsletter-form input { flex:1; min-width:0; border:0; border-radius:10px 0 0 10px; padding:14px 16px; outline:none; }
.newsletter-form button { border:0; border-radius:0 10px 10px 0; padding:14px 22px; background:var(--gold); color:var(--navy); font-weight:800; }
.form-success { display:none; grid-column:1/-1; margin-top:8px; font-size:.85rem; color:#c7f4d8; }

.site-footer { background:#091630; color:#d8e1ed; padding:58px 0 26px; }
.footer-grid { display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:44px; }
.footer-brand .brand { color:#fff; margin-bottom:14px; }
.footer-brand p { color:#aebbd0; font-size:.88rem; max-width:360px; }
.footer-col h3 { font-family:var(--sans); color:#fff; font-size:.86rem; letter-spacing:.06em; text-transform:uppercase; }
.footer-col a { display:block; color:#aebbd0; margin:9px 0; font-size:.88rem; }
.footer-col a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:40px; padding-top:20px; display:flex; justify-content:space-between; gap:20px; font-size:.78rem; color:#8fa0b9; }

.page-hero { background:linear-gradient(135deg,#f5faff,var(--sky)); padding:72px 0; border-bottom:1px solid #dbe8f1; }
.page-hero .container { max-width:920px; }
.page-hero h1 { font-size:clamp(2.7rem,5vw,4.5rem); }
.breadcrumbs { font-size:.8rem; color:var(--slate); margin-bottom:18px; }
.breadcrumbs a { color:var(--green); font-weight:700; }
.article-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:54px; align-items:start; }
.prose { font-size:1rem; color:#344155; }
.prose h2 { margin-top:1.7em; font-size:2rem; }
.prose h3 { margin-top:1.5em; font-size:1.35rem; }
.prose a { color:var(--green-dark); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.prose ul, .prose ol { padding-left:1.3rem; }
.prose li { margin:.55em 0; }
.callout { border-left:4px solid var(--gold); background:var(--cream); padding:20px 22px; border-radius:0 14px 14px 0; margin:28px 0; }
.callout strong { color:var(--navy); }
.source-box { margin-top:40px; border-top:1px solid var(--line); padding-top:24px; color:var(--muted); font-size:.82rem; }
.sidebar-card { position:sticky; top:116px; border:1px solid var(--line); border-radius:18px; padding:24px; box-shadow:var(--shadow-sm); }
.sidebar-card h3 { font-size:1.25rem; }
.sidebar-card ul { list-style:none; padding:0; margin:0; }
.sidebar-card li { border-top:1px solid var(--line); padding:10px 0; }
.sidebar-card li:first-child { border-top:0; }
.sidebar-card a { color:var(--green-dark); font-weight:700; font-size:.88rem; }

.benchmark-table { width:100%; border-collapse:collapse; margin:24px 0; font-size:.9rem; }
.benchmark-table th, .benchmark-table td { padding:13px 14px; border:1px solid var(--line); text-align:left; }
.benchmark-table th { background:var(--navy); color:#fff; }
.benchmark-table tr:nth-child(even) td { background:#f8fbfd; }

.contact-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:44px; }
.contact-card { background:var(--navy); color:#fff; border-radius:22px; padding:34px; }
.contact-card h2 { color:#fff; }
.contact-card p { color:#c9d5e6; }
.contact-form { display:grid; gap:16px; border:1px solid var(--line); border-radius:22px; padding:32px; box-shadow:var(--shadow-sm); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact-form label { font-weight:700; color:var(--navy); font-size:.88rem; }
.contact-form textarea { min-height:160px; resize:vertical; }

.legal { max-width:840px; }
.legal h2 { margin-top:1.7em; }
.updated { color:var(--slate); font-size:.84rem; }
.ad-placeholder { margin:30px auto; max-width:970px; min-height:90px; display:none; }

@media (prefers-reduced-motion:no-preference) {
  .hero::before { animation: drift 11s ease-in-out infinite alternate; }
  .hero::after { animation: drift 15s ease-in-out infinite alternate-reverse; }
  .calculator-shell { animation: rise .7s ease both; }
  @keyframes drift { from { transform:translateX(-12px); } to { transform:translateX(18px); } }
  @keyframes rise { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
}

@media (max-width: 1020px) {
  .desktop-nav, .nav-cta { display:none; }
  .menu-toggle { display:block; }
  .mobile-nav { display:none; padding:0 0 18px; }
  .mobile-nav.open { display:grid; }
  .mobile-nav a { padding:10px 0; border-top:1px solid var(--line); font-weight:700; color:var(--navy); }
  .hero-grid { grid-template-columns:1fr; padding-top:42px; }
  .hero-copy { max-width:740px; }
  .calculator-shell { max-width:820px; }
  .feature-grid, .scenario-grid { grid-template-columns:1fr; }
  .trust-band { grid-template-columns:1fr 1fr; }
  .trust-item:nth-child(3) { border-left:0; }
  .math-grid, .faq-grid, .contact-grid { grid-template-columns:1fr; }
  .article-layout { grid-template-columns:1fr; }
  .sidebar-card { position:static; }
}

@media (max-width: 760px) {
  .hero-landscape { height:132px; }
  .campus-landscape-img { left:0; width:min(360px, 72vw); }
  .container { width:min(100% - 26px,1160px); }
  .section { padding:60px 0; }
  .nav-wrap { min-height:74px; }
  .brand-mark { width:44px; height:44px; }
  .brand { font-size:.98rem; }
  .hero { min-height:auto; }
  .hero-grid { padding:38px 0 166px; gap:26px; }
  h1 { font-size:clamp(2.55rem,12vw,4rem); }
  .calculator-shell { grid-template-columns:1fr; padding:10px; }
  .field-row { grid-template-columns:1fr; gap:7px; }
  .results-panel { min-height:480px; }
  .feature-card { grid-template-columns:1fr; }
  .trust-band { grid-template-columns:1fr; }
  .trust-item { border-left:0; border-top:1px solid #d7ccb7; padding:16px 0 0; }
  .section-head { display:block; }
  .newsletter { grid-template-columns:1fr; padding:26px 20px; }
  .newsletter-form { display:grid; grid-template-columns:1fr; gap:8px; }
  .newsletter-form input, .newsletter-form button { border-radius:10px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
  .footer-bottom { display:block; }
  .form-row { grid-template-columns:1fr; }
}

@media (max-width: 480px) {
  .hero-landscape { height:118px; }
  .campus-landscape-img { width:min(300px, 78vw); }
  .footer-grid { grid-template-columns:1fr; }
  .trust-chips { display:grid; gap:8px; }
  .hero-actions .btn { width:100%; }
  .calculator-shell { margin-inline:-4px; }
  .calc-panel { padding-inline:8px; }
}
