/* ProvisoIQ site styles. Colors and type follow the Proviso mockups. */
:root {
  --ink: #121A28;
  --ink-soft: #3A4753;
  --muted: #55606B;
  --deep: #14264B;
  --midnight: #0E1A33;
  --sky: #8DB8E8;
  --accent: #1F3D73;
  --accent-soft: #EEF3FA;
  --line: #CFD8E8;
  --line-soft: #E4EAF4;
  --grey: #F4F5F6;
  --eq: #6B2E63;
  --eq-soft: #F5EFF4;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
a { color: var(--accent); }
a:hover { color: var(--deep); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #FFFFFF; padding: 8px 12px; z-index: 10; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--accent-soft); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: var(--serif); font-size: 23px; font-weight: 400; text-decoration: none; color: var(--midnight); display: inline-flex; align-items: baseline; gap: 7px; min-height: 44px; padding-top: 6px; }
.brand .iq { font-family: var(--mono); font-size: 17px; font-weight: 700; line-height: 1; padding: 4px 6px 4px; background: var(--midnight); color: var(--sky); border-radius: 6px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; color: var(--deep); }
.nav-links a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }

/* Type */
h1 { font-family: var(--serif); font-size: clamp(32px, 6vw, 50px); line-height: 1.12; color: var(--deep); margin: 0 0 16px; }
h2 { font-family: var(--serif); font-size: clamp(24px, 4vw, 30px); line-height: 1.2; color: var(--deep); margin: 0 0 12px; }
h3 { font-size: 18px; color: var(--deep); margin: 0 0 8px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 680px; margin: 0; }
.proof { font-family: var(--mono); font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.small { font-size: 14px; color: var(--ink-soft); }

section { padding: 48px 0; }
.hero { padding: 56px 0 40px; }
.band { background: var(--grey); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 3px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid var(--accent); }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--deep); color: #FFFFFF; }
.btn-secondary { background: #FFFFFF; color: var(--deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Cards and grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { border: 1px solid var(--line); border-radius: 4px; padding: 24px; background: #FFFFFF; display: flex; flex-direction: column; gap: 10px; }
.card.feature { background: var(--accent-soft); border-top: 6px solid var(--accent); }
.card .price { font-size: 28px; font-weight: 600; color: var(--deep); margin: 0; }
.card .meta { font-size: 14px; color: var(--ink-soft); margin: 0; }
.card .btn { margin-top: auto; align-self: flex-start; }
.tag { display: inline-block; font-family: var(--mono); font-size: 12px; padding: 4px 8px; background: var(--accent-soft); border: 1px solid var(--line); border-radius: 2px; color: var(--deep); margin: 0 6px 6px 0; }

.list-rows { border: 1px solid var(--line); border-radius: 3px; }
.list-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line-soft); }
.list-rows > div:last-child { border-bottom: 0; }
.list-rows .num { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }

.tested { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.tested > div { background: var(--grey); border-radius: 3px; padding: 14px 16px; }
.tested p { margin: 0; }
.tested .when { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Product layout */
.product { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.product .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.buy { flex: 1 1 300px; min-width: 0; border: 2px solid var(--accent); border-radius: 3px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.buy .price { font-size: 40px; font-weight: 600; color: var(--deep); margin: 0; }
.buy .btn { width: 100%; }
.eq-note { background: var(--eq-soft); border-radius: 16px; padding: 20px 24px; color: #4A3247; }
.eq-note a { color: var(--eq); font-weight: 500; }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 16px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { background: var(--accent-soft); color: var(--deep); }

/* Footer */
.site-footer { background: var(--midnight); color: #D7E0EE; font-size: 14px; line-height: 1.6; margin-top: 48px; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; }
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: #FFFFFF; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 18px; list-style: none; margin: 0; padding: 0; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 44px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #FFFFFF; text-decoration: underline; cursor: pointer; }

/* Consent banner */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 720px; margin: 0 auto; background: #FFFFFF; color: var(--ink); border: 2px solid var(--deep); border-radius: 6px; padding: 18px 20px; box-shadow: 0 6px 24px rgba(0,0,0,0.18); }
.consent p { margin: 0 0 12px; font-size: 15px; }
.consent .btn-row { margin-top: 0; }
.consent .btn { flex: 1 1 140px; }

@media print { .site-header, .site-footer, .consent { display: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

.btn-disabled{opacity:.6;cursor:not-allowed;pointer-events:none}
.small-link{display:inline-block;margin-top:8px;font-size:15px}
