/* Inlet Technologies site template, v0.1.2 (6 Nov 2026).
   Tokens follow the "Inlet Technologies" design system: navy + teal, Montserrat display, IBM Plex Sans body.
   Light only, by design. One teal primary button per view; text on teal is navy, never white. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy: #1b2a39;
  --navy-2: #22384c;
  --navy-line: #34506a;
  --teal: #3fb8a9;
  --teal-dark: #0b6e69;
  --teal-light: #6fd1c4;
  --teal-tint: #e7f4f1;
  --teal-pale: #f2faf8;
  --bg: #f5f7f9;
  --card: #ffffff;
  --band: #e9eef3;
  --line: #dce2e8;
  --line-2: #b8c4cf;
  --input: #b8c2cc;
  --ink: #1b2a39;
  --ink-2: #3f4d5b;
  --muted: #556372;
  --on-navy: #c3cdd6;
  --on-navy-2: #dce3ea;
  --on-navy-muted: #afbbc7;
  --placeholder: #a5650b;

  --font-display: "Montserrat", Arial, sans-serif;
  --font-body: "IBM Plex Sans", Helvetica, system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 104px);
  --radius: 14px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --shadow-lift: 0 30px 60px -28px rgba(0, 0, 0, 0.6);
  --focus: 0 0 0 3px var(--card), 0 0 0 5px var(--teal-dark);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-main { flex: 1 0 auto; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: inherit; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; }
h3 { font-weight: 700; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }
.visually-hidden, .element-invisible { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholder text that still needs a real value from Tom: shown in amber on staging */
.todo { color: var(--placeholder); font-weight: 600; background: #fdf3dc; border-radius: 4px; padding: 0 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--lg { min-height: 52px; padding: 15px 28px; font-size: 17px; }
.btn--primary { background: var(--teal); color: var(--navy); }
.btn--primary:hover { background: var(--teal-light); color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; font-weight: 600; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: #fff; color: #fff; background: transparent; font-weight: 600; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Utility bar ---------- */
.utility { background: var(--navy); color: var(--on-navy-2); font-size: 14px; }
.utility__inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-block: 9px; }
.utility__contact { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.utility__contact a { color: #fff; font-weight: 600; text-decoration: none; }
.utility__hours { color: var(--on-navy-muted); }
.utility__links .mod-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.utility__links a { color: #fff; text-decoration: none; }
.utility__links a:hover { color: var(--teal-light); text-decoration: underline; }
@media (max-width: 640px) { .utility__hours { display: none; } }

/* ---------- Header + navigation ---------- */
.site-header { background: var(--card); border-bottom: 3px solid var(--teal); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand__logo { width: 66px; height: auto; display: block; }
.brand__strap { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--muted); max-width: 9em; line-height: 1.25; }

.site-nav { display: flex; align-items: center; gap: 8px 28px; }
.site-nav .mod-menu { list-style: none; display: flex; align-items: center; gap: 4px 26px; margin: 0; }
.site-nav .mod-menu > li { position: relative; }
.site-nav .mod-menu a, .site-nav .mod-menu .mod-menu__heading, .site-nav .mod-menu .nav-header {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px;
}
.site-nav .mod-menu a:hover { color: var(--teal-dark); }
.site-nav .mod-menu > li.current > a, .site-nav .mod-menu > li.active > a { color: var(--teal-dark); box-shadow: inset 0 -2px 0 var(--teal); }
.site-nav .mod-menu > li.deeper { display: flex; align-items: center; }
.site-nav .mod-menu__toggle-sub { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 44px; padding: 0 4px; margin-left: 2px; background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 6px; }
.site-nav .mod-menu__toggle-sub .icon-chevron-down::before { content: ""; display: block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.site-nav .mod-menu__toggle-sub[aria-expanded="true"] .icon-chevron-down::before { transform: translateY(2px) rotate(-135deg); }
.site-nav .mod-menu__sub, .site-nav .mod-menu ul {
  list-style: none; position: absolute; left: -16px; top: 100%; min-width: 280px; padding: 10px; margin: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(27, 42, 57, .45);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.site-nav .mod-menu > li > ul { display: block; }
.site-nav .mod-menu > li:hover > ul, .site-nav .mod-menu > li:focus-within > ul, .site-nav .mod-menu__toggle-sub[aria-expanded="true"] + ul { opacity: 1; visibility: visible; transform: none; }
.site-nav .mod-menu ul a { display: flex; width: 100%; padding: 8px 12px; border-radius: 8px; min-height: 40px; }
.site-nav .mod-menu ul a:hover { background: var(--teal-pale); }

.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--navy); border-radius: 999px; background: none; color: var(--navy); font: 600 15px var(--font-body); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .brand__strap { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--card); border-bottom: 3px solid var(--teal); padding: 12px var(--gutter) 24px;
    box-shadow: 0 24px 40px -24px rgba(27, 42, 57, .4); max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .mod-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav .mod-menu > li { border-bottom: 1px solid var(--line); }
  .site-nav .mod-menu a { width: 100%; padding-block: 6px; font-size: 17px; }
  .site-nav .mod-menu > li.deeper { display: block; }
  .site-nav .mod-menu__toggle-sub { display: none; }
  .site-nav .mod-menu ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 16px; min-width: 0; }
  .site-nav .mod-menu > li.current > a { box-shadow: none; }
  .site-nav__cta { align-self: flex-start; }
}

/* ---------- Sections (used inside article bodies) ---------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--white { background: var(--card); border-block: 1px solid var(--line); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--band { background: var(--band); }
.section > .wrap { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }

.eyebrow { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; color: var(--teal-dark); }
.section--navy .eyebrow, .hero .eyebrow { color: var(--teal); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 36em; }
.section--navy .lead, .hero .lead { color: var(--on-navy); }
.muted { color: var(--muted); }
.small { font-size: 15px; }

.section-head { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: flex-end; }
.section-head__main { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head__aside { color: var(--ink-2); max-width: 380px; }
.section--navy .section-head__aside { color: var(--on-navy); }

.split, .section > .wrap.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: clamp(32px, 5vw, 56px); align-items: center; }
.split--top, .section > .wrap.split--top { align-items: start; }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Home hero ---------- */
.hero { background: var(--navy); color: #fff; padding-block: clamp(64px, 9vw, 96px) clamp(56px, 8vw, 88px); }
.hero .stack { gap: 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; color: var(--on-navy); list-style: none; }
.hero__trust li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--teal); vertical-align: 1px; }

.report-card { background: var(--card); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-lift); display: flex; flex-direction: column; gap: 18px; }
.report-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.report-card__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.report-card__note { background: var(--teal-tint); border-radius: 10px; padding: 14px 16px; font-size: 15px; }

.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 12.5l3 3 6-6.5' fill='none' stroke='%231b2a39' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 320px), 100%), 1fr)); gap: 24px; }
.grid--4 { --min: 240px; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.card p { color: var(--ink-2); }
.card--navy { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.card--navy h3 { color: #fff; }
.card--navy p { color: var(--on-navy); }
a.card { text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--teal-dark); transform: translateY(-2px); }
.card__more { margin-top: auto; font-weight: 600; color: var(--teal-dark); }
.card__more::after { content: " \2192"; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 22px; }
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.plan__desc { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.plan__price { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.2; }
.plan__price small { font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--muted); }
.plan__features { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.plan__features li { padding-left: 22px; position: relative; }
.plan__features li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--navy); border-color: var(--navy); border-top: 6px solid var(--teal); color: var(--on-navy-2); box-shadow: 0 24px 48px -24px rgba(27, 42, 57, .5); }
.plan--featured .plan__name, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__price small { color: var(--on-navy); }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-block; background: var(--teal); color: var(--navy); font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }

/* ---------- Service list ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.service { padding: 28px 0 32px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.service__num { font-size: 14px; font-weight: 600; color: var(--teal-dark); font-variant-numeric: tabular-nums; }
.service p { color: var(--ink-2); }
a.service:hover h3 { color: var(--teal-dark); }

/* ---------- Tiles on navy ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.tile { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; color: var(--on-navy-2); text-decoration: none; min-height: 210px; }
.tile h3 { color: #fff; }
.tile p { color: var(--on-navy); font-size: 15px; }
.tile__more { margin-top: auto; font-weight: 600; color: var(--teal-light); }
a.tile:hover { border-color: var(--teal); }
.note-box { border: 1px solid var(--navy-line); border-radius: 12px; padding: 16px 20px; color: var(--on-navy-2); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 4px solid var(--teal); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: "Step " counter(step); font-size: 14px; font-weight: 600; color: var(--teal-dark); }
.steps p { color: var(--ink-2); }

/* ---------- Track record ---------- */
.record { list-style: none; border-top: 1px solid var(--line-2); }
.record li { padding: 20px 0; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.record strong { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.record span { color: var(--ink-2); }

/* ---------- Quote ---------- */
.quote { max-width: 980px; margin-inline: auto; display: flex; flex-direction: column; gap: 22px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 84px; line-height: .6; color: var(--teal); margin-bottom: 10px; }
.quote figcaption { color: var(--ink-2); }

/* ---------- Free tools ---------- */
.tool { display: flex; flex-direction: column; gap: 10px; }
.tool__tag { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--teal-dark); background: var(--teal-tint); border-radius: 999px; padding: 2px 10px; }

/* ---------- Final call to action ---------- */
.cta-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.cta-panel .checklist { font-size: 16px; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--navy); color: #fff; padding-block: clamp(48px, 7vw, 80px); }
.page-hero h1, .page-hero .page-hero__title { font-size: clamp(34px, 4.4vw, 54px); }
.page-hero .lead { color: var(--on-navy); margin-top: 18px; }
.page-hero .eyebrow { color: var(--teal); margin-bottom: 14px; }
.page-hero__meta { color: var(--on-navy); margin-top: 12px; }
.page-hero .btn-row { margin-top: 28px; }

.prose { max-width: 760px; padding-block: clamp(40px, 6vw, 72px); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose img { border-radius: var(--radius-sm); }
/* Legal pages (Terms, Privacy): text runs the full width of the page column */
.prose:has(> .legal) { max-width: none; }
.legal .lead { max-width: none; }
.legal > * + * { margin-top: 1em; }
.legal h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.8em; }
.legal ul { padding-left: 1.3em; }
.legal li + li { margin-top: .4em; }

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-dark); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { margin-top: 10px; color: var(--ink-2); max-width: 60em; }

.compare { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.compare-wrap { overflow-x: auto; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-display); }
.compare tbody th { font-weight: 500; }
.compare .group th { background: var(--teal-pale); color: var(--teal-dark); font-weight: 600; }

/* ---------- Forms (contact) ---------- */
.site-main form label { font-weight: 500; font-size: 15px; }
.site-main input[type="text"], .site-main input[type="email"], .site-main input[type="tel"], .site-main input[type="password"], .site-main select, .site-main textarea {
  font: inherit; font-weight: 400; width: 100%; padding: 11px 14px; min-height: 44px; border: 1px solid var(--input); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.site-main textarea { min-height: 140px; }
.site-main input:focus-visible, .site-main select:focus-visible, .site-main textarea:focus-visible { border-color: var(--teal-dark); }
.site-main button[type="submit"], .site-main .btn-primary { font: 700 16px var(--font-body); background: var(--teal); color: var(--navy); border: 0; border-radius: 999px; padding: 14px 26px; min-height: 48px; cursor: pointer; }
.site-main .control-group, .site-main .mb-3 { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.site-main .form-check, .site-main .checkbox { display: flex; gap: 10px; align-items: flex-start; }
.contact-form-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }

/* ---------- Joomla system messages ---------- */
#system-message-container { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
joomla-alert, .alert { display: block; margin-block: 16px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--teal-tint); border: 1px solid var(--teal); }
joomla-alert[type="danger"], .alert-danger { background: #fdebdd; border-color: #9a3412; }
joomla-alert[type="warning"], .alert-warning { background: #fdf3dc; border-color: #7a4b00; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); font-size: 15px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 40px; padding-block: 64px 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand__logo { width: 77px; height: auto; margin-bottom: 8px; }
.footer-brand__strap { font-family: var(--font-display); font-weight: 700; color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col__title { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--teal); }
.footer-col .mod-menu { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col p + p { margin-top: 8px; }
.site-footer__base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid var(--navy-line); padding-block: 22px 32px; font-size: 14px; color: var(--on-navy-muted); }

/* ---------- Contact form (com_contact override) ---------- */
.contact-form-wrap__title { font-size: clamp(20px, 2vw, 24px); margin-bottom: 20px; }
.contact-form .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 16px; }
.contact-form .control-label label, .contact-form label { display: inline-block; margin-bottom: 2px; }
.contact-form .star { color: var(--teal-dark); }
.contact-form .form-control-feedback, .contact-form .invalid-feedback { color: #9a3412; font-size: 14px; }
.contact-form .invalid { border-color: #9a3412 !important; }
.contact-form__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.contact-form__actions .btn { align-self: flex-start; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Insights (blog) and posts ---------- */
.post-card__date { font-size: 14px; font-weight: 600; color: var(--teal-dark); }
.post-card__title { font-size: clamp(19px, 1.6vw, 21px); }
.blog-pagination { margin-top: 32px; }
.blog-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.blog-pagination a, .blog-pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; text-decoration: none; }
.prose code, .prose kbd { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; background: var(--teal-pale); padding: 1px 5px; border-radius: 4px; }
.prose pre { background: var(--navy); color: #e6ecf1; padding: 16px 18px; border-radius: var(--radius-sm); overflow-x: auto; font-size: 14px; line-height: 1.5; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose .drw-inspector-app { margin-block: 32px; }
.steps--compact { grid-template-columns: 1fr; gap: 14px; }
.steps--compact li { border-top-width: 3px; padding-top: 12px; gap: 4px; }
.stack h3 { margin-top: 8px; }

/* About page portrait */
.portrait { margin: 0; width: min(100%, 340px); }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.portrait figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Website showcase (services/websites): screenshot cards */
.showcase-grid { --min: 280px; }
.card.showcase { padding: 0; gap: 0; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card.showcase:hover { border-color: var(--teal); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.showcase__shot { aspect-ratio: 16 / 10; background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; }
.showcase__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.showcase__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.5vw, 26px); }
.showcase__meta { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--teal-dark); }
@media (prefers-reduced-motion: reduce) { .card.showcase, .card.showcase:hover { transition: none; transform: none; } }
