/*
  Short landing page for a consented family scam pentest.

  Fraunces for headlines. Atkinson Hyperlegible for body text,
  including for parents who may read this themselves. Both faces
  are self-hosted (see fonts/OFL.txt). The page loads no scripts
  and makes no third-party requests.
*/

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/fraunces-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f3efe6;
  --card: #faf7f2;
  --ink: #221e1a;
  --ink-soft: #3f3933;
  --muted: #5c564e;
  --line: #d4ccbe;
  --brick: #8f3d32;
  --brick-deep: #732f27;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  --wrap: min(1080px, calc(100% - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  border-top: 6px solid var(--brick);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

::selection {
  background: #e4c6bf;
  color: var(--ink);
}

:focus {
  outline: 2px solid transparent;
  outline-offset: 3px;
}

:focus-visible {
  outline-color: #243f34;
}

.skip {
  position: absolute;
  left: 16px;
  top: 0;
  transform: translateY(-150%);
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  padding: 8px 12px;
  z-index: 2;
}

.skip:focus {
  transform: none;
  top: 12px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
}

.kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick);
}

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

.bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-block: 18px 12px;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
  color: var(--ink);
}

.wordmark span {
  color: var(--brick);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--brick);
}

.hero {
  padding-block: 32px 40px;
}

.hero-grid {
  display: grid;
  gap: 28px;
}

h1 {
  font-size: clamp(2.15rem, 1.15rem + 3.8vw, 3.6rem);
  max-width: 12em;
  margin-bottom: 14px;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--brick);
  padding-right: 0.08em;
}

.lede {
  color: var(--ink-soft);
  font-size: 1.2rem;
  max-width: 28rem;
  margin-bottom: 0.75rem;
}

.pitch {
  color: var(--ink);
  font-weight: 700;
  max-width: 32rem;
  margin-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin: 22px 0 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--brick);
  color: var(--card);
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 150ms ease;
}

.button:hover {
  background: var(--brick-deep);
}

.fine {
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.fine a {
  text-underline-offset: 0.15em;
}

.hero-photo {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 20%;
}

.section {
  padding-block: 36px 56px;
  border-top: 1px solid var(--line);
}

h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.2rem);
  margin-bottom: 8px;
}

.steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.step-index {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--brick);
}

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

.footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px 8px;
  color: var(--muted);
  font-size: 0.98rem;
}

.footer a {
  text-underline-offset: 0.18em;
}

.footer a:hover {
  color: var(--ink);
}

.credit {
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 0.85rem;
}

.missing {
  padding-block: 64px 96px;
  max-width: 36rem;
}

@media (min-width: 720px) {
  :root {
    --wrap: min(1080px, calc(100% - 64px));
  }

  .bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 20px;
  }

  .nav a {
    min-height: 0;
    padding-block: 6px;
  }

  .hero {
    padding-block: 44px 28px;
  }

  .section {
    padding-block: 40px 72px;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 56px;
    align-items: center;
  }

  .hero-photo img {
    min-height: 420px;
  }
}

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

  .button {
    transition: none;
  }
}

@media print {
  body {
    border-top: none;
    background: #fff;
    color: #000;
  }

  .skip,
  .nav,
  .actions {
    display: none;
  }

  a {
    text-decoration: underline;
  }
}
