/* routeqiva.ca: the sales website */
:root {
    --navy: #0b2a55; --navy-2: #123a72; --blue: #1c84e8; --blue-ink: #155fb0; --orange: #ff6a13; --orange-ink: #c94d00;
    --ink: #13213a; --muted: #5a6880; --line: #e3e8f0; --soft: #f4f7fb; --white: #fff;
    --radius: 14px; --shadow: 0 18px 50px rgba(11, 42, 85, .14); --wrap: 1160px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }      /* height: auto keeps the shape when the width shrinks (the width/height attributes only reserve the space) */
a { color: var(--blue-ink); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--orange-ink); margin-bottom: .6em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 10px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .8em 1.35em; border-radius: 999px; font-weight: 700;
       text-decoration: none; border: 2px solid transparent; font-size: 1rem; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255, 106, 19, .35); }
.btn-primary:hover { background: #f25f08; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--soft); }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.25rem; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-ink); }
.nav .btn { padding: .55em 1.1em; color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 1rem; cursor: pointer; }
@media (max-width: 820px) {
    .menu-toggle { display: block; }
    .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
           border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
    .nav.open { display: flex; }
    .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav .btn { margin-top: 12px; border: 0; }
}

/* hero */
.hero { background: radial-gradient(1200px 600px at 80% -10%, #1f5fb0 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0d3266 60%, #0f3a75 100%);
        color: #fff; padding: 80px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: #d5e2f5; max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero .small { color: #a9bfdf; font-size: .92rem; }
.hero-shot { position: relative; margin-bottom: -40px; }
.hero-shot .screen { border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .15); }
.hero-shot .phone { position: absolute; width: 34%; right: -4%; bottom: -6%; border-radius: 26px; border: 8px solid #0a1a33; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.hero .pin { color: var(--orange); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero-shot { margin-bottom: 0; } .hero-shot .phone { right: 2%; } }

/* sections */
section { padding: 96px 0; }
.alt { background: var(--soft); }
.center { text-align: center; }
.intro { max-width: 46em; margin: 0 auto 48px; }
.intro p { color: var(--muted); font-size: 1.1rem; }
.trust { padding: 70px 0 30px; }
.trust ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-weight: 600; color: var(--navy); }
.trust li span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }
@media (max-width: 820px) { .trust ul { grid-template-columns: 1fr 1fr; } }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e8f2fe; color: var(--blue-ink); margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.icon.orange { background: #fff0e6; color: var(--orange-ink); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.split .phone-shot { max-width: 300px; margin: 0 auto; border-radius: 28px; border: 8px solid #0a1a33; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding-left: 30px; position: relative; margin: 10px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
                    background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.4' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/12px no-repeat; }

.band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.band p { color: #cfdcf0; }
.band .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; padding: 34px; } .band .cta { justify-content: flex-start; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); position: relative; }
.plan.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 30px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700;
                         padding: 3px 12px; border-radius: 999px; }
.plan .price { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; margin: 12px 0 4px; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .for { color: var(--muted); margin-bottom: 18px; }
.plan dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0 0 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan dt { color: var(--muted); }
.plan dd { margin: 0; font-weight: 700; text-align: right; }
.plan .ticks { margin-bottom: 24px; flex: 1; }
.plan .btn { width: 100%; }
.note { color: var(--muted); font-size: .94rem; }
table.extras { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.extras th, table.extras td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.extras th { background: var(--soft); font-size: .9rem; color: var(--muted); }
table.extras tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--blue-ink); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* page heads (inner pages) */
.page-head { background: linear-gradient(160deg, var(--navy), #0f3a75); color: #fff; padding: 72px 0 56px; }
.page-head p { color: #cfdcf0; font-size: 1.15rem; max-width: 40em; margin: 0; }

/* forms */
.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; margin: 0 0 6px; font-size: .95rem; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid #c9d3e2; border-radius: 10px; font: inherit; margin-bottom: 18px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(28, 132, 232, .25); border-color: var(--blue); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form .hp { position: absolute; left: -5000px; }
.alert { border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; font-weight: 600; }
.alert.ok { background: #e7f7ee; color: #155c35; border: 1px solid #b5e3c7; }
.alert.err { background: #fdecec; color: #8a1f1f; border: 1px solid #f3c0c0; }
[hidden] { display: none !important; }

/* prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }

/* footer */
.site-footer { background: #081d3c; color: #a9bbd6; padding: 56px 0 36px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #dbe6f6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .legal { border-top: 1px solid #1d3558; margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* small helpers (the site's CSP allows no inline styles) */
.eyebrow.light { color: #ffb98c; }
a.on-dark { color: #fff; }
.split.top { align-items: start; }
.gap-top { margin-top: 22px; }
.gap-top-lg { margin-top: 56px; }
.form-note { margin: 14px 0 0; }
.btn.block { width: 100%; }

/* the status page */
.status h2 { margin-top: 48px; font-size: 1.35rem; }
.status [data-level="ok"] { --lvl: #1f9d55; }
.status [data-level="degraded"] { --lvl: #e8a10c; }
.status [data-level="outage"] { --lvl: #d64545; }
.status [data-level="maintenance"] { --lvl: var(--blue); }
.status [data-level="nodata"] { --lvl: #c9d3e0; }
.status-overall { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-radius: 14px; background: var(--white); border: 1px solid #e3e9f2; border-left: 8px solid var(--lvl); box-shadow: 0 6px 24px rgba(11, 42, 85, .06); }
.status-overall .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--lvl); flex: none; box-shadow: 0 0 0 6px color-mix(in srgb, var(--lvl) 18%, transparent); }
.status-overall strong { display: block; font-size: 1.25rem; color: var(--navy); }
.status-overall .muted { font-size: .92rem; }
.status-components { display: grid; gap: 14px; }
.status-component { background: var(--white); border: 1px solid #e3e9f2; border-radius: 12px; padding: 18px 20px; }
.status-component .top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.status-component .top strong { display: block; color: var(--navy); }
.status-component .top .small { display: block; font-size: .88rem; }
.status-component .now { font-weight: 600; font-size: .92rem; color: var(--lvl); white-space: nowrap; }
.status-component .now::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--lvl); margin-right: 7px; }
.status-component .bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; margin: 14px 0 6px; height: 34px; }
.status-component .bars i { border-radius: 3px; background: var(--lvl); }
.status-component .foot { display: flex; justify-content: space-between; font-size: .8rem; }
.status-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; font-size: .85rem; }
.status-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--lvl); margin-right: 6px; vertical-align: -1px; }
.status-notice { background: var(--white); border: 1px solid #e3e9f2; border-left: 6px solid #e8a10c; border-radius: 12px; padding: 18px 22px; margin-top: 14px; }
.status-notice[data-impact="major"] { border-left-color: #d64545; }
.status-notice[data-impact="maintenance"] { border-left-color: var(--blue); }
.status-notice.past { border-left-color: #c9d3e0; }
.status-notice .head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.status-notice h3 { margin: 0; font-size: 1.08rem; color: var(--navy); }
.status-notice .badge { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.status-notice .small { font-size: .88rem; margin: 4px 0 10px; }
.status-notice .updates { list-style: none; padding: 0; margin: 0; }
.status-notice .updates li { border-top: 1px solid #eef2f7; padding: 10px 0 2px; }
.status-notice .updates p { margin: 4px 0 0; }
@media (max-width: 560px) { .status-component .top { flex-direction: column; } .status-component .bars { gap: 2px; height: 28px; } }
