/*
 * Shared look for the calculator tools (buy-in math, student loans, practice readiness).
 * Matches the two original tools: same header, type, inputs, results and email box.
 */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #013668; background: #ffffff; line-height: 1.5; -webkit-font-smoothing: antialiased; }

/* Header */
.site-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e5e7eb; background: #ffffff; position: sticky; top: 0; z-index: 100; padding: 20px 48px; }
.logo img { height: 44px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a.nav-link { color: #013668; text-decoration: none; font-weight: 600; font-size: 15px; transition: opacity 0.15s; }
.site-nav a.nav-link:hover { opacity: 0.7; }
.site-nav a.nav-cta { text-decoration: none; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: all 0.15s; border: 2px solid #013668; }
.site-nav a.nav-cta-owner { background: #ffffff; color: #013668; }
.site-nav a.nav-cta-owner:hover { background: #013668; color: #ffffff; }
.site-nav a.nav-cta-provider { background: #013668; color: #ffffff; }
.site-nav a.nav-cta-provider:hover { background: #012850; border-color: #012850; }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0; }
.mobile-menu-toggle span { width: 24px; height: 2.5px; background: #013668; border-radius: 2px; }
.mobile-nav { display: none; position: fixed; inset: 0; background: #ffffff; z-index: 1000; padding: 24px; flex-direction: column; gap: 8px; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav-close { align-self: flex-end; background: none; border: none; font-size: 36px; color: #013668; cursor: pointer; line-height: 1; padding: 0 8px; margin-bottom: 20px; min-width: 44px; min-height: 44px; }
.mobile-nav-cta { text-decoration: none; padding: 18px 24px; border-radius: 12px; font-size: 18px; font-weight: 700; text-align: center; margin-bottom: 4px; background: #013668; color: #ffffff; border: 2px solid #013668; }
.mobile-nav-cta-owner { background: #ffffff; color: #013668; }
.mobile-nav-divider { height: 1px; background: #e5e7eb; margin: 20px 0 12px; }
.mobile-nav-link { text-decoration: none; color: #013668; font-size: 18px; font-weight: 600; padding: 14px 8px; border-bottom: 1px solid #f3f4f6; }
@media (min-width: 901px) and (max-width: 1240px) {
  .desktop-nav { gap: 18px !important; }
  .desktop-nav a.nav-link { font-size: 14px !important; white-space: nowrap; }
  .desktop-nav a.nav-cta { padding: 8px 14px !important; font-size: 13px !important; }
}
@media (max-width: 900px) {
  .site-header { padding: 16px 20px; }
  .desktop-nav { display: none !important; }
  .mobile-menu-toggle { display: flex; }
  .logo img { height: 36px; }
}

/* Intro */
.oc-wrap { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.intro-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: #013668; text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.intro-eyebrow:before { content: ""; width: 24px; height: 2px; background: #013668; }
.intro-title { font-family: 'Playfair Display', Georgia, serif; font-size: 48px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: #013668; margin-bottom: 24px; }
.intro-title em { font-style: italic; font-weight: 400; }
.intro-body p { font-size: 17px; line-height: 1.6; color: #374151; margin-bottom: 16px; }

/* Form */
.oc-section { margin-top: 36px; padding-top: 28px; border-top: 1px solid #eef1f5; }
.oc-step { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6b7280; margin-bottom: 6px; }
.oc-h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; color: #013668; margin: 0 0 8px; }
.oc-help { font-size: 15px; color: #4b5563; line-height: 1.6; margin: 0 0 16px; }
.oc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.oc-field { display: block; }
.oc-label { display: block; font-size: 15px; font-weight: 700; color: #013668; margin: 18px 0 8px; }
.oc-sublabel { display: block; font-weight: 400; color: #6b7280; font-size: 13px; margin-top: 2px; line-height: 1.4; }
.money-wrap { display: flex; align-items: center; gap: 6px; border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 0 12px; background: #ffffff; }
.money-wrap:focus-within { border-color: #013668; box-shadow: 0 0 0 3px rgba(1,54,104,0.08); }
.money-wrap span { color: #6b7280; font-weight: 600; font-size: 15px; }
.money-wrap input { border: none; outline: none; min-height: 48px; padding: 12px 0; font-family: inherit; font-size: 16px; color: #013668; width: 100%; background: transparent; }
.money-wrap.bad { border-color: #b91c1c; }
.oc-toggle { display: inline-block; background: none; border: none; color: #013668; font-weight: 700; font-size: 15px; text-decoration: underline; cursor: pointer; padding: 12px 0; font-family: inherit; }
.oc-submit { margin-top: 36px; background: #013668; color: #ffffff; border: none; min-height: 56px; padding: 16px 34px; border-radius: 999px; font-family: inherit; font-weight: 800; font-size: 17px; cursor: pointer; }
.oc-submit:hover { background: #012850; }
.oc-error-inline { color: #b91c1c; font-size: 14px; margin-top: 12px; min-height: 1px; }
.oc-source { font-size: 13px; color: #6b7280; line-height: 1.55; margin-top: 14px; }
.oc-source a { color: #013668; font-weight: 700; display: inline-block; padding: 6px 0; }
.oc-sublabel sup, .oc-source sup { font-size: 10px; }
.oc-privacy { font-size: 13px; color: #6b7280; margin-top: 14px; line-height: 1.55; }

/* Checklist */
.check-group { margin-top: 28px; }
.check-group-title { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6b7280; margin-bottom: 10px; }
.check-item { border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; background: #ffffff; }
.check-item.answered { border-color: #dbe6f1; background: #fbfdff; }
.check-q { font-size: 16px; font-weight: 700; color: #013668; line-height: 1.4; }
.check-why { font-size: 14px; color: #4b5563; line-height: 1.55; margin-top: 4px; }
.check-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border: 1.5px solid #dbe6f1; background: #ffffff; color: #013668; min-height: 44px; padding: 10px 18px; border-radius: 999px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: #013668; }
.chip[aria-pressed="true"] { background: #013668; color: #ffffff; border-color: #013668; }
.check-count { position: sticky; bottom: 0; background: rgba(255,255,255,0.96); border-top: 1px solid #eef1f5; padding: 12px 0; margin-top: 18px; font-size: 14px; font-weight: 600; color: #6b7280; z-index: 5; }

/* Results */
.output-wrap { display: none; margin-top: 48px; padding-top: 36px; border-top: 2px solid #013668; scroll-margin-top: 90px; }
.output-wrap.active { display: block; }
.output-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6b7280; margin-bottom: 8px; }
.output-headline { font-family: 'Playfair Display', Georgia, serif; font-size: 36px; font-weight: 700; line-height: 1.15; color: #013668; margin-bottom: 12px; }
.output-synopsis { font-size: 18px; line-height: 1.65; color: #1f2937; margin: 8px 0 28px; }
.pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 18px; }
.pay-row.three { grid-template-columns: repeat(3, 1fr); }
.pay-box { background: #013668; color: #ffffff; border-radius: 14px; padding: 18px 20px; }
.pay-box.light { background: #eaf2f9; color: #013668; }
.pay-box-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.pay-box-figure { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; font-weight: 700; margin-top: 6px; line-height: 1.15; }
.pay-box-sub { font-size: 13px; opacity: 0.85; margin-top: 4px; line-height: 1.45; }
.output-section { margin: 32px 0; }
.output-section-title { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: #013668; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid #013668; }
.output-p { font-size: 16px; line-height: 1.65; color: #374151; margin: 0 0 12px; }
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.cmp-table th, .cmp-table td { text-align: right; padding: 12px 10px; border-bottom: 1px solid #eef1f5; color: #374151; }
.cmp-table th { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7280; }
.cmp-table th:first-child, .cmp-table td:first-child { text-align: left; color: #013668; font-weight: 700; }
.cmp-table tr.total td { font-weight: 800; color: #013668; border-top: 2px solid #013668; }
.cmp-best { background: #eaf2f9; }
.bar-chart { display: grid; gap: 14px; margin: 8px 0 6px; }
.bar-row-label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; color: #013668; margin-bottom: 6px; }
.bar-row-label span:last-child { color: #374151; font-weight: 600; text-align: right; }
.bar-track { height: 14px; background: #eef1f5; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: #013668; border-radius: 999px; }
.bar-fill.accent { background: #4a90d9; }
.verify-list { list-style: none; display: grid; gap: 12px; }
.verify-list li { padding: 14px 16px; background: #f7f9fc; border-left: 3px solid #013668; border-radius: 0 10px 10px 0; font-size: 15px; line-height: 1.6; color: #374151; }
.verify-list li strong { display: block; color: #013668; font-size: 16px; margin-bottom: 2px; }
.verify-list .tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #013668; background: #eaf2f9; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.done-list { list-style: none; }
.done-list li { padding: 8px 0 8px 28px; position: relative; font-size: 15px; color: #374151; line-height: 1.55; }
.done-list li:before { content: '\2713'; position: absolute; left: 4px; color: #013668; font-weight: 800; }
.score-meter { height: 12px; background: rgba(255,255,255,0.2); border-radius: 999px; overflow: hidden; margin-top: 14px; }
.score-meter div { height: 100%; background: #ffffff; border-radius: 999px; }
.oc-assume { font-size: 13px; color: #6b7280; line-height: 1.6; margin-top: 28px; padding: 16px 18px; background: #f7f9fc; border-radius: 12px; }
.oc-assume strong { color: #374151; }

/* Talk it through, share, email */
.act-row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin: 32px 0 8px; }
.book-cta-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; background: #013668; color: #ffffff; text-decoration: none; font-family: inherit; font-weight: 700; font-size: 16px; padding: 12px 26px; border-radius: 999px; border: 2px solid #013668; cursor: pointer; }
.book-cta-btn:hover { background: #012850; }
.line-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; background: #ffffff; color: #013668; font-family: inherit; font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 999px; border: 2px solid #dbe6f1; cursor: pointer; text-decoration: none; }
.line-btn:hover { border-color: #013668; }
.book-cta-sub { font-size: 14px; color: #6b7280; }
.talk-wrap { margin-top: 18px; }
.talk-wrap[hidden] { display: none; }
.talk-who { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.talk-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 25%; background: #dbe7f3; flex: 0 0 auto; }
.talk-who p { font-size: 15px; color: #374151; line-height: 1.5; }
.email-save { margin-top: 32px; background: #f7f9fc; border: 1.5px solid #e5e7eb; border-radius: 16px; padding: 24px; }
.email-save-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.email-save-title { font-size: 15px; font-weight: 700; color: #013668; }
.email-save-body { font-size: 13px; color: #6b7280; margin: 0 0 14px; line-height: 1.5; }
.email-save-form { display: flex; gap: 8px; flex-wrap: wrap; }
.email-save-input { flex: 1; min-width: 200px; min-height: 48px; padding: 12px 14px; border: 1.5px solid #e5e7eb; border-radius: 8px; font-family: inherit; font-size: 16px; }
.email-save-input:focus { outline: none; border-color: #013668; }
.email-save-btn { background: #013668; color: #ffffff; border: none; min-height: 48px; padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer; font-family: inherit; white-space: nowrap; }
.email-save-btn:disabled { opacity: 0.7; cursor: default; }
.email-save-status { display: none; font-size: 14px; margin-top: 10px; font-weight: 600; }

/* Guide and FAQ */
.tool-guide { margin: 56px 0 0; padding-top: 32px; border-top: 1px solid #eef1f5; }
.tool-guide h2 { font-size: 24px; font-weight: 800; color: #013668; margin: 0 0 12px; line-height: 1.25; }
.tool-guide > p { font-size: 16px; line-height: 1.65; color: #374151; margin: 0 0 18px; }
.tool-guide ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.tool-guide li { font-size: 15px; line-height: 1.6; color: #374151; padding: 14px 16px; background: #f7f9fc; border-left: 3px solid #013668; border-radius: 0 10px 10px 0; }
.tool-guide li strong { display: block; color: #013668; font-size: 16px; margin-bottom: 2px; }
.tool-guide .tool-guide-more { font-size: 15px; line-height: 1.6; color: #374151; margin: 0; }
.tool-guide .tool-guide-more a { color: #013668; font-weight: 700; display: inline-block; padding: 10px 0; }
.tool-faq { margin: 56px 0 0; padding-top: 32px; border-top: 1px solid #eef1f5; }
.tool-faq-title { font-size: 24px; font-weight: 800; color: #013668; margin: 0 0 12px; }
.tool-faq-item { border-bottom: 1px solid #eef1f5; padding: 14px 0; }
.tool-faq-item summary { cursor: pointer; font-size: 16px; font-weight: 700; color: #013668; list-style: none; padding: 4px 0; }
.tool-faq-item summary::-webkit-details-marker { display: none; }
.tool-faq-item summary::after { content: '+'; float: right; font-weight: 400; color: #6b7280; }
.tool-faq-item[open] summary::after { content: '\2212'; }
.tool-faq-item p { font-size: 15px; line-height: 1.65; color: #374151; margin: 10px 0 0; }

@media (max-width: 640px) {
  .oc-wrap { padding: 36px 16px 72px; }
  .intro-title { font-size: 36px; }
  .output-headline { font-size: 28px; }
  .oc-grid, .pay-row, .pay-row.three { grid-template-columns: 1fr; }
  .pay-box-figure { font-size: 26px; }
  .act-row > * { width: 100%; }
}
