/* Topline Ventures LLC. Static site, no JavaScript, no motion.
   System: warm paper, Montserrat display + Inter body, navy anchor + rust action,
   16px cards, 12px buttons. See ../DESIGN.md. */

:root {
  --paper: #FAF7F5;
  --surface: #FFFFFF;
  --ink: #1F2A37;
  --softink: #5A6472;
  --muted: #677080;
  --hairline: #ECE6E3;

  /* anchor: navy. brand for graphics, brand-ink for text and filled nodes */
  --brand: #2A5A9E;
  --brand-ink: #1E4579;
  --brand-tint: #E9F0F9;
  --brand-border: #CDDCEF;

  /* action: rust. white text on --action is 5.2:1 */
  --action: #C2410C;
  --action-hover: #9A3412;
  --action-ink: #A3360A;
  --action-tint: #FCEDE5;

  --good: #15803D;

  --r-card: 16px;
  --r-btn: 12px;
  --shadow-card: 0 1px 2px rgba(20, 23, 29, .04), 0 8px 24px -12px rgba(20, 23, 29, .12);
  --shadow-float: 0 2px 6px rgba(20, 23, 29, .05), 0 24px 60px -28px rgba(20, 23, 29, .28);

  --display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); color: var(--ink); overflow-x: clip; color-scheme: light; }
body { font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img, svg { display: block; }
::selection { background: var(--brand-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 50; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: var(--r-btn); font-weight: 600; text-decoration: none; box-shadow: var(--shadow-card); }
.skip:focus { top: 12px; }

.c { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.display { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.ic { width: 1em; height: 1em; flex: none; fill: currentColor; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; border-radius: var(--r-btn); font-family: var(--display); font-weight: 700; text-decoration: none; }
.btn-action { background: var(--action); color: #fff; padding: 13px 24px; font-size: .95rem; box-shadow: 0 10px 26px -6px rgba(194, 65, 12, .5); }
.btn-action:hover { background: var(--action-hover); }
.btn-ghost { border: 1.5px solid var(--hairline); background: var(--surface); color: var(--brand-ink); padding: 12px 20px; font-size: .9rem; }
.btn-ghost:hover { border-color: var(--brand-border); }
.btn:active { transform: translateY(1px); }

.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-card); }

/* decorative layers: faint dot grid and soft glows, behind content only */
.dotgrid { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--brand-border) 1px, transparent 1px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 30%, transparent 75%); opacity: .55; }
.glow { position: absolute; border-radius: 50%; filter: blur(48px); pointer-events: none; }
.glow-a { right: -120px; top: 20px; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(42, 90, 158, .18), transparent); }
.glow-b { left: -160px; bottom: -40px; width: 360px; height: 360px; background: radial-gradient(closest-side, rgba(194, 65, 12, .09), transparent); }
.glow-c { left: 50%; top: 50%; width: 640px; height: 380px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(42, 90, 158, .12), transparent); }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--hairline); }
.top .c { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.mark img { width: 32px; height: 32px; border-radius: 10px; box-shadow: 0 4px 12px -4px rgba(42, 90, 158, .6); }
.mark b { font-family: var(--display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; }
.mark b span { color: var(--brand); }
.top nav { display: flex; align-items: center; gap: 24px; font-size: .875rem; color: var(--softink); }
.top nav a { text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--ink); }
.top nav .btn { padding: 8px 16px; font-size: .85rem; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 3.375rem; line-height: 1.06; margin-top: 16px; }
.hero h1 em { font-style: normal; color: var(--action); }
.hero .sub { margin-top: 20px; max-width: 33rem; font-size: 1.125rem; line-height: 1.65; color: var(--softink); }
.ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.micro { margin-top: 12px; font-size: .8125rem; color: var(--muted); }

/* sample report card, with offset backing card */
.rc-wrap { position: relative; }
.rc-back { position: absolute; right: -12px; top: -12px; width: 100%; height: 100%; border-radius: 20px; border: 1px solid var(--hairline); background: rgba(233, 240, 249, .55); }
.rc { position: relative; border-radius: 20px; border: 1px solid var(--hairline); background: var(--surface); box-shadow: var(--shadow-float); overflow: hidden; }
.rc-head { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--hairline); }
.rc-head b { font-family: var(--display); font-size: .875rem; }
.rc-head .tagline { margin-left: auto; font-size: .75rem; font-weight: 600; color: var(--action-ink); background: var(--action-tint); padding: 3px 10px; border-radius: 999px; }
.rc-top { padding: 20px 20px 4px; }
.rc-top .co { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.rc-top .meta { font-size: .85rem; color: var(--muted); }
.bars { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 11px; }
.bars .colhead { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) 5.5rem 6.2rem; gap: 12px; align-items: center; font-size: .82rem; color: var(--softink); }
.bar .track { height: 8px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.bar .fill { display: block; height: 100%; border-radius: 999px; background: rgba(103, 112, 128, .45); }
.bar.top-row .fill { background: var(--action); }
.bar.top-row .name { font-weight: 700; color: var(--action-ink); }
.bar .hrs { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
.free { display: inline-block; margin-left: 6px; font-size: .68rem; font-weight: 600; color: var(--good); background: #E8F5EC; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.rc-foot { margin-top: 6px; border-top: 1px solid var(--hairline); padding-top: 12px; font-size: .8rem; color: var(--softink); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* what a fix looks like: glanceable before and after rows */
.fix-band { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--surface); padding: 64px 0 72px; }
.fix-band h2 { font-size: 1.875rem; line-height: 1.2; text-align: center; }
.fix-sub { margin-top: 8px; text-align: center; color: var(--softink); text-wrap: pretty; }
.fix-card { max-width: 1000px; margin: 32px auto 0; padding: 6px 28px; }
.fix-head, .fix-row { display: grid; grid-template-columns: 13.5rem 1fr 24px 1fr; gap: 16px; align-items: center; }
.fix-head { padding: 16px 0 10px; border-bottom: 1px solid var(--hairline); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fix-head .h-before { color: var(--action-ink); }
.fix-head .h-after { color: var(--good); }
.fix-list { list-style: none; }
.fix-row { padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.fix-row:last-child { border-bottom: 0; }
.topic { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 1rem; }
.tile { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-ink); display: grid; place-items: center; }
.tile .ic { font-size: 1.25rem; }
.chipline { display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 10px 14px; font-size: .95rem; font-weight: 500; line-height: 1.35; }
.chipline .ic { font-size: .95rem; }
.before { background: var(--action-tint); color: var(--action-ink); }
.after { background: #E8F5EC; color: #11622F; }
.arrow { color: var(--muted); font-size: 1.2rem; justify-self: center; }
.fix-cta { margin-top: 32px; display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; text-align: center; }
.fix-cta p { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.fix-more { margin-top: 16px; text-align: center; font-size: .9rem; color: var(--softink); }
.fix-more a { color: var(--brand-ink); text-underline-offset: 2px; }

/* missed-call cost calculator (missed-calls.html) */
.calc-page { position: relative; overflow: hidden; padding: 56px 0 80px; }
.calc-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; max-width: 1040px; }
.calc-page h1 { font-size: 2.6rem; line-height: 1.1; margin-top: 12px; text-wrap: balance; }
.calc-sub { margin-top: 12px; color: var(--softink); font-size: 1.05rem; max-width: 30rem; text-wrap: pretty; }
.fields { margin-top: 28px; display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .hint { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.inwrap { position: relative; margin-top: 8px; }
.inwrap .pre { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--softink); font-weight: 600; pointer-events: none; }
.field input { width: 100%; font: inherit; font-size: 1.1rem; font-weight: 600; color: var(--ink); background: var(--surface); border: 1.5px solid #D9D1CC; border-radius: 10px; padding: 12px 14px; }
.field input.has-pre { padding-left: 30px; }
.field input::placeholder { color: #8A8F98; font-weight: 400; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.field input[aria-invalid="true"] { border-color: var(--action); }
.res { padding: 28px; border: 1.5px solid var(--brand-border); box-shadow: var(--shadow-float); }
.res-lab { font-size: .95rem; font-weight: 600; color: var(--softink); }
.res-num { margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: 3.25rem; line-height: 1.05; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.res-num .per { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.res-num.empty { font-size: 1.25rem; font-weight: 700; color: var(--muted); letter-spacing: 0; padding: 14px 0 6px; }
.res-formula { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--paper); font-size: .86rem; color: var(--softink); }
.res-formula b { color: var(--ink); font-weight: 600; }
.res-note { margin-top: 10px; font-size: .86rem; color: var(--softink); }
.res .btn { margin-top: 20px; width: 100%; }
.res-also { margin-top: 14px; font-size: .84rem; color: var(--muted); text-align: center; }

/* how it works: timeline */
.how { background: var(--surface); padding: 80px 0; }
.sec-h { font-size: 2.25rem; line-height: 1.15; margin-top: 12px; max-width: 32rem; }
.lede { margin-top: 12px; max-width: 34rem; color: var(--softink); }
.tl { list-style: none; margin-top: 48px; }
.tl > li { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 0 32px; padding-bottom: 48px; }
.tl > li:last-child { padding-bottom: 0; }
.tl > li:not(:last-child)::before { content: ""; position: absolute; left: 1.5rem; top: 3rem; bottom: 0; width: 1px; background: var(--hairline); }
.node { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.05rem; box-shadow: 0 5px 16px -4px rgba(42, 90, 158, .6), 0 0 0 4px var(--surface); }
.node.end { background: var(--action); box-shadow: 0 5px 16px -4px rgba(194, 65, 12, .55), 0 0 0 4px var(--surface); }
.node .ic { font-size: 1.3rem; }
.step { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: start; padding-bottom: 48px; border-bottom: 1px solid var(--hairline); }
.tl > li:last-child .step { border-bottom: 0; padding-bottom: 0; grid-template-columns: 1fr; }
.step .when { font-size: .78rem; font-weight: 600; color: var(--brand-ink); padding-top: 4px; }
.step h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-top: 2px; }
.step p { margin-top: 8px; max-width: 30rem; font-size: .95rem; color: var(--softink); }
.val { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--brand-ink); }
.mini { border-radius: 14px; border: 1px solid var(--hairline); background: var(--paper); padding: 16px; box-shadow: 0 1px 3px rgba(20, 23, 29, .06), 0 14px 34px -18px rgba(20, 23, 29, .25); }
.mini.tilt { transform: rotate(-1.2deg); }
.mini .lab { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 10px; }
.mini ul { list-style: none; display: grid; gap: 6px; }
.mrow { display: flex; align-items: center; gap: 10px; justify-content: space-between; background: var(--surface); border-radius: 10px; padding: 8px 12px; box-shadow: inset 0 0 0 1px var(--hairline); font-size: .84rem; }
.mrow .grow { flex: 1; }
.mrow .ic { color: var(--brand); font-size: 1rem; }
.tag { flex: none; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink); font-size: .72rem; font-weight: 600; padding: 2px 8px; }
.num { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--action-tint); color: var(--action-ink); display: grid; place-items: center; font-size: .7rem; font-weight: 700; }

/* pricing */
.pricing { border-top: 1px solid var(--hairline); padding: 80px 0; }
.price-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-top: 40px; align-items: start; }
.plan { padding: 32px; }
.plan.feat { border: 1.5px solid var(--brand-border); box-shadow: var(--shadow-float); }
.plan .name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.plan .amt { font-family: var(--display); font-weight: 800; font-size: 3rem; letter-spacing: -.03em; margin-top: 8px; line-height: 1; }
.plan .amt small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .amt.word { font-size: 1.6rem; margin-top: 14px; letter-spacing: -.02em; }
.plan ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; font-size: .95rem; color: var(--softink); }
.plan li { display: flex; gap: 10px; }
.plan li .ic { color: var(--brand-ink); margin-top: 5px; font-size: .9rem; }
.plan .btn { margin-top: 26px; }
.plan .fine { margin-top: 14px; font-size: .84rem; color: var(--softink); }
.ribbon { float: right; font-size: .75rem; font-weight: 600; background: var(--brand-tint); color: var(--brand-ink); padding: 4px 10px; border-radius: 999px; }

/* honest note */
.assure { border-top: 1px solid var(--hairline); background: var(--surface); padding: 72px 0; }
.assure-grid { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; max-width: 860px; }
.shield { width: 64px; height: 64px; border-radius: 18px; background: var(--brand-tint); color: var(--brand-ink); display: grid; place-items: center; }
.shield .ic { font-size: 2rem; }
.assure h2 { font-size: 1.9rem; line-height: 1.2; }
.assure p { margin-top: 12px; color: var(--softink); font-size: 1.02rem; max-width: 44rem; }

/* faq */
.faq { border-top: 1px solid var(--hairline); padding: 80px 0; }
.faq .c { max-width: 720px; }
.faq h2 { font-size: 2.25rem; text-align: center; }
.faq-list { margin-top: 32px; border-top: 1px solid var(--hairline); }
details { padding: 20px 0; border-bottom: 1px solid var(--hairline); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-family: var(--display); font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary .plus { color: var(--muted); font-weight: 400; }
details[open] summary .plus { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--softink); }

/* closing call to action */
.final { position: relative; overflow: hidden; border-top: 1px solid var(--hairline); background: var(--surface); padding: 80px 0; text-align: center; }
.final h2 { position: relative; font-size: 2.25rem; max-width: 40rem; margin: 0 auto; line-height: 1.15; }
.final .btn, .final .micro { position: relative; }
.final .btn { margin-top: 28px; }

/* footer */
.foot { border-top: 1px solid var(--hairline); padding: 40px 0; }
.foot .c { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.foot p { margin-top: 8px; font-size: .875rem; color: var(--muted); max-width: 28rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: .875rem; color: var(--softink); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* privacy page */
.doc { padding: 64px 0 80px; }
.doc .c { max-width: 760px; }
.doc h1 { font-size: 2.5rem; line-height: 1.1; margin-top: 12px; }
.doc .updated { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.doc-card { margin-top: 32px; padding: 8px 36px 32px; }
.doc h2 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; margin-top: 28px; }
.doc p { margin-top: 10px; color: var(--softink); max-width: 62ch; }
.doc a { color: var(--brand-ink); text-underline-offset: 2px; }

@media (max-width: 980px) {
  .hero-grid, .price-grid, .step, .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .c { padding: 0 24px; }
  .top nav a:not(.btn) { display: none; }
  .mark b { font-size: 1.08rem; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 2.3rem; }
  .hero .sub { font-size: 1.05rem; }
  .rc-back { display: none; }
  .rc-head { padding: 12px 16px; }
  .rc-head b, .rc-head .tagline { white-space: nowrap; }
  .rc-head .tagline { font-size: .68rem; padding: 3px 8px; }
  .bar { grid-template-columns: 1fr 6.2rem; gap: 4px 10px; }
  .bar .name { grid-column: 1 / -1; }
  .fix-band { padding: 48px 0 56px; }
  .fix-card { padding: 4px 18px; }
  .fix-head { display: none; }
  .fix-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .arrow { transform: rotate(90deg); font-size: 1rem; justify-self: start; margin-left: 18px; }
  .fix-cta { flex-direction: column; gap: 14px; }
  .calc-page { padding: 40px 0 56px; }
  .calc-page h1 { font-size: 2rem; }
  .res { padding: 22px 20px; }
  .res-num { font-size: 2.6rem; }
  .fix-band h2, .sec-h, .faq h2, .final h2 { font-size: 1.6rem; }
  .tl > li { gap: 0 18px; }
  .mini.tilt { transform: none; }
  .plan { padding: 26px 22px; }
  .assure-grid { grid-template-columns: 1fr; }
  .foot .c { flex-direction: column; align-items: flex-start; }
  .doc h1 { font-size: 2rem; }
  .doc-card { padding: 4px 22px 26px; }
}
@media (max-width: 400px) {
  .top nav .btn { display: none; }
}
