/* Home Story public pages: the app's look (Satoshi, navy, ivory, emerald, muted terracotta, 6 px corners). Bright only. */
@font-face { font-family: Satoshi; src: url(/fonts/satoshi-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/fonts/satoshi-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/fonts/satoshi-900.woff2) format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --navy: #183B56; --ivory: #F5F1E9; --emerald: #00845A; --terracotta: #B65F43;
  --ink: #111111; --line: #e2dccf; --tint: #FDF1EF; --white: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--navy);
  font-family: Satoshi, -apple-system, system-ui, sans-serif; font-weight: 500; font-size: 17px; line-height: 1.5;
}
a { color: var(--emerald); font-weight: 700; }
a:focus-visible { outline: 3px solid var(--emerald); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 19px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav { display: flex; gap: 6px; }
.nav a { text-decoration: none; color: var(--navy); font-size: 15px; padding: 7px 12px; border-radius: 6px; border: 1.5px solid var(--line); background: var(--white); }
.nav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

h1 { font-weight: 900; font-size: 40px; line-height: 1.08; letter-spacing: -0.5px; color: var(--ink); margin: 36px 0 8px; }
.sub { font-size: 18px; opacity: .8; margin: 0 0 28px; }
h2 { font-weight: 900; font-size: 21px; color: var(--ink); margin: 0 0 8px; }

.card { background: var(--white); border: 1.5px solid var(--line); border-radius: 6px; padding: 20px; margin: 0 0 12px; }
.card p { margin: 0 0 8px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 18px; margin: 0 0 6px; }
.card li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 3px; background: var(--emerald); }
.card li:last-child { margin-bottom: 0; }
.card ul + p { margin-top: 12px; }

.safe { display: flex; gap: 10px; align-items: flex-start; background: #E3EFE8; border-radius: 6px; padding: 14px 16px; margin: 0 0 24px; }
.safe svg { flex: none; margin-top: 3px; }

.mail { display: block; text-align: center; text-decoration: none; background: var(--ink); color: var(--ivory); border-radius: 6px; padding: 15px 16px; font-size: 18px; margin: 4px 0 8px; }
.small { font-size: 14px; opacity: .75; }
.foot { margin-top: 32px; padding-top: 16px; border-top: 1.5px solid var(--line); font-size: 14px; opacity: .8; }

details { background: var(--white); border: 1.5px solid var(--line); border-radius: 6px; margin: 0 0 10px; }
summary { cursor: pointer; list-style: none; padding: 16px 44px 16px 18px; font-weight: 700; color: var(--ink); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 24px; font-weight: 500; color: var(--emerald); }
details[open] summary::after { content: "–"; }
details .a { padding: 0 18px 16px; }
details .a p { margin: 0 0 8px; }

@media (max-width: 480px) {
  h1 { font-size: 32px; margin-top: 28px; }
  .card { padding: 16px; }
}
