/* Fullback Software website
   Brand: navy #0E1A2B, chalk #F7F5EF, bib orange #FF6B1A (logo dot only, never text).
   Fonts: Poppins, self-hosted (assets/fonts, SIL Open Font License). */

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0E1A2B;
  --navy-hover: #22334B;
  --chalk: #F7F5EF;
  --white: #FFFFFF;
  --muted: #465366;
  --line: #DEDCD4;
  --on-navy: #F7F5EF;
  --on-navy-muted: #C9CED6;
  --on-navy-line: rgba(247, 245, 239, 0.18);
  --radius: 16px;
  --maxw: 1080px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--chalk);
  color: var(--navy);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0;
}

p {
  margin: 0 0 1em;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--navy);
  color: var(--on-navy);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
}

.skip-link:focus {
  top: 16px;
}

/* Header */

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 32px;
  padding-block: 20px;
}

.brand {
  display: block;
  padding: 4px 0;
}

.brand img {
  width: 190px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 6px 0;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--navy);
}

/* Navy band */

.band {
  background: var(--navy);
  color: var(--on-navy);
}

.band a {
  color: var(--on-navy);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 56px;
  padding-block: 80px;
}

.hero-short .wrap {
  display: block;
  padding-block: 64px 56px;
}

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

.lead {
  font-size: 1.1875rem;
  color: var(--on-navy-muted);
  max-width: 36em;
}

.tagline {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.8em;
}

.kicker {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-art img {
  width: 170px;
}

.hero-art .pitch {
  width: 250px;
}

/* Buttons and labels */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
}

.btn-light {
  background: var(--chalk);
  color: var(--navy);
}

.band .btn-light {
  color: var(--navy);
}

.btn-light:hover {
  background: var(--white);
}

.btn-outline-light {
  border-color: rgba(247, 245, 239, 0.7);
  color: var(--on-navy);
}

.btn-outline-light:hover {
  border-color: var(--on-navy);
  background: rgba(247, 245, 239, 0.08);
}

.btn-navy {
  background: var(--navy);
  color: var(--on-navy);
}

.btn-navy:hover {
  background: var(--navy-hover);
}

.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: rgba(14, 26, 43, 0.06);
}

.label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Sections */

.section {
  padding-block: 72px;
}

.section-white {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40em;
  margin-bottom: 36px;
}

.section-head p {
  color: var(--muted);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

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

.muted {
  color: var(--muted);
}

/* Home: product card and logo story */

.product {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.product .pitch {
  width: 170px;
}

.product h2 {
  margin-bottom: 0.35em;
}

.story {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  max-width: 820px;
}

.story img {
  width: 76px;
}

.story p {
  font-size: 1.125rem;
}

/* Match Manager features */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.features li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px 24px;
}

.features h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  margin-bottom: 0.45em;
}

.features h3::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy);
}

.features p {
  margin: 0;
  color: var(--muted);
}

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

.pair h2 {
  font-size: 1.5rem;
}

.pair p {
  color: var(--muted);
  margin: 0;
}

.cta {
  text-align: center;
  padding: 48px 32px;
}

.cta p {
  max-width: 34em;
  margin-inline: auto;
}

.cta .actions {
  justify-content: center;
}

/* Support */

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

.contact h3 {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.contact .big {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact address {
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.55;
  margin-bottom: 1em;
}

.checklist {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.checklist li + li {
  margin-top: 6px;
}

.faq {
  max-width: 820px;
}

.faq h2 {
  margin-bottom: 24px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 24px;
}

.faq details + details {
  margin-top: 12px;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  color: var(--muted);
  margin: 0 0 20px;
}

/* Privacy policy and other long text */

.prose {
  max-width: 44rem;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.2em;
}

.prose h3 {
  font-weight: 700;
  margin-top: 1.6em;
  margin-bottom: 0.35em;
}

.prose ul {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.prose li + li {
  margin-top: 6px;
}

.summary {
  margin-bottom: 8px;
}

.summary h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.summary ul {
  margin-bottom: 0;
}

.updated {
  color: var(--on-navy-muted);
  margin: 0;
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: var(--on-navy-muted);
  font-size: 0.9375rem;
}

.site-footer a {
  color: var(--on-navy);
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 48px;
  padding-block: 56px 40px;
}

.site-footer .brand-foot img {
  width: 170px;
  margin-bottom: 16px;
}

.site-footer .brand-foot p {
  margin: 0;
  max-width: 24em;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li + li {
  margin-top: 8px;
}

.legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--on-navy-line);
  padding-top: 24px;
  font-size: 0.8125rem;
}

.legal p {
  margin: 0 0 6px;
}

/* Small screens */

@media (max-width: 760px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 56px;
  }

  .hero-art {
    display: none;
  }

  .hero-short .wrap {
    padding-block: 48px 40px;
  }

  .section {
    padding-block: 52px;
  }

  .product,
  .story {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .product .pitch {
    width: 120px;
  }

  .story img {
    width: 56px;
  }

  .features,
  .pair,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .pair {
    gap: 32px;
  }

  .card {
    padding: 26px 22px;
  }

  .site-footer .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  .brand img {
    width: 160px;
  }

  .site-header .wrap {
    padding-block: 16px;
    gap: 10px 24px;
  }

  .site-nav ul {
    gap: 2px 22px;
  }

  .lead {
    font-size: 1.0625rem;
  }

  .faq details {
    padding: 0 18px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .site-nav a {
    transition: background-color 0.15s ease, border-color 0.15s ease;
  }
}
