/* Virtual Ventures Academy
   Palette comes from a student's desk: white paper, ledger-green paper,
   blue-black ink, and a yellow pencil. Headings match the logo's lettering. */

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

:root {
  --ink: #14213D;
  --ink-soft: #4A556C;
  --paper: #FFFFFF;
  --ledger: #E8F0E3;
  --ledger-line: #B7CDB1;
  --margin-red: #D89090;
  --pencil: #F5C542;
  --pencil-dark: #E6B32E;
  --green: #1D6744;
  --rule: #D8DDE6;
  --error: #9B1C14;
  --sans: 'Poppins', 'Avenir Next', 'Segoe UI', Arial, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--serif); font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--sans); line-height: 1.15; letter-spacing: -0.015em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* NAV */
.site-nav { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 48px; width: auto; display: block; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a, .back-link { font-family: var(--sans); font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .back-link:hover { border-bottom-color: var(--pencil); }
.nav-auth { display: flex; align-items: center; gap: 8px; }
.nav-login, .nav-cta { font-family: var(--sans); font-size: 15px; font-weight: 600; padding: 10px 16px; border-radius: 6px; cursor: pointer; text-decoration: none; display: inline-block; line-height: 1.2; }
.nav-login { background: transparent; color: var(--ink); border: 2px solid transparent; }
.nav-login:hover { border-color: var(--ink); }
.nav-cta { background: var(--ink); color: #fff; border: 2px solid var(--ink); }
.nav-cta:hover { background: #24375F; border-color: #24375F; }

/* BUTTONS AND LINKS */
.btn { display: inline-block; font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.2; padding: 15px 22px; border-radius: 6px; background: var(--pencil); color: var(--ink); border: 2px solid var(--ink); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--pencil-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #24375F; }
.text-link { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--pencil-dark); text-decoration-thickness: 2px; text-underline-offset: 5px; background: none; border: none; cursor: pointer; padding: 0; }
.text-link:hover { text-decoration-color: var(--ink); }

/* HERO */
.hero { padding: 84px 0 104px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 72px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 28px; }
.hero-sub { font-size: 21px; line-height: 1.55; max-width: 34em; margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* The ledger sheet: bootcamp facts on a page torn from an accounts book */
.sheet { position: relative; background: var(--ledger); padding: 26px 0 10px; transform: rotate(-1.4deg); box-shadow: 0 18px 32px -22px rgba(20, 33, 61, 0.45); }
.sheet::before { content: ''; position: absolute; top: 0; bottom: 0; left: 124px; width: 4px; border-left: 1px solid var(--margin-red); border-right: 1px solid var(--margin-red); }
.sheet-title { font-family: var(--sans); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; padding: 0 24px 16px 146px; }
.sheet dl > div { display: grid; grid-template-columns: 124px 1fr; border-top: 1px solid var(--ledger-line); }
.sheet dt { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--green); padding: 15px 12px 13px 22px; }
.sheet dd { font-family: var(--sans); font-size: 16px; font-weight: 600; padding: 13px 20px 13px 22px; line-height: 1.35; }

/* SECTIONS */
.section { padding: 92px 0; }
.section h2 { font-size: clamp(28px, 3.3vw, 40px); font-weight: 600; margin-bottom: 20px; max-width: 20em; }
.lede { max-width: 38em; }
.band-rule { border-top: 1px solid var(--rule); }

/* ICON TILES (shared by the steps, review groups and the planned list) */
.icon-tile { position: relative; flex-shrink: 0; width: 76px; height: 76px; border-radius: 16px; background: var(--ledger); display: grid; place-items: center; }
.icon-tile svg { width: 42px; height: 42px; display: block; }
.icon-tile.small { width: 56px; height: 56px; border-radius: 12px; }
.icon-tile.small svg { width: 32px; height: 32px; }

/* BOOTCAMP: four steps on a path */
.steps { list-style: none; counter-reset: step; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 56px; }
.steps::before { content: ''; position: absolute; top: 37px; left: 38px; width: calc(3 * ((100% - 108px) / 4 + 36px)); border-top: 2px dashed var(--ledger-line); }
.steps li { counter-increment: step; position: relative; }
.steps .icon-tile { margin-bottom: 22px; }
.steps .icon-tile::after { content: counter(step); position: absolute; top: -9px; right: -9px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 28px; text-align: center; }
.steps h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.steps p { font-size: 16.5px; line-height: 1.6; }

/* STUDENT EXAMPLE */
.example { margin-top: 72px; display: grid; grid-template-columns: 200px 1fr; gap: 44px; align-items: center; }
.student-photo { width: 200px; height: 200px; object-fit: cover; border-radius: 3px; display: block; }
.example h3 { font-size: 26px; font-weight: 600; margin-bottom: 12px; }
.example p { max-width: 34em; margin-bottom: 18px; }

/* FOUNDER */
.founder { background: var(--paper); }
.founder .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.founder h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.letter p { margin-bottom: 20px; max-width: 34em; }
.letter .signoff { font-family: var(--sans); font-size: 16px; font-weight: 600; margin-top: 28px; margin-bottom: 0; }
.letter .signoff span { display: block; font-weight: 500; font-size: 14px; color: var(--ink-soft); }

/* REVIEWS */
.reviews { background: var(--ledger); }
.reviews-head { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; margin-bottom: 52px; }
.reviews-head h2 { margin-bottom: 12px; }
.rating-panel { display: flex; align-items: center; gap: 26px; background: #fff; border-radius: 12px; padding: 22px 28px; }
.rating-score { display: flex; align-items: center; gap: 16px; }
.rating-score p { font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink-soft); }
.rating-score .stars { margin-bottom: 4px; }
.rating-num { font-family: var(--sans); font-size: 58px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.rating-divider { width: 1px; align-self: stretch; background: var(--rule); }
.ring { width: 68px; height: 68px; flex-shrink: 0; }
.stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.stars svg { width: 21px; height: 21px; display: block; }

.review-group { display: grid; grid-template-columns: 190px 1fr; gap: 40px; align-items: start; padding: 36px 0 12px; border-top: 2px solid var(--ink); }
.group-label { position: sticky; top: 104px; }
.group-label h3 { font-size: 21px; font-weight: 600; margin: 16px 0 2px; }
.group-label p { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--green); }
.group-label .icon-tile { background: #fff; }
.review-cards { columns: 2; column-gap: 24px; }
.review-card { break-inside: avoid; background: #fff; border-radius: 10px; padding: 26px 28px 22px; margin-bottom: 24px; }
.review-card blockquote { font-size: 17px; line-height: 1.62; margin: 14px 0 18px; }
.review-card figcaption { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 14px; font-weight: 500; }
.role-tag { font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 10px; border-radius: 99px; }
.role-student { background: var(--pencil); color: var(--ink); }
.role-parent { background: var(--green); color: #fff; }
.show-more { grid-column: 2; justify-self: start; margin: -4px 0 28px; font-weight: 600; }

/* WHAT'S NEXT */
.next .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.planned > div { display: flex; gap: 22px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--rule); }
.planned > div:last-child { border-bottom: 1px solid var(--rule); }
.planned dt { font-family: var(--sans); font-size: 18px; font-weight: 600; margin-bottom: 4px; }

/* NOTIFY */
.notify { background: var(--pencil); padding: 84px 0; }
.notify .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.notify h2 { font-size: clamp(28px, 3.3vw, 40px); font-weight: 600; margin-bottom: 14px; }
.notify label { display: block; font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.contact-input-row { position: relative; }
.contact-input-row .field-row { display: flex; gap: 10px; }
.contact-input { flex: 1; min-width: 0; background: #fff; border: 2px solid var(--ink); border-radius: 6px; color: var(--ink); padding: 13px 16px; font-size: 17px; font-family: var(--serif); }
.contact-input::placeholder { color: #7A8499; }
.contact-input-row .hp-field { position: absolute; left: -9999px; }
.contact-form-message { margin-top: 14px; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink); display: none; }
.contact-form-message.visible { display: block; }
.contact-form-message.error { color: var(--error); }

/* FOOTER */
.site-footer { background: var(--ink); color: #fff; padding: 40px 0; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer img { height: 44px; width: auto; display: block; }
.site-footer p { font-family: var(--sans); font-size: 14px; }
.site-footer a { color: #fff; text-underline-offset: 3px; margin-left: 18px; }

/* STUDENT PROFILE PAGE */
#student-profile-page { min-height: 100vh; background: var(--paper); }
.sp { padding: 64px 0 96px; }
.sp .wrap { display: grid; grid-template-columns: 280px 1fr; gap: 72px; align-items: start; }
.student-avatar-photo { width: 280px; height: 280px; object-fit: cover; border-radius: 3px; display: block; margin-bottom: 24px; }
.student-meta > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 14px; }
.student-meta > div:last-child { border-bottom: 1px solid var(--rule); }
.student-meta dt { color: var(--ink-soft); font-weight: 500; }
.student-meta dd { font-weight: 600; text-align: right; }
.sp h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 20px; }
.sp-intro { font-size: 21px; line-height: 1.55; max-width: 32em; margin-bottom: 44px; }
.sp h2 { font-size: 22px; font-weight: 600; margin: 36px 0 10px; }
.sp-body p { max-width: 34em; }
.sp-quote-block { background: var(--ledger); padding: 32px 36px; margin-top: 44px; max-width: 40em; }
.sp-quote-block h2 { margin-top: 0; }
.sp-quote { font-size: 19px; line-height: 1.7; }
.sp-quote-by { margin-top: 18px; font-family: var(--sans); font-size: 14px; font-weight: 600; }

/* ACCOUNTS: log in, create account, reset password, account */
.auth-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 33, 61, 0.6); display: none; align-items: flex-start; justify-content: center; padding: 20px; overflow-y: auto; }
.auth-overlay.open { display: flex; }
.auth-modal { position: relative; width: 100%; max-width: 440px; background: var(--paper); color: var(--ink); border-radius: 8px; padding: 42px 38px 32px; margin: auto; box-shadow: 0 24px 60px -20px rgba(10, 18, 36, 0.6); }
.auth-close { position: absolute; top: 10px; right: 12px; background: none; border: none; color: var(--ink-soft); font-size: 28px; line-height: 1; cursor: pointer; padding: 6px 10px; font-family: var(--sans); border-radius: 6px; }
.auth-close:hover { color: var(--ink); background: var(--ledger); }
.auth-view { display: none; }
.auth-view.active { display: block; }
.auth-title { font-size: 27px; font-weight: 600; margin-bottom: 8px; }
.auth-sub { font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 22px; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-family: var(--sans); font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.auth-input { width: 100%; background: #fff; border: 1.5px solid #8C95A8; border-radius: 5px; color: var(--ink); padding: 12px 14px; font-size: 16px; font-family: var(--sans); }
.auth-input:focus { border-color: var(--ink); outline: 3px solid var(--pencil); outline-offset: 0; }
.pw-wrap { position: relative; }
.pw-wrap .auth-input { padding-right: 70px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--green); font-size: 13px; font-weight: 600; cursor: pointer; padding: 8px; font-family: var(--sans); }
.pw-toggle:hover { text-decoration: underline; }
.pw-hint { font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin-top: 8px; }
.pw-hint.ok { color: var(--green); }
.auth-btn { width: 100%; background: var(--pencil); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; padding: 13px; font-size: 16px; font-weight: 600; cursor: pointer; font-family: var(--sans); margin-top: 6px; }
.auth-btn:hover:not(:disabled) { background: var(--pencil-dark); }
.auth-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.auth-btn.secondary { background: #fff; color: var(--ink); }
.auth-btn.secondary:hover:not(:disabled) { background: var(--ledger); }
.oauth-stack { display: flex; flex-direction: column; gap: 10px; }
.oauth-stack .auth-btn { margin-top: 0; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; font-family: var(--sans); font-size: 14px; color: var(--ink-soft); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.auth-msg { display: none; font-family: var(--sans); font-size: 14px; line-height: 1.5; margin: 0 0 16px; padding: 11px 14px; border-radius: 5px; }
.auth-msg.show { display: block; }
.auth-msg.error { color: var(--error); background: #FCEBE9; border: 1px solid #E7B4AF; }
.auth-msg.info { color: var(--green); background: var(--ledger); border: 1px solid var(--ledger-line); }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-family: var(--sans); font-size: 14px; color: var(--ink-soft); flex-wrap: wrap; }
.auth-link { background: none; border: none; color: var(--green); cursor: pointer; font-size: 14px; font-weight: 600; padding: 0; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; }
.auth-link:hover { color: var(--ink); }
.auth-check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--sans); font-size: 14px; line-height: 1.5; margin: 6px 0 16px; }
.auth-check input { margin-top: 3px; accent-color: var(--ink); flex-shrink: 0; width: 16px; height: 16px; }
.auth-check a { color: var(--green); font-weight: 600; }
.acct-block { border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 20px; }
.acct-block h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.acct-email { font-family: var(--sans); font-size: 16px; font-weight: 500; word-break: break-all; }
.auth-hidden { display: none !important; }

/* DASHBOARD (logged-in page) */
body.checking .dash { visibility: hidden; }
.dash { max-width: 960px; margin: 0 auto; padding: 64px 32px 96px; min-height: 72vh; }
.dash h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 8px; }
.dash-email { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); margin-bottom: 36px; word-break: break-all; }
.dash-banner { display: flex; gap: 20px; align-items: center; justify-content: space-between; background: var(--pencil); border-radius: 6px; padding: 16px 20px; margin-bottom: 32px; font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.dash-banner .auth-btn { width: auto; margin: 0; padding: 10px 18px; white-space: nowrap; background: var(--ink); color: #fff; }
.dash-banner .auth-btn:hover:not(:disabled) { background: #24375F; }
.dash-list { background: var(--ledger); list-style: none; position: relative; }
.dash-list::before { content: ''; position: absolute; top: 0; bottom: 0; left: 228px; width: 4px; border-left: 1px solid var(--margin-red); border-right: 1px solid var(--margin-red); }
.dash-list li { display: grid; grid-template-columns: 228px 1fr auto; gap: 0; align-items: center; border-top: 1px solid var(--ledger-line); }
.dash-list li:first-child { border-top: none; }
.dash-list h2 { font-size: 17px; font-weight: 600; padding: 22px 16px 22px 24px; letter-spacing: -0.01em; }
.dash-list p { padding: 22px 20px 22px 28px; font-size: 17px; line-height: 1.55; }
.dash-status { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--green); padding: 0 24px 0 8px; white-space: nowrap; }
.dash-status::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--green); margin-right: 8px; vertical-align: -1px; }
.dash-list .auth-btn { width: auto; margin: 0 24px 0 8px; padding: 10px 18px; white-space: nowrap; }
.dash-note { margin-top: 32px; font-size: 17px; }
.dash > .auth-msg { margin-bottom: 28px; }

/* LEGAL PAGES */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 32px 96px; }
.legal h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.legal-date { font-family: var(--sans); color: var(--ink-soft); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 22px; font-weight: 600; margin: 40px 0 10px; }
.legal p, .legal li { font-size: 17.5px; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--green); text-underline-offset: 3px; }

/* SMALLER SCREENS */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 52px 0 72px; }
  .hero .wrap, .founder .wrap, .next .wrap, .notify .wrap, .sp .wrap { grid-template-columns: 1fr; gap: 44px; }
  .sheet { transform: none; max-width: 460px; }
  .section { padding: 64px 0; }
  .notify { padding: 64px 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .steps::before { display: none; }
  .reviews-head { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .rating-panel { justify-self: start; }
  .review-group { grid-template-columns: 1fr; gap: 20px; }
  .group-label { position: static; display: flex; align-items: center; gap: 16px; }
  .group-label h3 { margin: 0; }
  .show-more { grid-column: 1; }
  .example { grid-template-columns: 1fr; gap: 24px; margin-top: 52px; }
  .student-photo { width: 160px; height: 160px; }
  .student-avatar-photo { width: 220px; height: 220px; }
  .dash-list::before { display: none; }
  .dash-list li { grid-template-columns: 1fr; padding: 18px 20px; gap: 6px; }
  .dash-list h2, .dash-list p { padding: 0; }
  .dash-status { padding: 0; }
  .dash-list .auth-btn { margin: 6px 0 0; justify-self: start; }
  .dash-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .site-nav .wrap { height: 64px; gap: 10px; }
  .nav-logo img { height: 38px; }
  .nav-auth { gap: 2px; }
  .nav-login, .nav-cta { font-size: 13px; padding: 8px 10px; }
  .hero-sub, .sp-intro { font-size: 19px; }
  .sheet::before { left: 104px; }
  .sheet dl > div { grid-template-columns: 104px 1fr; }
  .sheet-title { padding-left: 124px; }
  .sheet dt { padding-left: 14px; }
  .contact-input-row .field-row { flex-direction: column; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 76px 1fr; column-gap: 20px; }
  .steps .icon-tile { grid-row: span 2; margin-bottom: 0; }
  .steps h3 { align-self: end; }
  .review-cards { columns: 1; }
  .rating-panel { flex-direction: column; align-items: flex-start; gap: 18px; }
  .rating-divider { width: 100%; height: 1px; }
  .review-card { padding: 22px 20px 18px; }
  .auth-modal { padding: 40px 22px 26px; }
  .dash, .legal { padding: 44px 20px 72px; }
  .sp-quote-block { padding: 24px 22px; }
  .site-footer a { margin-left: 0; margin-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
