/* Dockton IT — Signal design system */

@font-face { font-family: "Public Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 900; font-style: normal; font-display: swap; src: url("/fonts/public-sans-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }

:root {
  --white: #ffffff;
  --surface: #f1f3f4;
  --ink: #0f1d2b;
  --ink-muted: #3a4653;
  --navy: #14365c;
  --navy-tint: #e2ebf4;
  --signal: #f5b700;
  --signal-tint: #fff1c2;
  --border: #5d6873;

  --font-display: "Public Sans", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", Verdana, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --gutter: clamp(24px, 5vw, 64px);

  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 12px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 30px;
}

h1, h2, h3 { margin: 0; font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

a { color: var(--navy); }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.on-navy a:focus-visible { outline-color: var(--signal); }

.skip {
  position: absolute; left: var(--space-2); top: -100px;
  background: var(--signal); color: var(--ink); border: 2px solid var(--ink);
  padding: var(--space-1) var(--space-2); border-radius: var(--radius-md);
  font-weight: 700; z-index: 10;
}
.skip:focus { top: var(--space-2); }

/* Utility bar */
.utility {
  background: var(--navy); color: var(--white);
  padding: var(--space-1) var(--gutter);
  display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3);
  justify-content: space-between; align-items: center;
  font-size: 16px; line-height: 24px;
}
.utility a { color: var(--signal); font-weight: 700; font-size: 18px; text-decoration: none; }
.utility a:hover { text-decoration: underline; }

/* Header */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-2) var(--gutter);
}
.wordmark { display: flex; align-items: center; gap: var(--space-1); text-decoration: none; color: var(--ink); }
.wordmark span { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 30px; letter-spacing: -0.01em; }
.checker {
  display: grid; grid-template-columns: 1fr 1fr; width: 36px; height: 36px;
  border-radius: var(--radius-sm); overflow: hidden; flex: none;
}
.checker i:nth-child(1), .checker i:nth-child(4) { background: var(--navy); }
.checker i:nth-child(2), .checker i:nth-child(3) { background: var(--signal); }

.site-nav { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
.site-nav a { font-weight: 700; font-size: 18px; line-height: 24px; padding: 10px 0; }

/* Hero */
.hero {
  padding: var(--space-4) var(--gutter) var(--space-5);
  display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-start;
}
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.hero h1 { font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.02em; }
.lead { font-size: 21px; line-height: 32px; color: var(--ink-muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-weight: 700; font-size: 18px; line-height: 24px;
  text-decoration: none;
}
.btn:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.btn-signal { background: var(--signal); color: var(--ink); border: 2px solid var(--ink); }
.btn-outline { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }

/* Steps */
.steps {
  flex: 1 1 400px; min-width: 0;
  background: var(--navy-tint); border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-3);
  scroll-margin-top: var(--space-2);
}
.steps h2 { font-weight: 700; font-size: 30px; line-height: 38px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.steps li { display: flex; gap: var(--space-2); align-items: flex-start; }
.num {
  flex: none; width: 56px; height: 56px;
  background: var(--navy); color: var(--white); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 28px;
}
.steps h3 { font-weight: 700; font-size: 23px; line-height: 30px; }

.stripe { height: 12px; background: var(--signal); }

/* Services */
.services {
  background: var(--surface);
  padding: var(--space-5) var(--gutter);
  display: flex; flex-direction: column; gap: var(--space-4);
  scroll-margin-top: var(--space-2);
}
.services h2 { font-weight: 700; font-size: 30px; line-height: 38px; }
.cards { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.card {
  flex: 1 1 240px; min-width: 0;
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white);
  display: flex; flex-direction: column;
}
.card h3 {
  background: var(--navy); color: var(--white);
  padding: var(--space-2) var(--space-3);
  font-weight: 700; font-size: 23px; line-height: 30px;
}
.card p { padding: var(--space-3); }

/* Contact */
.contact {
  background: var(--navy); color: var(--white);
  padding: var(--space-5) var(--gutter);
  display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start;
  scroll-margin-top: var(--space-2);
}
.contact h2 { color: var(--white); font-weight: 700; font-size: 30px; line-height: 38px; }
.contact p { font-size: 21px; line-height: 32px; }
.contact .phone {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 5vw, 44px); line-height: 50px; letter-spacing: -0.01em;
  color: var(--signal); text-decoration: none;
}
.contact .phone:hover { text-decoration: underline; }
.contact .email { color: var(--white); font-weight: 700; }

/* Footer */
.site-footer {
  background: var(--surface);
  padding: var(--space-4) var(--gutter);
  display: flex; flex-direction: column; gap: var(--space-1);
  font-size: 16px; line-height: 24px; color: var(--ink-muted);
}
.site-footer strong { color: var(--ink); }
.site-footer a { color: inherit; }

/* 404 */
.notfound {
  padding: var(--space-5) var(--gutter);
  display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start;
  max-width: 48rem;
}
.notfound h1 { font-weight: 800; font-size: clamp(36px, 5vw, 44px); line-height: 1.12; letter-spacing: -0.01em; }

@media (max-width: 480px) {
  .steps { padding: var(--space-3); }
  .num { width: 48px; height: 48px; font-size: 24px; }
  .btn { width: 100%; }
}
