/* Larvatus website. Colors are the Stalwart dashboard palette used by the browser extension (its style.css),
   and the layout follows the store posters: a red band, tight headlines, the real interface and pill callouts. */
:root {
  color-scheme: light dark;
  --page: #f5f2ec; --surface: #fffefa; --subtle: #efeae0; --text: #15140e; --muted: #67645e;
  --line: #e6e2db; --accent: #dd2b55; --accent-hover: #c4214a; --ink: #b81f45; --soft: #fce7e9; --soft-line: #f5c8d3;
  --off: #d9d4ca; --off-text: #a8a29a; --shadow: 60 20 30;
  --wrap: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #131313; --surface: #1f1f21; --subtle: #2a292e; --text: #f8f8fa; --muted: #b8b7bc;
    --line: #2c2b30; --ink: #f4839c; --soft: #2f1921; --soft-line: #4a2230;
    --off: #3a393f; --off-text: #8a898e; --shadow: 0 0 0;
  }
}
/* Montserrat, served from here. The build copies the Latin subset of each weight and style in use from
   @fontsource/montserrat into assets/fonts/ (see eleventy.config.js); every character on the site is in that subset. */
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/montserrat-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/montserrat-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/montserrat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/montserrat-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/montserrat-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: italic; font-weight: 900; font-display: swap;
  src: url(fonts/montserrat-latin-900-italic.woff2) format("woff2"); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--text); font: 17px/1.55 Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -.012em; line-height: 1.25; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sub { margin-top: 20px; max-width: 34em; font-size: 1.15rem; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--soft-line);
  color: var(--ink); font-size: .8rem; font-weight: 600; }
section { padding: 96px 0; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; background: var(--accent); color: #fff;
  font-weight: 600; text-decoration: none; transition: background .15s, transform .15s; }
.button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.button.light { background: #fff; color: var(--accent-hover); box-shadow: 0 10px 28px rgb(80 0 20 / .28); }
.button.light:hover { background: #fff3f5; }
.button.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .55); }
.button.ghost:hover { background: rgb(255 255 255 / .12); }

/* The red band: navigation and hero on the home page, the title on the privacy page. */
.band { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 18% 12%, #e43a62, var(--accent) 45%, #c4214a); }
.band a { color: inherit; }
.band .sub { color: rgb(255 255 255 / .92); }
.band :focus-visible { outline-color: #fff; }
.watermark { position: absolute; pointer-events: none; color: rgb(255 255 255 / .07); }
.nav { position: relative; display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.lockup { display: flex; align-items: center; gap: 11px; margin-right: auto; font-size: 1.35rem; font-weight: 700; letter-spacing: -.012em; text-decoration: none; }
.lockup svg { width: 36px; height: 36px; }
.nav a:not(.lockup):not(.button) { font-size: .95rem; font-weight: 500; text-decoration: none; opacity: .92; }
.nav a:not(.lockup):not(.button):hover { opacity: 1; text-decoration: underline; }
.nav .button { padding: 9px 16px; border-radius: 10px; font-size: .95rem; }
.nav a { white-space: nowrap; }
@media (max-width: 860px) { .nav .hide { display: none; } }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 130px; align-items: center; padding-top: 56px; }
@media (min-width: 1181px) { .hero { padding-right: 150px; } }
.hero .copy { padding-bottom: 96px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .note { margin-top: 22px; font-size: .92rem; color: rgb(255 255 255 / .82); }
.hero .shot { position: relative; align-self: end; }
.hero .shot img { border-radius: 16px 16px 0 0; box-shadow: 0 36px 90px rgb(80 0 20 / .45), 0 4px 14px rgb(0 0 0 / .15); }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 32px; }
  .hero .copy { padding-bottom: 48px; }
  .hero .shot { max-width: 440px; margin: 0 auto; }
}

/* Pill callouts, as on the posters. Placed with left/top percentages of the picture they point at. */
.callout { position: absolute; z-index: 2; width: 0; height: 0; }
.callout span { position: absolute; top: 0; padding: 9px 16px; white-space: nowrap; border-radius: 999px; background: #fffefa; color: #b81f45;
  font-size: .9rem; font-weight: 600; line-height: 1.3; transform: translateY(-50%); box-shadow: 0 10px 28px rgb(60 10 25 / .25), 0 1px 3px rgb(0 0 0 / .12); }
.callout span::after { content: ""; position: absolute; top: calc(50% - 6px); width: 12px; height: 12px; background: inherit; transform: rotate(45deg); }
.callout.left span { right: 12px; }
.callout.left span::after { right: -5px; }
.callout.right span { left: 12px; }
.callout.right span::after { left: -5px; }
.callout.dark span { background: #15140e; color: #fffefa; }
.callout.two span { border-radius: 18px; }
@media (max-width: 1180px) { .hero .callout.right { display: none; } }
@media (max-width: 960px) { .callout { display: none; } }

/* Four facts under the hero */
.facts { padding: 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.facts li { padding: 30px 24px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts svg, .steps svg, .node svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.facts strong { display: block; margin-top: 12px; letter-spacing: -.008em; }
.facts span { display: block; margin-top: 2px; font-size: .92rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 860px) {
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li { padding: 24px 0 24px 20px; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; padding-right: 20px; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Three steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; padding: 0; list-style: none; counter-reset: step; text-align: left; }
.steps li { position: relative; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 24px; right: 28px; font-size: 2.6rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--soft-line); }
.steps h3 { margin-top: 18px; }
.steps p, .row p, .card p, .faq p, .need p { color: var(--muted); }
.steps p { margin-top: 8px; font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows: copy beside a picture */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.row + .row { margin-top: 120px; }
.row.flip .art { order: -1; }
.row .sub { font-size: 1.08rem; }
.row ul { margin-top: 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.row li { position: relative; padding-left: 30px; color: var(--muted); }
.row li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--soft) url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.2 9.3l2.5 2.5 5-5.4' fill='none' stroke='%23dd2b55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.row li b { color: var(--text); font-weight: 600; }
.art { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 420px; }
.art::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: radial-gradient(closest-side, rgb(221 43 85 / .16), transparent); }
.ui { border-radius: 14px; box-shadow: 0 32px 80px rgb(var(--shadow) / .22), 0 4px 14px rgb(0 0 0 / .08); }
.window { position: relative; width: 100%; max-width: 470px; overflow: hidden; border-radius: 14px; background: #eef2f0;
  box-shadow: 0 32px 80px rgb(var(--shadow) / .22), 0 4px 14px rgb(0 0 0 / .08); }
.window .bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; background: #fffefa; border-bottom: 1px solid #e6e2db; }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: #dcd7ce; }
.window .bar span { flex: 1; max-width: 300px; margin-left: 16px; padding: 4px 13px; border-radius: 999px; background: #efeae0; color: #67645e; font-size: .8rem; }
.window .page { padding: 26px 26px 0; }
.window .page img { border-radius: 12px 12px 0 0; }
.panel { position: absolute; z-index: -1; width: 72%; height: 100%; border-radius: 48px; background: linear-gradient(160deg, #e43a62, #c4214a); transform: translate(9%, 3%) rotate(7deg); }
main { overflow-x: clip; }
.popup { position: relative; width: 100%; max-width: 400px; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 28px; }
.phone { flex: 0 1 250px; min-width: 0; padding: 9px; border-radius: 42px; background: #0d0d0e; box-shadow: 0 32px 80px rgb(var(--shadow) / .28), 0 0 0 1px rgb(255 255 255 / .08); }
.phone img { width: 100%; border-radius: 34px; }
.phone.android { flex-basis: 232px; border-radius: 30px; margin-bottom: 36px; }
.phone.android img { border-radius: 22px; }
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .row { grid-template-columns: 1fr; gap: 48px; }
  .row + .row { margin-top: 88px; }
  .row.flip .art { order: 0; }
  .art { min-height: 0; }
}

/* Sites -> masked addresses -> your server -> your inbox */
.private { background: var(--surface); border-block: 1px solid var(--line); }
.flow { display: grid; grid-template-columns: minmax(0, 1.5fr) auto minmax(0, .8fr) auto minmax(0, .8fr); gap: 18px; align-items: center; margin-top: 56px; }
.flow .chips { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-right: 34px; }
.chip { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: var(--page); border: 1px solid var(--line); text-align: left; }
.chip b { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; font-size: .95rem; }
.chip div { min-width: 0; margin-right: auto; }
.chip strong { display: block; font-size: .95rem; letter-spacing: -.008em; }
.chip span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: .9rem; font-weight: 600; }
.toggle { position: relative; flex: none; width: 36px; height: 21px; border-radius: 12px; background: var(--accent); }
.toggle::after { content: ""; position: absolute; top: 3px; left: 18px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .2); }
.chip.off { border-style: dashed; }
.chip.off span, .chip.off strong { color: var(--off-text); }
.chip.off b { filter: grayscale(1); opacity: .55; }
.chip.off .toggle { background: var(--off); }
.chip.off .toggle::after { left: 3px; }
/* Each address has its own line to the server. The two that are on are the top and bottom edges of one box drawn
   behind the chips, so only the part past the chips shows; its right edge ends where the arrow starts (the 18px gap).
   A chip's middle is (100% - 28px) / 6 down the column: three equal chips and two 14px gaps. The address that is off
   stops short at a cross. */
.flow .chips { isolation: isolate; }
.flow .chips::after { content: ""; position: absolute; z-index: -1; left: 50%; right: -18px; top: calc((100% - 28px) / 6 - 1.25px);
  bottom: calc((100% - 28px) / 6 - 1.25px); border: 2.5px solid var(--accent); border-left: 0; border-radius: 0 16px 16px 0; pointer-events: none; }
.chip { position: relative; }
.blocked { position: absolute; left: 100%; top: 50%; width: 28px; height: 12px; margin: -6px 0 0 3px; fill: none; stroke: var(--off-text);
  stroke-width: 2.25; stroke-linecap: round; }
.arrow { width: 44px; height: 14px; color: var(--accent); }
.node { display: grid; justify-items: center; gap: 4px; padding: 24px 16px 22px; border-radius: 22px; background: var(--page); border: 1px solid var(--line);
  text-align: center; box-shadow: 0 18px 44px rgb(var(--shadow) / .1); }
.node svg { width: 44px; height: 44px; stroke-width: 2.4; margin-bottom: 6px; }
.node circle { fill: var(--accent); stroke: none; }
.node strong { letter-spacing: -.012em; line-height: 1.2; }
.node small { color: var(--muted); font-size: .85rem; }
.pledges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; text-align: left; }
.pledges p { margin-top: 6px; color: var(--muted); font-size: .98rem; }
/* Below 1060px the three addresses no longer fit beside the server in full, so the diagram stacks. */
@media (max-width: 1060px) {
  .flow { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .flow .chips, .node { width: 100%; max-width: 420px; }
  /* Stacked: the box runs down a 30px gutter on the right and turns under the last address to meet the arrow in the
     middle. The last address joins it with a line of its own. */
  .flow .chips { padding-right: 30px; }
  .blocked { width: 21px; height: 9px; margin-top: -4.5px; }
  .flow .chips::after { left: calc(50% - 1.25px); right: 0; bottom: -10px; border-radius: 0 14px 12px 0; }
  .flow .chips::before { content: ""; position: absolute; z-index: -1; left: 50%; right: 0; top: calc(100% - (100% - 28px) / 6 - 1.25px);
    border-top: 2.5px solid var(--accent); pointer-events: none; }
  .arrow { transform: rotate(90deg); margin: 6px 0; }
}
@media (max-width: 900px) { .pledges { grid-template-columns: 1fr; gap: 24px; } }
/* Phones: tighter chips so a whole address fits before the ellipsis is needed. */
@media (max-width: 480px) {
  .chip { gap: 8px; padding: 12px; }
  .chip b { width: 28px; height: 28px; }
  .chip span { font-size: .7rem; }
}

/* Where to get it */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; text-align: left; }
.card { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.card svg { width: 30px; height: 30px; fill: var(--text); }
.card h3 { margin-top: 16px; }
.card p { margin-top: 8px; margin-bottom: 20px; font-size: .95rem; }
.card .status { margin-top: auto; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--subtle); color: var(--muted); font-size: .82rem; font-weight: 600; }
.card a.status { background: var(--accent); color: #fff; text-decoration: none; }
.card small { display: block; margin-top: 12px; color: var(--muted); font-size: .8rem; }
.need { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: start; margin-top: 16px; padding: 24px; border-radius: 20px; background: var(--soft);
  border: 1px solid var(--soft-line); text-align: left; }
.need h3 { grid-row: span 2; color: var(--ink); white-space: nowrap; }
.need p { color: var(--text); font-size: .98rem; }
.need p + p { color: var(--muted); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .need { grid-template-columns: 1fr; }
  .need h3 { grid-row: auto; }
}

/* Questions */
.faq { max-width: 760px; margin: 48px auto 0; text-align: left; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-weight: 600; letter-spacing: -.008em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 1.4rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding: 0 32px 22px 0; }

/* Donations */
.give { padding: 0 0 96px; }
.give .band { padding: 56px; border-radius: 28px; }
.give h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.give .sub { max-width: 40em; font-size: 1.05rem; }
.give .actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 620px) { .give .band { padding: 36px 24px; } }
/* The motto the name comes from, as the last thing on the home page. */
.motto { padding: 0 24px 80px; text-align: center; }
.motto blockquote { margin: 0; font-size: 1.25rem; font-style: italic; letter-spacing: -.008em; }
.motto figcaption { margin-top: 6px; color: var(--muted); font-size: .9rem; }

footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
/* The footer lockup is set so that the T of Triplebit is exactly as tall as the middle bar of the mark and sits level
   with it. In the mark's 64-unit square the bar runs from 21 to 43, so it is 22/64 of the mark's size; Montserrat's
   capitals are 0.7em tall. The font size follows from those two, and the mark is lowered until the bar's foot (21/64
   above the mark's own) rests on the text's baseline. At 2rem the bar and the T are both 11px. */
footer .lockup { --mark: 2rem; align-items: baseline; color: var(--text); font-size: calc(var(--mark) * 22 / 64 / .7); font-weight: 900;
  font-style: italic; letter-spacing: 0; line-height: 1; }
footer .lockup svg { display: inline-block; width: var(--mark); height: var(--mark); vertical-align: calc(var(--mark) * -21 / 64); }
/* The footer lockup is Triplebit's mark, linked to its site, beside a line of text. The mark is white bars on black,
   and black bars on white in the dark theme. */
.tb-back { fill: #000; }
.tb-front { fill: #fff; }
@media (prefers-color-scheme: dark) {
  .tb-back { fill: #fff; }
  .tb-front { fill: #000; }
}
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--ink); text-decoration: underline; }
footer p { flex-basis: 100%; max-width: 60em; }

/* The privacy policy */
.title { position: relative; padding-top: 40px; padding-bottom: 64px; }
.title h1 { font-size: clamp(2.2rem, 4.6vw, 3.25rem); }
.title .date { margin-top: 14px; font-size: .95rem; color: rgb(255 255 255 / .85); }
.prose { max-width: 760px; padding-top: 56px; padding-bottom: 96px; }
.prose .lead { font-size: 1.2rem; line-height: 1.5; color: var(--muted); }
.prose h2 { margin: 48px 0 12px; font-size: 1.45rem; letter-spacing: -.016em; line-height: 1.2; }
.prose p, .prose ul { margin: 12px 0; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: 10px 0; }
.prose li::marker { color: var(--accent); }
.prose code { padding: 1px 5px; border-radius: 6px; background: var(--subtle); font: .86em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.prose .nothing { margin: 12px 0; padding: 20px 24px; border-radius: 16px; background: var(--soft); border: 1px solid var(--soft-line); }
.prose .nothing strong { color: var(--ink); }
