/* Exaweft site styles. Brand: navy #101D2B, mint #5DE0BD (accents and on navy only), slate #243D55.
   Text colours are checked against WCAG AA (4.5:1): navy on white 17:1, teal links #0A6B55 on white 6.5:1,
   muted #4A5B6A on white 7.0:1, mint on navy 10.4:1. Mint is never used for text on a light background. */

:root {
  --navy: #101D2B;
  --slate: #243D55;
  --mint: #5DE0BD;
  --paper: #FFFFFF;
  --mist: #F5F8FA;
  --line: #D9E2E8;
  --text: #101D2B;
  --muted: #4A5B6A;
  --link: #0A6B55;
  --on-navy: #C9D6E0;
  --max: 68rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
code { font-family: ui-monospace, Consolas, "Cascadia Mono", monospace; font-size: 0.95em; background: var(--mist); padding: 0.05em 0.3em; border-radius: 3px; }

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 2px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--paper); padding: 0.5rem 1rem; }

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

/* Header: navy band holding the A1 lockup and the navigation. */
.site-header { background: var(--navy); border-bottom: 4px solid var(--mint); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.brand img { width: 12rem; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site-nav a { color: var(--paper); text-decoration: none; font-weight: 600; padding: 0.25rem 0; display: inline-block; }
.site-nav a:hover { color: var(--mint); }
.site-nav a[aria-current="page"] { color: var(--mint); box-shadow: inset 0 -2px 0 var(--mint); }

main { padding: 2.5rem 0 3.5rem; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: 1.6rem; margin-top: 2.5rem; }
h3 { font-size: 1.25rem; }
p, ul { margin: 0 0 1rem; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 42rem; }
.muted { color: var(--muted); }
.small { font-size: 1rem; }

/* Home hero */
.hero { background: var(--mist); border-bottom: 1px solid var(--line); margin-top: -2.5rem; }
.hero .wrap { padding-top: 3rem; padding-bottom: 3rem; }
.hero h1 { max-width: 40rem; }

/* Product cards on the home page */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--navy); }
.card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; }
.card-body .more { margin-top: auto; padding-top: 0.5rem; font-weight: 600; }

/* Products page */
.product { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 2.5rem; }
.product:first-of-type { border-top: 0; margin-top: 1rem; padding-top: 0; }
.product h2 { margin-top: 0; }
.tagline { font-size: 1.2rem; font-weight: 600; color: var(--slate); }
.product-grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 56rem) { .product-grid { grid-template-columns: 1.05fr 1fr; } }
.features { padding-left: 1.25rem; }
.features li { margin-bottom: 0.6rem; }
.features li::marker { color: var(--slate); }
figure { margin: 0; }
figure img { border-radius: 8px; border: 1px solid var(--line); }
figcaption { font-size: 1rem; color: var(--muted); margin-top: 0.5rem; }
.facts { font-size: 1rem; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.button {
  display: inline-block; padding: 0.65rem 1.1rem; border-radius: 6px; font-weight: 700; text-decoration: none;
  border: 2px solid var(--navy); line-height: 1.3;
}
a.button { background: var(--navy); color: var(--mint); }
a.button:hover { background: var(--slate); border-color: var(--slate); }
/* Store placeholder while a listing awaits approval: plain text styled as a button, not a link. */
.button.soon { background: var(--mist); color: var(--muted); border: 2px dashed var(--muted); font-weight: 600; cursor: default; }

/* About / contact */
.prose { max-width: 42rem; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 1rem; }
.contact-list strong { display: block; }
.note { background: var(--mist); border-left: 4px solid var(--mint); padding: 1rem 1.25rem; border-radius: 4px; max-width: 42rem; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 2rem 0; font-size: 1rem; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--mint); }
.site-footer .wrap { display: grid; gap: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site-footer p { margin: 0; }
