:root {
  --navy: #0b3b66;
  --navy-deep: #082c4d;
  --blue: #117aca;
  --green: #117aca;
  --green-soft: #e7f1fa;
  --green-light: #9fd0f5;
  --bg: #ffffff;
  --gray: #f3f6f9;
  --line: #e1e6ec;
  --text: #1f262e;
  --muted: #5a6470;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.7 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Type */
.label {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--green);
}
.label::before { content: ""; width: 28px; height: 2px; background: var(--green); }
h1, h2, h3 { margin: 0; color: var(--navy); }
h2 {
  font-size: clamp(27px, 3.6vw, 40px); line-height: 1.1; font-weight: 800;
  letter-spacing: -.01em; text-transform: uppercase;
}
h2 span { color: var(--green); }
.lede { font-size: 19px; color: var(--muted); max-width: 680px; margin: 20px 0 0; }
section { padding: 110px 0; }
.alt { background: var(--gray); }
.head { margin-bottom: 56px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 4px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #0d64a8; }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); }

/* Header */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 8px rgba(11,59,102,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 24px; }
.brand img { height: 44px; width: auto; }

/* Hero */
.hero {
  background: radial-gradient(1000px 520px at 85% -10%, rgba(159,208,245,.18), transparent 60%),
              linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; padding: 110px 0 0; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding-bottom: 100px; }
.hero .label { color: var(--green-light); }
.hero .label::before { background: var(--green-light); }
.hero h1 {
  color: #fff; font-size: clamp(36px, 5vw, 60px); line-height: 1.02; font-weight: 800;
  letter-spacing: -.02em; text-transform: uppercase;
}
.hero h1 em { font-style: normal; color: var(--green-light); }
.hero p { color: rgba(255,255,255,.78); font-size: 19px; max-width: 560px; margin: 26px 0 36px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sample output card (illustrative, not a spreadsheet) */
.sample {
  background: #fff; color: var(--text); border-radius: 10px; padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.sample-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.sample-top b { font-size: 15px; color: var(--navy); }
.sample-top small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.kpi { background: var(--gray); border-radius: 6px; padding: 14px; }
.kpi span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpi strong { display: block; font-size: 24px; font-weight: 700; color: var(--navy); margin-top: 4px; }
.kpi strong.up { color: #2f7d52; }
.chart-cap { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.sample svg { width: 100%; height: auto; }
.sample-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chip { font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 6px 10px; border-radius: 99px; background: var(--green-soft); color: var(--green); }

.proof { border-top: 1px solid rgba(255,255,255,.1); }
.proof ul { list-style: none; margin: 0; padding: 26px 0; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.proof li { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.proof li b { color: #fff; font-weight: 700; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 34px 28px 0 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar .ico { width: 40px; height: 40px; border-radius: 8px; background: var(--green-soft); display: grid; place-items: center; margin-bottom: 20px; }
.pillar h3 { font-size: 18px; margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Model library */
.lib-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.price-note { font-size: 14px; color: var(--muted); max-width: 320px; }
.price-note b { color: var(--navy); }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.model {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 30px;
  display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.model:hover { border-color: #c9d3de; box-shadow: 0 16px 40px rgba(15,42,74,.08); transform: translateY(-2px); }
.model-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.num { font-size: 34px; font-weight: 800; color: #d5dce5; line-height: 1; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #0e63a8; background: #e7f1fa; padding: 6px 10px; border-radius: 99px; }
.model h3 { font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.model > p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }
.model ul { list-style: none; margin: 0 0 26px; padding: 0; font-size: 14.5px; }
.model li { padding: 7px 0 7px 24px; position: relative; border-top: 1px solid var(--line); }
.model li::before {
  content: ""; position: absolute; left: 2px; top: 14px; width: 10px; height: 6px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.model-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.status { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e0a43a; margin-right: 8px; vertical-align: 1px; }
.notify { font-size: 13px; font-weight: 600; color: var(--green); text-decoration: none; }
.notify:hover { text-decoration: underline; }
.custom-strip {
  margin-top: 24px; background: var(--navy); color: #fff; border-radius: 8px; padding: 30px 34px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.custom-strip h3 { color: #fff; font-size: 20px; }
.custom-strip p { margin: 4px 0 0; color: rgba(255,255,255,.72); font-size: 15.5px; }

/* Inside every model */
.inside { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.inside-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.inside-item { padding: 22px 0; border-top: 1px solid var(--line); }
.inside-item h3 { font-size: 16px; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.inside-item h3::before { content: ""; width: 8px; height: 8px; background: var(--green); border-radius: 2px; flex: none; }
.inside-item p { margin: 0; font-size: 15px; color: var(--muted); }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 34px 30px; }
.step-n { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 22px; }
.step h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step { overflow: hidden; transition: box-shadow .2s, transform .2s; }
.step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--line); transition: background .2s; }
.step:hover { box-shadow: 0 10px 24px rgba(11,59,102,.08); transform: translateY(-2px); }
.step:hover::after { background: var(--blue); }

/* About */
.about { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: center; }
.about figure { margin: 0; }
.about figure { text-align: center; }
.about figure img { display: block; margin: 0 auto; width: 320px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 4px var(--blue), 0 12px 30px rgba(11,59,102,.18); }
.about figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }
.about figcaption b { display: block; color: var(--navy); font-size: 16px; }
.about p { color: var(--muted); }
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.cred { border-top: 3px solid var(--blue); padding-top: 16px; }
.cred h3 { font-size: 16px; margin-bottom: 6px; }
.cred p { margin: 0; font-size: 14.5px; }

/* Services & firm */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 40px; }
.panel h3 { font-size: 24px; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 12px; }
.panel > p { color: var(--muted); margin: 0 0 22px; }
.panel dl { margin: 0; }
.panel dt { font-weight: 700; color: var(--navy); padding-top: 18px; border-top: 1px solid var(--line); }
.panel dd { margin: 4px 0 18px; color: var(--muted); font-size: 15.5px; }

/* Contact */
.contact { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: #fff; text-align: center; }
.contact h2 { color: #fff; }
.contact .label { color: var(--green-light); }
.contact .label::before { background: var(--green-light); }
.contact p { color: rgba(255,255,255,.75); max-width: 620px; margin: 20px auto 36px; font-size: 19px; }
.contact .ctas { justify-content: center; }
.contact .mail { display: block; margin-top: 24px; color: rgba(255,255,255,.7); font-size: 15px; text-decoration: none; }
.contact .mail:hover { color: #fff; }

footer { background: var(--navy-deep); color: rgba(255,255,255,.55); font-size: 13px; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.08); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot img { height: 30px; width: auto; }
.foot a { color: rgba(255,255,255,.7); text-decoration: none; }

@media (max-width: 1000px) {
  .hero-grid, .inside, .about { grid-template-columns: 1fr; gap: 48px; }
  .about figure { max-width: 340px; }
  .models { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  section { padding: 80px 0; }
  .hide-sm { display: none; }
  .nav { height: 56px; }
  .brand img { height: 34px; }
  .hero { padding-top: 70px; }
  .hero-grid { padding-bottom: 70px; }
  .models, .pillars, .inside-list, .creds { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 26px 0 0; border-left: 0; }
  .kpi strong { font-size: 19px; }
  .sample { padding: 20px; }
  .proof ul { justify-content: flex-start; gap: 12px 24px; }
  .panel { padding: 28px; }
}

/* Price note fix */
.lib-head > div { flex: 1 1 560px; }
.model h3 a { color: inherit; text-decoration: none; }
.model h3 a:hover { color: var(--blue); }

/* Product pages */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.product { padding: 36px 0 90px; }
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.gallery { position: sticky; top: 86px; }
.gallery .sample { box-shadow: 0 20px 60px rgba(15,42,74,.12); border: 1px solid var(--line); }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.tabs span { background: var(--gray); border: 1px solid var(--line); border-radius: 6px; padding: 12px 8px; text-align: center; font-size: 12px; font-weight: 600; color: var(--navy); }
.buy h1 { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; margin: 14px 0 14px; }
.buy .sub { font-size: 19px; font-weight: 600; color: var(--navy); margin: 0 0 10px; }
.buy .q { font-size: 19px; color: var(--muted); margin: 0 0 26px; }
.price-row { display: flex; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.price { font-size: 30px; font-weight: 800; color: var(--navy); }
.badge { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: #fdf3e1; color: #a26a0d; padding: 6px 12px; border-radius: 99px; }
.buy .btn { width: 100%; justify-content: center; }
.assure { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.assure li { display: flex; gap: 10px; align-items: center; }
.assure li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23117aca' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; flex: none; }
.detail { padding: 90px 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.detail h2 { font-size: 26px; margin-bottom: 18px; }
.detail p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 11px 0 11px 30px; position: relative; border-top: 1px solid var(--line); font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 19px; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.for { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.for div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.for b { display: block; color: var(--navy); margin-bottom: 4px; }
.for span { font-size: 14.5px; color: var(--muted); }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; font-size: 15.5px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 30px; padding-bottom: 0; font-size: 14px; position: relative; }
.pager::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid var(--line); }
.pager a { color: var(--navy); text-decoration: none; font-weight: 600; }
.pager a:hover { color: var(--green); }
@media (max-width: 1000px) {
  .product-grid, .detail-grid { grid-template-columns: 1fr; gap: 44px; }
  .gallery { position: static; }
}
@media (max-width: 760px) {
  .tabs { grid-template-columns: 1fr 1fr; }
  .for { grid-template-columns: 1fr; }
  .detail { padding: 64px 0; }
}
.status.on { color: var(--navy); font-size: 18px; letter-spacing: 0; }
.status.on::before { display: none; }
.badge.on { background: var(--green-soft); color: var(--green); }

/* Multi-page: inner page hero, active nav, footer links */
.page-hero { padding: 84px 0 76px; }
.page-hero h1 { font-size: clamp(32px, 4.1vw, 52px); }
.page-hero p { margin-bottom: 0; max-width: 680px; }
.foot-links a { color: rgba(255,255,255,.7); }
.foot-links a:hover { color: #fff; }
@media (max-width: 760px) { .page-hero { padding: 56px 0 52px; } .foot-links { order: 3; } }

/* Incentive list in the custom modeling panel */
.incent-h { margin: 8px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.incent { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.incent li { position: relative; padding: 7px 0 7px 22px; font-size: 15px; color: var(--text); }
.incent li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
@media (max-width: 760px) { .incent { grid-template-columns: 1fr; } }

/* Chase-style: white primary buttons on blue bands */
.hero .btn-green, .contact .btn-green { background: #fff; color: var(--navy); }
.hero .btn-green:hover, .contact .btn-green:hover { background: #e7f1fa; }
.custom-strip .btn-green { background: #fff; color: var(--navy); }

/* Home: hero photo, three paths, video */
.hero-photo { margin: 0; justify-self: end; max-width: 400px; }
.hero-photo img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.hero-photo figcaption { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.75); }
.hero-photo figcaption b { display: block; color: #fff; font-size: 16px; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.paths.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .paths.four { grid-template-columns: repeat(2, 1fr); } }
.path { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 8px; padding: 32px 30px; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
a.path:hover { box-shadow: 0 16px 40px rgba(11,59,102,.1); transform: translateY(-2px); }
.path .num { margin-bottom: 18px; }
.path h3 { font-size: 22px; margin-bottom: 10px; }
.path p { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; }
.path .go { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--blue); }
.video-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.video { aspect-ratio: 16 / 9; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--blue)); display: grid; place-items: center; align-content: center; gap: 16px; color: #fff; box-shadow: 0 20px 60px rgba(11,59,102,.18); }
.video .play { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.95); position: relative; }
.video .play::after { content: ""; position: absolute; left: 29px; top: 22px; border-left: 22px solid var(--blue); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.video .soon { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
/* Learn formats */
.formats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.format { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px 22px; display: flex; flex-direction: column; }
.format h3 { font-size: 17px; margin-bottom: 8px; }
.format p { margin: 0 0 18px; font-size: 14.5px; color: var(--muted); }
.format .status, .format .notify { margin-top: auto; }
/* Fund */
.fund-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; }
.fund-grid p { color: var(--muted); }
.glance { background: var(--gray); border: 1px solid var(--line); border-radius: 8px; padding: 30px; }
.glance h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.glance dl { margin: 0; }
.glance dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); margin-top: 14px; }
.glance dt:first-of-type { border-top: 0; margin-top: 0; }
.glance dd { margin: 4px 0 0; font-weight: 600; color: var(--navy); }
.disclaimer { margin: 40px 0 0; font-style: italic; font-size: 13px; color: var(--muted); max-width: 820px; }
@media (max-width: 1000px) {
  .paths { grid-template-columns: 1fr; }
  .video-row, .fund-grid { grid-template-columns: 1fr; gap: 40px; }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .hero-photo { justify-self: start; max-width: 300px; }
}
@media (max-width: 760px) { .formats { grid-template-columns: 1fr; } }
.page-hero .ctas { margin-top: 32px; }

/* About: personal */
.personal { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.personal .panel > p { margin: 0; }
.personal .honor { border-top: 4px solid var(--blue); }
.personal .honor .label { margin-bottom: 10px; }
.personal .honor > p:not(.label) { margin: 0 0 20px; }
.personal .homes { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 20px; }
.personal .homes span { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--navy); }
.personal .homes img { height: 18px; width: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(11,31,51,.15); }
.personal .edu { grid-column: 1 / -1; }
.personal .edu .label { margin-bottom: 10px; }
.personal .edu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; }
.personal .edu-item { display: flex; gap: 16px; align-items: flex-start; }
.personal .edu-item .yr { flex: none; min-width: 64px; text-align: center; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #0b3b66, #117aca); border-radius: 6px; padding: 6px 10px; }
.personal .edu-item b { display: block; color: var(--navy); font-size: 17px; line-height: 1.4; }
.personal .edu-item p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 760px) { .personal .edu-list { grid-template-columns: 1fr; } }
.personal .athlete { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 220px; gap: 40px; align-items: center; border-top: 4px solid var(--blue); }
.personal .athlete .label { margin-bottom: 10px; }
.personal .athlete h3 + p { margin: 0 0 22px; }
.personal .sports { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.personal .sports li { font-size: 14px; font-weight: 600; color: #0b3b66; background: #eaf3fb; border: 1px solid #cfe3f5; border-radius: 999px; padding: 5px 14px; }
.personal .athlete figure { margin: 0; }
.personal .athlete img { display: block; width: 100%; max-height: 290px; object-fit: cover; object-position: center 30%; border-radius: 8px; }
.personal .athlete figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 1000px) { .personal .athlete { grid-template-columns: 1fr; } .personal .athlete figure { max-width: 220px; } }
@media (max-width: 1000px) { .personal { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .paths.four { grid-template-columns: 1fr; } }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; text-align: left; }
.contact .contact-intro p { margin: 20px 0 28px; }
.contact .contact-intro .mail { margin-top: 0; }
.contact-form { background: #fff; color: var(--ink, #1f262e); border-radius: 10px; padding: 32px; box-shadow: 0 10px 30px rgba(8,44,77,.25); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 11px 12px; font: inherit; font-size: 15px; font-weight: 400; color: #1f262e; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button { width: 100%; justify-content: center; border: 0; cursor: pointer; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.contact .contact-form .form-status { margin: 14px 0 0; font-size: 14px; color: var(--muted); max-width: none; text-align: center; }
.contact .contact-form .form-status:empty { display: none; }
.contact .contact-form .form-status.ok { color: #1a7f4b; }
.contact .contact-form .form-status.err { color: #b42318; }
.contact .contact-form .form-status a { color: var(--blue); }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .contact-form { padding: 22px; } .contact-form .row { grid-template-columns: 1fr; gap: 0; } }

/* Nav: dropdown menus (same pattern as ochronamax.com) */
.nav-cta { color: #fff; background: var(--blue); padding: 9px 16px; border-radius: 4px; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: background .2s; }
.nav-cta:hover { background: #0d64a8; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > button {
  position: relative; display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px;
  background: none; border: 0; color: #33404f; font: 600 14.5px Inter, sans-serif; cursor: pointer; transition: color .2s, background .2s;
}
.menu > li > button:hover, .menu > li.open > button, .menu > li.active > button { color: var(--blue); }
.menu > li.open > button { background: var(--green-soft); }
.caret { width: 10px; height: 10px; transition: transform .25s; }
.menu > li.open .caret { transform: rotate(180deg); }
.menu > li > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.menu > li > button:hover::after, .menu > li.open > button::after, .menu > li.active > button::after { transform: scaleX(1); }
.menu > li > a.top {
  position: relative; display: flex; align-items: center; padding: 10px 14px; border-radius: 8px;
  color: #33404f; font: 600 14.5px Inter, sans-serif; text-decoration: none; transition: color .2s;
}
.menu > li > a.top:hover, .menu > li.active > a.top { color: var(--blue); }
.menu > li > a.top::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.menu > li > a.top:hover::after, .menu > li.active > a.top::after { transform: scaleX(1); }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 400px; padding: 10px; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(11, 59, 102, .18);
  opacity: 0; visibility: hidden; transform: translate(-50%, -8px) scale(.98); transform-origin: top center;
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.dropdown.wide { width: 680px; }
.dropdown.wide .dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dropdown::after {
  content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; transform: translateX(-50%) rotate(45deg);
  background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.menu > li.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .22s ease, transform .22s ease; }
.dd-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 12px; border-radius: 10px; text-decoration: none;
  opacity: 0; transform: translateY(6px); transition: background .2s, opacity .3s, transform .3s;
}
.menu > li.open .dd-item { opacity: 1; transform: none; }
.menu > li.open .dd-item:nth-child(2) { transition-delay: .04s; }
.menu > li.open .dd-item:nth-child(3) { transition-delay: .08s; }
.menu > li.open .dd-item:nth-child(4) { transition-delay: .12s; }
.menu > li.open .dd-item:nth-child(n+5) { transition-delay: .16s; }
.dd-item:hover { background: var(--green-soft); }
.dd-item .icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--gray); color: var(--blue); transition: background .2s, transform .2s, color .2s; }
.dd-item:hover .icon { background: var(--blue); color: #fff; transform: scale(1.05); }
.dd-item .icon svg { width: 20px; height: 20px; }
.dd-item strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--navy); }
.dd-item span.d { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 2px; }
.dd-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dd-foot a { color: var(--blue); text-decoration: none; letter-spacing: 0; text-transform: none; font-size: 13px; }
.dd-foot a:hover { text-decoration: underline; }
.pill { display: inline-block; margin-left: 6px; vertical-align: 2px; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.pill.soon { color: var(--blue); background: var(--green-soft); border: 1px solid #b9d9f2; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s, top .3s; }
.burger i:nth-child(1) { top: 14px; } .burger i:nth-child(2) { top: 20px; } .burger i:nth-child(3) { top: 26px; }
.menu-open .burger i:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { top: 20px; transform: rotate(-45deg); }
body.menu-open { overflow: hidden; }
@media (min-width: 1001px) { .menu .mobile-cta { display: none; } }
@media (max-width: 1100px) { .menu > li > button, .menu > li > a.top { padding: 10px 10px; } .menu > li > button::after, .menu > li > a.top::after { left: 10px; right: 10px; } }
@media (max-width: 1000px) {
  .burger { display: block; }
  .nav-right .nav-cta { display: none; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 62px); height: calc(100dvh - 62px); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 40px; background: #fff; overflow-y: auto; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility 0s linear .25s;
  }
  .menu-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li > button { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 17px; color: var(--navy); }
  .menu > li > button::after { display: none; }
  .menu > li > a.top { padding: 18px 4px; font-size: 17px; color: var(--navy); }
  .menu > li > a.top::after { display: none; }
  .menu > li.open > button { background: none; }
  .dropdown, .dropdown.wide { position: static; width: auto; padding: 0 0 10px; transform: none; opacity: 1; visibility: visible; display: none; border: 0; box-shadow: none; }
  .dropdown.wide .dd-grid { grid-template-columns: 1fr; }
  .dropdown::after, .dropdown::before { display: none; }
  .menu > li.open .dropdown { display: block; transform: none; }
  .dd-foot { display: none; }
  .menu .mobile-cta { display: block; border: 0; padding-top: 24px; }
  .menu .mobile-cta .btn { width: 100%; justify-content: center; background: var(--blue); color: #fff; }
}
@media (max-width: 760px) { .menu { height: calc(100dvh - 56px); } }
@media (prefers-reduced-motion: reduce) { .dropdown, .dd-item, .menu, .caret, .menu > li > button::after { transition: none !important; } }

/* Advisory: sell-side panel */
.sell-side { margin-top: 24px; }
.sell-side > p { margin: 0 0 12px; }

/* M&A sell-side: four models + case study callout */
.mini-head { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin: 30px 0 14px; }
.model-four { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 0 0 24px; }
.model-four > div { border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 6px; padding: 18px; background: #fff; }
.model-four b { display: block; color: var(--navy); margin-bottom: 6px; }
.model-four span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.case-callout { display: block; margin-top: 8px; padding: 22px 26px; border-radius: 8px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); }
.case-callout strong { display: block; font-size: 24px; margin: 4px 0 6px; }
.case-callout span { display: block; opacity: .9; }
.case-callout .cc-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.case-callout:hover { filter: brightness(1.08); }

/* Case study page */
.case-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; margin-bottom: 64px; }
.case-stats > div { padding: 26px 24px; }
.case-stats > div + div { border-left: 1px solid var(--line); }
.case-stats strong { display: block; font-size: 30px; color: var(--navy); line-height: 1.1; }
.case-stats span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
.case-body { max-width: 860px; }
.case-body h2 { font-size: 30px; margin: 56px 0 18px; }
.case-body h2:first-child { margin-top: 0; }
.case-body > p { color: var(--muted); font-size: 17px; }
.case-steps { list-style: none; padding: 0; margin: 0 0 24px; }
.case-steps li { position: relative; padding: 0 0 16px 30px; color: var(--muted); font-size: 16.5px; }
.case-steps li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 3px; background: var(--blue); }
.case-steps b { color: var(--navy); }
.case-body .model-four { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.offer-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.offer-steps > div { border: 1px solid var(--line); border-radius: 8px; padding: 22px; background: #fff; }
.offer-steps small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.offer-steps strong { display: block; font-size: 34px; color: var(--navy); margin: 6px 0; }
.offer-steps span { color: var(--muted); font-size: 14.5px; }
.offer-steps .final { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); border-color: transparent; }
.offer-steps .final small, .offer-steps .final strong, .offer-steps .final span { color: #fff; }
.case-quote { margin: 56px 0 0; padding: 26px 30px; border-left: 4px solid var(--blue); background: #f2f6fa; font-size: 21px; font-weight: 600; color: var(--navy); line-height: 1.45; }
.case-quote cite { display: block; margin-top: 12px; font-size: 14px; font-style: italic; font-weight: 400; color: var(--muted); }
.case-lessons { padding-left: 22px; color: var(--muted); font-size: 16.5px; }
.case-lessons li { margin-bottom: 12px; padding-left: 6px; }
.case-lessons b { color: var(--navy); }
.case-note { font-size: 13px !important; font-style: italic; margin-top: 30px; }
.download .opt { font-weight: 400; color: var(--muted); }
@media (max-width: 900px) {
  .case-stats { grid-template-columns: repeat(2, 1fr); }
  .case-stats > div:nth-child(3) { border-left: 0; }
  .case-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .offer-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .model-four, .case-body .model-four { grid-template-columns: 1fr; }
  .case-stats strong { font-size: 24px; }
}
.contact.download { background: #f2f6fa; color: var(--ink, #1f262e); }
.contact.download h2 { color: var(--navy); }
.contact.download .label { color: var(--blue); }
.contact.download .label::before { background: var(--blue); }
.contact.download .contact-intro p { color: var(--muted); }
.contact.download .contact-form { box-shadow: 0 10px 30px rgba(8,44,77,.12); }

/* Homepage hero: spreadsheet-style deal summary */
.hero-split .hero-grid { padding-bottom: 0; gap: 48px; grid-template-columns: 1fr minmax(0, 520px); }
.sheet { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: #dbe7f3;
  background: #10294a; border: 1px solid rgba(159,208,245,.25); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.sheet-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0b2140; border-bottom: 1px solid rgba(159,208,245,.15); }
.sheet-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff6b6b; }
.sheet-bar i:nth-child(2) { background: #f5c451; }
.sheet-bar i:nth-child(3) { background: #5ccf7a; }
.sheet-bar span { margin-left: 12px; color: #c7d6e6; font-size: 12.5px; }
.sheet-title { text-align: center; padding: 14px 10px 12px; line-height: 1.55; background: #132f54; }
.sheet-title small { display: block; color: #9fb4c9; font-size: 11.5px; }
.sheet-title b { display: block; color: #6fd3ff; font-weight: 500; font-size: 14px; }
.sheet-fx { display: flex; gap: 0; border-top: 1px solid rgba(159,208,245,.15); border-bottom: 1px solid rgba(159,208,245,.15); background: #0e2645; font-size: 12px; }
.sheet-fx span { padding: 7px 10px; color: #8ea6bf; border-right: 1px solid rgba(159,208,245,.15); }
.sheet-fx code { padding: 7px 10px; color: #b9f5c8; font-family: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { padding: 9px 10px; text-align: right; border-bottom: 1px solid rgba(159,208,245,.1); white-space: nowrap; }
.sheet th:first-child, .sheet td:first-child { width: 26px; text-align: center; color: #6f88a3; background: #0e2645; border-right: 1px solid rgba(159,208,245,.12); font-size: 11.5px; }
.sheet th:nth-child(2), .sheet td:nth-child(2) { text-align: left; }
.sheet thead th { font-weight: 400; color: #9fb4c9; background: #132f54; }
.sheet thead th:nth-child(2) { font-size: 11.5px; }
.sheet td:nth-child(2) { color: #fff; font-weight: 600; font-family: Inter, sans-serif; }
.sheet tr.hl td { background: rgba(255,214,102,.12); color: #ffd666; }
.sheet tr.hl td:nth-child(2) { color: #ffd666; }
.sheet tr.hl td:first-child { color: #ffd666; }
.sheet tr.pos td { color: #6fe39a; }
.sheet tr.dim td { color: #9fb4c9; }
.sheet tr.dim td:nth-child(2) { color: #b5c6d8; font-weight: 500; }
.sheet-tabs { display: flex; gap: 0; background: #0b2140; font-size: 12px; overflow: hidden; }
.sheet-tabs span, .sheet-tabs em { padding: 9px 11px; color: #9fb4c9; border-right: 1px solid rgba(159,208,245,.1); font-style: normal; white-space: nowrap; }
.sheet-tabs .on { color: #fff; background: #1a4673; box-shadow: inset 0 2px 0 #6fd3ff; }
.sheet-tabs em { color: #6f88a3; border-right: 0; }
@media (max-width: 1000px) {
  .hero-split .hero-grid { grid-template-columns: 1fr; }
  .hero-split .sheet { max-width: 560px; }
}
@media (max-width: 560px) {
  .sheet { font-size: 11.5px; }
  .sheet th, .sheet td { padding: 8px 6px; }
  .sheet-tabs span:nth-child(n+5) { display: none; }
}
.sheet-link { display: block; text-decoration: none; transition: transform .2s ease; }
.sheet-link:hover { transform: translateY(-3px); }
/* compact sheet so the homepage hero matches the other page heroes */
.hero-split .hero-grid { grid-template-columns: 1fr minmax(0, 430px); gap: 40px; }
.hero-split.page-hero { padding: 36px 0 32px; }
.hero-split .sheet { font-size: 11.5px; border-radius: 8px; }
.hero-split .sheet-bar { padding: 7px 12px; }
.hero-split .sheet-bar i { width: 9px; height: 9px; }
.hero-split .sheet-bar span { font-size: 11px; }
.hero-split .sheet-title { padding: 7px 8px; line-height: 1.4; }
.hero-split .sheet-title small:first-child { display: none; }
.hero-split .sheet-title b { font-size: 12.5px; }
.hero-split .sheet-title small { font-size: 10.5px; }
.hero-split .sheet-fx { font-size: 11px; }
.hero-split .sheet-fx span, .hero-split .sheet-fx code { padding: 5px 9px; }
.hero-split .sheet th, .hero-split .sheet td { padding: 5.5px 9px; }
.hero-split .sheet-tabs { font-size: 11px; }
.hero-split .sheet-tabs span, .hero-split .sheet-tabs em { padding: 6px 9px; }

/* AI section (homepage) */
.ai-row { display: grid; grid-template-columns: 1fr minmax(0, 500px); gap: 56px; align-items: center; }
.ai-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ai-points li { position: relative; padding-left: 26px; color: var(--muted); line-height: 1.6; }
.ai-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: #117ACA; }
.ai-points b { color: var(--text); }
.ai-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; }
.ai-tools span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.ai-tools b { font-weight: 600; font-size: 14px; color: #0b3b66; background: #eaf3fb; border: 1px solid #cfe3f5; border-radius: 999px; padding: 5px 14px; }
.ai-rule { margin: 24px 0 0; padding: 16px 20px; border-left: 4px solid #117ACA; background: #fff; border-radius: 0 8px 8px 0; color: var(--text); line-height: 1.6; box-shadow: 0 1px 3px rgba(11,31,51,.06); }
.ai-rule b { color: #0b3b66; }
.ai-sheet td.ok { color: #6fe39a; }
.ai-sheet td:nth-child(3) { color: #c7d6e6; }
.ai-sheet .sheet-tabs em { margin-left: auto; }
@media (max-width: 900px) {
  .ai-row { grid-template-columns: 1fr; gap: 36px; }
  .ai-sheet .sheet-tabs em { display: none; }
}

/* Homepage hero on tablets and phones: stack the deal sheet under the text */
@media (max-width: 1000px) {
  .hero-split .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 12px; }
  .hero-split .sheet-link { max-width: 560px; }
}
@media (max-width: 520px) {
  .hero-split .sheet { font-size: 10.5px; }
  .hero-split .sheet th, .hero-split .sheet td { padding: 5px 6px; }
  .hero-split .sheet-fx code { font-size: 10.5px; }
  .hero-split .sheet-tabs span:nth-child(n+4) { display: none; }
}

/* Phone polish */
body { overflow-x: clip; }
@media (max-width: 520px) {
  .ctas { flex-direction: column; align-items: stretch; }
  .ctas .btn { width: 100%; justify-content: center; text-align: center; padding-left: 16px; padding-right: 16px; letter-spacing: .1em; }
  form .btn { letter-spacing: .1em; padding-left: 14px; padding-right: 14px; }
  .ai-sheet th:nth-child(3), .ai-sheet td:nth-child(3) { display: none; }
  .product-grid, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .kpis > * { min-width: 0; padding-left: 10px; padding-right: 10px; }
  .personal .athlete figure { margin: 0 auto; }
}

/* Legal pages (terms, privacy) and footer legal links */
.legal { max-width: 800px; }
.legal-date { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text); }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--blue); }
#terms, #privacy { padding: 72px 0 96px; }
.foot-legal a { color: rgba(255,255,255,.7); }
.foot-legal a:hover { color: #fff; }
.foot-legal-h { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-right: 6px; }
@media (max-width: 760px) { .foot-legal { order: 4; width: 100%; } #terms, #privacy { padding: 48px 0 64px; } }

/* Multi-column footer */
footer { padding: 64px 0 28px; }
.foot-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { margin: 18px 0 14px; max-width: 300px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); }
.foot-mail { color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; }
.foot-col h4 { margin: 4px 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 10px; font-size: 14px; line-height: 1.4; }
footer a { color: rgba(255,255,255,.65); text-decoration: none; }
footer a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: rgba(255,255,255,.45); }
@media (max-width: 1000px) { .foot-top { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { footer { padding: 48px 0 24px; } .foot-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }
.legal h2 { text-transform: none; letter-spacing: -.01em; font-weight: 700; }
.legal p.legal-date { font-size: 12px; color: var(--muted); }

/* Model disclaimer (models page + each model page) */
.model-disclaimer { padding: 28px 0; background: var(--bg-soft, #f5f7fa); border-top: 1px solid var(--line); }
.model-disclaimer p { margin: 0; font-style: italic; max-width: 900px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.model-disclaimer strong { display: block; font-style: normal; margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy, #0b3b66); }

/* Models-first homepage */
.statuses { display: flex; flex-direction: column; gap: 2px; }
.status.soon { font-size: 11px; color: #b7791f; }
.status.soon::before { display: none; }
.model.featured { border-color: var(--blue); box-shadow: 0 10px 30px rgba(17,122,202,.12); }
.hero-model .sample { box-shadow: 0 20px 60px rgba(4,20,40,.35); }
.hero-model-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: #fff; font-size: 14px; }
.hero-model-cap span { font-weight: 700; white-space: nowrap; }
@media (max-width: 1000px) { .hero-split .hero-model { max-width: 560px; } }

/* AI Finance Sprint */
#ai-cfo .duo, .offer-duo { grid-template-columns: 1.6fr 1fr; align-items: start; }
.sprint-who { grid-template-columns: 1fr 1fr; margin-bottom: 26px; }
.sprint-price { position: sticky; top: 90px; text-align: left; border-color: var(--blue); }
.sprint-price .price { font-size: 46px; font-weight: 800; color: var(--navy); line-height: 1; margin: 6px 0 14px; }
.sprint-price .btn { display: block; text-align: center; margin: 22px 0 18px; }
.sprint-price .fine { font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { #ai-cfo .duo, .offer-duo, .sprint-who { grid-template-columns: 1fr; } .sprint-price { position: static; } }

/* Homepage hero on phones: less text, less clutter */
@media (max-width: 760px) {
  .hero-split .label { font-size: 12px; letter-spacing: .14em; gap: 10px; }
  .hero-split .label::before { width: 20px; flex: none; }
  .hero-split .label { margin-bottom: 12px; }
  .hero-split p { font-size: 17px; margin: 18px 0 26px; }
  .hero-split .ctas .btn-ghost { display: none; }
  .hero-split .hero-model .sample-top small { font-size: 10px; }
}
.btn-ghost-dark { border: 1px solid var(--line); color: var(--navy); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--navy); }

/* Blog */
.post-hero h1 { font-size: clamp(27px, 3.6vw, 43px); max-width: 900px; text-transform: none; letter-spacing: -.01em; line-height: 1.12; }
.post-hero .post-meta { font-size: 15px; margin-top: 18px; }
.post-hero .post-meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.post { padding: 64px 0 90px; }
.post-body { max-width: 760px; }
.post-body p, .post-body li { font-size: 18px; line-height: 1.75; color: var(--ink, #1f2a37); }
.post-body .post-lede { font-size: 18px; line-height: 1.75; }
.post-body h2 { font-size: 26px; text-transform: none; letter-spacing: 0; margin: 46px 0 14px; }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body li { margin-bottom: 10px; }
.post-body blockquote { margin: 34px 0; padding: 22px 26px; border-left: 4px solid var(--blue); background: #f3f7fb; font-size: 18px; line-height: 1.75; color: var(--navy); }
.post-body a { color: var(--blue); }
.post-cta { margin-top: 40px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.post-cta p { margin: 0; font-size: 17px; }
.post-note { font-size: 14px !important; color: var(--muted) !important; margin-top: 24px; }
#posts { padding: 70px 0 100px; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 8px; background: #fff; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15,42,74,.1); }
.post-card .tag { align-self: flex-start; }
.post-card h3 { font-size: 21px; line-height: 1.3; }
.post-card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.post-card .go { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--blue); }
@media (max-width: 520px) { .post-list { grid-template-columns: 1fr; } .post-body p, .post-body li { font-size: 17px; } .post-body .post-lede, .post-body blockquote { font-size: 17px; } }
.post-signoff { margin-top: 28px; font-weight: 600; color: var(--navy, #0B3B66); }
.post-sources { margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--line); }
.post-sources h2 { font-size: 20px; margin-top: 30px; }
.post-sources li { font-size: 15.5px; line-height: 1.6; }

/* Phones: compact labels and blog post header */
@media (max-width: 760px) {
  .hero .label { letter-spacing: .14em; gap: 10px; }
  .hero .label::before { width: 20px; flex: none; }
  .post-hero.page-hero { padding: 36px 0 32px; }
  .post-hero h1 { font-size: 27px; }
  .post-hero .post-meta { font-size: 14px; margin-top: 12px; }
  .post { padding: 32px 0 64px; }
}
.about p.about-intro, p.about-intro { margin-top: 20px; color: var(--muted); }
/* Section labels on phones: keep on one line */
@media (max-width: 760px) {
  .label { letter-spacing: .14em; gap: 10px; }
  .label::before { width: 20px; flex: none; }
  .about { gap: 32px; }
}
/* About: Where it started panel, three education items */
.personal .roots { grid-column: 1 / -1; border-top: 4px solid var(--blue); }
.personal .roots .label { margin-bottom: 10px; }
.personal .roots > p:not(.label) { max-width: 820px; }
.personal .edu-list { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .personal .edu-list { grid-template-columns: 1fr; } }
.personal .edu .certs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.personal .edu .certs b { color: var(--navy); margin-right: 4px; }
.personal .edu .certs span { padding: 5px 12px; border-radius: 999px; background: #eaf3fb; color: var(--navy); font-weight: 600; font-size: 14px; }
.personal .service { grid-column: 1 / -1; border-top: 4px solid var(--blue); }
.personal .service .label { margin-bottom: 10px; }
.personal .service > p:not(.label) { max-width: 820px; }
.personal .service a { color: var(--blue); font-weight: 600; }
/* Advisory: tax credits sit under Custom modeling */
.custom-panel { margin-bottom: 24px; }
.custom-panel .incent-h { margin-top: 26px; }
.incent.incent-3 { grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
@media (max-width: 1000px) { .incent.incent-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .incent.incent-3 { grid-template-columns: 1fr; } }
/* Inner page heroes on phones: compact, one main button */
@media (max-width: 760px) {
  .page-hero { padding: 40px 0 36px; }
  .page-hero .ctas { margin-top: 24px; }
  .page-hero .ctas .btn-ghost { display: none; }
}

/* Case study: sell-side banker guide */
.case-body h3.case-h3 { font-size: 21px; color: var(--navy); margin: 32px 0 14px; }
.case-phases { counter-reset: ph; list-style: none; padding: 0; margin: 0 0 24px; }
.case-phases li { counter-increment: ph; position: relative; padding: 0 0 16px 42px; color: var(--muted); font-size: 16.5px; }
.case-phases li::before { content: counter(ph); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.case-phases b { color: var(--navy); }
.case-body p.case-src { font-size: 13px; color: var(--muted); }
.case-body p.case-src a { color: var(--blue); }

/* Excel-style charts (case study, blog) */
.xl-chart { margin: 8px 0 28px; }
.xl-chart svg { display: block; width: 100%; height: auto; font-family: Calibri, Carlito, "Segoe UI", Inter, Arial, sans-serif; }
.xl-chart .xl-title { font-size: 16px; fill: #404040; }
.xl-chart .xl-axis { font-size: 12px; fill: #595959; }
.xl-chart .xl-val { font-size: 13px; fill: #262626; font-weight: 600; }
.xl-chart rect[fill="#4472C4"]:hover, .xl-chart rect[fill="#ED7D31"]:hover { opacity: .85; }
.xl-chart figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.xl-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 28px; }
.xl-pair .xl-chart { margin: 0; }
@media (max-width: 640px) { .xl-pair { grid-template-columns: 1fr; } }

/* Advisory: custom modeling + sell-side offer layout (matches the Sprint) */
.offer-who { grid-template-columns: 1fr; gap: 12px; }
.sprint-price .price.quote { font-size: 34px; }
.sprint-price .case-callout { margin: 0 0 18px; padding: 18px 20px; }
.sprint-price .case-callout strong { font-size: 20px; }
.sample-sub { margin: -14px 0 18px; font-size: 13px; color: var(--muted); }

/* Hero main button: light blue to match the highlighted headline words */
.hero .btn-green { background: var(--green-light); color: var(--navy); }
.hero .btn-green:hover { background: #c4e3fa; }

/* Working with me */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promises .panel { padding: 34px; }
.promises .num { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--blue); margin-bottom: 14px; }
.promises .panel h3 { font-size: 22px; }
.promises .checks li { font-size: 15px; }
.fit-copy { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0; }
.fit-quote { font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.35; margin: 8px 0 0; }
@media (max-width: 1000px) { .promises { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .promises .panel { padding: 26px; } }

/* How the sheets are built */
.standards { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); max-width: 900px; }
.standards li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.standards .num { font-size: 22px; font-weight: 800; color: var(--blue); line-height: 1.2; }
.standards h3 { font-size: 19px; margin: 0 0 8px; }
.standards p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .standards li { grid-template-columns: 44px 1fr; padding: 22px 0; } .standards .num { font-size: 18px; } }
.personal .honor, .personal .service { position: relative; }
.personal .honor .usla, .personal .service .usla { position: absolute; top: 28px; right: 28px; width: 84px; height: auto; }
.personal .honor .label, .personal .honor h3, .personal .service .label, .personal .service h3 { padding-right: 100px; }
@media (max-width: 760px) { .personal .honor .usla, .personal .service .usla { top: 20px; right: 18px; width: 52px; } .personal .honor .label { padding-right: 0; } .personal .honor h3 { padding-right: 56px; } }
@media (max-width: 760px) { .personal .service .usla { position: static; display: block; margin: 0 0 14px; } .personal .service h3, .personal .service .label { padding-right: 0; } }
.personal .edu-logo { height: 56px; display: flex; align-items: center; margin-bottom: 10px; }
.personal .edu-logo img { height: 56px; width: auto; max-width: 100%; }
.personal .edu-logo img[src*="ucsb"] { height: 20px; }
.personal .edu-logo img[src*="eller"] { height: 40px; }
.personal .edu-logo img[src*="melbourne"] { height: 44px; }
.sample-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e1e6ec; font-size: 12px; color: var(--muted); line-height: 1.5; }
.sample-note b { color: var(--navy); }
.metric-box .formula { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 22px; padding: 14px 16px; background: #eaf3fb; border-radius: 6px; }
.metric-box dt { padding-top: 12px; }
.metric-box dd { margin-bottom: 12px; }
.metric-box .fine { font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* Case study tables */
.case-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.case-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.case-table th, .case-table td { padding: 11px 16px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.case-table th:first-child, .case-table td:first-child { text-align: left; white-space: normal; }
.case-table th { white-space: normal; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: #f2f6fa; }
.case-table td { color: var(--ink, #1f262e); }
.case-table tr.total td { font-weight: 700; color: var(--navy); border-bottom: 0; background: #f7f9fc; }
@media (max-width: 560px) {
  .case-table { font-size: 13px; }
  .case-table th { font-size: 10.5px; letter-spacing: .03em; }
  .case-table th, .case-table td { padding: 9px 7px; }
  .case-table th:first-child, .case-table td:first-child { padding-left: 10px; min-width: 92px; }
  .case-table th:last-child, .case-table td:last-child { padding-right: 10px; }
}

/* Dark nav + hero, styled after geniushyrox.com (Archivo expanded + IBM Plex Mono) */
:root { --display: "Archivo", "Arial Black", Impact, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; --nav-bg: #061f37; --sky: #9fd0f5; }
.announce { background: var(--blue); color: #fff; font: 600 12.5px/1.3 var(--mono); letter-spacing: 1px; text-transform: uppercase; }
.announce .wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 10px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.announce a { color: #fff; text-underline-offset: 3px; }
header { background: rgba(6, 31, 55, .96); border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: none; }
.menu > li > button, .menu > li > a.top { font: 600 13px/1 var(--display); letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,.7); }
.menu > li > button:hover, .menu > li.open > button, .menu > li.active > button,
.menu > li > a.top:hover, .menu > li.active > a.top { color: #fff; }
.menu > li.open > button { background: rgba(255,255,255,.08); }
.menu > li > button::after, .menu > li > a.top::after { background: var(--sky); }
.nav-cta { font: 600 12px/1 var(--display); letter-spacing: 1.2px; padding: 12px 18px; border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%); }
.burger { background: transparent; border-color: rgba(255,255,255,.25); }
.burger i { background: #fff; }
@media (max-width: 1000px) {
  .menu > li > button, .menu > li > a.top { font-size: 15px; color: var(--navy); }
  .menu > li > button:hover, .menu > li.open > button, .menu > li.active > button,
  .menu > li > a.top:hover, .menu > li.active > a.top { color: var(--blue); }
  .menu > li.open > button { background: none; }
}
.hero { position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(700px 480px at 78% 30%, rgba(159,208,245,.22), transparent 65%),
  repeating-linear-gradient(-62deg, transparent 0 46px, rgba(255,255,255,.045) 46px 48px); }
.hero::after { content: "Q"; position: absolute; right: -40px; top: -90px; font: 900 640px/1 var(--display); font-stretch: 125%;
  color: transparent; -webkit-text-stroke: 2px rgba(159,208,245,.13); pointer-events: none; }
.hero > .wrap { position: relative; z-index: 1; }
.hero .label { font: 700 12px/1 var(--mono); letter-spacing: 2.5px; color: var(--sky); }
.hero .label::before { width: 22px; background: var(--sky); }
.hero h1 em { color: var(--sky); }
.hero p { font-family: var(--display); }
.hero .btn { font-family: var(--display); border-radius: 2px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
@media (max-width: 760px) { .hero::after { font-size: 420px; right: -60px; top: -40px; } .announce { font-size: 11px; } }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--blue); color: #fff;
  font: 900 30px/1 var(--display); font-stretch: 125%; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.brand-name { font: 900 24px/1 var(--display); font-stretch: 125%; text-transform: uppercase; color: #fff; white-space: nowrap; }
.brand-name span { color: var(--sky); }
.foot-brand .brand-mark { width: 34px; height: 34px; font-size: 25px; }
.foot-brand .brand-name { font-size: 19px; }
@media (max-width: 1100px) and (min-width: 1001px) { .brand-name { font-size: 19px; } }
@media (max-width: 420px) { .brand-mark { width: 34px; height: 34px; font-size: 25px; } .brand-name { font-size: 18px; } .brand { gap: 10px; } }
.hero .btn { clip-path: none; }
.nav-cta, .hero .btn-green, .menu .mobile-cta .btn { background: var(--sky); color: var(--navy-deep); font-family: var(--display); border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.nav-cta:hover, .hero .btn-green:hover, .menu .mobile-cta .btn:hover { background: #c4e3fa; color: var(--navy-deep); }
.ann-short { display: none; }
@media (max-width: 600px) { .ann-long { display: none; } .ann-short { display: inline; } }
.announce { border-top: 8px solid var(--nav-bg); }
.page-hero::after { font-size: 360px; top: -30px; right: 40px; }
@media (max-width: 760px) { .page-hero::after { font-size: 240px; top: 10px; right: -30px; } }
.nav-cta, .hero .btn-green, .menu .mobile-cta .btn { background: #fff; color: var(--navy-deep); }
.nav-cta:hover, .hero .btn-green:hover, .menu .mobile-cta .btn:hover { background: #dcebf8; color: var(--navy-deep); }
.menu .mobile-cta .btn { background: var(--navy-deep); color: #fff; }
.post-body .case-table th, .post-body .case-table td { white-space: normal; text-align: left; }
.post-body .case-table td:first-child { font-weight: 600; color: var(--navy); }
@media (max-width: 374px) { .brand-name { font-size: 16px; } }
/* Four models: one row of four on wide screens, two by two on narrower ones (no lone card) */
@media (min-width: 1101px) { .models:has(> .model:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); gap: 18px; } .models:has(> .model:nth-child(4):last-child) .model { padding: 26px 22px; }
  .models:has(> .model:nth-child(4):last-child) .model-foot { flex-direction: column; align-items: flex-start; gap: 10px; } }
@media (max-width: 1100px) and (min-width: 1001px) { .models:has(> .model:nth-child(4):last-child) { grid-template-columns: 1fr 1fr; } }
/* Product screenshots: the tab buttons switch the picture */
.shot { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 20px 60px rgba(15,42,74,.12); background: #fff; cursor: zoom-in; }
.shot img { display: block; width: 100%; height: auto; }
.tabs button { background: var(--gray); border: 1px solid var(--line); border-radius: 6px; padding: 12px 8px; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.2; color: var(--navy); cursor: pointer; }
.tabs button:hover { border-color: #c9d3de; }
.tabs button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
/* Personal note from Patrick under a model's title */
.founder-note { margin: -8px 0 26px; padding: 16px 20px; border-left: 4px solid var(--blue); background: #f3f7fb; border-radius: 0 6px 6px 0; }
.founder-note p { margin: 0 0 8px; font-size: 16px; line-height: 1.6; color: var(--navy); font-style: italic; }
.founder-note cite { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); }
.founder-note cite::before { content: "\2014\00a0"; }
/* Buy button: same clipped lower-right corner as Shop models */
.buy .btn { font-family: var(--display); border-radius: 2px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
/* Testimonial banner */
.reviews { background: var(--navy-deep); color: #fff; padding: 80px 0; }
.reviews .label { color: var(--sky); }
.reviews .label::before { background: var(--sky); }
.review-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.review { margin: 0; padding: 28px 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; background: rgba(255,255,255,.04); }
.review blockquote { margin: 0 0 18px; }
.review p { margin: 0; font-size: 18px; line-height: 1.6; color: #fff; }
.review figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 14px; color: rgba(255,255,255,.65); }
.review figcaption b { font-family: var(--display); font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: #fff; font-weight: 600; }
.review figcaption a { color: var(--sky); }
.reviews.one .review-list { grid-template-columns: 1fr; max-width: 860px; }
.reviews.one .review { padding: 0 0 0 28px; border: 0; border-left: 4px solid var(--sky); border-radius: 0; background: none; }
.reviews.one .review p { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.45; font-weight: 500; }
.review-ask { margin: 36px 0 0; font-size: 15px; color: rgba(255,255,255,.65); }
.review-ask a { color: var(--sky); font-weight: 600; text-decoration: none; }
.review-ask a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .reviews { padding: 60px 0; }
  .reviews.one .review { padding-left: 18px; }
  .reviews.one .review p { font-size: 20px; }
}
/* Balance the two columns on model pages (desktop) */
@media (min-width: 1001px) {
  .detail-grid.explain { align-items: center; grid-template-columns: 5fr 6fr; gap: 56px; }
  .metric-box { padding: 32px 36px; }
  .metric-box .formula { margin-bottom: 18px; }
  .metric-box dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .metric-box dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
  .metric-box dt { padding: 0; border: 0; font-size: 15px; }
  .metric-box dd { margin: 2px 0 0; font-size: 15px; line-height: 1.5; }
  .for.stack { grid-template-columns: 1fr; gap: 12px; }
  .for.stack div { padding: 16px 20px; }
  .for.stack + * { margin-top: 0; }
  .checks.tight li { padding-top: 9px; padding-bottom: 9px; font-size: 15px; }
  .checks.tight li::before { top: 17px; }
}
/* Star ratings */
.stars { display: inline-flex; gap: 3px; color: #f5c518; line-height: 0; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.review .stars { margin-bottom: 16px; }
.reviews.one .review .stars svg { width: 22px; height: 22px; }
/* Reviews box on model pages */
.rv-board { padding: 80px 0; color: #fff; background-color: var(--navy-deep);
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; }
.rv-board .label { color: var(--sky); }
.rv-board .label::before { background: var(--sky); }
.rv-score { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin: -4px 0 32px; }
.rv-score .stars svg { width: 24px; height: 24px; }
.rv-score b { font: 800 40px/1 var(--display); }
.rv-score span:last-child { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.25); font-size: 15px; color: rgba(255,255,255,.75); }
.rv-feature { margin: 0; padding: 40px 44px; background: #fff; color: var(--text); border-radius: 2px; }
.rv-feature .stars svg { width: 16px; height: 16px; }
.rv-feature h3 { margin: 16px 0 14px; font: 800 clamp(22px, 2.6vw, 30px)/1.2 var(--display); color: var(--navy); }
.rv-feature blockquote { margin: 0 0 26px; max-width: 760px; }
.rv-feature p { margin: 0; font-size: 18px; line-height: 1.7; font-style: italic; color: var(--muted); }
.rv-post p { font-style: normal; color: var(--text); max-width: 760px; }
.rv-post .btn { margin-top: 24px; }
.rv-feature figcaption { display: flex; align-items: center; gap: 14px; }
.rv-feature figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.4; }
.rv-feature figcaption b { color: var(--navy); font-size: 16px; }
.rv-feature figcaption small { font-size: 14px; color: var(--muted); }
.rv-avatar { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 15px/1 var(--display); letter-spacing: .5px; }
.rv-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: rgba(255,255,255,.12); border-top: 3px solid var(--navy); }
.rv-tile { margin: 0; padding: 24px 22px; background: #2a4563; }
.rv-tile blockquote { margin: 12px 0 14px; }
.rv-tile p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.85); }
.rv-tile figcaption { display: flex; flex-direction: column; font-size: 13px; color: rgba(255,255,255,.65); }
.rv-tile figcaption b { color: #fff; font-size: 15px; }
.rv-board .review-ask { margin-top: 28px; }
@media (max-width: 640px) {
  .rv-board { padding: 60px 0; }
  .rv-feature { padding: 28px 22px; }
  .rv-feature p { font-size: 16.5px; }
  .rv-score b { font-size: 34px; }
}
/* "Several tools in one" line by the price */
.value-box { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; }
.value-box b { display: block; margin-bottom: 8px; font: 700 13px/1.3 var(--display); letter-spacing: 1px; text-transform: uppercase; color: var(--navy); }
.value-box ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 14.5px; color: var(--text); }
.value-box li::before { content: "\2713"; color: var(--blue); font-weight: 700; margin-right: 8px; }
.value-box li { display: flex; }
.value-box li::before { flex: none; }
.price-row + .value-box { margin-top: -8px; }
@media (max-width: 400px) { .value-box ul { gap: 6px 10px; font-size: 14px; } .value-box li::before { margin-right: 6px; } }
.rv-tile .rv-title { display: block; margin-top: 12px; font: 700 15px/1.35 var(--display); color: #fff; }
.rv-tile blockquote { margin-top: 8px; }
.rv-tile p { font-style: italic; }
/* Review tiles: no lone tile on the last row; the last tile stretches to fill it */
@media (min-width: 1001px) {
  .rv-tiles { grid-template-columns: repeat(4, 1fr); }
  .rv-tile:last-child:nth-child(4n+1) { grid-column: 1 / -1; }
  .rv-tile:last-child:nth-child(4n+2) { grid-column: span 3; }
  .rv-tile:last-child:nth-child(4n+3) { grid-column: span 2; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  .rv-tiles { grid-template-columns: repeat(2, 1fr); }
  .rv-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .rv-tiles { grid-template-columns: 1fr; } }
/* Founder note sits under the screenshots on desktop to balance the columns */
.gallery .founder-note { margin: 28px 0 0; }
@media (min-width: 1001px) { .buy .note-buy { display: none; } }
@media (max-width: 1000px) { .gallery .note-gallery { display: none; } }
/* FAQ: heading above, questions full width (no lopsided columns) */
.detail-grid.faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.faq-grid .faq { max-width: 980px; }
.faq-grid > div:first-child p { margin: 0; }
.rv-empty h3 { margin-top: 0; }
.rv-empty p { font-style: normal; }
@media (min-width: 1001px) { .gallery.mock { align-self: center; } }
/* Models menu grouped by category */
.dropdown.cats { width: 860px; }
.dropdown.cats .dd-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dd-cat-head { display: block; padding: 8px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.dd-cat-head:hover { color: var(--blue); }
.dd-soon { margin: 0; padding: 10px 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { .dropdown.cats { width: auto; } .dropdown.cats .dd-grid { grid-template-columns: 1fr; gap: 0; } }
/* Models page grouped by category */
.models .model-cat { grid-column: 1 / -1; margin: 24px 0 -4px; font: 700 13px/1.3 var(--display); letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); scroll-margin-top: 100px; }
.models .model-cat:first-child { margin-top: 0; }
.models .model-cat-soon { grid-column: 1 / -1; margin: 0; color: var(--muted); }
@media (min-width: 1001px) and (max-width: 1200px) {
  .dropdown.cats { width: 740px; }
}

/* Workshops */
.weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.weeks .panel { display: flex; flex-direction: column; }
.weeks small { display: block; font: 700 11.5px/1.3 var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); }
.weeks h3 { margin: 8px 0 12px; font-size: 19px; }
.weeks .checks li { font-size: 14.5px; }
.weeks .gain { margin: auto 0 0; padding-top: 14px; border-top: 2px solid var(--blue); font-size: 14.5px; font-weight: 600; color: var(--navy); }
#apply .mini-head { margin-top: 40px; }
.apply-checks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 1100px) { .weeks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .weeks, .apply-checks { grid-template-columns: 1fr; } }
@media (min-width: 1001px) {
  .nav { gap: 14px; }
  .brand-name { font-size: 20px; }
  .menu > li > button, .menu > li > a.top { padding: 10px 8px; font-size: 12px; letter-spacing: 1px; }
  .menu > li > button::after, .menu > li > a.top::after { left: 8px; right: 8px; }
  .nav-cta { padding: 11px 13px; font-size: 11px; }
}
@media (min-width: 1001px) and (max-width: 1140px) {
  .brand-name { font-size: 16px; }
  .menu > li > button, .menu > li > a.top { padding: 10px 6px; letter-spacing: .6px; }
  .menu > li > button::after, .menu > li > a.top::after { left: 6px; right: 6px; }
}
.plan-dl { margin: -8px 0 22px; font-weight: 600; }
.plan-dl a { text-decoration: none; }
.plan-dl a:hover { text-decoration: underline; }
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fit-grid .panel { display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--blue); }
.fit-grid b { font: 700 17px/1.3 var(--display); color: var(--navy); }
.fit-grid span { color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 1000px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fit-grid { grid-template-columns: 1fr; } }
.contact-intro .serious { display: inline-block; margin: 0 0 18px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 2px; font: 700 13px/1.2 var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: #fff; }
.sprint-price .start-now { font-weight: 700; color: var(--blue); margin-top: 10px; }
.sprint-price .value { margin: 4px 0 16px; padding: 2px 0 2px 14px; border-left: 3px solid var(--blue); font-style: italic; font-weight: 600; color: var(--navy); line-height: 1.5; }
.sprint-price .value cite { display: block; margin-top: 6px; font-style: normal; font-weight: 700; font-size: 13px; color: var(--blue); }
.sprint-price .btn { letter-spacing: .5px; padding-left: 10px; padding-right: 10px; white-space: nowrap; }
@media (max-width: 380px) { .sprint-price .btn { font-size: 12px; letter-spacing: .3px; } }

/* Workshop confidence section, price line, blog end CTA */
.fit-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .fit-grid.three { grid-template-columns: 1fr; } }
.invest-line { margin: 28px 0 0; font: 700 19px/1.4 var(--display); color: var(--navy); text-align: center; }
.sprint-price .invest { margin: -4px 0 12px; font-weight: 600; color: var(--muted); }
.post-next { padding: 0 0 90px; }
.post-next-box { max-width: 760px; background: #f3f7fb; border-top: 4px solid var(--blue); border-radius: 8px; padding: 32px 30px; }
.post-next-box h2 { font-size: 26px; text-transform: none; letter-spacing: 0; margin: 6px 0 10px; }
.post-next-box p { margin: 0 0 18px; }
.post-next-box .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.post-next-box .btn-ghost { color: var(--navy); border-color: var(--navy); }
.post { padding-bottom: 48px; }

/* Workshops: Patrick's line as a quote band in the testimonial style */
.reviews.one.leader-quote { padding: 88px 0 76px; }
.reviews.one.leader-quote .review-list { max-width: 820px; margin: 0 auto; }
.reviews.one.leader-quote .review { position: relative; padding-left: 32px; }
.reviews.one.leader-quote .qmark { position: absolute; left: 30px; top: -46px; font: 700 96px/1 Georgia, "Times New Roman", serif; color: var(--sky); opacity: .35; pointer-events: none; }
.reviews.one.leader-quote .review p { font-size: clamp(24px, 3vw, 34px); line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.reviews.one.leader-quote figcaption { margin-top: 20px; }
@media (max-width: 640px) { .reviews.one.leader-quote { padding: 68px 0 56px; } .reviews.one.leader-quote .qmark { font-size: 72px; top: -34px; left: 18px; } .reviews.one.leader-quote .review p { font-size: 23px; } }
@media (max-width: 640px) { .reviews.one.leader-quote br { display: none; } }

.sprint-price .price .per { margin-left: 10px; font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--muted); font-family: var(--body, Inter, sans-serif); }

/* Rule (Patrick, 2026-10-20): every button has the clipped lower-right corner */
.btn, .nav-cta { border-radius: 2px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.buy .btn { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
/* Outlined buttons: draw the border along the cut edge too */
.btn-ghost { --edge: rgba(255,255,255,.35); }
.btn-ghost:hover { --edge: #fff; }
.btn-ghost-dark, .post-next-box .btn-ghost { --edge: var(--navy); }
.btn-ghost-dark { --edge: var(--line); }
.btn-ghost-dark:hover { --edge: var(--navy); }
.btn-ghost, .btn-ghost-dark { background-image: linear-gradient(135deg, transparent calc(100% - 7.8px), var(--edge) calc(100% - 7.8px), var(--edge) calc(100% - 6.9px), transparent calc(100% - 6.9px)); }
.hero .btn { border-radius: 2px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }

/* White nav bar (Patrick, 2026-10-20): white header, navy wordmark, blue CAPITAL; heroes stay blue */
.announce { border-top: 0; }
header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); box-shadow: 0 1px 10px rgba(11,59,102,.06); }
header .brand-name { color: var(--nav-bg); }
header .brand-name span { color: var(--blue); }
.menu > li > button, .menu > li > a.top { color: var(--navy); }
.menu > li > button:hover, .menu > li.open > button, .menu > li.active > button,
.menu > li > a.top:hover, .menu > li.active > a.top { color: var(--blue); }
.menu > li.open > button { background: #eef5fc; }
.menu > li > button::after, .menu > li > a.top::after { background: var(--blue); }
.nav-cta { background: var(--blue); color: #fff; }
.nav-cta:hover { background: #0d64a8; color: #fff; }
.burger { background: #fff; border-color: var(--line); }
.burger i { background: var(--navy); }
/* Homepage: simple white hero (castos.com-style): white top, centered headline, deal card below */
.hero.hero-white { background: #fff; color: var(--navy); padding: 76px 0 84px; border-bottom: 1px solid var(--line); text-align: center; }
.hero.hero-white::before { background:
  radial-gradient(900px 420px at 50% 100%, rgba(17,122,202,.07), transparent 70%),
  repeating-linear-gradient(-62deg, transparent 0 46px, rgba(17,122,202,.06) 46px 48px); }
.hero.hero-white::after { display: block; -webkit-text-stroke: 2px rgba(17,122,202,.10); }
.hero-white .hero-center { max-width: 1140px; }
.hero-white .label { justify-content: center; color: var(--blue); }
.hero-white .label::before { background: var(--blue); }
.hero.hero-white h1 { color: var(--navy-deep, #061f37); text-transform: none; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -.035em; max-width: 1100px; margin: 0 auto; }
.hero.hero-white h1 em { color: var(--blue); }
.hero.hero-white p.lede { color: var(--muted); font-family: var(--body, Inter, sans-serif); font-size: 20px; line-height: 1.6; max-width: 620px; margin: 24px auto 34px; }
.hero-white .ctas { justify-content: center; }
.hero.hero-white .btn-green { background: var(--blue); color: #fff; }
.hero.hero-white .btn-green:hover { background: #0d64a8; color: #fff; }
.hero.hero-white .btn-ghost { border-color: var(--line); color: var(--navy); background-color: #fff; --edge: var(--line); }
.hero.hero-white .btn-ghost:hover { border-color: var(--navy); --edge: var(--navy); }
.hero-white .hero-visual { max-width: 620px; margin: 56px auto 0; text-align: left; }
.hero-white .hero-model .sample { box-shadow: 0 24px 60px rgba(11,59,102,.14); border: 1px solid var(--line); }
.hero-white .hero-model-cap { color: var(--navy); }
@media (max-width: 760px) {
  .hero.hero-white { padding: 48px 0 56px; }
  .hero.hero-white h1 { font-size: 36px; }
  .hero.hero-white p.lede { font-size: 17px; margin: 18px auto 26px; }
  .hero-white .hero-visual { margin-top: 40px; }
}
.hero-proof { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; font-size: 15.5px; color: var(--muted); }
.hero-proof b { color: var(--navy); font-weight: 700; }
.hero-proof .faces { display: flex; }
.hero-proof .faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(11,59,102,.15); }
.hero-proof .faces img + img { margin-left: -12px; }
@media (max-width: 760px) { .hero-proof { font-size: 14px; gap: 10px; margin-top: 22px; } .hero-proof .faces img { width: 38px; height: 38px; } }
.hero-proof .who i { font-style: normal; }
@media (max-width: 760px) { .hero-proof .who { text-align: left; line-height: 1.4; } .hero-proof .who i { display: none; } .hero-proof .who > span { display: block; } }

/* Footer: social icon tiles (notched corner like every button) */
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social .soc { --edge: rgba(255,255,255,.18); display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--edge); color: rgba(255,255,255,.7); text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  background-image: linear-gradient(135deg, transparent calc(100% - 7px), var(--edge) calc(100% - 7px), var(--edge) calc(100% - 6.1px), transparent calc(100% - 6.1px)); background-repeat: no-repeat; background-origin: border-box;
  transition: color .15s, border-color .15s, background-color .15s; }
.foot-social .soc:hover { --edge: rgba(255,255,255,.45); color: #fff; background-color: rgba(255,255,255,.06); }

/* Shop models buttons: teal accent (Patrick, 2026-10-20) */
.nav-cta, .btn.btn-shop, .hero .btn.btn-shop, .menu .mobile-cta .btn.btn-shop { background: #0E9F9A; color: #fff; }
.nav-cta:hover, .btn.btn-shop:hover, .hero .btn.btn-shop:hover, .menu .mobile-cta .btn.btn-shop:hover { background: #0B8580; color: #fff; }

/* Workshop offer name (30-Day AI Business Sprint) */
.sprint-price .sprint-name { margin: 0 0 6px; font-size: 22px; line-height: 1.2; color: var(--navy); }

/* All inner pages: white hero to match the homepage (Patrick, 2026-10-20). Left-aligned; photo strip stays on the homepage only. */
.hero.page-hero:not(.hero-white) { background: #fff; color: var(--navy); border-bottom: 1px solid var(--line); }
.hero.page-hero:not(.hero-white)::before { background:
  radial-gradient(900px 420px at 80% 100%, rgba(17,122,202,.07), transparent 70%),
  repeating-linear-gradient(-62deg, transparent 0 46px, rgba(17,122,202,.06) 46px 48px); }
.hero.page-hero:not(.hero-white)::after { -webkit-text-stroke: 2px rgba(17,122,202,.10); }
.hero.page-hero:not(.hero-white) .label { color: var(--blue); }
.hero.page-hero:not(.hero-white) .label::before { background: var(--blue); }
.hero.page-hero:not(.hero-white) h1 { color: var(--navy-deep, #061f37); text-transform: none; letter-spacing: -.03em; line-height: 1.06; }
.hero.page-hero:not(.hero-white) h1 em { color: var(--blue); }
.hero.page-hero:not(.hero-white) p { color: var(--muted); }
.hero.page-hero:not(.hero-white) a:not(.btn) { color: var(--blue); }
.hero.page-hero:not(.hero-white) .btn-green { background: var(--blue); color: #fff; }
.hero.page-hero:not(.hero-white) .btn-green:hover { background: #0d64a8; color: #fff; }
.hero.page-hero:not(.hero-white) .btn-ghost { border-color: var(--line); color: var(--navy); background-color: #fff; --edge: var(--line); }
.hero.page-hero:not(.hero-white) .btn-ghost:hover { border-color: var(--navy); --edge: var(--navy); }
.hero.page-hero .btn.btn-shop { background: #0E9F9A; color: #fff; }
.hero.page-hero .btn.btn-shop:hover { background: #0B8580; color: #fff; }

/* Titles in normal capitals (sentence case) site-wide to match the heroes (Patrick, 2026-10-20). Small labels stay in caps. */
h2, .step h3, .panel h3, .sprint-price .sprint-name { text-transform: none; letter-spacing: -.025em; }
h2 { line-height: 1.08; }
#home-workshop .sprint-price { position: static; }
#home-workshop .go-link { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--blue); }
.foot-tel { display: block; margin-top: 6px; }

/* Fund page: worksheets built over Patrick's career */
.built { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.built h3 { margin: 0 0 22px; font-size: 20px; color: var(--navy); }
.built-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.built-grid h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue, #117ACA); }
.built-grid ul { margin: 0; padding: 0; list-style: none; }
.built-grid li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--ink, #22303d); }
@media (max-width: 1000px) { .built-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .built-grid { grid-template-columns: 1fr; gap: 22px; } }
.built h3 { margin-bottom: 10px; }
.built-soon { margin: 0 0 24px; color: var(--muted, #5b6b7c); font-size: 15px; }
.built-soon .pill { margin: 0 8px 0 0; vertical-align: 1px; }

/* About: quick facts and how the models are built */
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.about-facts div { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: #fff; }
.about-facts dt { font-size: 12px; color: var(--muted); }
.about-facts dd { margin: 4px 0 0; font-weight: 700; color: var(--navy); font-size: 16px; }
.about-built { max-width: 760px; }
.about-built p { color: var(--muted); }
@media (max-width: 640px) { .about-facts { grid-template-columns: 1fr; } }
/* Model sheet preview: one large worksheet at a time, tabs below */
.sheetview-sec h2 { margin-bottom: 8px; }
.sv-hint { color: var(--muted); margin-bottom: 28px; }
.gallery.sheetview { position: static; max-width: 1100px; margin: 0 auto; }
.sv-bar { display: flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; border-radius: 8px 8px 0 0; padding: 10px 14px; font-size: 13px; min-width: 0; }
.sv-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); flex: none; }
.sv-bar span { min-width: 0; margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,.8); }
.sv-bar b { color: #fff; }
.sheetview .shot { border-radius: 0 0 8px 8px; border-top: 0; aspect-ratio: 16 / 10; }
.sheetview .shot img { width: 100%; height: 100%; object-fit: contain; object-position: top center; }  /* whole sheet, same fit on every tab */
.sv-cap { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.sv-cap a { white-space: nowrap; }
.sv-tabs { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); margin-top: 18px; }
.sv-links { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; margin-top: 28px; font-weight: 600; }
.report-lede { max-width: 760px; color: var(--muted); }
.report-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 32px 0; }
.report-strip.four { grid-template-columns: repeat(4, 1fr); }  /* 8-page reports: two even rows */
.report-strip a { display: block; text-decoration: none; color: var(--muted); font-size: 12px; }
.report-strip img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 6px 18px rgba(15,42,74,.10); background: #fff; margin-bottom: 8px; }
.report-strip a:hover img { border-color: var(--blue); }
.report-sec .btn-ghost, .sheets-hero .btn-ghost, .sheets-end .btn-ghost { border-color: var(--line); color: var(--navy); background-color: #fff; --edge: var(--line); }
.report-sec .btn-ghost:hover, .sheets-hero .btn-ghost:hover, .sheets-end .btn-ghost:hover { border-color: var(--navy); --edge: var(--navy); }
/* Every-sheet page */
.sheets-hero { padding: 70px 0 30px; }
.sheets-hero .lede { color: var(--muted); max-width: 720px; margin: 14px 0 24px; }
.sheets-list { padding-top: 30px; }
.sheet-item { margin-bottom: 80px; }
.sheet-item h2 { margin: 6px 0 8px; }
.sheet-item > p { color: var(--muted); max-width: 760px; }
.sheet-meta { display: flex; gap: 12px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sheet-meta .num { color: var(--blue); }
.sheet-meta .tag { background: var(--gray); border: 1px solid var(--line); border-radius: 4px; padding: 2px 8px; color: var(--navy); }
.sheet-item p.sheet-file { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; margin: 10px 0 14px; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.report-grid figure { margin: 0; }
.report-grid figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .report-strip, .report-strip.four { grid-template-columns: repeat(2, 1fr); }
  .report-grid { grid-template-columns: 1fr; }
  .sheetview .shot { aspect-ratio: 4 / 3; }
  .sv-tabs { grid-template-columns: repeat(3, 1fr); }
  .sv-file { display: none; }
  .sheet-item { margin-bottom: 56px; }
}

/* Desktop: menu links sit on the right, beside Shop models */
@media (min-width: 1001px) {
  .nav { position: relative; }
  .nav > nav { margin-left: auto; }
  .menu > li.has-dd { position: static; }
  .dropdown.cats { left: auto; right: 24px; transform: translateY(-8px) scale(.98); transform-origin: top right; }
  .menu > li.open .dropdown.cats { transform: none; }
  .dropdown.cats::after { display: none; }
}

/* Product page: file formats a purchase includes */
.formats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -10px 0 22px; }
.formats-label { font-size: 13px; color: var(--muted); margin-right: 2px; }
.fmt { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 13px; font-weight: 600; color: var(--navy); }
.fmt svg { color: #0E9F9A; flex: none; }
.hero-center .formats { justify-content: center; margin: 22px 0 0; }

/* Homepage "your numbers stay yours" band */
.data-own { padding: 0 0 56px; margin-top: -36px; }
.do-box { display: flex; gap: 20px; align-items: flex-start; max-width: 760px; margin: 0 auto; padding: 26px 28px; border: 1px solid var(--line, #dfe6ee); border-radius: 12px; background: #f6f9fc; }
.do-icon { flex: none; width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; color: var(--blue, #117ACA); background: #e7f1fa; }
.do-box h2 { font-size: 22px; margin: 2px 0 8px; }
.do-box p { margin: 0; color: var(--muted, #4a5a6a); font-size: 16px; line-height: 1.6; }
@media (max-width: 600px) { .do-box { padding: 20px; gap: 14px; } .do-icon { width: 40px; height: 40px; } .do-box h2 { font-size: 19px; } .do-box p { font-size: 15px; } }

/* Homepage customer quotes above the model library (layout after financialaha.com) */
.quote-strip { padding: 64px 0 8px; }
.quote-strip h2 { margin: 10px 0 0; }
.qs-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; margin-top: 36px; }
.qs-item { margin: 0; }
.qs-item blockquote { margin: 0 0 14px; }
.qs-item p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text, #1d2b3a); }
.qs-mark { color: #0E9F9A; margin-right: 10px; vertical-align: 0; }
.qs-item figcaption { font-size: 15px; font-weight: 600; color: var(--navy, #0B3B66); }
.qs-item figcaption a { color: inherit; text-decoration: none; }
.quote-strip + #models { padding-top: 72px; }
@media (max-width: 860px) { .qs-list { grid-template-columns: 1fr; gap: 36px; margin-top: 24px; } .quote-strip { padding: 44px 0 0; } .qs-item p { font-size: 17px; } }

/* Header wordmark + byline (Patrick, 2026-10-25): wordmark ~10% smaller, one step lighter, "by Patrick Quigley" under it */
.brand-text { display: flex; flex-direction: column; gap: 5px; }
header .brand-name { font-weight: 800; font-size: 21px; }
.brand-by { font: 500 12.5px/1 var(--sans, Inter, system-ui, sans-serif); color: var(--muted, #5b6b7d); letter-spacing: .1px; white-space: nowrap; }
@media (min-width: 1001px) { header .brand-name { font-size: 18px; } }
@media (min-width: 1001px) and (max-width: 1140px) { header .brand-name { font-size: 14.5px; } .brand-by { font-size: 11.5px; } }
@media (max-width: 420px) { header .brand-name { font-size: 16px; } .brand-by { font-size: 11.5px; } .brand-text { gap: 4px; } }
@media (max-width: 374px) { header .brand-name { font-size: 14.5px; } .brand-by { font-size: 11px; } }

/* Homepage model library (Patrick, 2026-10-25): screenshot cards like the competitor's template library */
.home-lib { padding-top: 72px; }
.quote-strip + .home-lib { padding-top: 72px; }
.home-lib .lede { max-width: 680px; }
.lib-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.lib-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s; }
.lib-card:hover { box-shadow: 0 10px 28px rgba(11,59,102,.12); transform: translateY(-2px); }
.lib-shot { position: relative; display: block; margin: 12px 12px 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 9px; background: #f3f6f9; border: 1px solid #e6ebf0; }
.lib-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.lib-price { position: absolute; top: 12px; right: 12px; padding: 6px 12px; background: #0E9F9A; color: #fff; font: 700 17px/1 Inter, sans-serif; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.lib-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 26px 26px; flex: 1; }
.lib-tag { font: 700 11px/1 var(--mono); letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); }
.lib-body h3 { margin: 0; font-size: 22px; line-height: 1.25; color: var(--navy); text-wrap: balance; }
.lib-body p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lib-more { margin-top: auto; padding-top: 8px; font: 700 13px/1 var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); }
.lib-all { margin: 28px 0 0; text-align: center; font-weight: 600; }
@media (max-width: 760px) {
  .lib-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
  .lib-body { padding: 18px 20px 22px; }
  .lib-body h3 { font-size: 20px; }
  .lib-body p { font-size: 15.5px; }
}

/* Free templates (Patrick, 2026-10-25): free scaled-back versions, no sign-up */
.free-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.free-body { padding: 48px 0 72px; }
.free-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.free-shot { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; padding: 8px; }
.free-shot img { display: block; width: 100%; height: auto; }
.free-main h2 { margin: 36px 0 12px; }
.free-steps { margin: 0; padding-left: 22px; font-size: 17px; line-height: 1.6; }
.free-steps li { margin: 0 0 10px; }
.free-up { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: 0 6px 22px rgba(11,59,102,.08); }
.free-up h3 { margin: 0 0 8px; font-size: 22px; color: var(--navy); }
.free-up p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.free-up ul { margin: 0 0 16px; padding-left: 18px; font-size: 15px; line-height: 1.5; }
.free-up li { margin: 0 0 6px; }
.free-up .free-price { color: var(--text); font-size: 16px; }
.free-up .free-price b { font-size: 26px; color: var(--navy); margin-right: 4px; }
@media (max-width: 900px) { .free-grid { grid-template-columns: 1fr; } .free-up { position: static; } }
.post-free { margin: 36px 0 28px; padding: 24px 26px; border: 1px solid var(--line); border-left: 4px solid #0E9F9A; border-radius: 0 12px 12px 0; background: #f6fbfb; }
.post-free .pf-head { margin: 0 0 8px; font-weight: 800; font-size: 19px; color: var(--navy); }
.post-free p { margin: 0 0 16px; }
.post-free .btn { margin: 0; color: #fff; text-decoration: none; }
/* Models menu: 4th column for free templates (2026-10-25) */
@media (min-width: 1001px) { .dropdown.cats { width: min(1000px, calc(100vw - 32px)); } .dropdown.cats .dd-grid { grid-template-columns: repeat(4, 1fr); } }

/* Full-tab screenshots that scroll slowly inside a fixed frame (Patrick, 2026-10-25) */
.shot.scroll, .free-shot.scroll { position: relative; overflow: hidden; aspect-ratio: auto; padding: 0; }
.shot.scroll img, .free-shot.scroll img { width: 100%; height: auto; max-width: none; will-change: transform; }
.scroll.run img { animation: tabscroll var(--t, 12s) ease-in-out 1.2s infinite alternate; }
.scroll.run:hover img, .scroll.hold img { animation-play-state: paused; }
@keyframes tabscroll { from { transform: translateY(0); } to { transform: translateY(var(--d, 0px)); } }
@media (max-width: 760px) { .shot.scroll img, .free-shot.scroll img { width: max(100%, 600px); } }
@media (prefers-reduced-motion: reduce) { .scroll.run img { animation: none; } .shot.scroll, .free-shot.scroll { overflow: auto; } }

/* Dropdown without icons: simple text list (Patrick, 2026-10-25) */
.dd-item { grid-template-columns: 1fr; gap: 0; padding: 9px 12px; }
.dd-item strong { font-size: 15px; font-weight: 600; line-height: 1.4; }
.dd-item .pill { margin-left: 2px; vertical-align: 1px; }

/* Model page top viewer: every sheet tab, full tab scrolling (Patrick, 2026-10-25) */
.gallery .sv-label { margin: 0 0 12px; }
.gallery .sv-bar + .shot { border-radius: 0 0 8px 8px; border-top: 0; box-shadow: 0 20px 60px rgba(15,42,74,.12); }
.gallery .sv-tabs { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 14px; }
.gallery .sv-tabs button { padding: 9px 6px; font-size: 13px; }
.sv-links-top { justify-content: flex-start; margin-top: 16px; font-size: 14px; gap: 8px 22px; }
@media (max-width: 1000px) { .gallery .sv-tabs { grid-template-columns: repeat(3, 1fr); } }

/* Quotable stat box at the top of a post (original numbers get cited, Patrick 2026-10-25) */
.post-stat { margin: 28px 0 32px; padding: 22px 24px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; background: #f4f8fc; }
.post-body .post-stat p { margin: 0; }
.post-stat .ps-num { font-size: 40px; font-weight: 800; line-height: 1.1; color: var(--navy); letter-spacing: -.01em; }
.post-body .post-stat .ps-text { margin-top: 6px; font-size: 18px; line-height: 1.55; color: var(--navy); }
.post-body .post-stat .ps-src { margin-top: 10px; font-size: 13px; color: var(--muted); }
.model-stat { margin: 18px 0 0; padding: 16px 20px; }
.model-stat p { margin: 0; }
.model-stat .ps-num { font-size: 32px; }
.model-stat .ps-text { margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--navy); }
.model-stat .ps-src { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* Answer-first opener: definition then a number, in the first 50 words (Patrick, 2026-10-25) */
.post-body .post-def { margin-bottom: 14px; }
.post-body .post-def strong { font-weight: 600; color: var(--navy); }
.hero-model .shot.scroll { cursor: pointer; }
a.hero-model-cap { text-decoration: none; }
@media (max-width: 760px) { .hero-model .shot.scroll img { width: 100%; } }
@media (max-width: 420px) { .hero .label { font-size: 11px; letter-spacing: .12em; gap: 8px; } .hero .label::before { width: 18px; } }
/* Nav by audience (2026-10-25): larger, title-case labels */
.menu > li > button, .menu > li > a.top { text-transform: none; letter-spacing: 0; }
@media (min-width: 1001px) { .menu > li > button, .menu > li > a.top { font-size: 15px; padding: 10px 10px; } .dropdown { width: 340px; } }
@media (min-width: 1001px) and (max-width: 1140px) { .menu > li > button, .menu > li > a.top { font-size: 14px; padding: 10px 7px; } }
@media (min-width: 1001px) { .menu > li.has-dd { position: relative; } .menu > li:nth-child(4) .dropdown { width: 240px; } }
/* Lighter nav and dropdown text (Patrick, 2026-10-25) */
.menu > li > button, .menu > li > a.top { font-weight: 500; }
.dd-item strong { font-weight: 500; }
/* Free spreadsheet library grouped by category */
.free-lib .free-cat { margin: 44px 0 0; font: 700 13px/1.3 var(--display); letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); scroll-margin-top: 100px; }
.free-lib .free-cat:first-child { margin-top: 0; }
.free-lib .lib-grid { margin-top: 18px; }
.free-lib .free-soon { margin: 12px 0 0; color: var(--muted); }
/* "Coming soon" line in a nav dropdown matches the menu items */
.dropdown .dd-soon { padding: 9px 12px; font: 500 15px/1.4 Inter, system-ui, sans-serif; color: var(--muted); }
/* No announcement bar; roomier header (Patrick, 2026-10-25) */
.nav { height: 84px; }
@media (max-width: 1000px) { .menu { height: calc(100vh - 84px); height: calc(100dvh - 84px); } }
@media (max-width: 760px) { .nav { height: 68px; } .menu { height: calc(100vh - 68px); height: calc(100dvh - 68px); } }
.page-hero .formats { margin-top: 22px; }
/* Balance the highlights columns: stacked "for" cards stretch to the bottom of the included list (Patrick, 2026-10-25) */
@media (min-width: 1001px) {
  .detail-grid > div:has(> .for.stack) { display: flex; flex-direction: column; }
  .detail-grid > div > .for.stack { flex: 1; grid-auto-rows: 1fr; }
  .for.stack > div { display: flex; flex-direction: column; justify-content: center; }
}

/* Patrick Quigley brand: blue Q mark, name in black (Patrick, 2026-11-02) */
header .brand-name, header .brand-name span { color: #082c4d; }
.foot-brand .brand-name span { color: #fff; }
.brand-name, header .brand-name { font-family: Inter, system-ui, sans-serif; font-weight: 800; font-stretch: normal; letter-spacing: -0.035em; }
header .brand-name { font-size: 22px; }
@media (max-width: 420px) { header .brand-name { font-size: 19px; } }
/* Q mark slightly smaller in header (Patrick, 2026-11-02) */
header .brand-mark { width: 35px; height: 35px; font-size: 26px; }
@media (max-width: 420px) { header .brand-mark { width: 30px; height: 30px; font-size: 22px; } }
/* Smaller corner clip on the Q mark (Patrick, 2026-11-02) */
.brand-mark { clip-path: polygon(0 0, 100% 0, 100% 82%, 82% 100%, 0 100%); }
