/*!
 * PrivacySafe homepage stylesheet
 * Copyright (C) 2026 Ivy Cyber LLC.
 * SPDX-License-Identifier: AGPL-3.0-or-later
 *
 * Layer order below is preserved exactly as it was in the original inline
 * <style> block. Later :root blocks intentionally override earlier ones;
 * nothing has been consolidated or deleted.
 */

/* ===== Layer 1: base tokens ===== */
:root {
  --bg: #1A1916;
  --bg-soft: #20201D;
  --card: #262624;
  --card-2: #30302E;
  --line: rgba(255,255,255,.11);
  --line-strong: rgba(255,255,255,.18);
  --text: #FAF9F5;
  --muted: #C2C0B6;
  --quiet: #A6A49B;
  --orange: #FB521F;
  --orange-2: #FF8A5C;
  --cyan: #D9824F;
  --green: #FB521F;
  --blue: #D9824F;
  --violet: #D9824F;
  --radius-lg: 28px;
  --radius: 18px;
  --shadow: 0 18px 70px rgba(0,0,0,.35);
  --max: 1440px;
  color-scheme: dark;
  font-family: "Stack Sans Text", "Inter", "Liberation Sans", "Helvetica Neue", Helvetica, Arial, "DejaVu Sans", Roboto, "Segoe UI", system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(251,82,31,.16), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(198,97,63,.14), transparent 30rem),
    radial-gradient(circle at 50% 65%, rgba(198,97,63,.12), transparent 35rem),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(26,25,22,.88), rgba(26,25,22,.58));
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line);
  background: rgba(26,25,22,.76);
  border-radius: 20px;
  box-shadow: 0 8px 36px rgba(0,0,0,.25);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.header-brand { min-width: 240px; }
.brand-logo {
  display: block;
  width: clamp(210px, 19vw, 285px);
  height: auto;
}
.mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(251,82,31,.28), rgba(198,97,63,.18)),
    #262624;
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 24px rgba(255,255,255,.04);
}
.mark svg { width: 25px; height: 25px; }
.brand strong { font-size: 18px; letter-spacing: -.02em; }
.navlinks { display: flex; gap: 6px; align-items: center; }
.navlinks a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  transition: .18s ease;
}
.navlinks a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,.055);
  font-weight: 750;
  letter-spacing: -.01em;
  transition: .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.09); }
.btn.primary { border: 0; background: linear-gradient(135deg, var(--orange), #FB521F); color: #130702; box-shadow: 0 12px 32px rgba(251,82,31,.2); }
.btn.primary:hover { box-shadow: 0 16px 40px rgba(251,82,31,.3); }
.btn.soft { background: rgba(255,255,255,.04); color: var(--muted); font-weight: 700; }
.hamb { display: none; width: 44px; padding: 0; }

.hero { padding: 70px 0 54px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr); gap: 28px; align-items: stretch; }
.hero-card {
  min-height: 610px;
  padding: clamp(28px, 4vw, 58px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(251,82,31,.12), transparent 32%),
    linear-gradient(210deg, rgba(198,97,63,.09), transparent 38%),
    rgba(28,27,25,.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card:before {
  content: "";
  position: absolute;
  inset: auto -18% -28% 18%;
  height: 300px;
  background: radial-gradient(circle, rgba(251,82,31,.14), transparent 68%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd2bd;
  background: rgba(251,82,31,.11);
  border: 1px solid rgba(251,82,31,.24);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(251,82,31,.12); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 24px 0 18px;
  font-size: clamp(48px, 8vw, 102px);
  line-height: .93;
  letter-spacing: -.075em;
  max-width: 850px;
}
.accent { color: var(--orange-2); }
.lead { color: var(--muted); font-size: clamp(18px, 2vw, 23px); line-height: 1.45; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.stat-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.stat {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-size: 13px;
}
.stat strong { color: var(--text); margin-right: 6px; }

.device-stack { position: relative; min-height: 610px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(38,38,36,.9), rgba(32,32,29,.88)); box-shadow: var(--shadow); }
.rings { position: absolute; inset: 0; opacity: .55; background:
  radial-gradient(circle at 70% 22%, rgba(198,97,63,.18), transparent 13rem),
  radial-gradient(circle at 26% 70%, rgba(251,82,31,.16), transparent 12rem); }
.desktop-mock {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 44px;
  height: 310px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: #20201D;
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
  overflow: hidden;
}
.window-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: rgba(255,255,255,.045); border-bottom: 1px solid rgba(255,255,255,.08); }
.window-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
/*
 * The contact list is 150px, not 220px. The phone mock overlaps the right of this
 * window from x=374 at a full desktop width, so a 220px sidebar left only 154px
 * of chat visible, a quarter of the window. At 150px it is 224px, and the four
 * names still fit on one line each.
 */
.screen-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); height: calc(100% - 38px); }
.side { border-right: 1px solid rgba(255,255,255,.08); padding: 12px 8px; background: rgba(255,255,255,.025); min-width: 0; }
.person { display: flex; align-items: center; gap: 8px; padding: 9px 8px; border-radius: 11px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.person:nth-child(2), .person:hover { background: rgba(198,97,63,.09); color: var(--text); }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(251,82,31,.2); color: #ffd9c9; font-weight: 800; font-size: 11px; }
.chat-pane { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 75%; padding: 12px 14px; border-radius: 16px; color: #E5E3DB; font-size: 13px; line-height: 1.35; background: rgba(255,255,255,.07); }
.bubble.me { align-self: flex-end; background: linear-gradient(135deg, rgba(251,82,31,.85), rgba(255,122,45,.85)); color: #150601; font-weight: 650; }
.phone-mock {
  position: absolute;
  width: 226px;
  aspect-ratio: 9 / 19.5;
  right: 30px;
  bottom: 18px;
  padding: 8px;
  border-radius: 38px;
  background: linear-gradient(145deg, #55534f 0%, #181817 22%, #0d0d0d 58%, #373633 100%);
  border: 2px solid rgba(255,255,255,.32);
  box-shadow:
    0 30px 84px rgba(0,0,0,.58),
    0 0 0 1px rgba(0,0,0,.95),
    inset 0 0 0 2px rgba(255,255,255,.06),
    inset 0 0 18px rgba(255,255,255,.035);
  transform: rotate(3deg);
  overflow: visible;
  box-sizing: border-box;
}
.phone-mock::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 102px;
  width: 4px;
  height: 48px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(#4a4946,#222);
  box-shadow: 0 58px 0 #292927;
}
.phone-mock::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 142px;
  width: 4px;
  height: 72px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(#4a4946,#222);
}
.phone-screen-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.9),
    inset 0 0 0 2px rgba(255,255,255,.025);
}
.phone-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/*
 * Hero phone screen: animated start-up loader.
 *
 * The <video> and both image fallbacks all carry .phone-screen, so sizing,
 * cropping and object-position come from the rule above. Nothing is redeclared
 * here. These rules only suppress native video furniture and decide which of
 * the four candidates is visible.
 */
video.phone-screen {
  background: #000;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Safari on iOS is the main offender for unwanted overlay controls. */
video.phone-screen::-webkit-media-controls,
video.phone-screen::-webkit-media-controls-enclosure,
video.phone-screen::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

/* <picture> is inline by default, which breaks the height: 100% on its child. */
.phone-screen-fallback {
  display: block;
  width: 100%;
  height: 100%;
}

/* The hidden attribute is authoritative here, ahead of the display above. */
.phone-screen-fallback[hidden],
.phone-screen-still[hidden] {
  display: none !important;
}

/*
 * Reduced motion: a static frame, no animation at all. This works without
 * JavaScript. The global reduced-motion block near the end of this file zeroes
 * out transition and animation durations, which has no effect on video
 * playback, so the swap has to happen here.
 */
@media (prefers-reduced-motion: reduce) {
  video.phone-screen,
  .phone-screen-fallback {
    display: none !important;
  }
  .phone-screen-still {
    display: block !important;
  }
}

.iphone-status {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 13px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .01em;
  background: linear-gradient(to bottom, rgba(0,0,0,.72), rgba(0,0,0,.18));
  pointer-events: none;
}
.iphone-status .status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.iphone-status .signal {
  width: 13px;
  height: 9px;
  display: flex;
  align-items: end;
  gap: 1px;
}
.iphone-status .signal span {
  display: block;
  width: 2px;
  background: #fff;
  border-radius: 1px;
}
.iphone-status .signal span:nth-child(1) { height: 3px; }
.iphone-status .signal span:nth-child(2) { height: 5px; }
.iphone-status .signal span:nth-child(3) { height: 7px; }
.iphone-status .signal span:nth-child(4) { height: 9px; }
.iphone-status .wifi {
  width: 14px;
  height: 10px;
  position: relative;
  display: block;
}
.iphone-status .wifi span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1.7px solid #fff;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50% 50% 0 0;
  display: block;
}
.iphone-status .wifi span:nth-child(1) {
  width: 14px;
  height: 10px;
  top: 0;
}
.iphone-status .wifi span:nth-child(2) {
  width: 9px;
  height: 7px;
  top: 3px;
}
.iphone-status .wifi span:nth-child(3) {
  width: 4px;
  height: 4px;
  top: 6px;
}
.iphone-status .wifi::after {
  content: "";
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #fff;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}
.iphone-status .battery {
  width: 16px;
  height: 8px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 2px;
  padding: 1px;
  position: relative;
}
.iphone-status .battery::before {
  content: "";
  display: block;
  width: 82%;
  height: 100%;
  border-radius: 1px;
  background: #fff;
}
.iphone-status .battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: rgba(255,255,255,.75);
}
.iphone-camera {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 50%;
  width: 58px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 1px 3px rgba(0,0,0,.8);
  pointer-events: none;
}
.iphone-camera::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #24324b 0 22%, #09101a 42%, #020202 72%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04);
}
.vault-head { padding: 18px 16px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.vault-title { font-weight: 850; letter-spacing: -.03em; font-size: 20px; }
.vault-sub { color: var(--quiet); font-size: 12px; margin-top: 3px; }
.vault-list { padding: 12px; display: grid; gap: 9px; }
.vault-item { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07); }
.vault-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(198,97,63,.13); color: #E5E3DB; font-size: 15px; }
.vault-copy b { display: block; font-size: 13px; }
.vault-copy small { color: var(--quiet); }

.section { padding: 34px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.04; letter-spacing: -.055em; margin-bottom: 8px; }
.section p.kicker { color: var(--muted); max-width: 820px; line-height: 1.55; font-size: 17px; margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.card {
  border: 1px solid var(--line);
  background: rgba(38,38,36,.82);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 45px rgba(0,0,0,.22);
}
.product { min-height: 590px; display: grid; grid-template-rows: auto 1fr; }
.product-copy { padding: 28px; }
.product-copy h3 { font-size: clamp(29px, 3.6vw, 50px); letter-spacing: -.055em; line-height: 1; margin-bottom: 12px; }
.product-copy p { color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 630px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { color: #C2C0B6; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.045); border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 760; }
.mock-area { position: relative; min-height: 310px; background: linear-gradient(160deg, rgba(251,82,31,.1), rgba(198,97,63,.08)); border-top: 1px solid rgba(255,255,255,.08); }
.wide-app {
  position: absolute; inset: 24px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: #20201D; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.two-pane { display: grid; grid-template-columns: 36% 64%; height: calc(100% - 38px); }
.mini-row { margin: 10px 12px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.06); }
.mini-doc { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; margin: 12px; padding: 12px; border-radius: 15px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07); }
.mini-doc .vault-icon { width: 42px; height: 42px; }
.bar { height: 7px; background: rgba(255,255,255,.14); border-radius: 999px; margin: 4px 0; }
.bar.short { width: 62%; }
.seal { color: var(--green); font-weight: 850; font-size: 12px; }

.scroll-shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 12px; scrollbar-color: rgba(255,255,255,.25) transparent; }
.shot { min-height: 420px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(155deg, rgba(42,41,38,.95), rgba(32,32,29,.95)); }
.shot h3 { font-size: 28px; letter-spacing: -.04em; margin-bottom: 8px; }
.shot p { color: var(--muted); line-height: 1.45; }
.shot-art { height: 210px; border-radius: 22px; background: radial-gradient(circle at 20% 10%, rgba(251,82,31,.35), transparent 8rem), linear-gradient(135deg, rgba(198,97,63,.35), rgba(198,97,63,.16)); border: 1px solid rgba(255,255,255,.1); position: relative; overflow: hidden; }
.shot-art:before, .shot-art:after { content: ""; position: absolute; border-radius: 22px; background: rgba(26,25,22,.58); border: 1px solid rgba(255,255,255,.1); }
.shot-art:before { width: 70%; height: 46px; left: 16px; top: 18px; }
.shot-art:after { width: 48%; height: 110px; right: 18px; bottom: 18px; }

.feature-card { padding: 24px; min-height: 230px; }
.feature-card .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.055); color: var(--orange-2); font-size: 22px; }
.feature-card h3 { font-size: 22px; letter-spacing: -.03em; margin-bottom: 10px; }
.feature-card p { color: var(--muted); line-height: 1.48; margin: 0; }

.social-card { display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; min-height: 460px; }
.social-copy { padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.social-copy h2 { margin-bottom: 18px; }
.social-copy p { color: var(--muted); font-size: 18px; line-height: 1.55; }
.social-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 20px 0 28px; }
.social-stat { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.social-stat b { display: block; font-size: 25px; letter-spacing: -.04em; }
.social-stat span { color: var(--quiet); font-size: 13px; }
.feed { padding: 26px; display: grid; align-content: center; gap: 12px; background: radial-gradient(circle at 75% 20%, rgba(198,97,63,.18), transparent 16rem), rgba(255,255,255,.02); border-left: 1px solid rgba(255,255,255,.08); }
.post { padding: 15px; border-radius: 18px; background: rgba(26,25,22,.72); border: 1px solid rgba(255,255,255,.09); }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post p { color: #E5E3DB; line-height: 1.45; margin: 0; }

.quotes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.quote { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.quote p { color: #E5E3DB; font-size: 17px; line-height: 1.55; margin-bottom: 18px; }
.quote cite { color: var(--muted); font-style: normal; display: block; }
.quote cite strong { display: block; color: var(--text); margin-bottom: 2px; }

/*
 * A dark gradient, not a wash. The previous version laid orange at 13 percent
 * over the warm card, which composites to #402A21: solid brown across the whole
 * panel. Here the warm tint is 6 percent and fades out by 45 percent of the
 * height, over a darker base than the standard card, so the card reads as dark
 * with a hint of heat at the top rather than brown throughout.
 */
.download {
  text-align: center;
  padding: 66px 24px;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(251, 82, 31, .10), transparent 45%),
    linear-gradient(180deg, rgba(45, 44, 41, .92), rgba(26, 25, 22, .96));
}
.download h2 { margin-bottom: 12px; }
.download p { color: var(--muted); font-size: 18px; line-height: 1.52; max-width: 740px; margin: 0 auto 26px; }
.download-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.checksum { display: block; color: var(--quiet); font-size: 11px; margin-top: 7px; }

.faq-list { display: grid; gap: 12px; }
details { border: 1px solid var(--line); background: rgba(38,38,36,.7); border-radius: 18px; overflow: hidden; }
summary { cursor: pointer; padding: 20px 22px; font-weight: 850; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; color: var(--muted); font-size: 24px; line-height: 1; }
details[open] summary:after { content: "−"; }
details p { color: var(--muted); line-height: 1.5; padding: 0 22px 22px; margin: 0; border-top: 1px solid rgba(255,255,255,.07); padding-top: 18px; }

footer { padding: 48px 0 54px; color: var(--muted); }
.footer-inner { border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; align-content: start; }
.footer-links a { color: var(--muted); padding: 8px 10px; border-radius: 10px; }
.footer-links a:hover { color: var(--text); background: rgba(255,255,255,.055); }
.fine { max-width: 760px; line-height: 1.55; }

@media (max-width: 1060px) {
  .navlinks { display: none; }
  .hamb { display: inline-flex; }
  .hero-grid, .grid-2, .social-card { grid-template-columns: 1fr; }
  .device-stack { min-height: 560px; }
  .feed { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .topbar { padding: 10px 0; }
  .nav { border-radius: 18px; }
  .brand { min-width: 0; }
  .header-brand { min-width: 0; }
  .brand-logo { width: min(205px, 56vw); }
  .brand strong { font-size: 16px; }
  .nav-actions .btn:not(.hamb) { display: none; }
  .hero { padding-top: 36px; }
  .hero-card { min-height: auto; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .device-stack { min-height: 520px; }
  .desktop-mock { left: 14px; right: 14px; top: 24px; height: 270px; }
  .screen-body { grid-template-columns: 130px 1fr; }
  .side { padding: 8px; }
  .person { padding: 7px; font-size: 11px; }
  .chat-pane { padding: 12px; }
  .bubble { font-size: 12px; max-width: 88%; }
  .phone-mock { width: 188px; right: 14px; bottom: 16px; padding: 7px; border-radius: 32px; }
  .phone-screen-wrap { border-radius: 25px; }
  .iphone-status { height: 29px; padding: 0 9px 0 10px; font-size: 8px; }
  .iphone-camera { width: 50px; height: 16px; top: 7px; }
  .grid-3, .quotes { grid-template-columns: 1fr; }
  .scroll-shots { grid-auto-columns: 82%; }
  .section { padding: 34px 0; }
  .section-head { display: block; }
  .product-copy { padding: 22px; }
  .mock-area { min-height: 280px; }
  .wide-app { inset: 16px; }
  .social-stats { grid-template-columns: 1fr; }
}

/* ===== Layer 2: brand refinement (intentionally overrides Layer 1) ===== */
:root {
  --text: #FAF9F5;
  --muted: #C2C0B6;
  --quiet: #A6A49B;
  --orange: #FB521F;
  --orange-2: #FB521F;
  --cyan: #D9824F;
  --green: #FB521F;
  --radius-pill: 999px;
  font-family: "Stack Sans Text", "Inter", "Liberation Sans", "Helvetica Neue", Helvetica, Arial, "DejaVu Sans", Roboto, "Segoe UI", system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}

body,
button,
input,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Stack Sans Text", "Inter", "Liberation Sans", "Helvetica Neue", Helvetica, Arial, "DejaVu Sans", Roboto, "Segoe UI", system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}

.nav {
  border-radius: 22px;
}

.brand strong {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.btn {
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid #FB521F;
  background: transparent;
  color: #FAF9F5;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: #FB521F;
  background: rgba(251,82,31, 0.12);
  color: #FAF9F5;
  box-shadow: 0 10px 28px rgba(251,82,31, 0.14);
}

.btn:focus-visible {
  outline: 3px solid rgba(251,82,31, 0.35);
  outline-offset: 3px;
}

/*
 * WCAG 1.4.3 Contrast (Minimum), AA.
 * #FAF9F5 on #FB521F measures 3.15:1. Buttons render at 16px/500, which is
 * normal text and requires 4.5:1. #150601 on the same fill measures 5.98:1
 * and is already the pairing used by .bubble.me, so the brand orange is
 * unchanged. Alternative if a pale label is preferred: darken the fill to
 * #D03304, which reaches 4.79:1 against #FAF9F5.
 */
.btn.primary {
  border: 0;
  background: #FB521F;
  color: #150601;
  box-shadow: none;
}

.btn.primary:hover {
  background: #FB521F;
  color: #150601;
  filter: brightness(1.08);
  box-shadow: 0 12px 30px rgba(251, 82, 31, 0.2);
}

.btn.soft {
  border: 2px solid #FB521F;
  background: transparent;
  color: #FAF9F5;
  font-weight: 500;
}

.btn.hamb {
  border-color: #FB521F;
  color: #FAF9F5;
}

.navlinks a {
  color: #C2C0B6;
  font-weight: 500;
}

.navlinks a:hover {
  color: #FAF9F5;
  background: rgba(110, 193, 228, 0.08);
}

.eyebrow {
  color: #FAF9F5;
  background: rgba(251, 82, 31, 0.12);
  border-color: rgba(251, 82, 31, 0.34);
  font-weight: 600;
  letter-spacing: 0;
}

.dot {
  background: #FB521F;
  box-shadow: 0 0 0 5px rgba(251,82,31, 0.12);
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.045em;
}

.lead,
.section p.kicker,
.product-copy p,
.feature-card p,
.download p,
.quote p,
details p,
.fine {
  color: #C2C0B6;
}

.accent {
  color: #FB521F;
}

.chip,
.stat {
  border-radius: 999px;
  color: #FAF9F5;
  border-color: rgba(90, 90, 90, 0.75);
  background: rgba(25, 25, 25, 0.72);
  font-weight: 500;
}

.feature-card .icon {
  border-radius: 20px;
  color: #C6613F;
  background: rgba(25, 25, 25, 0.7);
  border-color: rgba(90, 90, 90, 0.65);
}

.checksum,
.vault-sub,
.vault-copy small,
.social-stat span {
  color: #A6A49B;
}

summary {
  font-weight: 600;
}

summary:after {
  color: #C6613F;
}

@media (max-width: 760px) {
  .btn {
    width: auto;
    min-height: 44px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ===== Layer 3: app-shell tokens (intentionally overrides Layer 2) ===== */
:root {
  --font-primary: "Stack Sans Text", "Inter", "Liberation Sans", "Helvetica Neue", Helvetica, Arial, "DejaVu Sans", Roboto, "Segoe UI", system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  --color-bg: #1A1916;
  --color-input: #30302E;
  --color-text: #FAF9F5;
  --color-green: #FB521F;
  --color-orange: #FB521F;
  --color-blue: #D9824F;
}

html,
body,
button,
input,
textarea,
select,
a,
p,
span,
div,
small,
strong,
em,
li,
summary,
blockquote,
cite,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}

body {
  color: var(--color-text);
}

.lead,
.section p.kicker,
.product-copy p,
.feature-card p,
.download p,
.quote p,
details p,
.fine,
.intro,
.role,
.muted {
  color: var(--color-text);
  opacity: 0.82;
}

input,
textarea,
select,
.input {
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--color-input);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 400;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text);
  opacity: 1;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-blue);
  outline: none;
  box-shadow: 0 0 0 2px rgba(110, 193, 228, 0.25);
}

.btn,
button,
[role="button"] {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
}

.btn {
  border-radius: 999px;
}

.btn:not(.primary) {
  border-color: var(--color-green);
  color: var(--color-text);
}

.btn:not(.primary):hover {
  background: rgba(251,82,31, 0.12);
}

/* See the 1.4.3 note above: dark label on the orange fill, not #FAF9F5. */
.btn.primary {
  background: var(--color-orange);
  color: #150601;
}

.accent,
.brand-orange {
  color: var(--color-orange);
}

a:not(.btn) {
  color: var(--color-blue);
}

/*
 * WCAG 1.4.1 Use of Color, A.
 * In-prose links sit at 6.07:1 against the page but under 3:1 against the
 * surrounding body text, so color alone is not a sufficient cue. A dotted
 * underline inside running text keeps the chrome links clean.
 */
p a:not(.btn),
.fine a:not(.btn),
.quote a:not(.btn),
details p a:not(.btn) {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.dot,
.success-dot {
  background: var(--color-green);
  box-shadow: 0 0 0 5px rgba(251,82,31, 0.12);
}

.app-panel,
.auth-card,
.login-card {
  background: var(--color-bg);
  color: var(--color-text);
}

/* ===== Layer 4: typographic tuning ===== */
h1,
h2,
h3,
.headline,
.hero-card h1,
.section h2,
.product-copy h3,
.download h2 {
  letter-spacing: -0.025em;
  font-kerning: normal;
  text-rendering: geometricPrecision;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

h1,
.hero-card h1,
.headline {
  letter-spacing: -0.032em;
  line-height: 0.98;
}

h2,
.section h2,
.download h2 {
  letter-spacing: -0.022em;
  line-height: 1.08;
}

h3,
.product-copy h3,
.feature-card h3 {
  letter-spacing: -0.018em;
  line-height: 1.12;
}

.brand strong,
.navlinks a,
.btn {
  letter-spacing: 0;
  font-kerning: normal;
  text-rendering: geometricPrecision;
}

@media (max-width: 760px) {
  h1,
  .hero-card h1,
  .headline {
    letter-spacing: -0.024em;
    line-height: 1.02;
  }

  h2,
  .section h2,
  .download h2 {
    letter-spacing: -0.016em;
  }

  h3,
  .product-copy h3,
  .feature-card h3 {
    letter-spacing: -0.012em;
  }
}

/* --- AA: visible keyboard focus (2.4.7) + reduced motion --- */
:focus-visible { outline: 2px solid #FB521F; outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/*
 * WCAG 2.4.1 Bypass Blocks, A.
 * Off-canvas until focused, then pinned to the top-left of the viewport.
 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  background: #FB521F;
  color: #150601;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* ===== Canonical type scale - identical across 3NWeb / PrivacySafe / Ivy Cyber ===== */
h1 { font-size: clamp(2.25rem, 4.9vw, 4.1rem) !important; line-height: 1.18 !important; letter-spacing: -0.02em !important; font-weight: 700 !important; font-kerning: normal; }
h2 { font-size: clamp(2rem, 4.4vw, 3.8rem) !important; line-height: 1.18 !important; letter-spacing: -0.012em !important; font-weight: 700 !important; font-kerning: normal; }
h3 { font-size: 1.5rem !important; line-height: 1.18 !important; letter-spacing: 0 !important; font-weight: 700 !important; font-kerning: normal; }

/* ===== PrivacySafe download button layout ===== */
.download-actions {
  align-items: flex-start;
  gap: 12px;
}

.download-option {
  flex: 1 1 200px;
  max-width: 300px;
}

.download-option .btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.download-option .os-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  min-width: 20px;
  font-size: 17px;
  line-height: 1;
  color: currentColor;
}

.download-option .os-icon .ico {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.download-option .download-label {
  display: inline-block;
}

.download-option .checksum {
  margin-top: 8px;
  text-align: center;
  color: #eeeeee;
  font-size: 0.8em;
}

.download-option .checksum a {
  color: #eeeeee;
  text-decoration: none;
}

.download-option .checksum a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .download-option {
    max-width: none;
    width: 100%;
  }
}

/* ===== Trust icon cleanup ===== */
.feature-card .icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #C6613F;
  overflow: visible;
}
.feature-card .icon .ico {
  display: block;
  width: 54px;
  height: 54px;
  max-width: none;
  max-height: none;
  overflow: visible;
  flex: 0 0 54px;
}

/* ===== Standards/compliance logo strip ===== */
.standards-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.standard-logo {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(38,38,36,.72);
  box-shadow: 0 10px 34px rgba(0,0,0,.16);
}
/*
 * The strip mixes aspect ratios: the compliance wordmarks are 500x86 (5.81:1)
 * while the 3NWeb mark is 96x59 (1.63:1). Sizing purely by width would render
 * 3NWeb ~117px tall against the others' ~33px and blow out the row, and would
 * upscale a 96px source by 2x. Cap the height instead and let width follow,
 * so every logo lands on the same optical weight and nothing is enlarged past
 * its native size.
 */
.standard-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

/* Near-square marks get a little more height to match perceived size. */
.standard-logo--tall img {
  max-height: 48px;
}
.standard-logo:hover {
  border-color: rgba(251,82,31,.55);
  background: rgba(251,82,31,.08);
}

/* ===== Expanded footer ===== */
.footer-community {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin-bottom: 30px;
}
.footer-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(251,82,31,.07), transparent 45%), rgba(38,38,36,.72);
  box-shadow: 0 14px 45px rgba(0,0,0,.18);
}
.footer-logo {
  display: block;
  width: min(310px, 100%);
  height: auto;
  margin-bottom: 20px;
}
.footer-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem) !important;
  line-height: 1.12 !important;
  margin: 0 0 14px;
}
.footer-panel h3 {
  margin: 22px 0 10px;
}
.footer-panel p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-link {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--orange);
  border-radius: 999px;
  color: var(--text) !important;
  background: transparent;
  transition: .18s ease;
}
.social-link:hover {
  transform: translateY(-1px);
  background: rgba(251,82,31,.12);
  box-shadow: 0 10px 28px rgba(251,82,31,.14);
}
.social-link .ico {
  width: 20px;
  height: 20px;
  display: block;
}
.newsletter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 12px;
}
.newsletter-note {
  color: var(--quiet) !important;
  font-size: 12px;
  margin-bottom: 0 !important;
}

@media (max-width: 900px) {
  .standards-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-community { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .standards-strip { grid-template-columns: 1fr; }
}

/* Visually-hidden text that remains available to assistive technology. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Quote cards: portrait + attribution ===== */
/*
 * <figure> carries a default margin and <blockquote> a default indent; both
 * are cleared so the card padding stays the only spacing.
 */
.quote {
  margin: 0;
}
.quote blockquote {
  margin: 0;
}

.quote-by {
  display: flex;
  align-items: center;
  gap: 14px;
}

/*
 * Source portraits are 146x146. Displaying at 56px leaves 2.6x of headroom,
 * so they stay sharp on 2x displays without shipping a larger file.
 */
.quote-avatar {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(251,82,31,.38);
}

.quote cite {
  display: block;
  min-width: 0;
}
.quote cite strong {
  margin-bottom: 2px;
}
/*
 * The role previously sat as a bare text node after </b>, which rendered on
 * its own line only because the <b> is display:block -- the accessibility
 * tree and any copied text read "Cory DoctorowAuthor, Activist". A real
 * element restores the word boundary.
 */
.quote cite .role {
  display: block;
  color: var(--quiet);
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .quote-by {
    gap: 12px;
  }
  .quote-avatar {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }
}

/* ===== Fixes ===== */

/*
 * The icon-only nav button rendered as an empty circle.
 *
 * `.hamb` (width: 44px; padding: 0) is a single-class selector, and the later
 * generic `.btn` rule sets `padding: 0 24px` at equal specificity, so the
 * padding won. With box-sizing: border-box that leaves 44 - 48 = 0px of
 * content width, and because `.btn` is display:inline-flex the 20px <svg>
 * had no flex-shrink:0 and collapsed to zero. Result: a visible border, no
 * glyph.
 *
 * Restate the padding after the generic rule and stop the icon shrinking.
 */
.btn.hamb {
  width: 44px;
  min-width: 44px;
  flex: 0 0 44px;
  padding: 0;
  border-color: #FB521F;
  color: #FAF9F5;
}

.btn.hamb .ico {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: block;
}

/*
 * The FLOSS credit is a plain text link, not a chip. Layer 2 gave `.chip,
 * .stat` a pill (border-radius: 999px plus border and background); drop that
 * treatment for .stat only, leaving .chip alone.
 */
.stat {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 14px;
  line-height: 1.5;
}

.stat:hover {
  background: none;
}

/*
 * The markup carries an inline style="color:#FFFFFF" on this element, which
 * beats any stylesheet rule. Matching it here so the CSS is not a misleading
 * dead declaration -- which also means the inline attribute is now redundant
 * and can be dropped from the HTML if you want the color controlled in one
 * place.
 */
.stat strong {
  color: #FFFFFF;
  margin-right: 6px;
  font-weight: 700;
}

.stat-strip {
  margin-top: 22px;
}

/* ===== Icons: external SVG files, color still driven by CSS ===== */
/*
 * The 19 icons now live as individual files in img/. They are applied as CSS
 * masks rather than <img> elements, deliberately:
 *
 *   - Every icon was drawn with fill/stroke="currentColor", and the design
 *     depends on that. `.social-link:hover` recolors its icon, and
 *     `.feature-card .icon` sets the trust glyph color. An <img> renders the
 *     file's own black and ignores the cascade, so both would break.
 *   - A mask uses only the file's alpha channel and paints it with
 *     background-color, so `currentColor` keeps working exactly as before.
 *
 * Trade-offs worth knowing: masked icons cannot be multi-color (all of these
 * are single-color, so no loss), and if a file 404s the icon disappears
 * silently with no alt-text fallback. Every icon is decorative and its link
 * already carries an aria-label, so nothing is lost to assistive tech.
 *
 * If you would rather have plain <img> tags, swap the spans and drop this
 * block -- but move the hover colors to opacity or filter first.
 */
.ico {
  display: block;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ico-download-arrow  { -webkit-mask-image: url("../img/icon-download-arrow.svg");  mask-image: url("../img/icon-download-arrow.svg"); }
.ico-os-windows      { -webkit-mask-image: url("../img/icon-os-windows.svg");      mask-image: url("../img/icon-os-windows.svg"); }
.ico-os-mac          { -webkit-mask-image: url("../img/icon-os-mac.svg");          mask-image: url("../img/icon-os-mac.svg"); }
.ico-os-linux        { -webkit-mask-image: url("../img/icon-os-linux.svg");        mask-image: url("../img/icon-os-linux.svg"); }
.ico-trust-keys      { -webkit-mask-image: url("../img/icon-trust-keys.svg");      mask-image: url("../img/icon-trust-keys.svg"); }
.ico-trust-verify    { -webkit-mask-image: url("../img/icon-trust-verify.svg");    mask-image: url("../img/icon-trust-verify.svg"); }
.ico-trust-protocols { -webkit-mask-image: url("../img/icon-trust-protocols.svg"); mask-image: url("../img/icon-trust-protocols.svg"); }
.ico-mastodon        { -webkit-mask-image: url("../img/icon-mastodon.svg");        mask-image: url("../img/icon-mastodon.svg"); }
.ico-bluesky         { -webkit-mask-image: url("../img/icon-bluesky.svg");         mask-image: url("../img/icon-bluesky.svg"); }
.ico-twitter-x       { -webkit-mask-image: url("../img/icon-twitter-x.svg");       mask-image: url("../img/icon-twitter-x.svg"); }
.ico-linkedin        { -webkit-mask-image: url("../img/icon-linkedin.svg");        mask-image: url("../img/icon-linkedin.svg"); }
.ico-youtube         { -webkit-mask-image: url("../img/icon-youtube.svg");         mask-image: url("../img/icon-youtube.svg"); }
.ico-instagram       { -webkit-mask-image: url("../img/icon-instagram.svg");       mask-image: url("../img/icon-instagram.svg"); }
.ico-signal          { -webkit-mask-image: url("../img/icon-signal.svg");          mask-image: url("../img/icon-signal.svg"); }
.ico-facebook        { -webkit-mask-image: url("../img/icon-facebook.svg");        mask-image: url("../img/icon-facebook.svg"); }
.ico-tiktok          { -webkit-mask-image: url("../img/icon-tiktok.svg");          mask-image: url("../img/icon-tiktok.svg"); }
.ico-telegram        { -webkit-mask-image: url("../img/icon-telegram.svg");        mask-image: url("../img/icon-telegram.svg"); }
.ico-substack        { -webkit-mask-image: url("../img/icon-substack.svg");        mask-image: url("../img/icon-substack.svg"); }
.ico-envelope        { -webkit-mask-image: url("../img/icon-envelope.svg");        mask-image: url("../img/icon-envelope.svg"); }

/* Per-context sizing, matching what the inline SVGs rendered at. */
.newsletter-actions .btn .ico {
  width: 19px;
  height: 19px;
}

/* ===== Former inline style attributes, now in the cascade ===== */
/*
 * These were style="color:#FB521F" on a .lead span and
 * style="color:#FFFFFF" on the .stat strong. Same computed result, but now
 * overridable and visible to the stylesheet.
 */
.orange {
  color: #FB521F;
}

.white {
  color: #FFFFFF;
}


/* ===========================================================================
 * IDENTITY TIERS, ECOSYSTEM CARD
 *
 * Added after the original stylesheet. Everything here reuses the existing
 * tokens and the existing .card and .btn components, so the tiers and the
 * ecosystem block inherit the site's surfaces, radii and shadow rather than
 * introducing a second visual language.
 * ======================================================================== */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tier {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "shield body" "cta cta";
  align-items: center;
  gap: 16px 18px;
  padding: 22px;
}
.tier-body { grid-area: body; min-width: 0; }
.tier-cta { grid-area: cta; width: 100%; }

/*
 * The shield is drawn in CSS rather than shipped as an image: it is one shape in
 * three colours, and three more files to keep in step is not worth it. The
 * clip-path gives the flat-top, pointed-bottom crest from the app's own identity
 * picker.
 */
.tier-shield {
  grid-area: shield;
  width: 52px;
  height: 58px;
  clip-path: polygon(50% 0, 100% 0, 100% 62%, 50% 100%, 0 62%, 0 0);
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 0;
  position: relative;
}
/*
 * ::before is the inner face, ::after is the star. Order matters: ::after paints
 * last, so the star sits above the face. Two pseudo-elements is exactly what a
 * single empty span gives, which is why the crest is split this way rather than
 * adding another element to the markup.
 */
.tier-shield::before {
  content: "";
  position: absolute;
  inset: 3px;
  clip-path: polygon(50% 0, 100% 0, 100% 62%, 50% 100%, 0 62%, 0 0);
  background: var(--card);
}
.tier-shield::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  background: currentColor;
}

.tier h3 {
  margin: 0 0 6px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.tier-line { margin: 0 0 8px; font-size: 15px; }
.tier-badge { letter-spacing: .06em; }
.tier-handle { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.tier-note { margin: 0; color: var(--quiet); font-size: 14px; line-height: 1.5; }

/* one accent per tier, taken from the palette already in use */
/*
 * Tier colours are carried by the crest, the star, the badge and the border, not
 * by the card surface. Full-bleed tier backgrounds pulled three different
 * surfaces into a page that otherwise has one, and the cards stopped reading as a
 * set. The accent is enough to identify a tier; the card should still look like
 * every other card on the site.
 *
 * Each card sets its tier colour once as `color`, so the crest gradient, the star
 * through currentColor, the badge and the button outline all follow from a single
 * value.
 */
.tier-silver { border-color: rgba(78, 162, 245, .45); color: #4EA2F5; }
.tier-silver .tier-shield { background: linear-gradient(160deg, #EBEFF3, #6D7A88); }
.tier-silver .tier-badge { color: #4EA2F5; }

.tier-gold { border-color: rgba(240, 177, 33, .55); color: #F0B121; }
.tier-gold .tier-shield { background: linear-gradient(160deg, #F0B121, #8A6108); }
.tier-gold .tier-badge { color: #F0B121; }

.tier-platinum { border-color: rgba(231, 236, 241, .38); color: #E7ECF1; }
.tier-platinum .tier-shield { background: linear-gradient(160deg, #E7ECF1, #7A828E); }
.tier-platinum .tier-badge { color: #E7ECF1; }

/* the crest's inner face returns to the card surface, since the cards no longer
   each have their own background */
.tier-shield::before { background: var(--card); }

/* the star takes the tier colour, the heading stays site white */
.tier-silver .tier-shield { color: #EBEFF3; }
.tier-gold .tier-shield { color: #F0B121; }
.tier-platinum .tier-shield { color: #E7ECF1; }

/* the button outlines in its tier colour and fills faintly with it on hover */
.tier .tier-cta { border-color: currentColor; color: var(--text); }
.tier-silver .tier-cta:hover, .tier-silver .tier-cta:focus-visible { background: rgba(78, 162, 245, .14); }
.tier-gold .tier-cta:hover, .tier-gold .tier-cta:focus-visible { background: rgba(240, 177, 33, .14); }
.tier-platinum .tier-cta:hover, .tier-platinum .tier-cta:focus-visible { background: rgba(231, 236, 241, .12); }

/* ---------- the featured tier ----------
 * Gold is marked as the common choice: a slightly stronger border, a faint warm
 * wash rather than a solid fill, and a label above the name. The lift is small on
 * purpose, so the row still reads as three equal options with one recommended,
 * not as one real option flanked by two.
 */
.tier-gold {
  background:
    linear-gradient(180deg, rgba(240, 177, 33, .10), rgba(240, 177, 33, 0) 55%),
    rgba(38, 38, 36, .82);
  box-shadow: 0 18px 50px rgba(240, 177, 33, .10);
}
.tier-gold .tier-cta {
  background: var(--orange);
  border-color: var(--orange);
  color: #150601;
}
.tier-gold .tier-cta:hover,
.tier-gold .tier-cta:focus-visible { background: var(--orange); filter: brightness(1.08); }

.tier-flag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(240, 177, 33, .16);
  color: #F0B121;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tier-footnote {
  max-width: 78ch;
  margin: 16px auto 0;
  color: var(--quiet);
  font-size: var(--fs-small);
  line-height: 1.55;
  text-align: center;
}
.tier-footnote a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- ecosystem card ----------
 * The partner wordmark is floated into the corner so the copy wraps around it,
 * rather than taking a column of its own and shortening every line in the block.
 *
 * Both dimensions are set here and on the element. The wordmark SVG carries a
 * viewBox, and needs it: without an intrinsic ratio, width: auto has nothing to
 * resolve against and the image fills its container.
 */
/*
 * Padding, because .card on this site carries none: each variant supplies its
 * own. Without it the heading sits against the card edge and the rounded corner
 * clips its first letter. 24px matches the Foundation's .card.
 */
.has-partner {
  padding: 24px;
  overflow: hidden;
}
.partner-mark {
  display: block;
  float: right;
  padding: 2px 0 16px 30px;
  transition: opacity .16s ease, transform .16s ease;
}
.partner-mark img { display: block; width: 328px; height: 73px; max-width: 100%; }
.partner-mark:hover,
.partner-mark:focus-visible { transform: translateY(-1px); opacity: .85; }

.has-partner p { margin: 0 0 14px; color: var(--muted); }
.has-partner .pullout-text { margin: 0; }
.has-partner p:last-of-type { margin-bottom: 0; }

.handle {
  font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;
  font-size: .93em;
  font-weight: 600;
  color: var(--text);
  background: rgba(0, 0, 0, .3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 7px;
  white-space: nowrap;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .tier-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .partner-mark { float: none; padding: 0 0 16px; }
  .partner-mark img { width: 100%; height: auto; max-width: 328px; }
}

/* ---------- license table, weblabels.html ----------
 * The markup is fixed by the LibreJS specification, so all of the presentation
 * happens here. It stays a table at every width: three short cells fit, and
 * stacking them would lose the column headings that say which link is the
 * license and which is the source.
 */
.jslicense {
  width: 100%;
  margin: 0 0 22px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  font-size: 15px;
  text-align: left;
}
.jslicense caption {
  padding: 0 0 10px;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: left;
}
.jslicense th {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--card-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.jslicense td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}
.jslicense tr:last-child td { border-bottom: 0; }
.jslicense a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* The two footer panels carry these for targeting; the layout comes from
   .footer-panel and .footer-community, so they only need to not be orphans. */
.footer-about { min-width: 0; }
.newsletter-panel { min-width: 0; }

/* ---------- section rhythm ----------
 * Two adjacent sections that both open with a card produced 68px of dead space
 * between the card edges. Collapsing the gap where one section follows another
 * keeps the page moving without touching the section padding itself.
 */
.section + .section { padding-top: 20px; }
.hero + .section { padding-top: 28px; }
#identity + #ecosystem { padding-top: 14px; }

/* ===========================================================================
 * TYPE AND RHYTHM, ALIGNED WITH PRIVACYSAFE.FOUNDATION
 *
 * The heading scale was already shared. Body copy was not: this site ran 14 to
 * 17px against the Foundation's 19px, so the same paragraph read noticeably
 * smaller on one property than the other. These rules bring the body sizes onto
 * the Foundation's scale and match its vertical rhythm.
 *
 * Sizes are named here as tokens so a future change is one edit rather than
 * twenty.
 * ======================================================================== */
:root {
  --fs-label: 14px;   /* uppercase micro-labels only */
  --fs-small: 17px;   /* captions, notes, nav */
  --fs-body: 19px;    /* all paragraph copy */
}

body { font-size: var(--fs-body); }

p,
.kicker,
.card p,
.feature-card p,
.download p,
.quote p { font-size: var(--fs-body); line-height: 1.62; }

.lead { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.52; max-width: 62ch; }
.kicker { max-width: 88ch; line-height: 1.55; }

.navlinks a { font-size: var(--fs-small); padding: 9px 13px; }
.fine, .newsletter-note, .checksum, .tier-note, .tier-footnote { font-size: var(--fs-small); }
.tier-handle, .tier-line { font-size: var(--fs-small); }

/* the ecosystem card, which is dense: same body size, Foundation leading */
.has-partner p { font-size: var(--fs-body); line-height: 1.62; }
.pullout { font-size: var(--fs-body); line-height: 1.6; }

/* ---------- vertical rhythm ----------
 * The Foundation uses 34px section padding, a 22px gap under a section head, and
 * 14px between paragraphs inside a card. Matched here.
 */
.section { padding: 34px 0; }
.section-head { margin-bottom: 22px; }
/*
 * Scoped to the two card types added for this site, NOT to .card.
 *
 * As `.card p` these matched at the same specificity as component rules like
 * `.download p` but sat later in the file, so they won: the download card lost
 * the `margin: 0 auto 26px` that centres its intro and holds the buttons clear
 * of it, and the copy ended up sitting on top of the button row.
 */
.has-partner p,
.app-card p { margin: 0 0 14px; }
.has-partner p:last-of-type,
.app-card p:last-of-type { margin-bottom: 0; }

/* ---------- hero device ----------
 * The phone was 9/19.5, the full modern handset ratio, which made it taller than
 * the desktop mock beside it and pushed the hero panel to 610px. 9/17.5 is still
 * unmistakably a phone, just a shorter one, and lets the panel lose 60px.
 */
.phone-mock { aspect-ratio: 9 / 17.5; }

/* ---------- ghost button ----------
 * The site's non-primary .btn is already an outlined orange pill, so .ghost is an
 * alias rather than a new look. It exists so markup shared with the Foundation
 * site drops in unchanged instead of needing its class list edited.
 */
.btn.ghost {
  border: 2px solid #FB521F;
  background: transparent;
  color: var(--text);
}
.btn.ghost:hover,
.btn.ghost:focus-visible { background: rgba(251, 82, 31, .12); }

/* ---------- inline SVG icons ----------
 * This site draws icons as CSS masks: .ico paints background-color: currentColor
 * and mask-image knocks the glyph out of it. That works on an empty <span>, and
 * it is exactly wrong on an inline <svg>, which draws itself: the background
 * paints a solid block behind the glyph, and where no mask-image is defined for
 * that name, the block is all you see.
 *
 * Markup shared with the Foundation site uses inline <svg class="ico ico-name">.
 * So an svg.ico opts out of both halves of the mask system and renders as a
 * normal SVG, inheriting colour through currentColor from the button or link.
 *
 * The element selector plus a class gives this 0,1,1 against .ico at 0,1,0, so it
 * wins on specificity without !important. It has to reset mask-image too:
 * ico-telegram and ico-envelope are used both ways on this page, and without the
 * reset the mask would clip the inline drawing.
 */
svg.ico {
  background-color: transparent;
  -webkit-mask-image: none;
  mask-image: none;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.btn svg.ico { width: 18px; height: 18px; }

/* ---------- foundation mark in the pull-out ----------
 * The pull-out is a flex row: the mark and the paragraph are siblings, and
 * align-items: center puts them on a shared vertical centre.
 *
 * This was a float before, which is why it kept sitting high. A float aligns to
 * the top of the line box it interrupts and there is no property that vertically
 * centres it against the text beside it. Flex is what actually expresses the
 * relationship, so the mark stays centred whatever length the copy runs to.
 */
.pullout {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 18px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(251, 82, 31, .07);
}
.pullout-text { margin: 0; line-height: 1.6; }
.pullout-lead { color: var(--orange); }

.foundation-mark {
  display: block;
  flex: 0 0 auto;
  padding-left: 6px;
  transition: opacity .16s ease, transform .16s ease;
}
.foundation-mark img { display: block; width: 218px; height: 47px; max-width: 100%; }
.foundation-mark:hover,
.foundation-mark:focus-visible { transform: translateY(-1px); opacity: .85; }

@media (max-width: 760px) {
  /* stacked, and the mark leads */
  .pullout { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foundation-mark { padding-left: 0; }
}

/* ---------- newsletter footnote ----------
 * Shares its markup with the Foundation site. The avatar floats so the copy wraps
 * beside it for the first two lines and runs full width after, rather than a
 * fixed column shortening every line in the block.
 */
.card-footnote { display: block; }
.card-footnote::after { content: ""; display: block; clear: both; }
.newsletter-avatar {
  display: block;
  float: left;
  width: 56px;
  height: 56px;
  margin: 2px 16px 8px 0;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.card-footnote h2 { margin: 0 0 10px; }
.card-footnote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 12px;
}

/* small button, for the footnote action row */
.btn.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: var(--fs-small);
}

@media (max-width: 760px) {
  .foundation-mark { float: none; padding: 0 0 12px; }
}

/* ---------- footer, matching privacysafe.foundation ----------
 * Centred single column, links above the legal text. It was two columns with the
 * fine print left and the links pushed right, which left a ragged gap between
 * them and stranded the last line of legal text mid-row.
 *
 * .fine loses its 760px cap here. Centred text needs a cap less than left-aligned
 * text does in this case: at the container width the copyright runs three or four
 * lines either way, and capping it at 760px inside a 1440px container just puts a
 * visible gutter on both sides of it.
 */
.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 16px;
  text-align: center;
}
/*
 * The links row above stays centred; the legal paragraph is left aligned. A
 * centred paragraph of this length gives every line a different start position,
 * which is hard to scan for a specific clause, and the last line ends up as a
 * short stub in the middle. The 78ch cap keeps the measure readable, and the
 * block itself is still centred in the row by .footer-inner.
 */
/*
 * Left aligned, and running the full container width. The 78ch cap was holding it
 * to a readable measure, but centred in the row that left a wide gutter on both
 * sides while the links above spanned everything. Uncapped it stretches across,
 * which is what balances against the links row.
 *
 * justify-self overrides the justify-items: center on .footer-inner. Without it
 * the paragraph would still shrink to its content box and sit centred, and
 * text-align would have nothing wider to align against.
 */
.fine {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  line-height: 1.62;
  margin: 0;
  text-align: left;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  align-content: start;
}
.footer-links a { padding: 8px 10px; }

/* ---------- app launcher mock ----------
 * The upper of the two drawn windows in the hero panel, above the chat window.
 * Same construction as .desktop-mock: a title bar, a dark body, everything else
 * drawn in CSS. No screenshot, so it stays sharp at any size and carries no real
 * account data.
 *
 * Two rows, not three: the tab strip shares the account row, which is what the
 * real launcher does and what keeps this window short enough to sit above the
 * chat window without the panel growing.
 */
.apps-mock {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 44px;
  height: 196px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: #20201D;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .45);
  overflow: hidden;
}

.apps-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.apps-id {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  flex: 0 0 auto;
}
.apps-status { color: var(--quiet); font-size: 10px; }
.apps-online { color: #6FD3A0; }
.apps-avatar { width: 24px; height: 24px; font-size: 10px; flex: 0 0 auto; }

/* the tabs share the account row now, so the window is two rows rather than three */
.apps-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  margin-right: 4px;
}
.apps-tab { color: var(--quiet); font-size: 11px; }
.apps-tab.is-active {
  color: var(--orange);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--orange);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px;
}
.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 6px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* the real app icons, at the size the tile allows */
.app-glyph {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

/* the chat window sits under the launcher now */
.desktop-mock { top: 268px; }

@media (max-width: 1060px) {
  .apps-mock { left: 14px; right: 14px; top: 24px; height: 184px; }
  .desktop-mock { top: 232px; }
}
@media (max-width: 760px) {
  .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps-mock { height: 226px; }
  .desktop-mock { top: 274px; }
}

/* ---------- hero panel height ----------
 * The panel holds two drawn windows now. The chat window runs 44 to 354, the app
 * launcher 372 to 588, so the panel needs 620 to contain both without the bottom
 * one being cut off by the panel's own overflow: hidden.
 *
 * This is the last .device-stack rule in the file, so it is the one that applies;
 * the earlier 470px was sized for one window.
 */
.device-stack { min-height: 620px; }

@media (max-width: 1060px) {
  .device-stack { min-height: 560px; }
}
@media (max-width: 760px) {
  /* the phone drops away and the launcher grid goes to two columns here */
  .device-stack { min-height: 600px; }
}

/* ---------- app grid ----------
 * Six products, three across. The order is deliberate: Contacts first because an
 * identity is what everything else is addressed to, then Chat, then Treasure.
 * The second row is the two apps still in beta plus the launcher.
 */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.app-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.app-card h3 { margin: 0 0 4px; }
.app-card p { margin: 0 0 12px; }
.app-card p:last-of-type { margin-bottom: 16px; }
.app-card-tagline {
  color: var(--orange);
  font-size: var(--fs-small);
  font-weight: 700;
}

/*
 * The icon box is position: relative so the beta badge can sit on its lower right
 * corner. Without it the badge would anchor to the card and drift as the copy
 * above it changes length.
 */
.app-card-icon {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
}
.app-card-icon img { display: block; width: 64px; height: 64px; }

/*
 * Clay, not the site orange. The badge sits on top of the app icon, which is
 * itself orange, so an orange pill measured 1.0:1 against it and read as part of
 * the artwork. #8A4529 is 2.14:1 against the icon and carries its label at
 * 6.41:1.
 *
 * The ring is what does the real separating: a 2px band of the card colour means
 * the badge stays a distinct object over any icon, whatever colour that icon
 * turns out to be, rather than depending on this particular pairing.
 */
.beta-badge {
  position: absolute;
  right: -8px;
  bottom: -4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #8A4529;
  box-shadow: 0 0 0 2px rgba(38, 38, 36, .95);
  color: #FFF1E8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* the launcher has no product icon of its own, so it gets a drawn one */
.app-card-icon-store {
  display: grid;
  place-items: center;
  border: 2px solid var(--orange);
  border-radius: 18px;
}
.store-glyph {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 3px solid var(--orange);
  border-top-width: 9px;
  box-sizing: border-box;
}

/* the launcher card closes the grid, so it takes the accent border that marks it
   as the delivery mechanism rather than another app */
.app-card-store { border-color: rgba(251, 82, 31, .4); }

.app-card-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--orange);
  font-size: var(--fs-small);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.app-card-source svg.ico { width: 15px; height: 15px; }

@media (max-width: 1060px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .app-grid { grid-template-columns: 1fr; }
}

/* ---------- centred section heads ----------
 * Same three declarations the Foundation site uses, for the same reason: centring
 * a block needs all three. text-align centres the lines inside the block,
 * margin-inline centres the block itself, and the kicker's own cap has to come
 * off or it stays a narrow column sitting inside a wide row.
 *
 * The head is a flex row here rather than a plain block, so the inner div is what
 * gets centred and text-align has to reach through it.
 */
.section-head.center {
  display: block;
  text-align: center;
}
.section-head.center > * { margin-inline: auto; }
.section-head.center .kicker { max-width: 88ch; margin-inline: auto; }
