/* Famtect Protection — shared site styles */

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

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/source-serif-4-latin.woff2") format("woff2");
}

:root {
  --navy: #062248;
  --navy-deep: #041830;
  --navy-mid: #0a3368;
  --gold: #dcac58;
  --gold-dark: #b8892e;
  --gold-soft: #f3e6c8;
  --cream: #f7f4ee;
  --cream-2: #efebe3;
  --white: #ffffff;
  --ink: #162033;
  --muted: #5c6573;
  --line: #e3ddd2;
  --footer-muted: #b7c0cc;
  --focus: #dcac58;
  --max: 70rem;
  --header-h: 4.5rem;
  --radius: 0.75rem;
  --shadow: 0 8px 28px rgba(6, 34, 72, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: Outfit, "Segoe UI", Calibri, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy-mid);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.brand img {
  width: 2.35rem;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 0.22rem;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

#nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

.site-nav {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-nav a {
  display: block;
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.65rem 0.25rem;
}

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

#nav-toggle:checked ~ .site-nav {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem;
}

#nav-toggle:focus-visible + .nav-toggle {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.2rem 1.35rem;
  }

  .site-nav a {
    padding: 0.35rem 0;
  }
}

/* Hero */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.25rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: -4rem;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(220, 172, 88, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 699px) {
  .hero::after {
    display: none;
  }
}

.hero-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--white);
}

.hero .lead {
  margin: 0 0 1.6rem;
  color: #d5dbe4;
  font-size: 1.1rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
}

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

.btn-gold:hover {
  background: #e6bb6d;
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-note {
  margin: 0;
  font-size: 0.85rem;
  color: #9aa6b6;
}

/* Sections */

.section {
  padding: 3.25rem 0;
}

.section h2 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 0.85rem;
}

.section-intro {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 38rem;
}

.section .wrap > p {
  max-width: 42rem;
}

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

/* Coverage */

.coverage-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.15rem 1.2rem 1.2rem;
}

.coverage-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.coverage-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (min-width: 700px) {
  .coverage-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .coverage-list {
    grid-template-columns: repeat(6, 1fr);
  }

  .coverage-list li {
    grid-column: span 2;
  }

  .coverage-list li:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .coverage-list li:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* How it works */

.steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 0 3.5rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.15rem;
  background: var(--white);
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  color: var(--navy);
}

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

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .steps li {
    padding: 3.4rem 0 0;
  }

  .steps li::before {
    top: 0;
  }
}

/* Contact */

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 42rem;
}

.contact-rows {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.25rem;
}

@media (min-width: 560px) {
  .contact-rows {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-rows dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 0.2rem;
}

.contact-rows dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.15rem;
}

.contact-rows a {
  color: var(--navy);
  text-decoration: none;
}

.contact-rows a:hover {
  color: var(--navy-mid);
  text-decoration: underline;
}

.states {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: var(--footer-muted);
  padding: 2.25rem 0 2rem;
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  font-size: 0.9rem;
  margin: 0 0 0.35rem;
}

.footer-brand span {
  display: block;
  font-weight: 500;
  letter-spacing: 0.28em;
  font-size: 0.62rem;
  color: var(--gold);
  margin-top: 0.15rem;
}

.site-footer p {
  margin: 0 0 0.65rem;
  max-width: 46rem;
}

.legal-name {
  color: #d7dde6;
}

.disclosure {
  font-size: 0.78rem;
  color: #8f9aab;
}

.footer-nav {
  margin: 1rem 0;
}

.footer-nav a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
  color: #e6bb6d;
}

.copyright {
  margin-top: 1rem;
  color: #7d8896;
}

/* Placeholders the owner still needs to fill */

.ph {
  display: inline;
  background: rgba(220, 172, 88, 0.22);
  border-bottom: 1px dashed var(--gold-dark);
  padding: 0 0.15em;
  font-weight: 600;
  color: inherit;
}

/* Privacy page */

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.25rem 0 2rem;
}

.page-hero h1 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: #c5ced8;
}

.draft-banner {
  background: #f4e6c0;
  border: 1px solid #e0c57a;
  color: var(--navy);
  border-radius: 0.5rem;
  padding: 0.9rem 1rem;
  margin: 0 0 2rem;
  font-size: 0.95rem;
}

.draft-banner strong {
  display: block;
  margin-bottom: 0.15rem;
}

.policy {
  max-width: 44rem;
}

.policy h2 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2rem 0 0.6rem;
}

.policy h2:first-of-type {
  margin-top: 0.5rem;
}

.policy p,
.policy li {
  color: var(--ink);
}

.policy ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.25rem;
}

.policy li {
  margin: 0.25rem 0;
}

.policy address {
  font-style: normal;
  margin: 0.4rem 0 1rem;
  line-height: 1.55;
}

.effective {
  color: var(--muted);
  font-size: 0.95rem;
}

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