/* Oradell Computing: one page, mobile first, no scripts, no animation.
   Archivo is served from this site (fonts/, licence in fonts/archivo-OFL.txt). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/archivo-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/archivo-latin-800-normal.woff2") format("woff2");
}

:root {
  --ink: #13233f;
  --accent: #f4b23e;
  --background: #fffbf3;
  --border: #d8d1c2;
  --muted: #4a5568;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem; /* 17px */
  font-weight: 400;
  line-height: 1.55;
}

/* --- layout ------------------------------------------------------------------------- */

.wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

p,
ul {
  max-width: 65ch;
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.375rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-weight: 800;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 11vw, 4rem);
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.3;
}

strong {
  font-weight: 600;
}

a {
  color: var(--ink);
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.band :focus-visible {
  outline-color: var(--ink);
}

/* --- skip link ---------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--background);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.5rem;
}

/* --- header and brand mark ---------------------------------------------------------- */

.site-header {
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand svg {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
}

/* --- hero and buttons --------------------------------------------------------------- */

.hero {
  padding: 1.5rem 0 3rem;
  border-top: 0;
}

.lead {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.actions + p {
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem; /* 44px tap target */
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--background);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

/* --- services ----------------------------------------------------------------------- */

.groups {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.group {
  padding: 1.25rem;
  border: 2px solid var(--border);
  border-radius: 1rem;
  background: var(--background);
}

.group ul {
  margin-bottom: 0;
}

.works-with {
  font-weight: 600;
}

/* --- checkup ------------------------------------------------------------------------ */

.price {
  display: inline-block;
  padding: 0 0.5rem;
  border-radius: 0.375rem;
  background: var(--accent);
}

/* --- service area and hours: the amber band from the flyer -------------------------- */

.band {
  background: var(--accent);
  border-top: 0;
}

.band ul.plain {
  padding-left: 0;
  list-style: none;
}

.band h3 {
  margin-top: 1.5rem;
}

/* --- faq ---------------------------------------------------------------------------- */

.faq h3 {
  margin-top: 1.5rem;
}

.faq p {
  margin-bottom: 0;
}

/* --- footer ------------------------------------------------------------------------- */

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 1rem;
}

.site-footer p {
  margin-bottom: 0.5rem;
}

/* --- wider screens ------------------------------------------------------------------ */

@media (min-width: 40rem) {
  .wrap {
    padding: 0 1.5rem;
  }

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

  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 2.5rem 0 4rem;
  }
}

@media (min-width: 64rem) {
  .groups {
    grid-template-columns: repeat(4, 1fr);
  }
}
