/* My Broker Tender: showcase front page. Same look as the app: parchment, green, navy, Manrope, Newsreader, JetBrains Mono. */
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --parchment: #f5f2eb; --oat: #ece7de; --paper: #ffffff; --green: #133326; --navy: #0e1b2e;
  --cerulean: #1aa7e6; --amber: #d97706; --terracotta: #a8422b; --ink: #1c1c18; --ink-soft: #414844;
  --rule: #d8d2c4; --rule-green: #2a483b; --radius: 4px;
  --font-sans: 'Manrope', system-ui, sans-serif; --font-serif: 'Newsreader', Georgia, serif; --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--parchment); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-variant-numeric: tabular-nums; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .wrap { padding: 0 2rem; } }
@media (min-width: 1280px) { .wrap { padding: 0 3rem; } }

.eyebrow { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; }
.display { font-size: 36px; line-height: 42px; margin-top: 1rem; }
.section-title { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.02em; margin-top: 0.75rem; }
.lead { font-size: 17px; line-height: 26px; margin: 1.5rem 0 0; max-width: 38rem; }
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; font-size: 28px; line-height: 34px; margin: 1rem 0 0; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
@media (min-width: 768px) { .display { font-size: 56px; line-height: 62px; letter-spacing: -0.035em; } .section-title { font-size: 30px; line-height: 36px; } }
.muted { color: var(--ink-soft); }
.on-green .muted, .on-navy .muted { color: #abcebc; }
.caption { font-size: 13px; line-height: 18px; font-weight: 500; margin: 1rem 0 0; }

.btn { display: inline-block; min-height: 44px; padding: 12px 20px; border-radius: var(--radius); font: 700 14px/20px var(--font-sans); text-decoration: none; border: 1px solid var(--green); cursor: pointer; }
.btn-primary { background: var(--green); color: var(--parchment); }
.btn-primary:hover { box-shadow: 2px 2px 0 var(--navy); }
.btn-secondary { background: transparent; color: var(--green); }
.btn-secondary:hover { background: var(--oat); }
.on-green .btn-primary { background: var(--parchment); color: var(--green); border-color: var(--parchment); }
.on-green .btn-secondary, .on-navy .btn-secondary { color: var(--parchment); border-color: var(--parchment); }
.on-navy .btn-primary { background: var(--parchment); color: var(--navy); border-color: var(--parchment); }
.btns { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 2rem 0 0; }
:focus-visible { outline: 2px solid var(--cerulean); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 30; background: var(--paper); padding: 8px 12px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 242, 235, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { font-weight: 800; letter-spacing: -0.02em; font-size: 17px; text-decoration: none; color: var(--green); }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a.link { display: none; text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.nav a.link:hover { color: var(--green); }
@media (min-width: 768px) { .nav a.link { display: inline; } }

.band { padding: 3.5rem 0; }
@media (min-width: 768px) { .band { padding: 5rem 0; } }
.on-green { background: var(--green); color: var(--parchment); }
.on-oat { background: var(--oat); }
.on-navy { background: var(--navy); color: var(--parchment); }
.double-rule { border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); height: 4px; margin: 0; }
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 7fr 5fr; gap: 4rem; } }

/* Score illustration */
.panel { border: 1px solid var(--rule); background: var(--paper); padding: 1.25rem; border-radius: var(--radius); }
.row { margin-top: 0.85rem; }
.row .lbl { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.bar { height: 10px; background: var(--oat); }
.bar i { display: block; height: 100%; background: var(--green); }
.w20 { width: 20%; } .w30 { width: 30%; } .w45 { width: 45%; } .w55 { width: 55%; } .w70 { width: 70%; } .w80 { width: 80%; }
.w88 { width: 88%; } .w46 { width: 46%; } .w22 { width: 22%; } .w14 { width: 14%; }
.c-navy { background: var(--navy) !important; } .c-cer { background: var(--cerulean) !important; } .c-amb { background: var(--amber) !important; } .c-ter { background: var(--terracotta) !important; }
.score-big { font-family: var(--font-mono); font-size: 44px; font-weight: 500; line-height: 48px; color: var(--green); margin: 0.5rem 0 0; }
.score-big span { font-size: 16px; color: var(--ink-soft); }

/* The pipeline */
.pipeline { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule-green); counter-reset: stage; }
.stage { padding: 1.25rem 0; border-bottom: 1px solid var(--rule-green); display: grid; grid-template-columns: 3.25rem 1fr; gap: 0.75rem 1rem; }
.stage .num { font-family: var(--font-mono); font-size: 12px; color: #abcebc; padding-top: 4px; }
.stage h3 { font-size: 19px; line-height: 25px; font-weight: 700; letter-spacing: -0.015em; }
.stage p { margin: 0.35rem 0 0; font-size: 14px; line-height: 21px; color: #cfe3d8; }
.stage .tag { display: inline-block; margin-top: 0.6rem; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid #abcebc; padding: 2px 8px; border-radius: 2px; color: #abcebc; }
.stage .tag.free { background: var(--parchment); color: var(--green); border-color: var(--parchment); }
@media (min-width: 1000px) {
  .pipeline { grid-template-columns: repeat(6, 1fr); border-top: 0; gap: 0; position: relative; }
  .pipeline::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--rule-green); }
  .stage { display: block; border-bottom: 0; padding: 0 1rem 0 0; position: relative; }
  .stage .num { display: block; width: 30px; height: 30px; line-height: 28px; text-align: center; border: 2px solid #abcebc; border-radius: 50%; background: var(--green); padding: 0; position: relative; color: var(--parchment); }
  .stage h3 { margin-top: 1rem; }
}

/* Timeline from renewal */
.timeline { position: relative; height: 96px; margin: 2.5rem 0 0.5rem; }
.timeline .track { position: absolute; left: 0; right: 0; top: 28px; height: 4px; background: var(--rule); }
.timeline .fill { position: absolute; left: 0; top: 28px; height: 4px; width: 66.7%; background: var(--green); }
.mark { position: absolute; top: 20px; transform: translateX(-50%); text-align: center; width: 92px; }
.mark b { display: block; width: 20px; height: 20px; margin: 0 auto; border-radius: 50%; background: var(--paper); border: 3px solid var(--green); }
.mark.late b { border-color: var(--amber); } .mark.end b { border-color: var(--navy); background: var(--navy); }
.mark span { display: block; margin-top: 8px; font-size: 12px; line-height: 15px; font-weight: 700; }
.mark em { display: block; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
.p0 { left: 4%; } .p33 { left: 33.3%; } .p56 { left: 55.6%; } .p67 { left: 67%; } .p100 { left: 96%; }
@media (max-width: 640px) { .mark { width: 62px; } .mark span { font-size: 10.5px; line-height: 13px; } }

/* Cards and tables */
.grid3 { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 900px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.grid2 { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 900px) { .grid2 { grid-template-columns: repeat(2, 1fr); } }
.card { border: 1px solid var(--rule); background: var(--paper); padding: 1.5rem; border-radius: var(--radius); }
.card h3 { font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -0.015em; margin-top: 0.5rem; }
.card p { margin: 0.5rem 0 0; }
.ledger { width: 100%; border-collapse: collapse; margin-top: 0.75rem; font-size: 14px; }
.ledger th, .ledger td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--rule); }
.ledger td.num, .ledger th.num { text-align: right; font-family: var(--font-mono); }
.tick { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.tick li { padding: 6px 0 6px 22px; position: relative; border-bottom: 1px solid var(--rule); }
.tick li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.price { font-family: var(--font-mono); font-size: 22px; font-weight: 500; margin: 0.5rem 0 0; }
.packages { display: grid; gap: 0; margin-top: 2rem; border: 1px solid var(--rule); background: var(--paper); }
.pkg { padding: 1.5rem; border-bottom: 1px solid var(--rule); }
.pkg:last-child { border-bottom: 0; }
@media (min-width: 900px) { .packages { grid-template-columns: repeat(3, 1fr); } .pkg { border-bottom: 0; border-right: 1px solid var(--rule); } .pkg:last-child { border-right: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0.75rem 0 0; }
.chips li { border: 1px solid var(--green); padding: 4px 12px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; border-radius: 2px; background: var(--paper); }

.footer { background: var(--navy); color: var(--parchment); padding: 3rem 0 2rem; }
.footer a { color: var(--parchment); }
.footer .cols { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.footer .fine { font-size: 12px; line-height: 17px; color: #aab6c6; margin-top: 2rem; max-width: 60rem; }
.footer ul { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.footer li { padding: 3px 0; }
.maxw { max-width: 46rem; } .m0 { margin: 0; } .mt1 { margin-top: 1rem; } .brand-light { color: var(--parchment); font-weight: 800; font-size: 17px; margin: 0 0 0.5rem; }
.footer .fine { margin-top: 2rem; }
