/* ==========================================================================
   netavo.com — design "B6b"
   Open Sans; warm paper; brand navy + Netavo gold.
   Gold (#e8a623) is 2.12:1 on white, so it is a DISPLAY colour only: the
   wordmark, fills, rules, and accents on navy. Never small text on white.
   ========================================================================== */

:root {
    --navy: #2c3b4e;
    --gold: #e8a623;

    --paper: oklch(0.992 0.004 85);
    --panel: oklch(0.970 0.009 85);
    --white: #ffffff;
    --ink: oklch(0.16 0.008 250);
    --lead: oklch(0.27 0.010 250);
    --body: oklch(0.36 0.010 250);
    --muted: oklch(0.46 0.010 250);
    --rule: oklch(0.91 0.004 250);
    --on-navy: oklch(0.86 0.012 255);
    --on-navy-soft: oklch(0.78 0.014 245);
    --ok: oklch(0.50 0.14 150);
    --warn: oklch(0.55 0.13 75);

    --gutter: 44px;
    --max: 1440px;
    --font: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: oklch(0.22 0.035 245); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* The skip link is hidden until a keyboard user tabs to it. */
.skip-link:focus {
    position: fixed !important; top: 12px; left: 12px; z-index: 100; width: auto; height: auto;
    margin: 0; padding: 12px 18px; overflow: visible; clip: auto; white-space: normal;
    background: var(--navy); color: var(--white); font-weight: 700;
}

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3 { color: var(--navy); margin: 0; }

/* ---------- buttons & links ------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 28px; border-radius: 4px; border: 1px solid transparent;
    font: 700 15.5px/1.2 var(--font); cursor: pointer; white-space: nowrap;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: oklch(0.28 0.035 255); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--navy); border-color: var(--rule); }
.btn--secondary:hover { border-color: var(--navy); color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* navy pill, gold label (5.38:1) */
.pill {
    display: inline-flex; align-items: center; padding: 10px 22px; border-radius: 48px;
    background: var(--navy); color: var(--gold); font-weight: 700; font-size: 14.5px; white-space: nowrap;
}
.pill:hover { color: var(--gold); background: oklch(0.28 0.035 255); }

/* navy text, gold underline rule */
.link-rule {
    align-self: flex-start; font-weight: 700; font-size: 15px; color: var(--navy);
    border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}

/* ---------- chrome ---------------------------------------------------- */

.utility-bar { font-size: 13.5px; color: oklch(0.42 0.010 250); }
.utility-bar .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 26px; height: 38px; }
.utility-bar a { color: inherit; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: 10; }
.home .site-header { border-bottom: 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; height: 72px; }
.site-header__left { display: flex; align-items: center; gap: 42px; }

.logo { display: flex; align-items: center; color: var(--gold); }
.logo svg { width: 134px; height: auto; fill: currentColor; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; font-size: 15px; }
.site-nav a { color: oklch(0.26 0.010 250); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; border-bottom-color: var(--gold); }

.nav-toggle {
    display: none; background: none; border: 1px solid var(--rule); border-radius: 4px;
    padding: 9px 12px; font: 600 14px var(--font); color: var(--navy); cursor: pointer;
}

.site-footer { background: var(--navy); color: var(--white); }
.site-footer .wrap {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
    gap: 32px 56px; padding-top: 46px; padding-bottom: 52px;
}
.site-footer .logo svg { width: 118px; }
.site-footer__legal { font-size: 13.5px; color: var(--on-navy-soft); margin-top: 10px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 14.5px; }
.site-footer__links a { color: oklch(0.88 0.012 245); }
.site-footer__links a:hover { color: var(--white); }

/* ---------- homepage hero (the gold wash lives here only) ------------- */

.hero { position: relative; overflow: hidden; min-height: 540px; }
.hero__wash { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; }
.hero__content { max-width: 800px; padding: 112px 0 96px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
    font-size: 56px; line-height: 1.18; font-weight: 700; letter-spacing: -0.024em; text-wrap: balance;
}
.hero p { margin: 0; max-width: 620px; font-size: 17.5px; line-height: 1.62; color: var(--lead); }
.hero .btn-row { padding-top: 6px; }

.providers .wrap {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 54px;
    padding-top: 56px; padding-bottom: 56px; font-size: 20px; font-weight: 700; color: oklch(0.64 0.010 250);
}
.providers__label { font-size: 14px; font-weight: 600; color: oklch(0.44 0.010 250); }

/* ---------- inner-page masthead: pale band + gold rule, no wash -------- */

.masthead { background: var(--panel); border-bottom: 3px solid var(--gold); }
.masthead .wrap {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; align-items: center;
    padding-top: 44px; padding-bottom: 52px;
}
.masthead--media .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); }
.masthead__text { display: flex; flex-direction: column; }
.breadcrumb { font-size: 13.5px; padding-bottom: 22px; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: oklch(0.72 0.008 250); margin-right: 8px; }
.breadcrumb a { color: var(--muted); }
.masthead h1 {
    font-size: 48px; line-height: 1.16; font-weight: 700; letter-spacing: -0.022em;
    margin-bottom: 18px; max-width: 900px;
}
.masthead p { margin: 0; max-width: 660px; font-size: 17.5px; line-height: 1.62; color: var(--lead); }
.masthead .btn-row { padding-top: 26px; }
.masthead__media img { width: 100%; height: 360px; object-fit: cover; }

/* ---------- sections --------------------------------------------------- */

.band { padding-top: 88px; padding-bottom: 96px; }
.band--tight { padding-top: 76px; padding-bottom: 84px; }
.band--panel { background: var(--panel); }
.band--navy { background: var(--navy); color: var(--white); }
.band--flush-top { padding-top: 0; }

.section-head {
    display: flex; flex-direction: column; gap: 14px; max-width: 820px; padding-bottom: 48px;
}
.section-head--centre { margin: 0 auto; align-items: center; text-align: center; }
.section-head h2, .h2 { font-size: 40px; line-height: 1.16; font-weight: 700; letter-spacing: -0.018em; }
.section-head p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--body); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__num {
    align-self: flex-start; font-size: 15px; font-weight: 700; color: var(--navy);
    border-bottom: 2px solid var(--gold); padding-bottom: 4px;
}
.step h3 { font-size: 23px; }
.step p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--body); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.card { background: var(--panel); padding: 40px 34px 44px; display: flex; flex-direction: column; gap: 18px; }
a.card { color: inherit; }
a.card:hover { background: oklch(0.955 0.012 85); }
.card svg { width: 54px; height: 54px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 22px; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }
.card .link-rule { margin-top: auto; }
.cards__footnote { text-align: center; padding-top: 44px; font-size: 15.5px; color: oklch(0.42 0.010 250); }
.cards__footnote a { font-weight: 700; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.stat__num { font-size: 60px; line-height: 1; font-weight: 700; letter-spacing: -0.025em; color: var(--gold); }
.stat__label { font-size: 14.5px; line-height: 1.5; color: var(--on-navy); max-width: 210px; }

/* Carrier or partner names on the navy band: a white logo where supplied, the name in type otherwise. */
.logo-strip { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.logo-strip__label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.logo-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 56px; }
.logo-strip li { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; color: var(--white); line-height: 1.2; }
/* The filter turns any logo solid white, so original-colour files can be used unaltered. */
/* Height varies with the logo's shape (set in _Logos.cshtml), so tall marks and wide wordmarks
   carry similar weight. */
.logo-strip img { display: block; height: 40px; width: auto; filter: brightness(0) invert(1); }
/* A file named *-white.svg is already drawn for the navy band and is shown as it is. */
.logo-strip img[src*="-white.svg"] { filter: none; }
.logo-strip img.is-tall { height: 60px; }
.logo-strip img.is-wide { height: 34px; }

/* A plain two-column list of links with a line of description, used on the not-found page. */
.link-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.link-list li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.link-list a { font-size: 17px; font-weight: 700; color: var(--navy); }
.link-list a:hover { text-decoration: underline; }
.link-list span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* Buyer questions: two columns of short question-and-answer pairs. */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 64px; }
.faq__item h3 { font-size: 19px; line-height: 1.35; margin-bottom: 8px; }
.faq__item p { margin: 0; font-size: 16px; line-height: 1.62; color: var(--body); }

/* A product screenshot shown whole in a frame, and command-line output set as text. */
.shot, .term { margin: 0; }
.shot__frame { border: 1px solid var(--rule); background: var(--white); padding: 10px; box-shadow: 0 18px 40px -24px rgb(44 59 78 / 0.45); }
.shot__frame img { display: block; width: 100%; height: auto; }
.shot figcaption, .term figcaption { margin-top: 14px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.term { max-width: 900px; }
.term__bar { display: flex; gap: 7px; padding: 12px 16px; background: #1f2a38; }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / 0.22); }
.term pre { margin: 0; padding: 22px 24px 24px; background: var(--navy); color: #dfe6ee; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.75; overflow-x: auto; white-space: pre; }
.term__prompt { color: var(--gold); }
.term__cmd { color: var(--white); font-weight: 700; }

/* A membership logo above a panel's heading, on a white tile: both bodies require a light background
   and clear space around their mark. */
.logo-tile { display: inline-flex; align-items: center; background: var(--white); padding: 18px 22px; margin-bottom: 24px; }
.logo-tile img { display: block; height: 60px; width: auto; }
.pair__panel p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split--top { align-items: start; }
.split--stretch { align-items: stretch; }
.split__text { display: flex; flex-direction: column; gap: 20px; }
.split__text p { margin: 0; max-width: 520px; font-size: 16.5px; line-height: 1.62; color: var(--body); }
.split__media img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 19px 0; border-bottom: 1px solid var(--rule);
}
.rows li:last-child { border-bottom: 0; }
.rows strong { font-size: 16.5px; }
.rows span { font-size: 15px; color: var(--muted); text-align: right; }

.cta-band { text-align: center; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-band h2 { font-size: 34px; line-height: 1.18; letter-spacing: -0.018em; max-width: 760px; }
.cta-band p { margin: 0; max-width: 620px; font-size: 16.5px; line-height: 1.6; color: var(--body); }
.cta-band .btn { margin-top: 10px; }

/* ---------- tables, panels, forms ------------------------------------- */

.spec-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.spec-table th {
    text-align: left; background: var(--panel); padding: 14px 16px;
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.spec-table td {
    padding: 18px 16px; border-bottom: 1px solid var(--rule); vertical-align: baseline;
    font-size: 15px; line-height: 1.5; color: var(--body);
}
.spec-table td:first-child { font-size: 16px; font-weight: 700; color: var(--navy); }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pair__panel { background: var(--panel); padding: 40px 36px 30px; }
.pair__panel h3 { font-size: 24px; margin-bottom: 12px; }
.pair__panel ul { list-style: none; margin: 0; padding: 0; }
.pair__panel li { font-size: 16px; line-height: 1.55; color: var(--lead); padding: 14px 0; border-bottom: 1px solid var(--rule); }

.form { display: flex; flex-direction: column; gap: 20px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 700; color: var(--navy); }
.field input, .field textarea {
    padding: 13px 14px; border: 1px solid oklch(0.84 0.006 250); border-radius: 4px; background: var(--white);
    font: 15px/1.4 var(--font); color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
.form .btn { align-self: flex-start; }
/* The enquiry form as a panel, so it carries the same visual weight as the text beside it. */
.form--card { background: var(--panel); padding: 40px 40px 44px; }
.rows--compact { margin-top: 8px; border-top: 1px solid var(--rule); max-width: 520px; }

.notice {
    background: var(--panel); border-left: 4px solid var(--gold); padding: 18px 20px;
    font-size: 15px; line-height: 1.55; color: var(--lead);
}

.state--ok { color: var(--ok); }
.state--warn { color: var(--warn); }
.state--none { color: var(--muted); }

.prose { max-width: 760px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.7; color: var(--lead); }
.prose h2 { font-size: 26px; margin: 32px 0 8px; }

/* ---------- responsive ------------------------------------------------- */

@media (max-width: 1180px) {
    .steps--4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .masthead--media .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 44px; }
}

@media (max-width: 960px) {
    :root { --gutter: 24px; }

    .nav-toggle { display: inline-block; }
    .site-header__cta { display: none; }
    .site-nav {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px;
    }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
    .site-nav li:last-child a { border-bottom: 0; }
    .site-nav .mobile-cta { display: block; margin-top: 12px; }
    .site-nav .mobile-cta a { border: 0; }

    .hero__content { padding: 72px 0 64px; }
    .hero h1 { font-size: 40px; }
    .masthead--media .wrap, .split, .pair { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .masthead h1 { font-size: 36px; }
    .masthead__media img { height: 260px; }
    .split__media img { min-height: 320px; }
    .steps, .cards { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .stats--3 { grid-template-columns: minmax(0, 1fr); }
    .band { padding-top: 60px; padding-bottom: 64px; }
    .section-head h2, .h2 { font-size: 30px; }
    .spec-table thead { display: none; }
    .spec-table tr { display: block; border-bottom: 1px solid var(--rule); padding: 12px 0; }
    .spec-table td { display: block; border: 0; padding: 3px 0; }
    .spec-table td:not(:first-child)[data-label]::before { content: attr(data-label); display: block; margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
    .link-list, .faq { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 961px) { .site-nav .mobile-cta { display: none; } }

@media (max-width: 560px) {
    .utility-bar { display: none; }
    .hero h1 { font-size: 34px; }
    .stats, .form__grid { grid-template-columns: minmax(0, 1fr); }
    .providers .wrap { padding-top: 40px; padding-bottom: 40px; gap: 12px 28px; font-size: 17px; }
    .providers__label { flex-basis: 100%; text-align: center; }
    .rows li { flex-direction: column; align-items: flex-start; gap: 4px; }
    .rows span { text-align: left; }
}

/* ---------- validation + small utilities ------------------------------- */

.field-validation-error { font-size: 13.5px; color: oklch(0.50 0.17 27); }
.input-validation-error { border-color: oklch(0.55 0.17 27) !important; }
.self-start { align-self: flex-start; }

/* ---------- enquiry form extras --------------------------------------- */

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; align-items: flex-start; gap: 10px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.check label { font-size: 15px; line-height: 1.45; color: var(--lead); }

.fineprint { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.fineprint a { text-decoration: underline; }
