/*
Theme Name: Canadian IT
Theme URI: https://www.canadianit.com
Author: Canadian IT
Description: Managed IT support site for Canadian IT.
Version: 1.0
License: Unlicense
Text Domain: canadianit
*/

:root {
  color-scheme: light;
  --ink: #15202a;
  --muted: #5d6a76;
  --line: #d9e1e7;
  --paper: #f7f9fb;
  --white: #ffffff;
  --red: #c92832;
  --red-dark: #9e1d27;
  --teal: #0f766e;
  --blue: #244b76;
  --gold: #c48a2c;
  --shadow: 0 24px 60px rgba(29, 45, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.brand span {
  color: var(--red);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--muted);
  font-size: 15px;
}

.main-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--red);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 700;
}

.header-action,
.primary-button {
  background: var(--red);
  color: var(--white);
  padding: 0 20px;
}

.header-action:hover,
.primary-button:hover {
  background: var(--red-dark);
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0 20px;
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 48%, rgba(231, 240, 247, 0.9) 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.status-card,
.signal-grid > div,
.coverage-grid article,
.proof-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.status-card {
  padding: 28px;
}

.status-card p,
.signal-grid span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-card strong {
  display: block;
  font-size: 26px;
  line-height: 1.22;
}

.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(15, 118, 110, 0.14);
}

.signal-grid,
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.signal-grid > div {
  padding: 22px;
  box-shadow: none;
}

.signal-grid strong {
  display: block;
  line-height: 1.32;
}

.notice-band {
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--blue);
  color: var(--white);
}

.notice-band p {
  max-width: 1040px;
  margin: 0 auto;
  font-size: 19px;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.split-section,
.proof-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.content-stack p,
.proof-card p,
.proof-list p,
.contact-section p,
.coverage-grid p {
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.coverage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coverage-grid article {
  min-height: 260px;
  padding: 28px;
  box-shadow: none;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 6px;
  background: rgba(196, 138, 44, 0.14);
  color: var(--gold);
  font-weight: 800;
}

.proof-section {
  background: var(--white);
}

.proof-card {
  padding: clamp(28px, 4vw, 44px);
  box-shadow: none;
}

.proof-list {
  display: grid;
  gap: 16px;
}

.proof-list p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.proof-list strong {
  color: var(--ink);
}

.contact-section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.contact-section p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.contact-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.contact-card a::after {
  content: ">";
  color: var(--red);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--white);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split-section,
  .proof-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 247, 0.94));
  }

  .coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 14px;
    padding: 14px 18px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-text {
    font-size: 18px;
  }

  .signal-grid,
  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .coverage-grid article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
