/* Student MFA marketing site */

:root {
    --bg: #0f1320;
    --bg-raise: #171c2e;
    --bg-card: #1b2138;
    --border: #2a3152;
    --text: #e8ecf8;
    --muted: #9aa3c0;
    --accent: #4f7cff;
    --accent-hover: #6b91ff;
    --ok: #34c98e;
    --radius: 14px;
    --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 800px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.accent { color: var(--accent); }

h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 0.75em; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; margin-bottom: 0.4em; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ---------- nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(15, 19, 32, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center; gap: 28px;
    height: 64px;
}
.brand {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--text); font-size: 1.05rem; letter-spacing: 0.01em;
}
.brand strong { color: var(--accent); font-weight: 700; }
.logo-dot {
    width: 22px; height: 22px; border-radius: 6px;
    background: linear-gradient(135deg, var(--accent), #7c5cff);
    display: inline-block;
}
.nav-links { display: flex; gap: 22px; flex: 1; }
.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }

/* ---------- buttons ---------- */
.btn {
    display: inline-block;
    background: var(--accent); color: #fff;
    padding: 10px 20px; border-radius: 10px;
    font-weight: 600; font-size: 0.95rem;
    transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn.ghost {
    background: transparent; color: var(--text);
    border: 1px solid var(--border);
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.big { padding: 14px 28px; font-size: 1.05rem; border-radius: 12px; }

/* ---------- hero ---------- */
.hero {
    position: relative;
    padding: 96px 0 80px;
    display: grid;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 300px at 75% 10%, rgba(79, 124, 255, 0.18), transparent 70%),
        radial-gradient(500px 300px at 15% 90%, rgba(124, 92, 255, 0.12), transparent 70%);
    pointer-events: none;
}
.hero .wrap { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.eyebrow {
    color: var(--accent); font-weight: 600; font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px;
}
.lede, .section-lede {
    color: var(--muted); font-size: 1.15rem; max-width: 640px;
    margin: 20px auto 0;
}
.section-lede { margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.hero-points {
    list-style: none; display: flex; gap: 26px; justify-content: center;
    margin-top: 34px; flex-wrap: wrap;
}
.hero-points li { color: var(--muted); font-size: 0.92rem; position: relative; padding-left: 22px; }
.hero-points li::before {
    content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700;
}

/* hero mock cards */
.hero-cards {
    position: relative; display: flex; justify-content: center;
    align-items: flex-start; gap: 32px; margin-top: 64px; flex-wrap: wrap;
    padding: 0 24px;
}
.mock {
    width: 340px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.mock-head { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-body { padding: 28px 26px 30px; text-align: center; }
.mock-title { font-weight: 700; font-size: 1.1rem; }
.mock-sub { color: var(--muted); font-size: 0.9rem; margin: 6px 0 20px; }
.mock-pin { display: flex; gap: 10px; justify-content: center; margin-bottom: 22px; }
.pin-cell {
    width: 44px; height: 52px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--bg-raise);
    position: relative;
}
.pin-cell.filled::after {
    content: "•"; position: absolute; inset: 0;
    display: grid; place-items: center;
    font-size: 1.6rem; color: var(--text);
}
.mock-btn {
    background: var(--accent); color: #fff; border-radius: 10px;
    padding: 11px; font-weight: 600;
}
.mock-cap {
    border-top: 1px solid var(--border);
    color: var(--muted); font-size: 0.82rem;
    padding: 12px 18px 14px; text-align: center; line-height: 1.45;
}

/* pattern grid mock */
.pattern-grid {
    position: relative; width: max-content;
    display: grid; grid-template-columns: repeat(3, 52px); gap: 10px;
    margin: 0 auto 14px;
}
.pat-cell {
    width: 52px; height: 52px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--bg-raise);
    display: grid; place-items: center;
    font-weight: 600; font-size: 1.05rem; color: var(--muted);
}
.pat-cell.on {
    border-color: var(--accent); color: var(--text);
    background: rgba(79, 124, 255, 0.16);
}
.pattern-line { position: absolute; inset: 0; pointer-events: none; }
.pattern-code {
    color: var(--accent); font-weight: 700; letter-spacing: 0.2em;
    font-size: 1.05rem; margin-bottom: 18px;
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-raise); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 26px;
}
.card p { color: var(--muted); font-size: 0.95rem; }

/* steps */
.steps {
    list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px; counter-reset: step;
}
.steps li {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 26px;
}
.steps p { color: var(--muted); font-size: 0.95rem; }
.step-num {
    display: inline-grid; place-items: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent); color: #fff; font-weight: 700;
    margin-bottom: 16px;
}

/* features grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
}
.feature p { color: var(--muted); font-size: 0.92rem; }

/* checklist */
.checklist { list-style: none; display: grid; gap: 16px; }
.checklist li {
    position: relative; padding-left: 30px; color: var(--muted); font-size: 0.97rem;
}
.checklist li strong { color: var(--text); }
.checklist li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    color: var(--ok); font-weight: 700; font-size: 1.05rem;
}

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 28px; }
.price-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 30px 26px;
    display: flex; flex-direction: column; gap: 14px;
}
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.price-figure { font-size: 1.9rem; font-weight: 700; line-height: 1.15; }
.price-unit { display: block; color: var(--muted); font-size: 0.85rem; font-weight: 400; margin-top: 2px; }
.price-desc { color: var(--muted); font-size: 0.93rem; }
.price-card ul { list-style: none; display: grid; gap: 9px; flex: 1; }
.price-card li { color: var(--muted); font-size: 0.93rem; padding-left: 22px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.price-card .btn { text-align: center; }

/* faq */
details {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; padding: 18px 22px; margin-bottom: 12px;
}
details summary {
    cursor: pointer; font-weight: 600; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 12px; font-size: 0.96rem; }

/* cta band */
.cta-band {
    background: linear-gradient(160deg, rgba(79, 124, 255, 0.14), rgba(124, 92, 255, 0.08));
    border-top: 1px solid var(--border);
}

/* footer */
.foot { border-top: 1px solid var(--border); padding: 48px 0 28px; }
.foot-inner {
    display: flex; justify-content: space-between; gap: 32px;
    align-items: flex-start; margin-bottom: 32px; flex-wrap: wrap;
}
.foot-inner .muted { max-width: 420px; font-size: 0.9rem; margin-top: 10px; }
.foot-inner address { font-style: normal; line-height: 1.7; margin-top: 14px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--muted); font-size: 0.93rem; }
.foot-links a:hover { color: var(--text); }

/* legal pages */
.legal { padding: 72px 0; }
.legal h1 { font-size: 2rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); font-size: 0.98rem; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal .updated { font-size: 0.85rem; margin-bottom: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .cols3, .steps, .grid, .pricing { grid-template-columns: 1fr; }
    .cols2 { grid-template-columns: 1fr; gap: 16px; }
    .section { padding: 60px 0; }
    .hero { padding: 64px 0 48px; }
}
