/* Wheelr AI: brand colours from the Wheelr AI pack (ink #14213d, accent #0b6e99) */
:root {
  --ink: #14213d;
  --ink-2: #1d2e52;
  --ink-3: #0c1528;
  --accent: #0b6e99;
  --accent-bright: #22b3e6;
  --accent-soft: #e6f3f9;
  --text: #1f2937;
  --muted: #5b6577;
  --line: #dfe4ec;
  --bg: #ffffff;
  --soft: #f4f6fa;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .06);
  --font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3, .h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 16px; height: 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .15s, color .15s, border-color .15s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #095d82; color: #fff; }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-small { padding: .5rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; margin-top: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(12, 21, 40, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { text-decoration: none; color: #fff; }
.logo { display: inline-flex; align-items: center; gap: .55rem; color: #fff; }
.logo-mark { width: 30px; height: 30px; }
.logo-text { font-weight: 800; letter-spacing: .14em; font-size: 1.02rem; }
.logo-dot { color: var(--accent-bright); padding: 0 .08em; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 500; font-size: .97rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { color: #fff; }
.site-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent-bright); padding-bottom: 2px; }
.nav-toggle, .nav-burger { display: none; }

@media (max-width: 760px) {
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
  .nav-burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink-3); padding: .5rem 1.25rem 1.25rem; display: none; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav .btn { margin-top: 1rem; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle { display: block; position: absolute; opacity: 0; width: 44px; height: 44px; right: 1rem; margin: 0; cursor: pointer; z-index: 2; }
}

/* ---------- hero ---------- */
.hero, .page-hero, .cta-band { background: radial-gradient(1200px 500px at 85% -10%, rgba(34, 179, 230, .22), transparent 60%), linear-gradient(160deg, var(--ink-3), var(--ink) 55%, var(--ink-2)); color: rgba(255, 255, 255, .86); position: relative; overflow: hidden; }
.hero h1, .page-hero h1, .cta-band h2 { color: #fff; }
.hero { padding: clamp(4rem, 9vw, 7rem) 0; }
.hero-lines { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .035) 46px 47px); mask-image: linear-gradient(90deg, transparent, #000 60%); animation: drift 30s linear infinite; }
@keyframes drift { to { background-position: 470px 0; } }
@media (prefers-reduced-motion: reduce) { .hero-lines { animation: none; } html { scroll-behavior: auto; } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 3.5rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .9rem; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--accent-bright); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-panel { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 1.6rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.flow li { display: flex; gap: 1rem; align-items: center; padding: .85rem 1rem; border-radius: 12px; transition: background .2s; }
.flow li:hover { background: rgba(255, 255, 255, .06); }
.flow span { font-family: var(--mono); color: var(--accent-bright); font-size: .85rem; border: 1px solid rgba(34, 179, 230, .4); border-radius: 8px; padding: .3rem .5rem; }
.flow strong { color: #fff; display: block; font-size: 1.05rem; }
.flow small { color: rgba(255, 255, 255, .65); font-size: .9rem; }

.page-hero { padding: clamp(3rem, 7vw, 5rem) 0; }
.page-hero .lead { color: rgba(255, 255, 255, .82); }
.crumbs { font-size: .9rem; margin-bottom: 1.2rem; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .85); }

/* ---------- trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--soft); }
.trust-inner { display: flex; align-items: center; gap: 1.5rem; padding: 1.1rem 0; flex-wrap: wrap; }
.trust-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--muted); }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; margin: 0; padding: 0; }
.trust li { font-weight: 600; color: var(--ink); font-size: .95rem; position: relative; }
.trust li + li::before { content: ""; position: absolute; left: -1rem; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 36px rgba(20, 33, 61, .12); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 1.1rem; flex: none; }
.card-icon.lg { width: 58px; height: 58px; }
.card-icon.lg .icon { width: 28px; height: 28px; }
.card-icon.on-dark { background: rgba(34, 179, 230, .15); color: var(--accent-bright); }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--accent); font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pillars li { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.pillars .icon { color: var(--accent); margin-top: 3px; }
.pillars strong { display: block; color: var(--ink); }
.pillars span { color: var(--muted); font-size: .95rem; }

.founder { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: center; max-width: 960px; }
.founder img, .about-photo { border-radius: 20px; box-shadow: var(--shadow); background: var(--soft); }
.founder h2 { margin-bottom: .2rem; }

.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.post-card { display: flex; flex-direction: column; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.tag { font-size: .78rem; font-weight: 600; background: var(--accent-soft); color: var(--accent); padding: .25rem .65rem; border-radius: 999px; border: 0; font-family: inherit; }
.filter { margin-top: 1.8rem; }
.filter .tag { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); cursor: pointer; padding: .45rem .9rem; font-size: .85rem; border: 1px solid rgba(255, 255, 255, .15); }
.filter .tag.active, .filter .tag:hover { background: var(--accent-bright); color: var(--ink-3); border-color: var(--accent-bright); }

/* ---------- services ---------- */
.service-list { display: grid; gap: 1.5rem; }
.service-row { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-row h2 { margin-bottom: .5rem; }
.service-row h2 a { color: var(--ink); text-decoration: none; }
.service-row .eyebrow { margin-bottom: .3rem; }
.checks { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; }
.checks .icon { color: var(--accent); width: 20px; height: 20px; margin-top: 3px; }

.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3.5rem; align-items: start; }
.aside { position: sticky; top: 90px; display: grid; gap: 1.25rem; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--soft); }
.aside-card h3 { font-size: 1.05rem; }
.aside-card .checks { margin-bottom: 0; font-size: .95rem; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.steps { padding-left: 1.2rem; margin: 0; display: grid; gap: .5rem; font-size: .95rem; }

/* ---------- prose ---------- */
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 2.2em; font-size: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: .4em 1.4em; border-left: 4px solid var(--accent); background: var(--soft); border-radius: 0 10px 10px 0; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--soft); padding: .1em .35em; border-radius: 5px; }
.prose pre { background: var(--ink-3); color: #e6edf7; padding: 1.2rem; border-radius: 12px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose img { border-radius: 12px; margin: 1.5em 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--soft); color: var(--ink); font-weight: 650; }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- blog post ---------- */
.post-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.byline { display: flex; gap: .8rem; align-items: center; margin-top: 1.5rem; }
.byline img { border-radius: 50%; }
.byline strong { color: #fff; display: block; }
.byline span { font-size: .9rem; color: rgba(255, 255, 255, .7); }
.post-tags { margin: 2rem 0; }
.author-box { display: flex; gap: 1.2rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.author-box img { border-radius: 50%; flex: none; width: 72px; height: 72px; }
.author-box strong { color: var(--ink); }
.author-box p { color: var(--muted); font-size: .95rem; margin: .2rem 0 .5rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.post-nav a { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.post-nav a:hover { border-color: var(--accent); }
.post-nav small { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; margin-bottom: .2rem; }
.post-nav .right { text-align: right; }

/* ---------- about / contact ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: center; }
.enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
a.enquiry-card { flex-direction: row; gap: 1rem; align-items: center; padding: 1.2rem; }
.enquiry-card .card-icon { margin: 0; }
.enquiry-card strong { display: block; color: var(--ink); }
.contact-form { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; }
.contact-form .btn { justify-self: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list .icon { color: var(--accent); width: 20px; height: 20px; margin-top: 3px; }

/* ---------- CTA + footer ---------- */
.cta-band { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .4rem; }
.cta-inner p { margin: 0; max-width: 36em; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.site-footer { background: var(--ink-3); color: rgba(255, 255, 255, .7); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: rgba(255, 255, 255, .55); }
.site-footer .contact-list .icon { color: var(--accent-bright); }
.footer-tag { color: #fff; font-weight: 600; margin: 1rem 0 .4rem; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; color: rgba(255, 255, 255, .5); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .with-aside { grid-template-columns: 1fr; }
  .aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-4, .grid-3, .enquiry-grid, .field-row, .post-nav { grid-template-columns: 1fr; }
  .founder, .about-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .founder img { width: 160px; }
  .about-photo { width: 200px; }
  .service-row { grid-template-columns: 1fr; padding: 1.5rem; }
  .section-head.row { flex-direction: column; align-items: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .post-nav .right { text-align: left; }
}
@media print {
  .site-header, .site-footer, .cta-band, .hero-lines { display: none; }
  .hero, .page-hero { background: none; color: var(--text); }
  .hero h1, .page-hero h1 { color: var(--ink); }
}
