/* Landing page (index.html). Uses the colors defined at the top of style.css. */
.landing { background: #ffffff; color: var(--text); }
.landing h1, .landing h2, .landing h3 { font-family: var(--serif); color: var(--accent); font-weight: 600; letter-spacing: -0.01em; }
.landing .wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.landing a { text-decoration: none; }

/* thin institutional bar */
.utility { background: var(--navy-deep); color: #c9d3e6; font-size: 13px; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.utility a { color: #ffffff; }
.utility a:hover { color: var(--gold); }

/* main navigation */
.site-header { display: block; padding: 0; position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--border); }
.site-header .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.wordmark { display: flex; align-items: center; gap: 12px; color: var(--accent); }
.wordmark .seal { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; font-weight: 600; box-shadow: inset 0 0 0 2px var(--gold); }
.wordmark .name { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1; }
.wordmark .name span { color: var(--gold); }
.wordmark .sub { display: block; font-family: Inter, system-ui, sans-serif; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: var(--text); }
.nav a:hover { color: var(--accent); box-shadow: 0 2px 0 var(--gold); }
.nav .btn { color: var(--accent-text); }
.nav .btn:hover { box-shadow: none; background: var(--navy-deep); }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; font: inherit; color: var(--accent); cursor: pointer; }

/* hero */
.hero { background: linear-gradient(180deg, #f2f5fa 0%, #ffffff 100%); border-bottom: 1px solid var(--border); }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero h1 { font-size: 56px; line-height: 1.06; margin: 0 0 24px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 0 0 32px; max-width: 600px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.lg { padding: 14px 22px; font-size: 16px; border-radius: 6px; }
.btn.outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn.outline:hover { background: var(--gold-soft); }
.btn.gold { background: var(--gold); color: #ffffff; }

.facts { background: var(--card); border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: 4px; padding: 8px 28px; box-shadow: 0 20px 40px -24px rgba(11, 45, 91, 0.35); }
.fact { padding: 20px 0; border-bottom: 1px solid var(--border); }
.fact:last-child { border-bottom: 0; }
.fact .k { font-family: var(--serif); font-size: 26px; color: var(--accent); font-weight: 600; }
.fact .v { color: var(--muted); font-size: 15px; margin-top: 2px; }

/* beta notice */
.notice { background: var(--gold-soft); border-bottom: 1px solid #eadfbf; }
.notice .wrap { display: flex; gap: 16px; align-items: flex-start; padding-top: 20px; padding-bottom: 20px; font-size: 15px; line-height: 1.6; color: #5a4718; }
.notice strong { color: #3f300c; }
.notice .tag { flex: none; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--gold); color: #fff; padding: 4px 8px; border-radius: 3px; margin-top: 2px; }

/* generic section */
.section { padding: 96px 0; border-bottom: 1px solid var(--border); }
.section.alt { background: var(--bg); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; }
.section-head p { font-size: 18px; line-height: 1.65; color: var(--muted); margin: 0; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.pillar { padding: 32px 28px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.pillar .num { font-family: var(--serif); color: var(--gold); font-size: 15px; font-weight: 600; letter-spacing: 0.08em; }
.pillar h3 { font-size: 22px; margin: 10px 0; }
.pillar p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }

.tool-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tool-group { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 28px; }
.tool-group h3 { font-size: 22px; margin: 0 0 4px; }
.tool-group .desc { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.tool-list { list-style: none; margin: 0; padding: 0; }
.tool-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); font-size: 15px; }
.tool-list li > span:first-child { color: var(--text); font-weight: 500; }
.chip { flex: none; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }
.chip.beta { background: #e7eef9; color: var(--accent); }
.chip.dev { background: var(--gold-soft); color: #7a5b12; }
.tools-note { margin-top: 24px; color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { border-top: 2px solid var(--accent); padding-top: 20px; }
.step::before { counter-increment: step; content: "Step " counter(step); display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.step h3 { font-size: 22px; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); line-height: 1.6; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split p { color: var(--muted); line-height: 1.7; font-size: 16px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--border); line-height: 1.55; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }

/* feedback form */
.feedback-card { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--accent); border-radius: 4px; padding: 28px; }
.feedback-card select, .feedback-card textarea { width: 100%; padding: 10px 12px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 6px; }
.feedback-card textarea { min-height: 120px; resize: vertical; }

/* about Prof. Garg */
.about { background: var(--accent); color: #dbe4f3; }
.about .wrap { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.about .monogram { width: 140px; height: 140px; border-radius: 50%; border: 3px solid var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 48px; color: var(--gold); }
.about h2 { color: #fff; font-size: 38px; margin: 0 0 16px; }
.about p { font-size: 17px; line-height: 1.7; margin: 0 0 24px; max-width: 760px; }
.about .btn.gold:hover { background: #a37f27; }
.about .btn.ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); }

/* footer */
.site-footer { background: var(--navy-deep); color: #9fb0cc; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #dbe4f3; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--gold); }
.site-footer .wordmark .name { color: #fff; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

@media (max-width: 960px) {
  .hero .wrap, .split, .about .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 42px; }
  .pillars, .steps { grid-template-columns: 1fr 1fr; }
  .tool-groups { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .landing .wrap { padding: 0 16px; }
  .utility .hide-sm { display: none; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav a:hover { box-shadow: none; }
  .nav .btn { width: auto; padding: 10px 16px; margin-top: 8px; }
  .wordmark .sub { display: none; }
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: 34px; }
  .section { padding: 64px 0; }
  .section-head h2, .about h2 { font-size: 30px; }
  .pillars, .steps, .site-footer .wrap { grid-template-columns: 1fr; }
  .about .monogram { width: 96px; height: 96px; font-size: 34px; }
}

/* small fixes */
.site-footer a.wordmark { display: flex; }
.landing section[id] { scroll-margin-top: 80px; }
