/* KNET Ltd — site stylesheet
   Brand: logo blue #189af7, orange #ff9f33, teal #5bc0cc, slate #485a67.
   All text/background pairs below meet WCAG 2.2 AA (4.5:1) or better. */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lato-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/roboto-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --brand: #189af7;        /* logo blue: decorative / on dark only */
  --link: #0b6fb8;         /* 5.3:1 on white */
  --link-hover: #0d5f9c;
  --orange: #ff9f33;
  --teal: #5bc0cc;
  --slate: #485a67;
  --ink: #16212a;
  --text: #24323c;
  --muted: #4f5f6b;        /* 6.6:1 on white */
  --line: #dde5ea;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --dark: #162129;
  --dark-2: #1d2b35;
  --on-dark: #d5dee4;
  --on-dark-muted: #9fb1bd;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(22,33,41,.06), 0 8px 24px rgba(22,33,41,.06);
  --wrap: 1160px;
  --font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.eyebrow { font-family: var(--mono); font-weight: 500; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin: 0 0 14px; }
.eyebrow::before { content: "// "; color: var(--orange); }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 62ch; }

/* Brand stripe (from the original header) */
.stripe { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 5px; }
.stripe span:nth-child(1) { background: linear-gradient(90deg, #ff9f33, #ffb766); }
.stripe span:nth-child(2) { background: linear-gradient(90deg, #5bc0cc, #82cfd8); }
.stripe span:nth-child(3) { background: linear-gradient(90deg, #485a67, #5d7485); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 13px 22px; border-radius: 8px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ffb766; color: var(--ink); }
.btn-blue { background: var(--link); color: #fff; }
.btn-blue:hover { background: var(--link-hover); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { width: 132px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .975rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--link); }
.nav .btn { padding: 10px 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { display: none; }
  .nav.open { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 81px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 12px; box-shadow: var(--shadow); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { justify-content: center; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 20%, #1f3a4f 0%, var(--dark) 60%); color: var(--on-dark); }
.hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero .eyebrow { color: var(--teal); }
.hero .lead { color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-mesh { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: min(620px, 60vw); height: auto; opacity: .55; z-index: 0; }
.hero-mesh line { stroke: #2f6f99; stroke-width: 1.4; }
.hero-mesh circle { fill: var(--brand); }
.hero-mesh circle.hot { fill: var(--orange); animation: pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-mesh circle.hot:nth-of-type(2n) { animation-delay: 1.1s; fill: var(--teal); }
@keyframes pulse { 0%,100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
@media (max-width: 760px) { .hero-mesh { opacity: .22; width: 120vw; right: -40vw; } .hero .wrap { padding-top: 64px; padding-bottom: 72px; } }

.vendor-strip { background: var(--dark-2); border-top: 1px solid rgba(255,255,255,.06); }
.vendor-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 22px; padding-bottom: 22px; }
.vendor-strip p { margin: 0; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.vendor-strip ul { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; }
.vendor-strip li { margin: 0; color: #fff; font-weight: 700; letter-spacing: .01em; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split.top { align-items: start; }
.aside { position: sticky; top: 104px; }
.aside h2 { font-size: 1.3rem; }
@media (max-width: 880px) { .aside { position: static; } }

.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%230b6fb8'/%3E%3Cpath d='M7.4 12.3 4.3 9.2l1.2-1.2 1.9 1.9 4.9-4.9 1.2 1.2z' fill='%23fff'/%3E%3C/svg%3E") center/18px no-repeat; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 10px; background: #e8f4fe; color: var(--link); display: grid; place-items: center; }
.card .icon svg { width: 24px; height: 24px; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--brand); transform: translateY(-2px); }
a.card .more { margin-top: 18px; color: var(--link); font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; list-style: none; padding: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; border-top: 3px solid var(--line); padding-top: 18px; margin: 0; }
.steps li:nth-child(1) { border-color: var(--orange); }
.steps li:nth-child(2) { border-color: var(--teal); }
.steps li:nth-child(3) { border-color: var(--brand); }
.steps li:nth-child(4) { border-color: var(--slate); }
.steps li::before { content: "0" counter(step); font-family: var(--mono); font-weight: 500; color: var(--muted); font-size: .85rem; }
.steps h3 { margin: 6px 0 8px; }
.steps p { color: var(--muted); margin: 0; }

/* Page header for inner pages */
.page-head { background: var(--dark); color: var(--on-dark); }
.page-head .wrap { padding-top: 60px; padding-bottom: 60px; }
.page-head h1 { color: #fff; max-width: 24ch; }
.page-head .lead { color: var(--on-dark); }
.page-head .eyebrow { color: var(--teal); }
.crumbs { font-size: .9rem; margin-bottom: 18px; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark); }
.crumbs a:hover { color: #fff; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose li strong { color: var(--ink); }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.2em; font-size: .975rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--bg-alt); }

.callout { background: var(--bg-alt); border-left: 4px solid var(--brand); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0; }
.callout p:last-child { margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
.contact-details { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-details li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-details svg { flex: none; width: 22px; height: 22px; color: var(--link); margin-top: 3px; }
.contact-details strong { display: block; color: var(--ink); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form { padding: 22px; } }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #b9c6cf; border-radius: 8px; padding: 12px 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(11,111,184,.2); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin: 16px 0 20px; }
.form-status { margin: 16px 0 0; font-weight: 700; }
.form-status.err { color: #b42318; }
.form button[disabled] { opacity: .7; cursor: progress; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--dark) 0%, #1f3a4f 100%); color: var(--on-dark); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-size: .8rem; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; margin-bottom: 14px; }
.footer-logo { width: 120px; margin-bottom: 16px; }
.legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 28px; color: var(--on-dark-muted); font-size: .875rem; }
.legal p { margin: 0 0 4px; }

/* Consent banner (only shown when analytics is configured) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(22,33,41,.25); padding: 20px 22px; }
.consent p { margin: 0 0 14px; font-size: .95rem; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { padding: 10px 16px; font-size: .95rem; }
.btn-outline { border-color: var(--link); color: var(--link); background: #fff; }
.btn-outline:hover { background: #e8f4fe; }

.center { text-align: center; }
.mt-0 { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
