/* Self-hosted so no third party sees visitors (see fonts/README.md). */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/newsreader-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/source-sans-3-latin.woff2) format("woff2");
}

:root {
  --cream: #fbf9f4;
  --warm: #f2eade;
  --ink: #111727;
  --muted: #6c6660;
  --navy: #223868;
  --navy-tint: #eaeff8;
  --on-navy: #d6dce8;
  --line: #e4dfd8;
  --red: #e5362f;
  --serif: "Newsreader", Georgia, serif;
  --display: "Instrument Serif", "Newsreader", Georgia, serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }
a:hover { color: var(--ink); }
.wrap { max-width: 960px; width: 100%; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* Nav */
.nav { padding-top: 24px; padding-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.wordmark { font: 400 24px/1 var(--display); letter-spacing: -0.01em; }
.pill {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); background: var(--navy-tint); padding: 3px 8px; border-radius: 6px;
}

/* Buttons */
.button {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 12px;
  background: var(--navy); color: var(--cream); text-decoration: none;
  font-size: 17px; font-weight: 600;
}
.button:hover { color: var(--cream); }
.button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.button-light { background: var(--cream); color: var(--navy); }
.button-light:hover { color: var(--navy); }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.caption { font-size: 14px; color: var(--muted); }

/* Viewfinder corners */
.framed { position: relative; }
.corner { position: absolute; width: 48px; height: 48px; border: 0 solid var(--navy); }
.corner.tl { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; border-top-left-radius: 12px; }
.corner.tr { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; border-top-right-radius: 12px; }
.corner.bl { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; border-bottom-left-radius: 12px; }
.corner.br { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; border-bottom-right-radius: 12px; }
.framed-sm .corner { width: 28px; height: 28px; border-width: 0; border-radius: 0; }
.framed-sm .corner.tl { border-left-width: 2.5px; border-top-width: 2.5px; border-top-left-radius: 8px; }
.framed-sm .corner.tr { border-right-width: 2.5px; border-top-width: 2.5px; border-top-right-radius: 8px; }
.framed-sm .corner.bl { border-left-width: 2.5px; border-bottom-width: 2.5px; border-bottom-left-radius: 8px; }
.framed-sm .corner.br { border-right-width: 2.5px; border-bottom-width: 2.5px; border-bottom-right-radius: 8px; }

/* Hand-drawn red underline */
.marked { position: relative; white-space: nowrap; color: var(--ink); }
.marked svg { position: absolute; left: 0; bottom: -6px; width: 100%; height: 10px; }

/* Home: hero */
.hero { padding-top: 72px; padding-bottom: 88px; }
.hero-frame { padding: 72px clamp(28px, 6vw, 80px); display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.03; letter-spacing: -0.025em; }
.hero-body { max-width: 720px; display: flex; flex-direction: column; gap: 14px; font-size: 19px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.hero-body p { margin: 0; }
.nots { list-style: none; margin: 0; padding: 0; max-width: 360px; border-bottom: 1px solid var(--line); }
.nots li {
  display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line);
  font: 400 24px/1.2 var(--display); letter-spacing: -0.005em; color: var(--ink);
}
.nots svg { flex: none; overflow: visible; }

/* Home: private by design */
.design { padding-bottom: 96px; display: flex; flex-direction: column; align-items: center; }
.section-title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.02em; text-align: center; }
.steps { list-style: none; margin: 38px 0 0; padding: 0; width: 100%; max-width: 560px; border-bottom: 1px solid var(--line); }
.steps li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; row-gap: 4px;
  padding: 20px 0; border-top: 1px solid var(--line); align-items: start;
}
.tile { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: var(--navy-tint); display: flex; align-items: center; justify-content: center; }
.step-title { margin: 0; font: 400 26px/1.1 var(--serif); color: var(--ink); }
.step-text { grid-column: 2; margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.step-text .marked svg { left: -2px; bottom: -5px; width: calc(100% + 4px); height: 8px; overflow: visible; }

/* Home: trust band */
.trust { background: var(--warm); }
.trust .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; justify-content: center; text-align: center; }
.trust-frame { padding: 48px clamp(24px, 5vw, 64px); max-width: 780px; }
.trust p { margin: 0; font: 400 clamp(30px, 4.4vw, 50px)/1.12 var(--serif); letter-spacing: -0.02em; color: var(--muted); text-wrap: balance; }
.trust p + p { margin-top: 18px; color: var(--ink); }

/* Home: CTA band */
.band { background: var(--navy); color: var(--cream); }
.band .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band-text h2 { text-align: left; }
.band-text { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.band p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--on-navy); }

/* Footer */
.footer { padding-top: 28px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
main { flex: 1 0 auto; }
