/* FreeFileSending website.
   Look: warm greys and black with one yellow accent, very big tight type, a "window" for sending,
   a floating quick-links bar. Colours are tokens on :root; dark mode redefines them (it follows the
   computer's setting unless the visitor picks Light or Dark). Everything that moves stays still when
   the visitor's system asks for less motion. */

/* ---------- font (stored on our own server, so no other company sees visits) ---------- */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-tight-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-tight-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- colours ---------- */
:root {
  color-scheme: light;
  --bg: #f2f2f0;
  --bg-2: #e8e8e5;
  --surface: #fbfbfa;
  --surface-2: #f5f5f3;
  --text: #121212;
  --muted: #5a5a56;
  --dim: #8a8a86;
  --border: #dddcd8;
  --border-strong: #c4c3be;
  --ink: #121212;
  --ink-text: #ffffff;
  --ink-hover: #2c2c2c;
  --ink-muted: #b9b9b3;
  --yellow: #fde872;
  --yellow-hover: #fbdf3d;
  --yellow-soft: #fdf6c9;
  --on-yellow: #121212;
  --on-yellow-muted: #3d3a2a;
  --ok: #1d9a52;
  --ok-text: #126b34;
  --ok-soft: #e1f3e7;
  --danger: #c62828;
  --danger-text: #a51f1f;
  --danger-soft: #fbe6e4;
  --warn: #b98a00;
  --warn-text: #6b4e00;
  --warn-soft: #fdf3c8;
  --info-soft: #e8e8e5;
  --dot: rgba(18, 18, 18, 0.14);
  --focus: #121212;
  --shadow: 0 1px 2px rgba(18, 18, 18, 0.05), 0 14px 34px -18px rgba(18, 18, 18, 0.22);
  --shadow-lg: 0 2px 4px rgba(18, 18, 18, 0.04), 0 40px 90px -40px rgba(18, 18, 18, 0.35);
  /* the quick-links bar is dark in both themes */
  --dock-bg: #1c1c1b;
  --dock-chip: #2d2d2b;
  --dock-chip-hover: #3b3b38;
  --dock-text: #f2f2ed;

  --font: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, Consolas, monospace;
  --radius: 24px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #0e0e0d;
    --bg-2: #1f1f1d;
    --surface: #161615;
    --surface-2: #1b1b1a;
    --text: #f2f2ed;
    --muted: #a8a8a1;
    --dim: #62625e;
    --border: #2b2b29;
    --border-strong: #42423e;
    --ink: #f2f2ed;
    --ink-text: #0e0e0d;
    --ink-hover: #dcdcd5;
    --ink-muted: #4f4f4a;
    --yellow-soft: #2f2a0c;
    --ok: #3fcf7c;
    --ok-text: #6fdc9b;
    --ok-soft: #10301d;
    --danger: #ff6b61;
    --danger-text: #ffa29b;
    --danger-soft: #3b1413;
    --warn: #f5d76e;
    --warn-text: #f5d76e;
    --warn-soft: #302708;
    --info-soft: #1f1f1d;
    --dot: rgba(255, 255, 255, 0.12);
    --focus: #fde872;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 34px -18px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 90px -40px rgba(0, 0, 0, 0.9);
    --dock-bg: #222220;
    --dock-chip: #31312e;
    --dock-chip-hover: #3f3f3b;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0e0e0d;
  --bg-2: #1f1f1d;
  --surface: #161615;
  --surface-2: #1b1b1a;
  --text: #f2f2ed;
  --muted: #a8a8a1;
  --dim: #62625e;
  --border: #2b2b29;
  --border-strong: #42423e;
  --ink: #f2f2ed;
  --ink-text: #0e0e0d;
  --ink-hover: #dcdcd5;
  --ink-muted: #4f4f4a;
  --yellow-soft: #2f2a0c;
  --ok: #3fcf7c;
  --ok-text: #6fdc9b;
  --ok-soft: #10301d;
  --danger: #ff6b61;
  --danger-text: #ffa29b;
  --danger-soft: #3b1413;
  --warn: #f5d76e;
  --warn-text: #f5d76e;
  --warn-soft: #302708;
  --info-soft: #1f1f1d;
  --dot: rgba(255, 255, 255, 0.12);
  --focus: #fde872;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 34px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  --dock-bg: #222220;
  --dock-chip: #31312e;
  --dock-chip-hover: #3f3f3b;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.has-dock {
  scroll-padding-bottom: 112px;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--yellow);
  color: #121212;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}
h1,
h2,
h3 {
  margin: 0 0 0.45em;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.25rem);
}
h2 {
  font-size: clamp(2.1rem, 4.8vw, 4rem);
}
h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
p {
  margin: 0 0 1em;
}
code,
kbd {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: var(--bg-2);
}
kbd {
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
}

/* ---------- helpers ---------- */
.hidden {
  display: none !important;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.muted {
  color: var(--muted);
}
.big,
.muted.big {
  font-size: 1.125rem;
}
.center {
  text-align: center;
}
.mt {
  margin-top: 24px;
}
.mt-s {
  margin-top: 12px;
}
.mb {
  margin-bottom: 20px;
}
.h-sm {
  font-size: 1.375rem !important;
  letter-spacing: -0.02em;
}
.small-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.inline-icon {
  display: inline-block;
  margin-right: 4px;
  vertical-align: -2px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.row.start {
  justify-content: flex-start;
}
.row.nowrap {
  flex-wrap: nowrap;
}
.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ink-text);
  font-weight: 650;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s,
    scale 0.15s var(--ease);
}
.btn:active:not([disabled]):not([aria-disabled='true']) {
  scale: 0.98;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-primary,
.btn-ink {
  background: var(--ink);
  color: var(--ink-text);
}
.btn-primary:hover,
.btn-ink:hover {
  background: var(--ink-hover);
}
.btn-accent {
  background: var(--yellow);
  color: var(--on-yellow);
}
.btn-accent:hover {
  background: var(--yellow-hover);
}
.btn-secondary,
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover,
.btn-outline:hover {
  background: var(--surface);
  border-color: var(--text);
}
.btn-ghost {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--bg-2);
}
.btn-danger {
  background: var(--danger);
  color: var(--ink-text);
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-big {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 1.0625rem;
}
.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- top: moving banner + header ---------- */
.site-top {
  position: relative;
  z-index: 20;
}
.ticker {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
}
.ticker-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 9px 22px 9px 0;
  list-style: none;
  white-space: nowrap;
}
.ticker-group li {
  display: flex;
  align-items: center;
  gap: 22px;
}
.ticker-group b {
  font-weight: 700;
}
.smile {
  flex: none;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.3'/%3E%3Cpath d='M8.3 14.3c.9 1.3 2.2 2 3.7 2s2.8-.7 3.7-2'/%3E%3Cpath d='M9.2 9.4v.9M14.8 9.4v.9' stroke-width='2.3'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.3'/%3E%3Cpath d='M8.3 14.3c.9 1.3 2.2 2 3.7 2s2.8-.7 3.7-2'/%3E%3Cpath d='M9.2 9.4v.9M14.8 9.4v.9' stroke-width='2.3'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.ticker-toggle {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 56px;
  padding: 0 0 0 16px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--bg-2) 40%);
  color: var(--text);
  cursor: pointer;
}
.ticker-toggle svg {
  width: 16px;
  height: 16px;
}
.ticker-toggle .i-play,
.ticker.paused .ticker-toggle .i-pause {
  display: none;
}
.ticker.paused .ticker-toggle .i-play {
  display: block;
}
.ticker-toggle:focus-visible {
  outline-offset: -4px;
}
@keyframes ticker {
  to {
    translate: -33.3333% 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ticker-track {
    animation: ticker 55s linear infinite;
  }
  .ticker:hover .ticker-track,
  .ticker:focus-within .ticker-track,
  .ticker.paused .ticker-track {
    animation-play-state: paused;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-toggle {
    display: none;
  }
}

.site-header {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 28px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
}
.wordmark {
  flex: none;
  padding: 6px 2px;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover {
  background: var(--bg-2);
}
.nav a[aria-current='page'] {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.paste {
  position: relative;
  display: none;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 620px;
}
.paste-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  translate: 0 -50%;
  color: var(--muted);
  pointer-events: none;
}
.paste input {
  width: 100%;
  height: 46px;
  padding: 0 86px 0 42px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--text);
  font-size: 0.9375rem;
}
.paste input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.paste input:hover {
  border-color: var(--border-strong);
}
.paste input:focus {
  background: var(--surface);
}
.paste input:focus-visible {
  outline-offset: 0;
}
.paste-go {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: var(--ink);
  color: var(--ink-text);
  font-size: 0.875rem;
  font-weight: 650;
  cursor: pointer;
}
.paste-go:hover {
  background: var(--ink-hover);
}
.paste-msg {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--danger-text);
  font-size: 0.875rem;
}
.paste-msg:empty {
  padding: 0;
  box-shadow: none;
}
.header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.theme-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-2);
}
.theme-switch button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 650;
  cursor: pointer;
}
.theme-switch button:hover {
  color: var(--text);
}
.theme-switch button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--ink-text);
}
.theme-switch svg {
  width: 15px;
  height: 15px;
}
html:not(.js) .theme-switch {
  display: none;
}
@media (min-width: 1180px) {
  .paste {
    display: block;
  }
}
@media (max-width: 999px) {
  .nav .nav-more {
    display: none;
  }
}
@media (max-width: 799px) {
  .nav {
    display: none;
  }
}
@media (max-width: 639px) {
  .header-actions .btn-get {
    display: none;
  }
}
@media (max-width: 479px) {
  .wordmark {
    font-size: 1.5rem;
  }
  .header-actions {
    gap: 8px;
  }
  .theme-switch button {
    padding: 0 10px;
  }
  .theme-switch .theme-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .header-actions .btn {
    padding: 0 14px;
  }
}

/* ---------- home: hero ---------- */
.hero {
  padding: clamp(32px, 5.5vw, 84px) var(--gutter) clamp(30px, 4.2vw, 56px);
  text-align: center;
}
.kicker {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.mega {
  margin: 0;
  font-size: clamp(2rem, 7.6vw, 8.4rem);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.mega-letters {
  display: inline-block;
  clip-path: inset(-0.4em -0.4em 0 -0.4em);
  white-space: nowrap;
}
.mega .ch {
  display: inline-block;
}
.byline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  text-align: left;
}
@media (max-width: 599px) {
  .byline {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
.byline-logo {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.75em;
  height: 1.75em;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ink-text);
}
.byline-logo svg {
  width: 62%;
  height: 62%;
}

/* ---------- the send "window" ---------- */
.send-wrap {
  padding: 0 var(--gutter);
}
.window {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform-origin: 50% 0;
}
.window-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.chips {
  display: flex;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
a.chip:hover {
  background: var(--border);
}
h2.chip {
  margin: 0;
  font-size: 0.9375rem;
}
.chip-current {
  background: var(--ink);
  color: var(--ink-text);
  font-weight: 650;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin: 0 0 0 auto;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--bg-2);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}
.status-pill .dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dim);
}
.status-pill[data-state='ok'] .dot {
  background: var(--ok);
}
.status-pill[data-state='busy'] .dot {
  background: var(--warn);
}
.status-pill[data-state='full'] .dot,
.status-pill[data-state='off'] .dot {
  background: var(--danger);
}
@media (max-width: 759px) {
  .window .chips {
    display: none;
  }
}
.window-body {
  position: relative;
  padding: clamp(18px, 3.4vw, 40px);
  background-color: var(--surface);
  background-image: radial-gradient(circle at center, var(--dot) 1.2px, transparent 1.6px);
  background-position: 13px 13px;
  background-size: 26px 26px;
}

/* step 1: pick */
.drop {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(280px, 40vh, 460px);
  margin: -10px;
  padding: 10px;
  border: 2px dashed transparent;
  border-radius: 20px;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.drop.over {
  border-color: var(--text);
  background-color: var(--yellow-soft);
}
.drop-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.drop-hint {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
}
.drop-hint strong {
  color: var(--text);
  font-weight: 650;
}
.drop-giant {
  margin: auto 0 0;
  padding-top: 32px;
  font-size: clamp(2.5rem, 10vw, 9.25rem);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.dg-touch {
  display: none;
}
@media (hover: none) and (pointer: coarse) {
  .dg-desk {
    display: none;
  }
  .dg-touch {
    display: inline;
  }
}
.drop-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.drop-note svg {
  width: 16px;
  height: 16px;
  flex: none;
}
#pick:has(#selection:not(.hidden)) .drop {
  min-height: 0;
}
#pick:has(#selection:not(.hidden)) .drop-giant {
  font-size: clamp(2rem, 5.4vw, 4.75rem);
  padding-top: 24px;
}
#selection {
  display: grid;
  gap: 20px 32px;
  margin-top: 28px;
}
@media (min-width: 880px) {
  #selection {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    align-items: start;
  }
}
.summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.0625rem;
  font-weight: 650;
}
.summary .muted {
  font-weight: 500;
}
.sel-options {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}
.field select,
.field textarea,
.field input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}
.field textarea {
  min-height: 96px;
  padding: 10px 14px;
  resize: vertical;
}
input[type='text'] {
  min-width: 0;
}
.field .small-note {
  font-weight: 500;
}
.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  font-size: 0.9375rem;
}
.check-row:has(input:checked) {
  border-color: var(--text);
}
.check-row input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--text);
}
.check-row > span {
  display: grid;
  gap: 2px;
}
.check-row .muted {
  font-size: 0.8125rem;
}
@media (max-width: 520px) {
  .options {
    grid-template-columns: 1fr;
  }
}

/* file lists */
.files {
  max-height: 260px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.files li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 10px 8px 14px;
  border-top: 1px solid var(--border);
}
.files li:first-child {
  border-top: 0;
}
.files .ficon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--muted);
}
.files .name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.files .size {
  flex: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.files button.remove,
.files button.get {
  flex: none;
}
.files button.remove svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 520px) {
  #recent-list li {
    flex-wrap: wrap;
  }
  #recent-list .name {
    flex-basis: calc(100% - 40px);
  }
}

/* notices */
.notice {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--info-soft);
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.notice.error {
  background: var(--danger-soft);
  color: var(--danger-text);
}
.notice.ok {
  background: var(--ok-soft);
  color: var(--ok-text);
}
.notice.warn {
  background: var(--warn-soft);
  color: var(--warn-text);
}

/* step 2: uploading */
#uploading,
#done {
  display: flex;
  flex-direction: column;
  min-height: clamp(300px, 42vh, 500px);
}
#uploading h2,
#done h2 {
  margin: 0 0 6px;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
}
.sub {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.0625rem;
}
.big-number {
  margin: auto 0 0;
  padding-top: 24px;
  font-size: clamp(4.5rem, 15vw, 12rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.progress-wrap {
  margin-top: 20px;
}
.bar {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--bg-2);
}
.bar > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
  transition: width 0.25s linear;
}
.progress-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

/* step 3: done */
.done-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.done-head .sub {
  margin: 0;
}
.done-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: #121212;
}
.done-mark svg {
  width: 28px;
  height: 28px;
}
.link-box {
  display: flex;
  gap: 10px;
}
.link-box input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.9375rem;
}
@media (max-width: 520px) {
  .link-box {
    flex-direction: column;
  }
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.facts li {
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--bg-2);
  font-size: 0.875rem;
}
.facts:empty {
  display: none;
}
.qr-box {
  margin-top: 16px;
}
.qr-box summary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-weight: 600;
  cursor: pointer;
}
.qr-box img {
  display: block;
  width: 200px;
  height: 200px;
  margin-top: 10px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  image-rendering: pixelated;
}
#done .row {
  margin-top: 22px;
}

/* ---------- home: sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 11vw, 150px) var(--gutter) 0;
}
#recent-section {
  padding-top: 56px;
}
.section-head {
  max-width: 860px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.section-head h2 {
  margin-bottom: 0.3em;
}
.lead {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

/* how it works: cards that stack as you scroll */
.how-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: end;
  gap: 24px 48px;
  min-height: clamp(250px, 28vw, 380px);
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.how-num {
  margin: 0;
  font-size: clamp(4.5rem, 12vw, 10.5rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.065em;
}
.how-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.how-card p:not(.how-num) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}
.how-card:nth-child(2) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ink-text);
}
.how-card:nth-child(2) p:not(.how-num) {
  color: var(--ink-muted);
}
.how-card:nth-child(3) {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--on-yellow);
}
.how-card:nth-child(3) p:not(.how-num) {
  color: var(--on-yellow-muted);
}
@media (min-width: 880px) {
  .how-list {
    gap: 48px;
  }
  .how-card {
    position: sticky;
    top: 24px;
  }
  .how-card:nth-child(2) {
    top: 44px;
  }
  .how-card:nth-child(3) {
    top: 64px;
  }
}
@media (max-width: 640px) {
  .how-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

/* numbers */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
}
.stat {
  padding-top: 22px;
  border-top: 2px solid var(--text);
}
.stat-num {
  margin: 0;
  font-size: clamp(3.4rem, 6.6vw, 6.25rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-num small {
  margin-left: 0.06em;
  font-size: 0.36em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat-label {
  max-width: 250px;
  margin: 12px 0 0;
  color: var(--muted);
}
@media (max-width: 879px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* desktop app */
.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
@media (max-width: 879px) {
  .app-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ticks {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.0625rem;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--yellow)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}
.app-stage {
  padding: 8px 0 24px;
}
.device {
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 1.4em;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-size: clamp(8px, 1.02vw, 13px);
  line-height: 1.35;
  transform-origin: 50% 100%;
}
.device-bar {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.5em;
  height: 2.6em;
  padding: 0 1.1em;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.device-bar span {
  width: 0.85em;
  height: 0.85em;
  border-radius: 50%;
  background: var(--border-strong);
}
.device-body {
  display: grid;
  flex: 1;
  grid-template-columns: 14em minmax(0, 1fr);
  min-height: 0;
}
.device-side {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  padding: 1.2em 0.9em;
  border-right: 1px solid var(--border);
  background: var(--surface-2);
}
.ds-brand {
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin: 0 0 0.9em 0.3em;
  font-size: 1.25em;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ds-brand i {
  width: 1.4em;
  height: 1.4em;
  border-radius: 0.4em;
  background: var(--ink);
}
.ds-item {
  padding: 0.65em 0.9em;
  border-radius: 0.7em;
  color: var(--muted);
  font-weight: 500;
}
.ds-item.active {
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 650;
}
.device-main {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  min-width: 0;
  padding: 1.6em 1.8em;
}
.dm-title {
  font-size: 1.7em;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.dm-drop {
  display: grid;
  place-items: center;
  height: 5em;
  border: 0.14em dashed var(--border-strong);
  border-radius: 0.9em;
  color: var(--muted);
  font-weight: 600;
}
.dm-row {
  display: flex;
  align-items: center;
  gap: 0.9em;
  padding: 0.7em 0.9em;
  border: 1px solid var(--border);
  border-radius: 0.9em;
  background: var(--surface);
}
.dm-row i {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.6em;
  background: var(--bg-2);
}
.dm-row i svg {
  width: 1.3em;
  height: 1.3em;
}
.dm-row div {
  display: grid;
  flex: 1;
  min-width: 0;
}
.dm-row b {
  font-weight: 650;
}
.dm-row small {
  color: var(--muted);
  font-size: 0.85em;
}
.dm-btn {
  padding: 0.5em 1.2em;
  border-radius: 0.6em;
  background: var(--ink);
  color: var(--ink-text);
  font-weight: 650;
}
.dm-btn.ghost {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
}
.dm-toast {
  display: grid;
  gap: 0.6em;
  margin-top: auto;
  padding: 0.9em 1em;
  border: 1px solid var(--border);
  border-radius: 0.9em;
  background: var(--surface);
}
.dm-toast small {
  color: var(--ok-text);
  font-size: 0.9em;
  font-weight: 600;
}
.dm-bar {
  height: 0.5em;
  overflow: hidden;
  border-radius: 1em;
  background: var(--bg-2);
}
.dm-bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--ok);
}
@media (max-width: 520px) {
  .device {
    aspect-ratio: 4 / 4.2;
    font-size: 11px;
  }
  .device-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .device-side {
    display: none;
  }
  .device-main {
    padding: 1.2em;
  }
}

/* the statement that lights up word by word */
.statement {
  padding-top: clamp(96px, 14vw, 200px);
}
.words {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(2rem, 5.4vw, 5rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

/* privacy cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 879px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.feature {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.feature .ficon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 40px;
  border-radius: 14px;
  background: var(--yellow);
  color: #121212;
}
.feature .ficon svg {
  width: 24px;
  height: 24px;
}
.feature h3 {
  font-size: 1.5rem;
}
.feature p {
  margin: 0;
  color: var(--muted);
}
.more-link {
  margin: 24px 0 0;
  font-weight: 600;
}

/* questions */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0 48px;
}
@media (max-width: 879px) {
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.faq details {
  border-top: 1px solid var(--border-strong);
}
.faq-col details:last-child {
  border-bottom: 1px solid var(--border-strong);
}
@media (max-width: 879px) {
  .faq-col:first-child details:last-child {
    border-bottom: 0;
  }
}
.faq summary {
  position: relative;
  display: block;
  padding: 20px 44px 20px 0;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 6px;
  width: 22px;
  height: 22px;
  translate: 0 -50%;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: rotate 0.25s var(--ease);
}
.faq details[open] summary::after {
  rotate: 45deg;
}
.faq details p {
  max-width: 62ch;
  margin: 0 0 22px;
  color: var(--muted);
}

/* donate */
.donate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.donate p {
  max-width: 640px;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
}

/* ---------- footer ---------- */
.site-footer {
  margin-top: clamp(80px, 12vw, 160px);
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter) 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
}
.footer-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--text);
  text-decoration: none;
}
.footer-inner nav a:hover {
  text-decoration: underline;
}
.footer-inner p {
  margin: 0;
}
.footer-giant {
  margin: 0;
  padding: 0 var(--gutter);
  font-size: clamp(2.6rem, 11.6vw, 14rem);
  font-weight: 850;
  line-height: 0.8;
  letter-spacing: -0.065em;
  text-align: center;
  white-space: nowrap;
  translate: 0 0.12em;
  user-select: none;
}
@media (max-width: 699px) {
  html.has-dock .site-footer {
    padding-bottom: 84px;
  }
}

/* ---------- quick-links bar (home) ---------- */
.dock {
  position: fixed;
  bottom: 18px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100vw - 24px);
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: var(--dock-bg);
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.45);
  translate: -50% 140%;
  opacity: 0;
  visibility: hidden;
  transition:
    translate 0.45s var(--ease),
    opacity 0.3s,
    visibility 0s 0.45s;
}
.dock.show {
  translate: -50% 0;
  opacity: 1;
  visibility: visible;
  transition:
    translate 0.45s var(--ease),
    opacity 0.3s,
    visibility 0s;
}
.dock a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 11px;
  color: var(--dock-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.dock a:focus-visible {
  outline-color: #fde872;
}
.dock-mark {
  min-width: 44px;
  background: #0b0b0b;
  font-size: 1.15rem;
  font-weight: 900 !important;
  letter-spacing: -0.05em;
}
.dock-chip {
  background: var(--dock-chip);
}
.dock-chip:hover {
  background: var(--dock-chip-hover);
}
.dock .dock-cta {
  background: #fde872;
  color: #121212;
  font-weight: 650;
}
.dock .dock-cta:hover {
  background: #fbdf3d;
}
@media (max-width: 479px) {
  .dock .dock-opt {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dock,
  .dock.show {
    translate: -50% 0;
    transition: none;
  }
}

/* ---------- link page (/d/...) ---------- */
.receive {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) var(--gutter) 0;
}
.card {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.receive h1 {
  font-size: clamp(2.3rem, 6vw, 3.75rem);
}
#state-loading {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 64px 24px;
}
#state-loading p {
  margin: 0;
}
.spinner {
  display: inline-block;
  width: 26px;
  height: 26px;
  border: 3px solid var(--bg-2);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
#download-all {
  margin-top: 20px;
}
#files {
  margin-top: 20px;
}
details.card summary {
  cursor: pointer;
  line-height: 1.4;
}
details.card input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.875rem;
}
.report-box {
  margin-top: 20px;
  text-align: center;
}
.report-box .card {
  margin-top: 12px;
  text-align: left;
}

/* ---------- download page ---------- */
.dl-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 96px) var(--gutter) 0;
}
.dl-hero h1 {
  font-size: clamp(1.9rem, 8.2vw, 8rem);
  line-height: 0.84;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.dl-hero .lead {
  max-width: 720px;
}
.dl-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
}
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--gutter) 0;
}
@media (max-width: 879px) {
  .dl-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.os-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.os-card h2 {
  margin-bottom: 6px;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
}
.os-card > p {
  margin: 0 0 8px;
}
.os-card.current {
  border: 2px solid var(--text);
  box-shadow: var(--shadow);
}
.os-card.current::before {
  content: 'Your computer';
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: #121212;
  font-size: 0.75rem;
  font-weight: 700;
}
.os-card .meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  word-break: break-all;
}
.dl-buttons {
  margin-top: auto;
  padding-top: 8px;
}

/* ---------- reading pages ---------- */
.prose {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 88px) var(--gutter) 0;
}
.prose h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
}
.prose h2 {
  margin-top: 1.7em;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
}
.prose h3 {
  margin-top: 1.6em;
}
.prose p,
.prose li {
  font-size: 1.0625rem;
  line-height: 1.65;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li {
  margin: 0.35em 0;
}
.prose table {
  width: 100%;
  margin: 1em 0 1.4em;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.prose th,
.prose td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.prose th {
  border-bottom: 2px solid var(--text);
  font-weight: 650;
}
.prose td code {
  word-break: break-all;
}
.prose details summary {
  font-weight: 600;
  cursor: pointer;
}
.updated {
  color: var(--muted);
}
.dl-page .prose {
  margin-top: 24px;
}

/* ---------- not found ---------- */
.nf {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 110px) var(--gutter) 0;
  text-align: center;
}
.nf-code {
  margin: 0 0 12px;
  font-size: clamp(7rem, 30vw, 22rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.07em;
}
.nf h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* ---------- motion (only when the visitor hasn't asked for less) ---------- */
@keyframes rise {
  from {
    translate: 0 108%;
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  /* page load: big letters rise in, then the rest fades up */
  .mega .ch {
    animation: rise 0.95s var(--ease) both;
    animation-delay: calc(0.08s + var(--i, 0) * 0.045s);
  }
  .mega .ch:nth-child(2) { --i: 1; }
  .mega .ch:nth-child(3) { --i: 2; }
  .mega .ch:nth-child(4) { --i: 3; }
  .mega .ch:nth-child(5) { --i: 4; }
  .mega .ch:nth-child(6) { --i: 5; }
  .mega .ch:nth-child(7) { --i: 6; }
  .mega .ch:nth-child(8) { --i: 7; }
  .mega .ch:nth-child(9) { --i: 8; }
  .mega .ch:nth-child(10) { --i: 9; }
  .mega .ch:nth-child(11) { --i: 10; }
  .mega .ch:nth-child(12) { --i: 11; }
  .mega .ch:nth-child(13) { --i: 12; }
  .mega .ch:nth-child(14) { --i: 13; }
  .mega .ch:nth-child(15) { --i: 14; }
  .hero .kicker {
    animation: fade-up 0.7s var(--ease) both;
  }
  .hero .byline {
    animation: fade-up 0.8s 0.4s var(--ease) both;
  }
  .send-wrap .window {
    animation: fade-up 0.9s 0.2s var(--ease) both;
  }

  /* scroll: things fade up as they come into view */
  .motion-ok [data-reveal] {
    opacity: 0;
    translate: 0 18px;
    transition:
      opacity 0.6s var(--ease),
      translate 0.6s var(--ease);
  }
  .motion-ok [data-reveal].in {
    opacity: 1;
    translate: none;
  }
  .motion-ok .stat[data-reveal]:nth-child(2),
  .motion-ok .feature[data-reveal]:nth-child(2) {
    transition-delay: 0.08s;
  }
  .motion-ok .stat[data-reveal]:nth-child(3),
  .motion-ok .feature[data-reveal]:nth-child(3) {
    transition-delay: 0.16s;
  }
  .motion-ok .stat[data-reveal]:nth-child(4) {
    transition-delay: 0.24s;
  }

  /* scroll-linked: the app picture tilts flat, the send window grows a little */
  .motion-ok .app-stage[data-scrub] .device {
    transform: perspective(1800px) rotateX(calc((1 - var(--p, 0)) * 14deg)) scale(calc(0.92 + 0.08 * var(--p, 0)));
  }
  .motion-ok .app-stage .dm-bar span {
    width: 8%;
    transition: width 2.4s 0.4s var(--ease);
  }
  .motion-ok .app-stage.in .dm-bar span {
    width: 100%;
  }

  /* the statement lights up word by word */
  .motion-ok .words .w {
    color: var(--dim);
    transition: color 0.35s ease;
  }
  .motion-ok .words .w.lit {
    color: var(--text);
  }
}
@media (min-width: 880px) and (prefers-reduced-motion: no-preference) {
  .js .window[data-scrub] {
    scale: calc(0.96 + 0.04 * var(--p, 0));
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 2s;
  }
  .btn:active:not([disabled]) {
    scale: none;
  }
}

/* ---------- Windows high contrast, printing ---------- */
@media (forced-colors: active) {
  .btn,
  .chip,
  .status-pill,
  .theme-switch button,
  .dock a,
  .paste-go {
    border: 1px solid ButtonText;
  }
  .smile,
  .faq summary::after {
    background: CanvasText;
  }
  .bar > span {
    background: Highlight;
  }
}
@media print {
  .ticker,
  .dock,
  .theme-switch,
  .paste,
  .footer-giant {
    display: none !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
