/* Spot On Technologies — corporate website
   Brand Identity System v1.0 (SpotOnTechnologies_BrandKit)
   Deep Navy #0B1B34 · Technology Blue #1E6BD6 · Slate #6B7280 · Light #F2F4F7 */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FFFFFF;
  --surface: #F2F4F7;
  --ink: #0B1B34;
  --slate: #6B7280;
  --hairline: #E5E7EB;
  --accent: #1E6BD6;
  --navy: #0B1B34;
  --shutters: #8B5E34;
  --smartaccess: #0097A7;
  --motorkit: #F97316;
  --seen: #F4685A;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1120px;
  --pad: 24px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
p { margin: 0 0 16px; max-width: 65ch; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--paper); color: var(--accent); padding: 8px 16px;
  border: 1px solid var(--hairline); border-radius: 6px;
}
.skip-link:focus { left: 12px; }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 24px;
}
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { height: 32px; width: auto; display: block; }

.site-nav ul {
  display: flex; gap: 32px; margin: 0; padding: 0; list-style: none;
}
.site-nav a { color: var(--slate); font-size: 14.5px; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.menu-toggle {
  display: none;
  background: none; border: none; padding: 10px; margin: -10px;
  cursor: pointer; color: var(--ink);
}
.menu-toggle svg { display: block; }

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 76px; z-index: 50;
    background: var(--paper); border-bottom: 1px solid var(--hairline);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .site-nav a { display: block; padding: 14px var(--pad); font-size: 16px; }
  .site-header { position: relative; }
}

/* ---------- page sections ---------- */
.hero { padding: 108px 0 100px; }
.hero h1 { font-size: clamp(34px, 5.5vw, 52px); margin-bottom: 20px; }
.hero .lede { font-size: clamp(16px, 2.2vw, 19px); color: var(--slate); max-width: 46ch; margin-bottom: 28px; }
.quiet-link { font-weight: 600; font-size: 15px; }

.page-head { padding: 84px 0 40px; }
.page-head h1 { font-size: clamp(30px, 4.5vw, 42px); margin-bottom: 16px; }
.page-head .lede { font-size: 18px; color: var(--slate); }

.section { padding: 72px 0 88px; }
.section.alt { background: var(--surface); border-top: 1px solid var(--hairline); }
.section-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 500; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 28px;
}
.section-label .dot {
  width: 10px; height: 11px; background: var(--accent); flex: none;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }

/* ---------- brand cards (home) ---------- */
.card-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
@media (max-width: 720px) { .card-grid { grid-template-columns: 1fr; } }

.brand-card {
  --brand: var(--accent);
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--hairline); border-radius: 10px;
  background: var(--paper); padding: 26px 26px 22px; min-height: 170px;
  color: inherit; transition: border-color 120ms ease;
}
a.brand-card:hover { text-decoration: none; border-color: var(--brand); }
.brand-card .brand-icon { height: 34px; width: auto; margin-bottom: 10px; align-self: flex-start; }
.brand-card h3 { font-size: 18px; }
.brand-card p { font-size: 14.5px; color: var(--slate); margin: 0; flex: 1; }
.brand-card .visit { font-size: 14px; font-weight: 600; color: var(--brand); margin-top: 14px; }
.brand-card .visit .domain { font-weight: 400; font-size: 12px; color: var(--slate); margin-left: 10px; }
.brand-card.card-shutters { --brand: var(--shutters); }
.brand-card.card-smartaccess { --brand: var(--smartaccess); }
.brand-card.card-motorkit { --brand: var(--motorkit); }
.brand-card.card-seen { --brand: var(--seen); }
.brand-card.card-seen .brand-icon { border-radius: 8px; }
.brand-card.soon { background: transparent; border-style: dashed; }
.brand-card.soon h3 { color: var(--slate); }
.brand-card.soon .brand-icon { opacity: 0.8; }
.soon-tag {
  font-family: var(--head); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate); border: 1px solid var(--hairline); border-radius: 999px;
  padding: 3px 10px; width: fit-content; margin-top: 14px;
}

/* ---------- brands page ---------- */
.brand-entry { padding: 40px 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 64px 1fr; gap: 24px; }
.brand-entry:first-of-type { border-top: none; padding-top: 8px; }
.brand-entry .brand-icon { height: 52px; width: auto; margin-top: 4px; }
.brand-entry .brand-icon.rounded { border-radius: 12px; }
.brand-entry h2 { font-size: 24px; margin-bottom: 10px; }
.brand-entry p { color: var(--slate); }
.brand-entry .visit { font-weight: 600; font-size: 15px; }
.brand-entry .domain { font-size: 12.5px; color: var(--slate); margin-left: 12px; }
@media (max-width: 600px) {
  .brand-entry { grid-template-columns: 1fr; gap: 8px; }
  .brand-entry .domain { display: block; margin: 4px 0 0; }
}

/* ---------- contact ---------- */
.contact-list { display: grid; gap: 28px; margin: 8px 0 0; }
.contact-list dt {
  font-family: var(--head); font-weight: 500; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 6px;
}
.contact-list dd { margin: 0; font-size: 18px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy); color: #B8C4D6;
  padding: 48px 0 52px; font-size: 13.5px;
}
.footer-logo { height: 30px; width: auto; display: block; margin-bottom: 32px; }
.footer-cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer .col { display: grid; gap: 5px; align-content: start; }
.site-footer b { color: #FFFFFF; font-weight: 600; }
.site-footer .mono { font-family: var(--head); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; color: #8FA6C8; }
.site-footer a { color: #B8C4D6; text-decoration: underline; text-decoration-color: rgba(184, 196, 214, 0.35); text-underline-offset: 3px; }
.site-footer a:hover { color: #FFFFFF; }
@media (min-width: 721px) {
  .footer-cols .col:last-child { text-align: right; }
}
