/*
 * Shivnet Inc. site stylesheet
 *
 * Plain CSS, no build step. Class names follow a BEM-style pattern:
 *   .block, .block__element, .block--modifier
 * Shared components (.container, .section, .eyebrow, .section-title, .section-lead, .btn,
 * .link-arrow, .card, .tile, .checklist, .prose, .faq, .glossary, .split, .pill, .table,
 * .page-header, .cta) are combined with page-specific classes, e.g. class="section-title cta__title".
 *
 * Mobile first: rules apply at every width, and @media (min-width: ...) blocks adjust wider
 * screens: 768px (tablet layout), 1024px (desktop navigation bar, three- and four-column grids),
 * 1280px (navigation bar tagline), 1400px (maximum container width), plus 640px for the
 * notification list.
 *
 * Colours are HSL components used as hsl(var(--name)), or hsl(var(--name) / alpha) for
 * transparency. The font stacks name "Plus Jakarta Sans" and "Inter", but the site does not load
 * them (neither did the original), so visitors see them only if they are installed.
 *
 * The pages load this file as styles.css?v=3. The server lets browsers keep a copy for 12 hours,
 * so after changing this file, raise that number in every page's <link> (404.html excepted: it
 * uses only the 404 page rules) to make browsers fetch the new version.
 *
 * The mobile menu panel and the menu button's two icons are shown and hidden by main.js with the
 * `hidden` attribute. Never give them a `display` value outside the 1024px blocks of the
 * navigation bar and mobile menu: the reset's [hidden] rule weighs as much as one class, so a
 * later class rule would override it. Keep that reset rule too: browsers do not hide SVG elements
 * that carry `hidden` on their own, so without it (or without this stylesheet) the menu button
 * shows both icons.
 */

/* ---------- Theme ---------- */
:root {
  --background: 0 0% 100%;
  --foreground: 220 20% 18%;
  --card: 0 0% 100%;
  --card-foreground: 220 20% 18%;
  --primary: 210 85% 48%;
  --primary-foreground: 0 0% 100%;
  --muted: 210 20% 96%;
  --muted-foreground: 220 10% 45%;
  --accent: 28 95% 53%;
  --accent-foreground: 0 0% 100%;
  --border: 214 20% 92%;
  --navbar: 210 60% 92%;
  --navbar-border: 210 40% 85%;
  --navbar-foreground: 220 12% 30%;
  --footer: 220 12% 45%;

  --radius: 0.5rem;
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;

  --navbar-height: 7rem; /* also the top padding of <main>, so content starts below the bar */
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 150ms;
}

/* ---------- Reset (Tailwind Preflight, unchanged) ---------- */
*,
:before,
:after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family:
    ui-sans-serif,
    system-ui,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    Segoe UI Symbol,
    "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  line-height: inherit;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp,
pre {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    Liberation Mono,
    Courier New,
    monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button,
select {
  text-transform: none;
}
button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
:-moz-focusring {
  outline: auto;
}
:-moz-ui-invalid {
  box-shadow: none;
}
progress {
  vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
dialog {
  padding: 0;
}
textarea {
  resize: vertical;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}
input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}
button,
[role="button"] {
  cursor: pointer;
}
:disabled {
  cursor: default;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}
img,
video {
  max-width: 100%;
  height: auto;
}
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

/* ---------- Base ---------- */
* {
  border-color: hsl(var(--border));
}
body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

/* ---------- Layout ---------- */
.site {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.site__main {
  flex: 1 1 0%;
  padding-top: var(--navbar-height);
}

/* Page-width wrapper: full width with 1rem side padding, at most 1400px wide. */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}
/* Narrower containers (these must stay after the 1400px rule above). */
.container--prose {
  max-width: 48rem;
}
.container--narrow {
  max-width: 42rem;
}

.section {
  background-color: hsl(var(--background));
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.section--muted {
  background-color: hsl(var(--muted));
}
.section--lg {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ---------- Shared components ---------- */
/* Small orange label above a heading */
.eyebrow {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--accent));
}

/* Section headings */
.section-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}
.section-title--sm {
  font-size: 1.5rem;
  line-height: 2rem;
}
@media (min-width: 768px) {
  .section-title--lg {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
/* Short paragraph between a section heading and the section's content */
.section-lead {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  max-width: 36rem;
  color: hsl(var(--muted-foreground));
}

/* Buttons: .btn plus a colour (--accent, --outline) and a size (--sm, --md, --lg) */
.btn {
  display: inline-flex;
  align-items: center;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 600;
}
.btn--accent {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  transition-property: opacity;
  transition-timing-function: var(--ease);
  transition-duration: var(--duration);
}
.btn--accent:hover {
  opacity: 0.9;
}
.btn--outline {
  border-width: 1px;
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: var(--ease);
  transition-duration: var(--duration);
}
.btn--outline:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.btn--md {
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
}
.btn--lg {
  gap: 0.5rem;
  padding: 0.75rem 2rem;
}

/* Text link followed by an arrow icon */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: hsl(var(--accent));
}
.link-arrow:hover {
  text-decoration-line: underline;
}

/* White bordered panels: .card (services, process steps, values) and .tile (device lists) */
.card,
.tile {
  border-radius: var(--radius);
  border-width: 1px;
  border-color: hsl(var(--border));
  background-color: hsl(var(--card));
}

.card {
  padding: 1.5rem;
}
.card--hoverable {
  transition-property: box-shadow;
  transition-timing-function: var(--ease);
  transition-duration: var(--duration);
}
.card--hoverable:hover {
  box-shadow: var(--shadow-lg);
}
.card__icon {
  margin-bottom: 1rem;
  color: hsl(var(--accent));
}
/* A card that ends with a .card__link: the link sits at the bottom, so links in a row line up */
.card--linked {
  display: flex;
  flex-direction: column;
}
.card__title {
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: hsl(var(--card-foreground));
}
.card__title--lg {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.card__text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
}
.card__text--relaxed {
  line-height: 1.625;
}
/* "Explore ..." link at the foot of a .card--linked card */
.card__link {
  margin-top: auto;
  padding-top: 1rem;
  align-self: flex-start;
}
/* Step number at the top of a process card. A process is an <ol class="card-grid ..."> with one
   <li class="card"> per step; type each number by hand. */
.card__number {
  margin-bottom: 1rem;
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-width: 2px;
  border-color: hsl(var(--accent));
  font-family: var(--font-heading);
  font-weight: 700;
  color: hsl(var(--foreground)); /* a dark numeral: white on this orange would be hard to read */
}

/* Card grid: one column, two from 768px; --three and --four give three or four from 1024px */
.card-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}
.tile--stacked {
  flex-direction: column;
  padding: 1.5rem;
  text-align: center;
}
.tile__icon {
  flex-shrink: 0;
  color: hsl(var(--accent));
}
.tile--stacked .tile__icon {
  flex-shrink: 1; /* as in the original, where only the row icons had shrink-0 */
}
.tile__label {
  font-weight: 500;
  color: hsl(var(--card-foreground));
}
.tile--stacked .tile__label {
  font-weight: 600;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px) {
  .tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tile-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* List of short items, each with a check icon: one column, two from 768px (--stacked stays at one) */
.checklist {
  display: grid;
  max-width: 42rem;
  column-gap: 3rem;
  row-gap: 0.75rem;
}
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.checklist__icon {
  margin-top: 0.25rem;
  flex-shrink: 0;
  color: hsl(var(--accent));
}
.checklist__label {
  font-weight: 500;
  color: hsl(var(--foreground));
}
@media (min-width: 768px) {
  .checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .checklist--stacked {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* Blocks inside one section are spaced apart, and from a heading that has no lead paragraph */
.section__block + .section__block {
  margin-top: 2.5rem;
}
.section-title + .section__block {
  margin-top: 2rem;
}

/* Running text: paragraphs with optional h3 sub-headings, kept to a reading width */
.prose {
  max-width: 48rem;
}
.prose__title {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}
.prose__text {
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}
.prose__text + .prose__text {
  margin-top: 1rem;
}
.prose__text + .prose__title {
  margin-top: 2rem;
}

/* Questions and answers: each <details> opens when its question is clicked (no JavaScript) */
.faq {
  border-top-width: 1px;
  border-color: hsl(var(--border));
}
.faq__item {
  border-bottom-width: 1px;
  border-color: hsl(var(--border));
}
.faq__question {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 400;
  color: hsl(var(--accent));
}
.faq__item[open] .faq__question::after {
  content: "\2212"; /* a minus sign */
}
.faq__answer {
  padding-bottom: 1.25rem;
}
.faq__text {
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

/* Glossary: term and definition pairs, two columns from 768px */
.glossary {
  display: grid;
  gap: 1.5rem;
}
.glossary__term {
  margin-bottom: 0.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}
.glossary__definition {
  font-size: 0.875rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}
@media (min-width: 768px) {
  .glossary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }
}

/* Running text beside a card with a ticked list (what the client receives) */
.split {
  display: grid;
  align-items: start;
  gap: 2rem;
}
@media (min-width: 768px) {
  .split {
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
  }
}

/* Brand names as small rounded labels */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pill {
  border-radius: 9999px;
  border-width: 1px;
  border-color: hsl(var(--border));
  background-color: hsl(var(--card));
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: hsl(var(--card-foreground));
}

/* Comparison table in a bordered panel. On phones each row stacks as a block, with the column name
   above each cell (taken from the cell's data-label attribute); from 768px it is an ordinary table. */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border-width: 1px;
  border-color: hsl(var(--border));
  background-color: hsl(var(--card));
}
.table {
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.5rem;
}
.table__head {
  display: none;
}
.table__row {
  display: block;
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
}
.table__row + .table__row {
  border-top-width: 1px;
  border-color: hsl(var(--border));
}
.table__header {
  border-bottom-width: 1px;
  border-color: hsl(var(--border));
  background-color: hsl(var(--muted));
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.table__cell {
  display: block;
  padding: 0.25rem 1.25rem;
  color: hsl(var(--muted-foreground));
}
.table__cell[data-label]::before {
  content: attr(data-label);
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.table__cell--lead {
  font-weight: 600;
  color: hsl(var(--foreground));
}
@media (min-width: 768px) {
  .table {
    min-width: 36rem;
  }
  .table__head {
    display: table-header-group;
  }
  .table__row {
    display: table-row;
  }
  .table__row + .table__row {
    border-top-width: 0;
  }
  .table__cell {
    display: table-cell;
    border-top-width: 1px;
    border-color: hsl(var(--border));
    padding: 0.75rem 1.25rem;
    vertical-align: top;
  }
  .table__cell[data-label]::before {
    content: none;
  }
}

/* Grey band at the top of the inner pages */
.page-header {
  background-color: hsl(var(--muted));
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.page-header__title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;
  color: hsl(var(--foreground));
}
.page-header__lead {
  margin-top: 1rem;
  max-width: 36rem;
  color: hsl(var(--muted-foreground));
}
@media (min-width: 768px) {
  .page-header__title {
    font-size: 3rem;
    line-height: 1;
  }
}

/* Call-to-action band near the bottom of a page */
.cta {
  background-color: hsl(var(--primary) / 0.1);
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.cta--compact {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.cta__inner {
  text-align: center;
}
.cta__title {
  margin-bottom: 1rem;
}
.cta__text {
  margin-right: auto;
  margin-bottom: 2rem;
  margin-left: auto;
  max-width: 32rem;
  color: hsl(var(--muted-foreground));
}

/* ---------- Navigation bar ---------- */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom-width: 1px;
  border-color: hsl(var(--navbar-border));
  background-color: hsl(var(--navbar));
  box-shadow: var(--shadow-lg);
}
.navbar__inner {
  display: flex;
  height: var(--navbar-height);
  align-items: center;
  gap: 2rem;
}
.navbar__brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}
.navbar__logo {
  height: 5rem;
  width: auto;
}
.navbar__links,
.navbar__actions {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.navbar__actions {
  margin-left: auto;
}
/* Links and the tagline have no colour of their own: they use the page text colour, as on the
   original site (whose intended grey classes never produced any CSS). */
.navbar__link {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: var(--ease);
  transition-duration: var(--duration);
}
.navbar__link:hover,
.navbar__link--active {
  color: hsl(var(--accent));
}
.navbar__tagline {
  display: none; /* shown from 1280px: narrower, it does not fit beside six links */
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}
.navbar__toggle {
  color: hsl(var(--navbar-foreground));
}
@media (min-width: 1024px) {
  .navbar__links,
  .navbar__actions {
    display: flex;
  }
  .navbar__toggle {
    display: none;
  }
}
@media (min-width: 1280px) {
  .navbar__tagline {
    display: block;
  }
}

/* ---------- Mobile menu (below 1024px; opened by main.js) ---------- */
.mobile-menu {
  /* The panel scrolls when the screen is too short for it, e.g. on a phone held sideways */
  max-height: calc(100dvh - var(--navbar-height));
  overflow-y: auto;
  border-top-width: 1px;
  border-color: hsl(var(--border));
  background-color: hsl(var(--background));
  padding-right: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
}
.mobile-menu__link {
  display: block;
  border-bottom-width: 1px;
  border-color: hsl(var(--border) / 0.5);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
}
.mobile-menu__link--active {
  color: hsl(var(--accent));
}
/* The panel's "Get in Touch" button: unlike .btn it has no hover effect */
.mobile-menu__cta {
  margin-top: 0.75rem;
  display: block;
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--accent));
  padding: 0.5rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: hsl(var(--accent-foreground));
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

/* ---------- Notification list (always empty; F8 focuses it) ---------- */
/* Repeats the region's inline style, so the invisible list never catches clicks, even where a
   Content-Security-Policy blocks inline styles. */
[aria-label="Notifications (F8)"] {
  pointer-events: none;
}
.toast-viewport {
  position: fixed;
  top: 0;
  z-index: 100;
  display: flex;
  max-height: 100vh;
  width: 100%;
  flex-direction: column-reverse;
  padding: 1rem;
}
@media (min-width: 640px) {
  .toast-viewport {
    top: auto;
    right: 0;
    bottom: 0;
    flex-direction: column;
  }
}
@media (min-width: 768px) {
  .toast-viewport {
    max-width: 420px;
  }
}

/* ---------- Footer ---------- */
.footer {
  background-color: hsl(var(--footer));
  color: hsl(var(--background));
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.footer__logo {
  margin-bottom: 0.75rem;
  height: 2.5rem;
  width: auto;
  filter: brightness(0) invert(1); /* turns the logo white */
}
.footer__about {
  font-size: 0.875rem;
  line-height: 1.625;
  color: hsl(var(--background) / 0.7);
}
.footer__heading {
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.footer__list {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--background) / 0.7);
}
.footer__list > li + li {
  margin-top: 0.5rem;
}
.footer__link {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: var(--ease);
  transition-duration: var(--duration);
}
.footer__link:hover {
  color: hsl(var(--accent));
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__icon {
  flex-shrink: 0;
  color: hsl(var(--accent));
}
.footer__bottom {
  border-top-width: 1px;
  border-color: hsl(var(--background) / 0.1);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1rem;
  color: hsl(var(--background) / 0.5);
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Home ---------- */
.hero {
  position: relative;
  display: flex;
  min-height: 85vh;
  align-items: center;
  background-color: hsl(var(--background));
}
.hero__inner {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.hero__eyebrow {
  margin-bottom: 1rem;
}
.hero__title {
  max-width: 48rem;
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 800;
  color: hsl(var(--foreground));
}
.hero__lead {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}
.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 3.75rem;
    line-height: 1;
  }
}

.stats {
  background-color: hsl(var(--accent));
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr)); /* one per row on phones: "Authorized" is wider than a third of the screen */
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
}
.stats__value {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 800;
  color: hsl(var(--accent-foreground));
}
.stats__label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--accent-foreground) / 0.8);
}
@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Contact ---------- */
.contact-info__title {
  margin-bottom: 1.5rem;
}
/* Contact details, one per item (spaced apart if more are added) */
.contact-list {
  display: grid;
  gap: 1.25rem;
}
.contact-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact-list__icon {
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: hsl(var(--accent));
}
.contact-list__label {
  font-weight: 600;
  color: hsl(var(--foreground));
}
.contact-list__value {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
}
.contact-list__link {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: var(--ease);
  transition-duration: var(--duration);
}
.contact-list__link:hover {
  color: hsl(var(--accent));
}

/* ---------- 404 page ---------- */
.not-found {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--muted));
}
.not-found__content {
  text-align: center;
}
.not-found__title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
}
.not-found__text {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: hsl(var(--muted-foreground));
}
.not-found__link {
  color: hsl(var(--primary));
  text-decoration-line: underline;
}
.not-found__link:hover {
  color: hsl(var(--primary) / 0.9);
}
