/* The font the app uses; scripts/site_assets.py makes these two files. */
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url("manrope-500.a704102411b9.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("manrope-800.07797c8a8c6c.woff2") format("woff2"); }

:root {
  --brand: #0f6b5c;
  --brand-deep: #0a4a3f;
  --brand-soft: #d3ede6;
  --ink: #171d1b;
  --muted: #4a5552;
  --paper: #faf9f6;
  --sheet: #ffffff;
  --line: #e3e1da;
  --flag: #b3261e;
  --flag-soft: #ffdad6;
  --stamp: #b26a00;
  --error: #b3261e;
  --on-brand: #ffffff;
}
* { box-sizing: border-box; }
/* Everything is measured in rem, so a large window gets a larger page, not wider margins. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: clamp(100%, 0.45vw + 9.5px, 125%); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 1.0625rem/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
h1, h2, h3, strong, dt { font-weight: 800; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--sheet); padding: 0.5rem 0.8rem; z-index: 2; }

.bar, footer, main { margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.bar, footer, main.wide { max-width: 80rem; }
main.narrow { max-width: 44rem; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 0.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.jump { display: none; gap: 1.75rem; font-size: 0.95rem; }
.jump a { color: var(--ink); text-decoration: none; }
.jump a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: 2rem 0 1rem; letter-spacing: -0.02em; }
h2 { font-size: 1.35rem; margin: 2.25rem 0 0.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
section { margin: 1.5rem 0; }
.hint { color: var(--muted); font-size: 0.9rem; }

.button {
  display: inline-block; padding: 0.9rem 1.5rem;
  background: var(--brand); color: var(--on-brand); border: 0; border-radius: 16px;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
}
.button:hover, .button:focus-visible { filter: brightness(1.12); }
.card .button { margin-top: 1rem; }

/* The plain pages: deleting an account, the old waiting-list link. */
.steps { padding-left: 1.3rem; }
.steps li { margin: 0.6rem 0; }
.plain { padding-left: 1.2rem; }
.plain li { margin: 0.35rem 0; }
.card { background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; padding: 0.5rem 1.25rem 1.5rem; margin: 2.5rem 0; }
.card h1 { font-size: 1.8rem; }

/* The start page. */
.wide section { margin: 5rem 0; }
.wide h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 1rem; max-width: 22ch; text-wrap: balance; }
.wide h3 { font-size: 1.1rem; margin: 0; }
.intro { max-width: 60ch; color: var(--muted); margin: 0 0 2rem; }

.wide .hero { display: grid; gap: 3rem; align-items: center; margin: 2rem 0 4rem; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); line-height: 1.03; letter-spacing: -0.035em; margin: 0 0 1.25rem; text-wrap: balance; }
.hero .lead { max-width: 34rem; margin: 0 0 1.75rem; }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.1rem; margin: 0; }
.soon { display: inline-block; padding: 0.85rem 1.2rem; border-radius: 16px; background: var(--brand-soft); color: var(--brand-deep); font-weight: 800; }

/* A report as it is handed over: the one loud thing on the page. */
.sheet {
  position: relative; margin: 0 auto; width: 100%; max-width: 27rem;
  background: var(--sheet); border-radius: 6px; padding: 1.5rem 1.5rem 1.25rem;
  transform: rotate(1.4deg);
  box-shadow: 0 1px 1px rgb(23 29 27 / 0.08), 0 18px 40px -18px rgb(10 74 63 / 0.45);
}
.sheet::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 6px;
  background: var(--sheet); border: 1px solid var(--line); transform: rotate(-3.2deg);
}
.sheet figcaption { position: absolute; left: 0; right: 0; bottom: -2.4rem; text-align: center; font-size: 0.85rem; color: var(--muted); transform: rotate(-1.4deg); }
.sheet p { margin: 0; }
.sheet-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.sheet-object { font-weight: 800; margin-top: 0.15rem; }
.sheet-object span { display: block; font-weight: 500; font-size: 0.9rem; color: var(--muted); }
.sheet ul { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--line); }
.sheet li { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 0.75rem; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; line-height: 1.35; }
.sheet .mark { font-size: 0.8rem; font-weight: 800; padding: 0.2rem 0.6rem; border-radius: 99px; background: var(--brand-soft); color: var(--brand-deep); white-space: nowrap; }
.sheet .flag .mark { background: var(--flag-soft); color: var(--flag); }
.sheet .remark { grid-column: 1 / -1; font-size: 0.88rem; color: var(--flag); }
.verdict { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.verdict span { color: var(--muted); font-size: 0.9rem; }
.verdict strong {
  font-size: 1.35rem; letter-spacing: 0.01em; color: var(--stamp);
  border: 3px solid var(--stamp); border-radius: 8px; padding: 0.1rem 0.8rem;
  transform: rotate(-4deg);
}
.sheet-note { font-size: 0.88rem; color: var(--muted); padding-top: 0.6rem; }

.flow-body { display: grid; gap: 3rem; }
.flow .steps { list-style: none; padding: 0; margin: 0; counter-reset: step; max-width: 36rem; }
.flow .steps li { counter-increment: step; display: grid; grid-template-columns: 3.25rem 1fr; margin: 0; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.flow .steps li::before { content: counter(step); grid-row: span 2; font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--brand); }
.flow .steps p { margin: 0.3rem 0 0; color: var(--muted); grid-column: 2; }
.phone { display: block; width: 100%; max-width: 17rem; height: auto; border: 6px solid var(--ink); border-radius: 28px; background: var(--paper); }
.phones { display: flex; justify-content: center; align-items: flex-start; }
.phones .phone { width: 52%; }
.phones .phone + .phone { margin: 3.5rem 0 0 -2.5rem; box-shadow: -14px 14px 30px -18px rgb(23 29 27 / 0.5); }

/* Columns are counted, not left to chance: no row ends with a lone entry. */
.objects, .services { display: grid; gap: 0 2.5rem; margin: 0; grid-template-columns: 1fr; }
.objects div, .services div { padding: 1rem 0 1.1rem; border-top: 1px solid var(--line); }
.objects dt { font-size: 1.1rem; }
.objects dd, .services dd { margin: 0.2rem 0 0; color: var(--muted); }
.services dt::before { content: ""; display: inline-block; width: 0.65rem; height: 0.65rem; margin-right: 0.55rem; border-radius: 50%; border: 0.2rem solid var(--brand); }

/* Across the whole window, whatever the page's width. */
.wide .band {
  display: grid; gap: 2.5rem; align-items: center;
  background: var(--brand-deep); color: #eef7f4; padding: 4rem 0;
  box-shadow: 0 0 0 100vmax var(--brand-deep); clip-path: inset(0 -100vmax);
}
.band h2 { color: #fff; }
.band p { max-width: 36rem; color: #cfe6df; }
.band ul { list-style: none; padding: 0; margin: 1.5rem 0 0; max-width: 36rem; }
.band li { padding: 0.7rem 0; border-top: 1px solid rgb(255 255 255 / 0.18); }
.band .phone { margin: 0 auto; border-color: #06302a; }
.band :focus-visible { outline-color: #fff; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.75rem; font-size: 1.5rem; font-weight: 500; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.25rem; color: var(--muted); max-width: 62ch; }

.wide .closing { text-align: center; margin: 6rem 0 5rem; }
.closing h2 { max-width: none; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 0.5rem; }
.closing p { color: var(--muted); }
.closing .get { justify-content: center; margin-top: 1.5rem; }

footer { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.25rem; padding-bottom: 2rem; color: var(--muted); font-size: 0.95rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }

@media (min-width: 56rem) {
  .jump { display: flex; }
  .wide .hero { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; margin: 4rem 0 7rem; }
  .flow-body { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .wide .band { grid-template-columns: 1.4fr 0.6fr; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .objects, .services.trust { grid-template-columns: repeat(4, 1fr); }
  .wide .faq { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 0 4rem; align-items: start; }
  .faq h2 { position: sticky; top: 2rem; }
}
@media (min-width: 34rem) and (max-width: 55.99rem) {
  .objects, .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 30rem) {
  .sheet { transform: none; padding: 1.25rem 1.1rem 1rem; }
  .sheet figcaption { transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e6ebe9; --muted: #a9b5b1; --paper: #111614; --sheet: #191f1d; --line: #27302d;
    --brand: #7fd6c2; --brand-soft: #0b4f44; --brand-deep: #0b3a32; --on-brand: #00382e;
    --flag: #ffb4ab; --flag-soft: #5c1a15; --stamp: #f2b755;
  }
  .sheet .mark, .soon { color: #bdefe2; }
  .phone { border-color: #323b38; }
  .brand img { filter: brightness(1.9) saturate(0.6); }
}
