/* Ops4Rob – static one-pager. No external resources, no JavaScript. */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/Poppins-SemiBold.ttf") format("truetype");
}

:root {
  --navy: #1B2A4A;
  --orange: #F26B21;
  --orange-dark: #C8510F;
  --white: #FFFFFF;
  --grey-light: #F5F6F8;
  --grey-text: #4A5568;
  --border: #E2E5EA;
  --max-width: 960px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--grey-text);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  hyphens: auto;
}

@media (max-width: 479px) {
  h1 {
    font-size: 1.5rem;
  }
}

h2 {
  font-size: 1.375rem;
}

h3 {
  font-size: 1.0625rem;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--orange-dark);
}

:focus-visible {
  outline: 3px solid var(--orange-dark);
  outline-offset: 2px;
}

/* Layout */

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  display: block;
  height: 32px;
  width: auto;
}

.nav-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  border-bottom-color: var(--orange);
  color: var(--navy);
}

section {
  padding: 48px 0;
}

section.alt {
  background: var(--grey-light);
}

.hero {
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero h1 {
  max-width: 24em;
}

.lead {
  font-size: 1.125rem;
  max-width: 44em;
}

/* Button */

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 26px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--orange);
  border-radius: 4px;
}

.button:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--orange-dark);
}

/* Three points */

.points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.point h3 {
  margin-bottom: 0.35em;
}

.point .accent {
  display: block;
  width: 32px;
  height: 3px;
  background: var(--orange);
  margin-bottom: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Team */

.team {
  list-style: none;
  margin: 0;
  padding: 0;
}

.team li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.team li:last-child {
  border-bottom: 1px solid var(--border);
}

.team .name {
  display: block;
  color: var(--navy);
  font-weight: 600;
}

/* Contact */

.contact-list {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
}

.contact-list li {
  margin-bottom: 6px;
}

/* Legal pages */

.legal h2 {
  margin-top: 1.8em;
  font-size: 1.1875rem;
}

.legal h2:first-of-type {
  margin-top: 1.2em;
}

.legal address {
  font-style: normal;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  font-size: 0.9375rem;
}

.site-footer p {
  margin: 0;
}

.site-footer .sep {
  color: var(--orange-dark);
  padding: 0 8px;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.625rem;
  }

  .logo {
    height: 40px;
  }

  .site-header .wrap {
    min-height: 88px;
  }

  section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 88px;
    padding-bottom: 80px;
  }

  .points {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}
