:root {
  --cream: #efece4;
  --cream-2: #f4f1ea;
  --white: #fcfbf8;
  --ink: #16241c;
  --green: #1e4d3a;
  --green-deep: #143024;
  --green-soft: #2c6a50;
  --gold: #9c6b12;
  --gold-2: #c79a3a;      /* premium accent gold */
  --gold-hi: #e7c766;     /* highlighter / glow */
  --line: #ddd5c7;
  --muted: #5c6b62;
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.14; margin: 0; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 11.5px; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 0 0 16px;
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--gold-2); }
.eyebrow.center, .section-head.center .eyebrow { justify-content: center; }
.eyebrow-gold { color: var(--gold); }
/* gold highlighter behind a word */
.hl {
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.14em;
  background: var(--gold-2);
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border-radius: 999px; padding: 13px 24px; transition: 0.18s ease;
  white-space: nowrap; cursor: pointer; border: 1px solid transparent;
}
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: #f5f3ec; border-color: var(--green); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: 0 12px 26px -14px rgba(20, 60, 44, 0.7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-gold {
  background: var(--gold-2); color: var(--green-deep); border-color: var(--gold-2);
  font-weight: 700; box-shadow: 0 12px 26px -12px rgba(199, 154, 58, 0.85);
}
.btn-gold:hover { background: #d6ab49; transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(199, 154, 58, 0.95); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 20px;
  padding: 15px 26px;
  background: rgba(239, 236, 228, 0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-brand img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--green); }

/* ---- Layout ---- */
section { padding: 80px 26px; position: relative; }
.section-head { max-width: 640px; margin: 0 auto 46px; }
.section-head.center { text-align: center; }
.center { text-align: center; }

/* ---- Split hero ---- */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 60px; align-items: center;
  padding-top: 76px; padding-bottom: 84px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 15% 5%, rgba(231, 199, 102, 0.14), transparent 60%),
    radial-gradient(50% 50% at 100% 100%, rgba(30, 77, 58, 0.06), transparent 60%);
}
.hero h1 {
  font-size: clamp(36px, 4.9vw, 60px); line-height: 1.06; margin-bottom: 20px; font-weight: 700;
  letter-spacing: -0.02em;
}
.hero .lede { font-size: clamp(16px, 2vw, 18.5px); color: #3a4a41; margin: 0 0 28px; max-width: 34ch; }

/* newsletter signup (top, must-have) */
.signup { display: flex; gap: 10px; max-width: 450px; }
.signup input {
  flex: 1; min-width: 0; padding: 15px 17px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 13px; background: var(--white); color: var(--ink);
}
.signup input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 77, 58, 0.1); }
.signup .btn { flex-shrink: 0; }
.signup-fine { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; max-width: 44ch; }
.signup-fine b { color: var(--ink); }
.hero-trust {
  font-size: 13px; color: var(--muted); margin: 24px 0 0; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero-trust b { color: var(--gold); }

/* TPI AI card (right) */
.hero-right { display: flex; }
.tpi-card {
  width: 100%; position: relative;
  background: linear-gradient(180deg, #ffffff, #fbf9f3);
  border: 1px solid var(--line);
  border-radius: 22px; padding: 28px;
  box-shadow: 0 40px 80px -44px rgba(20, 37, 28, 0.5);
}
.tpi-card h2 { font-size: 32px; margin-bottom: 8px; font-weight: 700; }
.tpi-sub { color: #3a4a41; font-size: 15px; margin: 0 0 20px; }
.chat { display: flex; flex-direction: column; margin-bottom: 22px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 15px; font-size: 14px; margin-bottom: 8px; line-height: 1.4; }
.bubble.user { margin-left: auto; background: var(--green); color: #f3f6f2; border-bottom-right-radius: 5px; }
.bubble.ai { background: var(--cream-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }

/* ---- Calculator (premium dark band) ---- */
.calc { background: var(--green-deep); color: #eaf0ec; border-top: 1px solid var(--green-deep); }
.calc .eyebrow { color: var(--gold-hi); }
.calc .eyebrow::before { background: var(--gold-hi); }
.calc h2 { color: #fff; }
.statement {
  max-width: 620px; margin: 0 auto; background: var(--cream); color: var(--ink);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6);
}
.statement-top { display: flex; justify-content: space-between; padding: 16px 24px; border-bottom: 2px solid var(--gold-2); background: #e7e3d8; }
.mono { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 12.5px; letter-spacing: 0.5px; }
.muted { color: var(--muted); }
.calc-controls { padding: 24px 24px 8px; display: grid; gap: 19px; }
.calc-controls label span { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.calc-controls label b { color: var(--green); }
.calc-controls input[type="range"] { width: 100%; accent-color: var(--gold); }
.statement-rows { padding: 8px 24px 24px; }
.srow { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.srow .gold { color: var(--gold); font-weight: 700; }
.srow.result { border-top: 2px solid var(--ink); margin-top: 4px; padding-top: 16px; align-items: baseline; }
.srow.result span:first-child { font-weight: 600; }
.mono.big { font-family: var(--font-head); font-size: 30px; color: var(--green); font-weight: 700; }
.calc-note { font-size: 12.5px; color: var(--muted); margin: 13px 0 0; }

/* ---- Education ---- */
.paths { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.path {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 26px 26px; text-decoration: none; color: inherit;
  transition: 0.18s ease; overflow: hidden;
}
.path-num {
  font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--gold-2);
  display: block; margin-bottom: 10px; line-height: 1;
}
.path h3 { font-size: 21px; margin-bottom: 8px; font-weight: 600; }
.path p { margin: 0; color: var(--muted); font-size: 14.5px; }
a.path:hover { transform: translateY(-3px); border-color: var(--gold-2); box-shadow: 0 26px 50px -30px rgba(20, 37, 28, 0.4); }
.path-cta { background: var(--green); border-color: var(--green); color: #eef3ef; }
.path-cta .path-num { color: var(--gold-hi); }
.path-cta h3 { color: #fff; }
.path-cta p { color: #c8dccf; }

/* ---- About ---- */
.about { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.about-photo { position: relative; }
.about-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%;
  border-radius: 18px; border: 1px solid var(--line);
}
.about-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(199, 154, 58, 0.35);
}
.about blockquote { font-family: var(--font-head); font-size: clamp(21px, 3vw, 30px); line-height: 1.34; margin: 0 0 16px; font-weight: 500; }
.byline { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: 0.3px; margin: 0 0 24px; }

/* ---- Final ---- */
.final { text-align: center; background: var(--green); color: #eef3ef; overflow: hidden; }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 50% -10%, rgba(231, 199, 102, 0.16), transparent 60%);
}
.final > * { position: relative; z-index: 1; }
.final h2 { font-size: clamp(30px, 4.6vw, 46px); color: #fff; margin-bottom: 30px; font-weight: 700; }
.final-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final .btn-ghost { color: #eef3ef; border-color: rgba(231, 199, 102, 0.4); }
.final .btn-ghost:hover { border-color: var(--gold-hi); color: #fff; background: rgba(231, 199, 102, 0.1); }

/* ---- Footer ---- */
.footer { text-align: center; padding: 44px 26px; border-top: 1px solid var(--line); background: var(--cream-2); }
.footer-logo { height: 22px; width: auto; margin: 0 auto 14px; opacity: 0.85; }
.footer-fine { color: var(--muted); font-size: 12.5px; margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; }
  .hero .lede { max-width: none; }
  .paths { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .about-photo { max-width: 230px; margin: 0 auto; }
}
@media (max-width: 620px) {
  section { padding: 56px 20px; }
  .nav-links { display: none; }
  .paths { grid-template-columns: 1fr; }
  .signup { flex-direction: column; }
  .signup .btn { width: 100%; }
  .final-actions .btn { width: 100%; }
}
