/*
 * Financial advisors and planning firms: the introduction.
 * Every class is prefixed fp-. Graph-paper hero, navy ink for the decision bands,
 * pen blue for what an advisor writes by hand, margin red for what is lost or struck.
 */
.fp-page {
  --fp-ink: #142033;
  --fp-ink-2: #1d2e48;
  --fp-ink-3: #2c4266;
  --fp-paper: #f4f1e8;
  --fp-linen: #e9e4d5;
  --fp-sheet: #fffdf7;
  --fp-grid: #dbe1e8;
  --fp-rule: #cfc8b4;
  --fp-soft: #3f4a5b;
  --fp-muted: #566274;
  --fp-pen: #1e4a8c;
  --fp-red: #a3362a;
  --fp-red-deep: #7d2419;
  --fp-red-wash: #f6dfd9;
  --fp-teal: #17695a;
  --fp-teal-deep: #0f4f43;
  --fp-teal-wash: #d9eee7;
  --fp-brass: #c9962f;
  --fp-brass-deep: #7a5a12;
  --fp-highlight: #f4df8c;
  --fp-on-ink: #eef1f5;
  --fp-on-ink-soft: #b9c4d4;
  background: var(--fp-paper);
  color: var(--fp-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}
.fp-page *, .fp-page *::before, .fp-page *::after { box-sizing: border-box; }
.fp-page ::selection { background: var(--fp-highlight); color: var(--fp-ink); }
.fp-page a:focus-visible,
.fp-page summary:focus-visible,
.fp-page [tabindex]:focus-visible {
  outline: 2px solid var(--fp-pen);
  outline-offset: 4px;
}
.fp-close a:focus-visible { outline-color: var(--fp-brass); }
.fp-page section[id] { scroll-margin-top: 130px; }
.fp-wrap { width: min(100% - 80px, 1280px); margin-inline: auto; }
.fp-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fp-page h1, .fp-page h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.fp-page h2 { font-size: clamp(2.05rem, 3.3vw, 3.4rem); line-height: 1.08; }
.fp-page h1 em, .fp-page h2 em { font-style: italic; }
.fp-page h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.fp-section { padding: clamp(64px, 8vw, 108px) 0; }
.fp-section p { max-width: 68ch; }
.fp-section h2 + p { margin-top: 18px; }
.fp-page p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.fp-page p a:hover { color: var(--fp-pen); }
.fp-tie { margin-top: 26px; font-weight: 500; }
.fp-table-scroll { overflow-x: auto; }

/* Buttons and quiet links */
.fp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.fp-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--fp-brass);
  color: var(--fp-ink);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(122, 90, 18, 0.7);
  transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.fp-button:hover { background: #d8a53e; transform: translateY(-1px); }
.fp-hero .fp-button { background: var(--fp-ink); color: var(--fp-on-ink); box-shadow: 0 12px 24px -14px rgba(20, 32, 51, 0.8); }
.fp-hero .fp-button:hover { background: var(--fp-ink-3); color: #fff; }
.fp-quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: rgba(20, 32, 51, 0.4);
  text-underline-offset: 5px;
}
.fp-close .fp-quiet-link { text-decoration-color: rgba(238, 241, 245, 0.45); }
.fp-quiet-link:hover { text-decoration-color: currentColor; }

/* Hero: the introduction */
.fp-hero-shell {
  padding-top: 101px;
  background-color: var(--fp-paper);
  background-image:
    linear-gradient(var(--fp-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--fp-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  border-bottom: 1px solid var(--fp-rule);
}
.fp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-top: 12px; font-size: 12.5px; color: var(--fp-muted); }
.fp-breadcrumb a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.fp-breadcrumb a:hover { color: var(--fp-ink); text-decoration: underline; }
.fp-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 6vw, 84px);
}
.fp-hero-copy { background: linear-gradient(90deg, var(--fp-paper) 88%, transparent); padding: 6px 0; }
.fp-hero h1 { font-size: clamp(2.7rem, 5.6vw, 5.3rem); line-height: 1; }
.fp-hero h1 .h1-kicker {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--fp-pen);
}
.fp-h1-line { display: block; }
.fp-hero h1 em { color: var(--fp-red-deep); }
.fp-lede { margin-top: 24px; max-width: 54ch; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.6; color: var(--fp-soft); }
.fp-price { display: grid; gap: 4px; margin-top: 24px; font-size: 15.5px; }
.fp-price span strong { display: inline-block; margin-right: 6px; font-weight: 800; }
.fp-price small { margin-top: 4px; font-size: 13px; color: var(--fp-muted); }

/* The desk: card, voicemail, prep note */
.fp-desk { position: relative; display: grid; gap: 16px; margin: 0; }
.fp-desk-caption { font-size: 13.5px; font-weight: 600; color: var(--fp-soft); }
.fp-card {
  position: relative;
  transform: rotate(-1.4deg);
  width: min(100%, 470px);
  padding: 20px 26px 22px;
  background: var(--fp-sheet);
  border: 1px solid var(--fp-rule);
  border-radius: 4px;
  box-shadow: 0 16px 30px -18px rgba(20, 32, 51, 0.55);
}
.fp-card-head { padding-bottom: 8px; border-bottom: 2px solid #e6a9a0; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fp-muted); }
.fp-hand {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.42rem;
  line-height: 32px;
  color: var(--fp-pen);
  background: repeating-linear-gradient(transparent 0 31px, #cfdcee 31px 32px);
}
.fp-hand-sign { margin-top: 0; text-align: right; font-size: 1.6rem; }
.fp-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.fp-vm, .fp-note {
  padding: 18px 18px 16px;
  border-radius: 6px;
  background: var(--fp-sheet);
  border: 1px solid var(--fp-rule);
  box-shadow: 0 14px 26px -20px rgba(20, 32, 51, 0.5);
}
.fp-vm { border-top: 4px solid var(--fp-red); }
.fp-note { border-top: 4px solid var(--fp-teal); }
.fp-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.fp-tag-lost { background: var(--fp-red-wash); color: var(--fp-red-deep); }
.fp-tag-won { background: var(--fp-teal-wash); color: var(--fp-teal-deep); }
.fp-time { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--fp-muted); font-variant-numeric: tabular-nums; }
.fp-quote { margin-top: 10px; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.35; color: var(--fp-ink); }
.fp-meta { margin-top: 10px; font-size: 13.5px; color: var(--fp-muted); }
.fp-note dl { margin: 10px 0 0; display: grid; gap: 6px; }
.fp-note dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: 14px; }
.fp-note dt { font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fp-muted); }
.fp-note dd { margin: 0; font-weight: 600; color: var(--fp-teal-deep); }
.fp-verdict { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--fp-rule); font-size: 13.5px; line-height: 1.5; }
.fp-verdict-lost strong { color: var(--fp-red-deep); }
.fp-verdict-won strong { color: var(--fp-teal-deep); }

/* Sticky jump nav */
.fp-jump {
  position: sticky;
  top: 72px;
  z-index: 5;
  background: rgba(244, 241, 232, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--fp-rule);
}
.fp-jump .fp-wrap { display: flex; gap: 6px 22px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.fp-jump a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fp-soft);
  text-decoration: none;
}
.fp-jump a:hover { color: var(--fp-pen); text-decoration: underline; }

/* Before she calls */
.fp-before { background: var(--fp-paper); }
.fp-before-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.fp-before-copy p + p { margin-top: 16px; }
.fp-before-copy h2 + p { margin-top: 20px; }
.fp-bars {
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  background: var(--fp-sheet);
  border: 1px solid var(--fp-rule);
  border-radius: 8px;
  box-shadow: 0 18px 34px -26px rgba(20, 32, 51, 0.5);
}
.fp-bars figcaption { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--fp-soft); }
.fp-bars ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.fp-bar { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 2px 12px; align-items: center; }
.fp-bar-num { grid-row: 1 / span 2; font-family: var(--font-serif); font-size: 1.75rem; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; color: var(--fp-ink); }
.fp-bar-text { font-size: 14.5px; line-height: 1.35; }
.fp-bar-track { display: block; height: 10px; border-radius: 999px; background: var(--fp-grid); overflow: hidden; }
.fp-bar-track span { display: block; height: 100%; border-radius: 999px; background: #5b6b82; }
.fp-bar-strong .fp-bar-track span { background: var(--fp-ink); }
.fp-bar-strong .fp-bar-text { font-weight: 700; }
.fp-source { margin-top: 18px; max-width: none; font-size: 13px; color: var(--fp-muted); }

/* Who rings */

/* The fit sheet */
.fp-sheet {
  padding: clamp(22px, 3vw, 36px);
  background: var(--fp-sheet);
  border: 1px solid var(--fp-rule);
  border-radius: 4px;
  box-shadow: 0 20px 36px -24px rgba(20, 32, 51, 0.55);
}
.fp-sheet ol { list-style: none; margin: 0; padding: 0; }
.fp-sheet > ol > li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 10px;
  padding: 16px 0 14px;
  border-bottom: 1px dotted var(--fp-muted);
}

/* Never says: red pen */

/* Who covers the phone */
.fp-compare { background: var(--fp-sheet); }
.fp-compare-head { max-width: 780px; margin-bottom: 30px; }
.fp-compare-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15px; }
.fp-compare-table th, .fp-compare-table td { padding: 15px 18px 15px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--fp-rule); }
.fp-compare-table thead th { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fp-muted); border-bottom: 2px solid var(--fp-ink); }
.fp-compare-table tbody th { width: 20%; font-weight: 800; }
.fp-compare-table .fp-ours { background: var(--fp-teal-wash); color: var(--fp-teal-deep); font-weight: 600; }
.fp-compare-table thead .fp-ours { color: var(--fp-teal-deep); border-bottom-color: var(--fp-teal); }
.fp-models { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; font-size: 13.5px; color: var(--fp-muted); }
.fp-models ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.fp-models li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fp-ink); }
.fp-models li span { font-weight: 500; color: var(--fp-muted); }

/* The introduction loop */

/* Bad market morning */

/* After the first call */

/* Website: keep and cut */
.fp-site { background: var(--fp-paper); }
.fp-site-head { max-width: 780px; margin-bottom: 34px; }
.fp-keepcut { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); }
.fp-keep, .fp-cut { padding: clamp(22px, 3vw, 34px); background: var(--fp-sheet); border: 1px solid var(--fp-rule); border-radius: 4px; }
.fp-keep { border-top: 4px solid var(--fp-teal); }
.fp-cut { border-top: 4px solid var(--fp-red); }
.fp-keepcut h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.7rem; }
.fp-keepcut ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.fp-keepcut li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--fp-rule); }
.fp-keep li::before { content: "✓"; position: absolute; left: 4px; top: 10px; font-weight: 800; color: var(--fp-teal-deep); }
.fp-cut li { color: var(--fp-soft); text-decoration: line-through; text-decoration-color: var(--fp-red); }
.fp-cut li::before { content: "✕"; position: absolute; left: 4px; top: 10px; font-weight: 800; color: var(--fp-red-deep); text-decoration: none; }
.fp-site-foot { margin-top: 26px; max-width: 76ch; font-weight: 500; }

/* Setup */
.fp-how { background: var(--fp-sheet); }
.fp-steps { list-style: none; counter-reset: fp-setup; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--fp-ink); }
.fp-steps li { counter-increment: fp-setup; position: relative; padding: 20px 0 20px 54px; border-bottom: 1px solid var(--fp-rule); }
.fp-steps li::before { content: counter(fp-setup); position: absolute; left: 0; top: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fp-ink); color: #fff; font-size: 14px; font-weight: 800; }
.fp-steps p { margin-top: 4px; max-width: 58ch; color: var(--fp-soft); }

/* FAQ */
.fp-faq { background: var(--fp-paper); }
.fp-faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.fp-faq-grid > div:first-child { position: sticky; top: 140px; }
.fp-faq-list { border-top: 2px solid var(--fp-ink); }
.fp-faq-list details { border-bottom: 1px solid var(--fp-rule); }
.fp-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.005em; }
.fp-faq-list summary::-webkit-details-marker { display: none; }
.fp-faq-list summary span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--fp-linen); font-family: var(--font-sans); font-size: 1.2rem; transition: transform 160ms ease-out; }
.fp-faq-list details[open] summary span { transform: rotate(45deg); background: var(--fp-highlight); }
.fp-faq-list details p { padding: 0 0 20px; max-width: 70ch; font-size: 16px; color: var(--fp-soft); }
.fp-faq-list details p + p { margin-top: -8px; }

/* Close */
.fp-close { background: var(--fp-ink); color: var(--fp-on-ink); padding: clamp(64px, 8vw, 108px) 0; }
.fp-close h2 { color: #fff; font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.05rem, 3.3vw, 3.4rem); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.fp-close h2 em { color: var(--fp-brass); font-style: italic; }
.fp-close-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.fp-close-grid > div > p { margin-top: 18px; max-width: 62ch; color: var(--fp-on-ink); }
.fp-close aside { display: grid; gap: 0; border-top: 2px solid var(--fp-brass); }
.fp-close aside strong { padding: 14px 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fp-brass); }
.fp-close aside a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 10px 0; border-top: 1px solid rgba(238, 241, 245, 0.18); color: #fff; font-weight: 600; text-decoration: none; }
.fp-close aside a:hover { color: var(--fp-highlight); }

/* Six systems: the client service calendar */

@media (max-width: 1080px) {
  .fp-hero, .fp-before-grid, .fp-close-grid, .fp-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .fp-faq-grid > div:first-child { position: static; }
  .fp-hero-copy { background: none; }
}
@media (max-width: 720px) {
  .fp-wrap { width: min(100% - 32px, 1280px); }
  .fp-hero-shell { padding-top: 92px; }
  .fp-hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .fp-pair { grid-template-columns: minmax(0, 1fr); }
  .fp-card { transform: none; }
  .fp-keepcut { grid-template-columns: minmax(0, 1fr); }
  .fp-bar { grid-template-columns: 48px minmax(0, 1fr); }
  .fp-jump { top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-button, .fp-faq-list summary span { transition: none; }
}

/* The approved-site handoff extends the existing keep/cut review. */
.fp-site-handoff { margin-top: 36px; padding-top: 28px; border-top: 2px solid var(--fp-rule); }
.fp-site-handoff > h3 { font-family: var(--font-serif); font-size: clamp(1.65rem, 2.6vw, 2.25rem); font-weight: 500; }
.fp-site-handoff > p { margin-top: 18px; max-width: 80ch; }
.fp-review-route { margin: 24px 0 0; padding-left: 24px; max-width: 80ch; }
.fp-review-route li { padding: 12px 0 12px 8px; border-top: 1px solid var(--fp-rule); color: var(--fp-soft); }
.fp-review-route li::marker { color: var(--fp-pen); font-weight: 700; }
.fp-review-route strong { color: var(--fp-ink); }
