/* Features page (features.html). Components carried over from the claude build,
   renamed with an fp- prefix so they can't collide with the home page's classes. */
:root {
  --red-dark: #b00000;
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --orange: #ff6a00;
  --gray-200: #e2e8f0;
  --green: #00a63e;
  --amber: #b45309;
  --shadow-lg: 0 24px 48px -24px rgba(15, 23, 42, .25);
  --radius: 16px;
  --header-h: var(--header-height);
}
[id].fp-anchor { scroll-margin-top: calc(var(--header-h) + 16px); }
.fp-container { max-width: var(--content-max); margin: 0 auto; padding: 0 24px; }
.fp-section { padding: var(--section-pad) 0; position: relative; }
.fp-section--muted { background: var(--gray-50); }
.fp-ic { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fp-ic--sm { width: 16px; height: 16px; }
.fp-eyebrow { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.fp-section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.fp-section-head h2 { margin-top: 14px; font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.fp-section-head p { margin-top: 16px; font-size: 18px; color: var(--gray-500); }
.fp-btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fp-text-link { color: var(--red); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.fp-text-link:hover { gap: 10px; }
.fp-glow { position: absolute; pointer-events: none; filter: blur(60px); z-index: 0; border-radius: 50%; }
.fp-glow--right { width: 760px; height: 1100px; right: -420px; top: -40px; background: radial-gradient(ellipse at center, rgba(213, 0, 0, .30), rgba(213, 0, 0, 0) 65%); }
.fp-has-glow { position: relative; overflow: hidden; }
.fp-has-glow > .fp-container { position: relative; z-index: 1; }
.fp-page-hero { padding: 64px 0 72px; text-align: center; }
.fp-page-hero h1 { margin: 16px auto 0; max-width: 860px; font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; }
.fp-page-hero p { margin: 18px auto 0; max-width: 680px; font-size: 19px; color: var(--gray-600); }
.fp-page-hero .fp-btn-row { justify-content: center; margin-top: 32px; }
.fp-agenda li { display: flex; gap: 10px; align-items: center; font-size: 12px; padding: 8px 0; border-top: 1px solid var(--gray-100); }
.fp-agenda li:first-child { border-top: 0; }
.fp-agenda time { font-weight: 700; color: var(--gray-700); width: 64px; flex-shrink: 0; }
.fp-agenda .fp-tag { margin-left: auto; }
.fp-tag { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.fp-tag--blue { background: #dbeafe; color: #1447e6; }
.fp-tag--yellow { background: #fef3c7; color: var(--amber); }
.fp-tag--green { background: #dcfce7; color: #047a35; }
.fp-tag--purple { background: #f3e8ff; color: #7e22ce; }
.fp-tag--red { background: var(--red-100); color: var(--red); }
.fp-tag--gray { background: var(--gray-100); color: var(--gray-600); }
.fp-mini-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fp-mini-board__col { background: var(--gray-50); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.fp-mini-board__col > span { font-size: 10.5px; font-weight: 700; color: var(--gray-500); }
.fp-mini-card { background: #fff; border-radius: 6px; padding: 6px 8px; font-size: 11px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.fp-icon-box { width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--red-100); color: var(--red); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(213, 0, 0, .06); }
.fp-spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--gray-100); }
.fp-spotlight:last-child { border-bottom: 0; padding-bottom: 0; }
.fp-spotlight:first-of-type { padding-top: 0; }
.fp-spotlight--reverse .fp-spotlight__copy { order: 2; }
.fp-spotlight__copy h2, .fp-spotlight__copy h3 { margin-top: 14px; font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; }
.fp-spotlight__copy > p { margin-top: 18px; font-size: 17px; color: var(--gray-600); }
.fp-checklist { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.fp-checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; font-weight: 500; }
.fp-checklist__icon { width: 22px; height: 22px; border-radius: 50%; background: rgba(213, 0, 0, .1); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.fp-checklist__icon .fp-ic { width: 13px; height: 13px; stroke-width: 3; }
.fp-spotlight .fp-text-link { margin-top: 24px; }
.fp-spotlight__panel { border-radius: var(--radius); padding: 32px; min-height: 380px; display: flex; flex-direction: column; justify-content: center; gap: 12px; box-shadow: 0 20px 25px -12px #e9ecf1; }
.fp-panel--peach { background: linear-gradient(144deg, #fef2f2, #fff7ed); }
.fp-panel--gray { background: linear-gradient(144deg, #f9fafb, #f1f5f9); }
.fp-panel--pink { background: linear-gradient(144deg, #fef2f2, #fdf2f8); }
.fp-panel--blue { background: linear-gradient(144deg, #eff6ff, #f8fafc); }
.fp-white-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.fp-white-card__title { font-size: 14px; font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.fp-ledger-row { display: grid; grid-template-columns: 1.1fr 1.3fr auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--gray-100); font-size: 13.5px; }
.fp-ledger-row:first-of-type { border-top: 0; }
.fp-ledger-row span:nth-child(2) { color: var(--gray-500); font-size: 12.5px; }
.fp-ledger-row b { text-align: right; }
.fp-pos { color: var(--green); }
.fp-neg { color: var(--red); }
.fp-note-banner { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(0, 166, 62, .07); border: 1px solid rgba(0, 166, 62, .25); font-size: 13.5px; }
.fp-note-banner .fp-ic { color: var(--green); }
.fp-note-banner strong { display: block; }
.fp-portal-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.fp-portal-card__head { background: var(--red); color: #fff; display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.fp-portal-card__head strong { display: block; font-size: 14px; }
.fp-portal-card__head small { color: rgba(255, 255, 255, .75); font-size: 12px; }
.fp-portal-card__dot { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.fp-portal-card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.fp-portal-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--gray-50); border-radius: 8px; padding: 11px 12px; font-size: 13.5px; font-weight: 500; }
.fp-progress { height: 8px; border-radius: 999px; background: var(--gray-100); overflow: hidden; }
.fp-progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--orange)); border-radius: inherit; }
.fp-doc-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--gray-100); font-size: 13.5px; }
.fp-doc-row:first-of-type { border-top: 0; }
.fp-doc-row .fp-ic { color: var(--gray-500); }
.fp-doc-row .fp-tag { margin-left: auto; }
.fp-law-result { background: #fff; border-radius: 10px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.fp-law-result b { font-size: 14px; }
.fp-law-result small { display: block; color: var(--gray-500); font-size: 12.5px; margin-top: 4px; }
.fp-searchbar { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--red); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--gray-700); }
.fp-searchbar .fp-ic { color: var(--gray-400); }
.fp-letter { background: #fff; border-radius: 10px; padding: 22px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); font-size: 13px; color: var(--gray-700); font-family: Georgia, 'Times New Roman', serif; }
.fp-letter__head { display: flex; justify-content: space-between; border-bottom: 1px solid var(--gray-100); padding-bottom: 10px; margin-bottom: 12px; font-family: var(--font-display); }
.fp-letter__line { height: 7px; border-radius: 4px; background: var(--gray-100); margin-top: 8px; }
.fp-letter mark { background: #fff1b8; padding: 0 3px; border-radius: 3px; }
.fp-subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.fp-subnav__inner { display: flex; gap: 6px; overflow-x: auto; padding: 10px 24px; max-width: var(--content-max); margin: 0 auto; scrollbar-width: none; }
.fp-subnav__inner::-webkit-scrollbar { display: none; }
.fp-subnav a { flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--gray-600); padding: 8px 14px; border-radius: 999px; border: 1px solid transparent; }
.fp-subnav a:hover { background: var(--gray-50); color: var(--dark); }
.fp-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fp-mini-feature { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.fp-mini-feature h3 { font-size: 16.5px; font-weight: 700; }
.fp-mini-feature p { margin-top: 4px; font-size: 14.5px; color: var(--gray-500); }
@media (max-width: 1100px) {
.fp-spotlight { grid-template-columns: 1fr; gap: 40px; }
.fp-spotlight--reverse .fp-spotlight__copy { order: 0; }
.fp-mini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
.fp-container { padding: 0 16px; }
.fp-page-hero .fp-btn-row { flex-direction: column; align-items: stretch; }
.fp-mini-grid { grid-template-columns: 1fr; }
.fp-spotlight { padding: 48px 0; }
.fp-spotlight__panel { padding: 20px; min-height: 0; }
.fp-ledger-row { grid-template-columns: 1fr auto; }
.fp-ledger-row span:nth-child(2) { display: none; }
.fp-mini-board { grid-template-columns: 1fr; }
}
.fp .fp-page-hero .btn { white-space: nowrap; }
.fp .fp-page-hero .fp-btn-row .btn img { width: 20px; height: 20px; }
.fp .fp-eyebrow { color: var(--red); }
.fp [id].fp-anchor, .fp section[id] { scroll-margin-top: calc(var(--header-height) + 64px); }
