/* Landing page — loaded only on /
   References theme.css custom properties; never duplicates them.
   One landing-specific token added: --brand-soft-fill (weak-score bar fill). */

:root { --brand-soft-fill: #b9caf4; }

body.landing { font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body.landing h1,
body.landing h2,
body.landing h3 { font-family: "Fraunces", Georgia, serif; font-weight: 700; letter-spacing: -.015em; line-height: 1.12; }

/* Eyebrow label */
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-accent); margin-bottom: 14px; }
.eyebrow.ruled::before { content: ""; display: block; width: 34px; height: 2px; background: var(--brand-accent); margin-bottom: 20px; }

/* ---- Hero ---- */
.lp-hero { background: var(--bg); padding: 92px 0 96px; border-bottom: 1px solid var(--border); }
.lp-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; }
body.landing h1 { font-size: 3.7rem; max-width: 12ch; }
.lede { margin-top: 24px; font-size: 1.28rem; color: var(--body); max-width: 30ch; line-height: 1.42; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.lp-included {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 0;
  margin: 46px 0 0; padding: 26px 0 0; border-top: 1px solid var(--border);
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.lp-included li { padding: 0 18px; border-left: 1px solid var(--border); line-height: 1.3; }
.lp-included li:first-child { padding-left: 0; border-left: 0; }

/* Feature card column */
.feat-col { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.feat-row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: start; gap: 18px; padding: 24px 26px;
  border-top: 1px solid var(--surface-2);
  text-decoration: none; color: inherit; transition: background .15s;
}
.feat-row:first-child { border-top: 0; }
.feat-row:hover { background: var(--bg); }
.fr-n { font-size: .72rem; letter-spacing: .1em; color: var(--muted); font-weight: 600; padding-top: 4px; }
.fr-t { font-size: .9rem; color: var(--body); line-height: 1.55; }
.fr-t b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.14rem; color: var(--ink); font-weight: 700; margin-bottom: 5px; letter-spacing: -.01em; }
.fr-a { color: var(--border); font-size: 1.3rem; line-height: 1; padding-top: 4px; transition: .15s; }
.feat-row:hover .fr-a { color: var(--brand-accent); transform: translateX(3px); }
.feat-row:hover .fr-t b { color: var(--brand-dark); }

/* ---- Sections ---- */
.lp-section { padding: 110px 0; }
.lp-section.alt { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-section.dark { background: var(--ink); color: #fff; }
.lp-section.dark h2 { color: #fff; }
.lp-section.dark .eyebrow { color: #7fa2ff; }
.lp-section.dark .eyebrow.ruled::before { background: #7fa2ff; }
.lp-section.dark p { color: rgba(255,255,255,.7) !important; }
.lp-section.dark .list li { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.72); }
.lp-section.dark .list li b { color: #fff; }
.lp-section.dark .planner { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); }
.lp-section.dark .planner-head { border-bottom-color: rgba(255,255,255,.14); }
.lp-section.dark .planner-head h3 { color: #fff; }
.lp-section.dark .planner-head span,
.lp-section.dark .field label { color: rgba(255,255,255,.6); }
.lp-section.dark .field label b,
.lp-section.dark .readout .big { color: #fff; }
.lp-section.dark .readout { border-top-color: rgba(255,255,255,.14); }
.lp-section.dark .readout .cap { color: rgba(255,255,255,.55); }
.lp-section.dark .unis { border-top-color: rgba(255,255,255,.14); }
.lp-section.dark .uni { border-bottom-color: rgba(255,255,255,.09); color: #fff; }
.lp-section.dark .uni-cut { color: rgba(255,255,255,.5); }
.lp-section.dark .planner-foot { background: rgba(255,255,255,.04); border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.5); }
.lp-section.dark input[type=range] { accent-color: #7fa2ff; }

body.landing h2 { font-size: 2.7rem; }
.sec-head { max-width: 44ch; margin-bottom: 70px; }
.sec-head p { margin-top: 20px; color: var(--body); font-size: 1.04rem; }

/* Split two-column layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }

/* Feature list */
.list { list-style: none; margin: 32px 0 0; padding: 0; }
.list li { padding: 16px 0; border-top: 1px solid var(--border); color: var(--body); font-size: .97rem; }
.list li b { color: var(--ink); font-weight: 600; }

/* Panel card */
.panel { border: 1px solid var(--border); background: var(--surface); border-radius: 4px; padding: 30px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--surface-2); }
.panel-head h3 { font-size: 1.3rem; margin: 0; }
.count { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.count b { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 600; margin-right: 4px; }
.panel-foot { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--surface-2); font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* Filter rows */
.filter { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--surface-2); }
.filter.last { border-bottom: 0; }
.filter-label { font-size: .86rem; color: var(--body); }

/* Segment controls */
.seg { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.seg button { font-family: inherit; font-size: .78rem; font-weight: 500; padding: 6px 12px; border: 0; border-left: 1px solid var(--border); background: var(--surface); color: var(--body); cursor: pointer; transition: .14s; white-space: nowrap; }
.seg button:first-child { border-left: 0; }
.seg button:hover { color: var(--brand-accent); }
.seg button.on { background: var(--brand); color: #fff; }

/* Saved rows (review panel) */
.saved { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--surface-2); font-size: .9rem; }
.saved:last-of-type { border-bottom: 0; }
.focus { font-style: normal; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-accent); background: #eaf0fe; border-radius: 3px; padding: 2px 7px; margin-left: 8px; vertical-align: middle; }
.saved i { font-style: normal; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-accent); border: 1px solid var(--border); border-radius: 3px; padding: 3px 8px; white-space: nowrap; }

/* Mock builder */
.mods { border-bottom: 1px solid var(--surface-2); }
.mod { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; }
.mod-name { font-size: .86rem; color: var(--body); }
.mod-name b { display: block; font-family: inherit; font-size: .72rem; color: var(--muted); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; margin-top: 1px; }
.step { display: flex; align-items: center; gap: 2px; }
.step button { width: 26px; height: 26px; border: 1px solid var(--border); background: var(--surface); color: var(--body); font-size: .95rem; line-height: 1; cursor: pointer; font-family: inherit; border-radius: 5px; transition: .14s; display: flex; align-items: center; justify-content: center; }
.step button:hover:not(:disabled) { border-color: var(--brand-accent); color: var(--brand-accent); }
.step button:disabled { opacity: .32; cursor: default; }
.step span { min-width: 34px; text-align: center; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.02rem; font-variant-numeric: tabular-nums; }

/* Planner */
.planner { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.planner-head { padding: 20px 26px; border-bottom: 1px solid var(--surface-2); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.planner-head h3 { font-size: 1.15rem; margin: 0; }
.planner-head span { font-size: .78rem; color: var(--muted); font-weight: 500; }
.planner-body { padding: 26px; }
.field { margin-bottom: 22px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-size: .85rem; color: var(--body); margin-bottom: 9px; }
.field label b { font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 600; }
.planner input[type=range] { width: 100%; accent-color: var(--brand-accent); height: 20px; margin: 0; }
.readout { display: flex; align-items: flex-end; gap: 18px; padding: 24px 0 4px; border-top: 1px solid var(--border); }
.readout .big { font-family: "Fraunces", Georgia, serif; font-size: 3.4rem; line-height: .9; font-variant-numeric: tabular-nums; font-weight: 700; }
.readout .cap { font-size: .82rem; color: var(--muted); padding-bottom: 6px; line-height: 1.45; }
.unis { margin-top: 22px; border-top: 1px solid var(--border); padding-top: 6px; }
.uni { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .9rem; border-bottom: 1px solid var(--surface-2); }
.uni:last-child { border-bottom: 0; }
.uni-right { display: flex; align-items: center; gap: 14px; }
.uni-cut { font-family: "Fraunces", Georgia, serif; font-variant-numeric: tabular-nums; color: var(--muted); }
.tag { font-size: .7rem; font-weight: 600; letter-spacing: .04em; padding: 3px 10px; border-radius: 2px; text-transform: uppercase; transition: background .25s, color .25s; }
.tag.in { background: #eaf0fe; color: var(--brand-dark); }
.tag.out { background: rgba(255,255,255,.08); color: rgba(255,255,255,.45); }
.planner-foot { padding: 14px 26px; background: var(--bg); border-top: 1px solid var(--surface-2); font-size: .76rem; color: var(--muted); }

/* Locked university teaser */
.locked { position: relative; margin-top: 6px; }
.locked .uni { filter: blur(3.5px); opacity: .55; user-select: none; }
.lock-note { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.lock-note span { font-size: .82rem; color: rgba(255,255,255,.8); max-width: 26ch; line-height: 1.5; }
.lock-note a { font-size: .8rem; font-weight: 600; color: var(--ink); background: #fff; padding: 8px 18px; border-radius: 999px; text-decoration: none; }
.lock-note a:hover { background: #e9eefb; }

/* Metrics panel (tutors section) */
.metric { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--surface-2); font-size: .9rem; color: var(--body); }
.metric:last-of-type { border-bottom: 0; }
.metric b { font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 600; }
.bar { height: 6px; background: var(--surface-2); border-radius: 3px; margin-top: 9px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; transition: width .4s cubic-bezier(.4,0,.2,1); }

/* Closing CTA panel */
.close-panel { background: var(--ink); color: #fff; border-radius: 6px; padding: 78px 64px; text-align: center; }
.close-panel h2 { color: #fff; font-size: 2.5rem; max-width: 22ch; margin: 0 auto; }
.close-panel p { color: rgba(255,255,255,.72); max-width: 56ch; margin: 22px auto 34px; }
.pill-badge { display: inline-block; border: 1px solid rgba(143,176,255,.5); border-radius: 999px; padding: 7px 20px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #8fb0ff; margin-bottom: 28px; }

/* Ghost button (landing hero secondary CTA) */
.btn-lp-ghost { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-lp-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
/* Light button (dark-section CTA) */
.btn-lp-light { border: 1px solid rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-lp-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 1040px) {
  .lp-hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  body.landing h1 { font-size: 3.1rem; }
}
@media (max-width: 720px) {
  .lp-hero { padding: 64px 0 72px; }
  .lp-section { padding: 68px 0; }
  body.landing h1 { font-size: 2.4rem; }
  body.landing h2 { font-size: 1.9rem; }
  .close-panel { padding: 52px 26px; }
  .lp-included { flex-direction: column; }
}
