/* infinitrac.com - hand-built static site. No framework, no build step. */

:root {
  --ink: #0e1f3d;
  --ink-soft: #3d4b63;
  --muted: #64728a;
  --line: #dfe5ee;
  --paper: #ffffff;
  --paper-alt: #f4f7fb;
  --brand: #1a4a9e;
  --brand-deep: #0f2f6e;
  --cyan: #16a8dc;
  --slate: #5e707c;
  --accent-text: #0b6fa4;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(14, 31, 61, .06), 0 8px 24px rgba(14, 31, 61, .06);
  --radius: 14px;
  --max: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eef8;
    --ink-soft: #c2cde0;
    --muted: #93a1b8;
    --line: #243552;
    --paper: #0b1629;
    --paper-alt: #0f1d35;
    --brand: #5b8fe8;
    --brand-deep: #9dbcf4;
    --accent-text: #5fc8f0;
    --card: #12223d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

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

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; }
.brand span { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
@media (prefers-color-scheme: dark) { .nav a.btn-primary, .nav a.btn-primary:hover { color: #06101f; } }
.nav .nav-link { display: none; }
@media (min-width: 820px) { .nav .nav-link { display: inline; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary { color: #06101f; } .btn-primary:hover { color: #06101f; } }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 64px;
  background:
    radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--cyan) 22%, transparent), transparent 70%),
    radial-gradient(700px 380px at 0% 110%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    var(--paper);
}
@media (min-width: 720px) { .hero { padding: 112px 0 96px; } }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 16px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 22px; max-width: 16ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); max-width: 60ch; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mark { position: absolute; right: -80px; top: 60px; width: 520px; opacity: .08; pointer-events: none; }
@media (max-width: 719px) { .hero-mark { display: none; } }

.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; max-width: 820px; }
@media (min-width: 720px) { .proof { grid-template-columns: repeat(4, 1fr); } }
.proof div { border-left: 3px solid var(--cyan); padding-left: 14px; }
.proof strong { display: block; font-size: 28px; letter-spacing: -.02em; }
.proof span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
@media (min-width: 720px) { section { padding: 96px 0; } }
.alt { background: var(--paper-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 18px; }

.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 15px; }
.card li + li { margin-top: 4px; }
.icon {
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--cyan) 14%, transparent); color: var(--accent-text);
}
.icon svg { width: 22px; height: 22px; }

.pain { border-top: 3px solid var(--brand); }

/* split feature rows */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split + .split { margin-top: 72px; }
.split h3 { font-size: 26px; letter-spacing: -.02em; margin: 0 0 12px; }
.split p { color: var(--ink-soft); margin: 0 0 16px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in srgb, var(--cyan) 22%, transparent);
  box-shadow: inset 0 0 0 5px var(--paper-alt), inset 0 0 0 16px var(--cyan);
}
.panel {
  border-radius: 18px; padding: 26px; background: linear-gradient(160deg, var(--brand-deep), var(--brand) 60%, var(--cyan));
  color: #fff; box-shadow: var(--shadow); min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
}
@media (prefers-color-scheme: dark) { .panel { background: linear-gradient(160deg, #0f2f6e, #1a4a9e 60%, #16a8dc); } }
.panel .row { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; padding: 10px 14px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.panel .row b { font-weight: 600; }
.panel .row span { opacity: .8; white-space: nowrap; }
.panel .label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

/* modules */
.modules { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.module { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--card); font-size: 15px; }
.module b { display: block; font-size: 15px; }
.module span { color: var(--muted); font-size: 13px; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--cyan); }
.timeline .yr { font-weight: 700; color: var(--accent-text); font-size: 14px; letter-spacing: .06em; }
.timeline h3 { margin: 2px 0 4px; font-size: 18px; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* pricing */
.plans { display: grid; gap: 20px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); }
.plan .who { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.plan .price { font-size: 40px; font-weight: 700; letter-spacing: -.03em; margin: 0 0 4px; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .limits { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.plan .ticks { flex: 1; margin-bottom: 24px; }
.plan .ticks li { font-size: 15px; }
.plan .btn { width: 100%; }
.fine { color: var(--muted); font-size: 14px; margin-top: 20px; }

/* contact */
.contact { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.contact dl { margin: 0; display: grid; gap: 18px; }
.contact dt { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact dd { margin: 4px 0 0; font-size: 20px; }
.contact dd a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--cyan); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); }

/* legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 4.5vw, 42px); letter-spacing: -.02em; margin: 0 0 8px; }
.legal .meta { color: var(--muted); margin: 0 0 32px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 20px; }

/* ---------- brand hero (the Joomla site's blue band, with its white logo) ---------- */
.hero-brand {
  background: linear-gradient(135deg, #0f2f6e 0%, #1a4a9e 55%, #16a8dc 100%);
  color: #fff;
}
.hero-brand h1 { color: #fff; max-width: 18ch; }
.hero-brand h1 em { display: block; font-size: .62em; font-weight: 600; letter-spacing: -.01em; margin-top: 10px; background: none; color: #d6ecfb; -webkit-background-clip: border-box; background-clip: border-box; }
.hero-brand p.lede { color: #e3eefb; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.3fr 1fr; } }
.hero-logo { width: 100%; max-width: 420px; justify-self: center; opacity: .95; }
@media (max-width: 899px) { .hero-logo { max-width: 240px; justify-self: start; } }
.btn-light { background: #fff; color: #0f2f6e; }
.btn-light:hover { background: #e3eefb; color: #0f2f6e; }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- business risk ---------- */
.risk-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; max-width: 820px; }
.risk-bars li { display: grid; grid-template-columns: 76px 1fr; gap: 4px 18px; align-items: center; }
.risk-pct { grid-row: span 2; font-size: 36px; font-weight: 700; letter-spacing: -.03em; color: var(--brand); }
.risk-label { font-weight: 600; }
.risk-track { height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; }
.risk-track span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand), var(--cyan)); }

/* ---------- currently serving ---------- */
.serving { background: linear-gradient(135deg, #0f2f6e, #1a4a9e); color: #fff; }
.serving h2 { color: #fff; }
.serving .fine { color: #c8dcf6; }
.stats { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .stats { grid-template-columns: repeat(6, 1fr); } }
.stats div { border-left: 3px solid var(--cyan); padding-left: 14px; }
.stats strong { display: block; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; line-height: 1.15; }
.stats span { color: #c8dcf6; font-size: 14px; }

/* ---------- news ---------- */
.news-date { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { color: var(--accent-text); }
.more { margin: 28px 0 0; font-weight: 600; }
.news-list { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.news-list li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.news-list h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.01em; }
.news-list h2 a { color: var(--ink); text-decoration: none; }
.news-list h2 a:hover { color: var(--accent-text); }
.news-list p { margin: 0; color: var(--ink-soft); }
.news-list-section { padding-top: 24px; }
.article img { border-radius: 10px; border: 1px solid var(--line); margin: 8px 0; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }

/* ---------- inner page heading ---------- */
.page-head { padding: 48px 0 8px; }
@media (min-width: 720px) { .page-head { padding: 64px 0 8px; } }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -.03em; margin: 0 0 12px; }
.page-head .lede { color: var(--ink-soft); font-size: 19px; max-width: 64ch; margin: 0; }
.crumbs { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.crumbs a { color: var(--muted); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- packages ---------- */
@media (min-width: 900px) { .plans-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans-4 { grid-template-columns: repeat(4, 1fr); } }
.plan > p { font-size: 15px; color: var(--ink-soft); margin: 0 0 12px; }
.plan .price small { white-space: nowrap; }
.mods-title { font-size: 12px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; margin: 4px 0 6px !important; }
.mods { margin: 0 0 20px; padding-left: 18px; color: var(--ink-soft); font-size: 14px; flex: 1; }
.plan .ticks { flex: 0 0 auto; margin-bottom: 16px; }
.plan .more-text { font-size: 14px; margin-top: 4px; }
.plan .btn { margin-top: auto; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.compare th, .compare td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th[scope="row"] { text-align: left; font-weight: 500; }
.compare thead th { background: var(--paper-alt); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--brand); font-weight: 700; font-size: 18px; }
.compare .no { color: var(--line); }
.compare td.all { font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--cyan) 8%, transparent); vertical-align: middle; border-left: 1px solid var(--line); }

/* ---------- contact + footer ---------- */
.contact dd.addr { font-size: 18px; color: var(--ink-soft); }
.site-footer strong { color: var(--ink-soft); }
