/* IT Buddy — brand tokens from CLAUDE.md */
:root {
  --navy: #1E3A5F;
  --navy-dark: #122640;
  --rust: #A84A24;
  --cream: #FBF7F0;
  --cream-alt: #F2ECE2;
  --divider: #C9C2B6;
  --text: #1E1E1E;
  --text-2: #4A4A4A;
  --white: #FFFFFF;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible", -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 12px;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: 6rem; /* room for the mobile call bar */
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.6;
}

p { margin: 0 0 1rem; }

a {
  color: var(--navy);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--navy-dark); }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.band :focus-visible,
.site-footer :focus-visible { outline-color: var(--cream); }

h1, h2 {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
h1 { font-size: clamp(2.75rem, 2rem + 4vw, 4rem); }
h2 { font-size: clamp(2rem, 1.5rem + 2.5vw, 2.75rem); }

.wrap {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nowrap { white-space: nowrap; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -10rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.btn:hover { background: var(--navy-dark); color: var(--white); }
.btn-large {
  min-height: 4.25rem;
  padding: 1rem 1.75rem;
  font-size: 1.5rem;
  text-align: left;
}
.btn-light { background: var(--cream); color: var(--navy); }
.btn-light:hover { background: var(--cream-alt); color: var(--navy); }

/* Header */
.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--divider);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: var(--navy);
}
.wordmark img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.7rem;
}
.header-call { display: none; }

/* Hero */
.hero { padding: 2.5rem 0 3rem; }
.tagline {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.625rem, 1.25rem + 1.5vw, 2.25rem);
  line-height: 1.25;
}
.rule {
  width: 5rem;
  height: 4px;
  margin: 1.75rem 0;
  border-radius: 2px;
  background: var(--rust);
}
.hero-email { margin: 0.5rem 0 0; }
.hero-email a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-weight: 700;
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--cream-alt); }

.checklist, .steps, .contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.4rem 0;
}
.checklist .icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.2rem;
  color: var(--rust);
  stroke-width: 3;
}

.note {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}

.steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
}
.step-num {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--rust);
  color: var(--white);
  font-weight: 700;
}

/* About */
.about {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.about-photo {
  display: block;
  width: 100%;
  max-width: 16rem;
  height: auto;
  border-radius: var(--radius);
}
.about p:last-child { margin-bottom: 0; }

/* Prices */
.subtitle { margin: -0.25rem 0 1.5rem; }
.prices-wrap {
  overflow: hidden;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: var(--cream);
}
.prices {
  width: 100%;
  border-collapse: collapse;
}
.prices tr + tr { border-top: 1px solid var(--divider); }
.prices tr:nth-child(even) { background: var(--cream-alt); }
.prices th,
.prices td {
  padding: 1rem 1.25rem;
  vertical-align: top;
}
.prices th {
  font-weight: 400;
  text-align: left;
}
.prices td {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
}
.price-extra {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-2);
}

/* Contact band + footer */
.band {
  padding: 3.5rem 0;
  background: var(--navy);
  color: var(--white);
}
.band h2 { color: var(--white); }
.contact-list li + li { margin-top: 0.5rem; }
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 3rem;
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.375rem, 1rem + 2vw, 2rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.contact-list a:hover { color: var(--cream-alt); }
.band .btn-light { margin-top: 1.5rem; }

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--divider);
  background: var(--navy);
  color: var(--white);
}
.site-footer p { margin: 0.25rem 0; }

/* Mobile call bar */
.call-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom));
  border-top: 2px solid var(--navy);
  background: var(--cream);
}
.call-bar .btn { width: 100%; }

/* Very narrow screens (small phones, 200%+ zoom): keep the big call button inside the page */
@media (max-width: 22rem) {
  .btn-large { padding: 1rem; font-size: 1.25rem; }
}

/* Very short screens (landscape phones, high zoom): don't pin the bar */
@media (max-height: 25rem) {
  body { padding-bottom: 0; }
  .call-bar { position: static; }
}

@media (min-width: 48rem) {
  body { padding-bottom: 0; }
  .call-bar { display: none; }
  .header-call { display: inline-flex; }
  .hero { padding: 4rem 0 4.5rem; }
  .about { grid-template-columns: 15rem 1fr; gap: 2.5rem; }
}

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