/* SafeHandover — public marketing site
   Colours: navy #173A5E, teal #1F7A6D on white.
   No external fonts, no scripts, no tracking. */

:root {
  --navy: #173A5E;
  --navy-dark: #0F2A46;
  --teal: #1F7A6D;
  --teal-soft: #E7F1EE;
  --ink: #1D2F42;
  --muted: #4C5E70;
  --line: #DCE5EB;
  --soft: #F3F6F8;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

a { color: var(--navy); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover, a:focus { color: var(--teal); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

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

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 0 0 0.4rem 0.4rem;
  z-index: 10;
}
.skip-link:focus { top: 0; color: var(--white); }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.header-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.brand img { width: 2.5rem; height: 2.5rem; display: block; }
.brand:hover, .brand:focus { color: var(--navy); }
.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.25rem 0;
}
.site-nav a:hover, .site-nav a:focus { color: var(--teal); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; }

/* Layout */
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
main { display: block; }
section { padding: 2.5rem 0; }
section + section { border-top: 1px solid var(--line); }

h1, h2, h3 { color: var(--navy); line-height: 1.25; margin-top: 0; }
h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

/* Launching soon badge */
.badge {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal);
  border: 1px solid var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Hero */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 3rem; padding-bottom: 3rem; }
.hero h1 { max-width: 44rem; }
.hero p { max-width: 46rem; }
.hero p:last-child { margin-bottom: 0; }

/* Feature cards */
.cards {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
.cards li {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1.25rem;
  background: var(--white);
}
.cards h3 { margin-bottom: 0.35rem; }
.cards h3 a { text-decoration: none; }
.cards h3 a:hover, .cards h3 a:focus { text-decoration: underline; }
.cards p { margin-bottom: 0; color: var(--muted); }

/* Feature detail blocks */
.feature { margin-bottom: 2.25rem; }
.feature:last-child { margin-bottom: 0; }
.feature h2 { margin-bottom: 0.4rem; }
.feature p { max-width: 46rem; }
.shot {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--soft);
  padding: 1rem;
  margin-top: 1rem;
  max-width: 26rem;
}
.shot img { display: block; border-radius: 0.35rem; }
.shot figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.6rem; }

/* Trust / note boxes */
.note {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.1rem 1.25rem;
  max-width: 46rem;
}
.note p { margin-bottom: 0.5rem; }
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--navy); }

/* Check list */
.checks { list-style: none; margin: 1.25rem 0 0; padding: 0; max-width: 46rem; }
.checks li {
  padding: 0.55rem 0 0.55rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.85rem;
  width: 0.85rem;
  height: 0.5rem;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}

/* FAQ */
.faq-list { max-width: 46rem; }
.faq-list dt {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
  margin-top: 1.5rem;
}
.faq-list dt:first-child { margin-top: 0; }
.faq-list dd { margin: 0.35rem 0 0; }
.faq-list dd p { margin-bottom: 0; }

/* Contact block */
.contact-box {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1.5rem;
  max-width: 46rem;
  background: var(--soft);
}
.contact-box p:last-child { margin-bottom: 0; }
.mail-link {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 0.4rem;
  margin-top: 0.25rem;
}
.mail-link:hover, .mail-link:focus { background: var(--teal); color: var(--white); }

/* Placeholder pages */
.placeholder {
  border: 1px dashed var(--teal);
  border-radius: 0.6rem;
  padding: 1.5rem;
  background: var(--teal-soft);
  max-width: 46rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
  margin-top: 0;
}
.site-footer .wrap { padding-top: 2.25rem; padding-bottom: 2.25rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover, .site-footer a:focus { color: #BFE3DC; }
.footer-nav ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.footer-nav a { text-decoration: none; font-weight: 600; }
.footer-nav a:hover, .footer-nav a:focus { text-decoration: underline; }
.site-footer p { margin-bottom: 0.5rem; color: #D7E2EC; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer .fine { font-size: 0.9rem; }

/* Small screens */
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }
  .site-nav { margin-left: 0; }
  .hero .wrap { padding-top: 2rem; padding-bottom: 2rem; }
  section { padding: 2rem 0; }
}
