/* Continental Property: clean static site (same pattern as Tech LifeCycles) */
:root {
  --navy: #1B1F6B;
  --peri: #6A80B9;
  --peri-dark: #4F64A0;
  --peri-soft: #EEF1F9;
  --ink: #1B1F3A;
  --muted: #555B70;
  --line: #E3E6F0;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --radius: 12px;
  --max: 1000px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: Futura, "Century Gothic", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  /* Sticky header height, measured in Chromium (57px above 640px wide, 77px at 320-390px wide;
     51px at exactly 640 where the nav fits on one row). Anchor jumps land this far down plus a gap. */
  --header-h: 57px;
  --anchor-gap: 8px;
}
@media (max-width: 640px) { :root { --header-h: 77px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--peri-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); font-weight: 500; letter-spacing: 0.01em; }

/* Skip link: hidden until focused by keyboard */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  color: #fff;
  outline: 3px solid var(--peri);
  outline-offset: 2px;
}
#main,
.service,
.prose h2[id] { scroll-margin-top: calc(var(--header-h) + var(--anchor-gap)); }
:focus-visible { outline: 3px solid var(--peri); outline-offset: 2px; }

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

.tbc {
  background: #FFF4D6;
  color: #5A4300;
  border: 1px dashed #D9B44A;
  border-radius: 4px;
  padding: 0 0.3em;
  font-size: 0.95em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}
/* Text wordmark echoing the boxed logo */
.brand {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--peri-dark);
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  display: inline-block;
  margin-left: 0.3em;
  padding: 0.05em 0.4em;
  background: var(--peri-dark);
  color: #fff;
}
.brand:hover { color: var(--navy); }
.nav { display: flex; gap: 0.4rem 1.1rem; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--peri); }
/* Small screens: nav links keep at least 44px tap targets (WCAG 2.5.5 comfortable size);
   the header is kept compact: tight padding, no gap between the wordmark row and the nav row. */
@media (max-width: 640px) {
  .site-header .bar { padding: 0.4rem 0 0; row-gap: 0; }
  .brand { line-height: 1.4; }
  .nav { gap: 0 0.25rem; margin-left: -0.5rem; }
  .nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0 0.5rem;
  }
}

.hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.hero-logo { width: min(100%, 520px); margin: 0 auto 1.25rem; }
.hero .eyebrow { margin-bottom: 0.5rem; }
.hero h1 {
  margin: 0 auto 0.75rem;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  line-height: 1.25;
  max-width: 34rem;
}
.hero .lede {
  margin: 0 auto 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 40rem;
}
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--peri-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--peri); }
.btn-ghost:hover { background: var(--peri-soft); color: var(--navy); }

.section { padding: 2rem 0; }
.section-alt { background: var(--peri-soft); }
.section h2 { margin: 0 0 0.4rem; font-size: 1.5rem; }
.section .section-intro { margin: 0 0 1.25rem; color: var(--muted); max-width: 60ch; }

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
/* Desktop: 3 cards on one row so none sits alone */
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--peri);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
}
.card h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.card p { margin: 0 0 0.6rem; color: var(--muted); }
.card a { font-weight: 600; }

.skyline { margin: 0 auto; width: min(100%, 720px); opacity: 0.9; }
.skyline-band { padding: 1.5rem 0 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--peri-dark);
  margin-bottom: 0.4rem;
}

.page { padding: 2.25rem 0 3rem; }
.page h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.page .intro { color: var(--muted); max-width: 60ch; margin: 0 0 1.5rem; font-size: 1.05rem; }
.prose { max-width: 66ch; overflow-wrap: break-word; }
.prose h2 { margin-top: 2rem; font-size: 1.3rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.3rem; }
.service { padding: 1.25rem 0 0.5rem; border-top: 1px solid var(--line); margin-top: 1.5rem; }
.service:first-of-type { border-top: 0; margin-top: 0; }
.note {
  background: var(--peri-soft);
  border-left: 4px solid var(--peri);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}
.facts { margin: 0; }
.facts dt { font-weight: 600; color: var(--navy); margin-top: 0.8rem; }
.facts dd { margin: 0.1rem 0 0; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: #D9DEF0;
  padding: 1.5rem 0 2rem;
  font-size: 0.9rem;
}
.site-footer a { color: #fff; }
.site-footer p { margin: 0.25rem 0; }
.site-footer strong { color: #fff; }
.site-footer .legal { font-size: 0.8rem; margin-top: 0.7rem; color: #C3C9E3; }
.site-footer .tbc { color: #5A4300; }
.center { text-align: center; }
.center .section-intro { margin-inline: auto; }
.prose .actions { justify-content: flex-start; }
