/* FiberCheck CRE website - shared styles */
:root {
  --brand: #1d4fd7;
  --brand-deep: #163ca6;
  --brand-tint: #e3ebfc;
  --ink: #161a20;
  --muted: #55606e;
  --line: #e3e7ed;
  --ground: #f3f5f8;
  --panel: #ffffff;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
a { color: var(--brand-deep); }
a:hover { color: var(--brand); }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 10px 0; }
.nav a:hover { color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: #cfd5dd; }
.btn-ghost:hover { background: var(--ground); color: var(--ink); }
.btn:focus-visible, .nav a:focus-visible, .brand:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* hero */
.hero { padding: 72px 0 64px; background: var(--ground); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--brand-deep); margin: 0 0 12px; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; }
.lead { font-size: 19px; color: #3d4652; margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* panel mockup (drawn in HTML, mirrors the extension) */
.mock { background: var(--ground); border: 1px solid #dfe3e9; border-radius: 18px; padding: 12px; box-shadow: 0 18px 40px rgba(22, 26, 32, 0.12); max-width: 380px; justify-self: center; width: 100%; }
.mock-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; font-weight: 700; font-size: 14px; }
.mock-pill { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--brand-deep); background: var(--brand-tint); border-radius: 999px; padding: 3px 9px; }
.mock-card { background: #fff; border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.mock-addr { font-weight: 600; font-size: 14px; }
.mock-meta { font-size: 12px; color: var(--muted); }
.mock-grade { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.mock-badge { width: 54px; height: 54px; border-radius: 14px; background: var(--brand-tint); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; flex: none; }
.mock-grade strong { display: block; font-size: 15px; }
.mock-grade span { font-size: 12px; color: var(--muted); }
.mock-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.mock-tile { background: #fff; border-radius: 14px; padding: 11px; }
.mock-tile span { display: block; font-size: 11px; color: var(--muted); }
.mock-tile strong { font-size: 13px; }
.mock-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #edf0f4; font-size: 13px; }
.mock-row:last-child { border-bottom: 0; }
.mock-row b { flex: 1; color: var(--brand-deep); font-weight: 600; }
.mock-chip { font-size: 11px; background: #edf0f4; color: #3d4652; border-radius: 6px; padding: 1px 7px; }

/* sections */
section { padding: 72px 0; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 12px; }
.section-lead { color: #3d4652; font-size: 18px; margin: 0 0 36px; max-width: 40em; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: #3d4652; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: var(--ground); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 10px; }
.steps strong { display: block; margin-bottom: 4px; }
.alt { background: var(--ground); }
.alt .steps li { background: #fff; }

/* pricing */
.price-card { background: #fff; border: 2px solid var(--brand); border-radius: 18px; padding: 32px; max-width: 460px; }
.price { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.checklist { list-style: none; padding: 0; margin: 20px 0 24px; }
.checklist li { padding: 6px 0 6px 30px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%23163ca6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; }
.price-card { border: 1px solid var(--line); max-width: none; display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; }
.price-card-featured { border: 2px solid var(--brand); }
.plan-name { font-weight: 600; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.save { font-size: 13px; font-weight: 600; color: var(--brand-deep); background: var(--brand-tint); border-radius: 999px; padding: 2px 10px; }
.price-card .fine { margin: 6px 0 22px; }
.btn-block { width: 100%; }
.plan-includes { margin-top: 28px; max-width: 740px; }
.plan-includes .checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 8px 0 16px; }

/* faq */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style-position: outside; }
details p { margin: 0 0 18px; color: #3d4652; }

/* legal pages */
.legal { max-width: 760px; padding: 56px 24px 72px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--ground); font-weight: 600; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap, .grid-3, .grid-2, .steps, .plans, .plan-includes .checklist { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  section { padding: 52px 0; }
  .nav { display: none; }
}
