/* DearFile's website. Identity colours come from tokens.css (generated from MelvilDesign);
   surfaces and text are set here, light and dark. No web fonts: the system's own. */

:root {
  --bg: #F7F8FC;
  --card: #FFFFFF;
  --text: #141726;
  --text-2: #464C66;
  --text-3: #6B7190;
  --line: #E1E4EF;
  --glass: rgba(247, 248, 252, .78);
  --shadow-sm: 0 1px 2px rgba(20, 24, 40, .06), 0 4px 14px rgba(20, 24, 40, .05);
  --shadow-lg: 0 2px 6px rgba(20, 24, 40, .06), 0 30px 80px -20px rgba(30, 40, 110, .35);
  --glow-1: rgba(47, 74, 207, .20);
  --glow-2: rgba(11, 122, 133, .16);
  --glow-3: rgba(106, 52, 168, .14);
  --band-1: var(--hue-lapis);
  --band-2: var(--hue-violet);
  --on-accent: #FFFFFF;
  --max: 1120px;
  --side: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1018;
    --card: #181B28;
    --text: #EEF0F8;
    --text-2: #B3B8CF;
    --text-3: #868CA8;
    --line: #262A3B;
    --glass: rgba(14, 16, 24, .72);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5), 0 4px 14px rgba(0, 0, 0, .3);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 30px 80px -20px rgba(0, 0, 0, .8);
    --glow-1: rgba(140, 162, 255, .18);
    --glow-2: rgba(79, 201, 211, .12);
    --glow-3: rgba(190, 150, 240, .12);
    --band-1: #1E2C78;
    --band-2: #3B1F6B;
    --on-accent: #0E1018;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1018;
  --card: #181B28;
  --text: #EEF0F8;
  --text-2: #B3B8CF;
  --text-3: #868CA8;
  --line: #262A3B;
  --glass: rgba(14, 16, 24, .72);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5), 0 4px 14px rgba(0, 0, 0, .3);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 30px 80px -20px rgba(0, 0, 0, .8);
  --glow-1: rgba(140, 162, 255, .18);
  --glow-2: rgba(79, 201, 211, .12);
  --glow-3: rgba(190, 150, 240, .12);
  --band-1: #1E2C78;
  --band-2: #3B1F6B;
  --on-accent: #0E1018;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
svg.icon { width: 22px; height: 22px; flex: none; }

/* Vertical spacing never uses the `padding` shorthand on a .wrap: it would wipe the gutter. */
.wrap { max-width: var(--max); margin-left: auto; margin-right: auto;
  padding-left: var(--side); padding-right: var(--side); }
@media (min-width: 700px) { :root { --side: 32px; } }
section { scroll-margin-top: 80px; }

/* Header: sticky, translucent */
.top-bar { position: sticky; top: 0; z-index: 10; background: var(--glass);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px;
  flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text);
  text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.top nav { display: flex; align-items: center; gap: 6px 20px; flex-wrap: wrap; font-size: 15px; }
.top nav a { color: var(--text-2); text-decoration: none; }
.top nav a:hover { color: var(--text); }
/* Light or dark, the visitor's choice; shows the icon of the mode it switches to. */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--text-2); cursor: pointer; padding: 0; }
.theme-toggle:hover { color: var(--text); }
.theme-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.theme-toggle svg.icon { width: 17px; height: 17px; }
.theme-toggle .sun { display: none; }
.theme-toggle[data-showing="dark"] .sun { display: block; }
.theme-toggle[data-showing="dark"] .moon { display: none; }

/* The screenshot in the visitor's appearance, whichever way it was chosen. */
.shot-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-light { display: none; }
  :root:not([data-theme="light"]) .shot-dark { display: block; }
}
:root[data-theme="dark"] .shot-light { display: none; }
:root[data-theme="dark"] .shot-dark { display: block; }

.top nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
/* On a phone the sticky bar keeps one line: the language and Feedback stay, the rest is in
   the footer. */
@media (max-width: 560px) { .top nav a.wide { display: none; } }

/* Buttons */
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px;
  border-radius: 12px; font-weight: 600; font-size: 15.5px; text-decoration: none;
  border: 1.5px solid var(--accent); transition: transform .15s ease; }
.button.primary { background: var(--accent); color: var(--on-accent);
  box-shadow: 0 10px 24px -10px var(--accent); }
.button.ghost { color: var(--accent); background: var(--card); }
a.button:hover { transform: translateY(-1px); }
.button.soon { background: var(--card); color: var(--text); border-color: var(--line);
  cursor: default; box-shadow: var(--shadow-sm); }
.top nav .button.primary { padding: 7px 14px; font-size: 14px; border-radius: 10px;
  color: var(--on-accent); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } a.button:hover { transform: none; } }

/* Hero */
.hero { position: relative; text-align: center; padding-top: 72px; isolation: isolate; }
/* Three slow blobs of the identity hues. They drift, never flash; still under reduced motion. */
.aurora { position: absolute; inset: -140px 0 auto; height: 900px; z-index: -1;
  pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent); }
.aurora::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--text) 13%, transparent) 1px,
    transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 50% at 50% 35%, #000, transparent 75%);
  mask-image: radial-gradient(60% 50% at 50% 35%, #000, transparent 75%); }
.aurora span { position: absolute; width: 640px; height: 640px; border-radius: 50%;
  filter: blur(70px); opacity: .55; }
.aurora span:nth-child(1) { background: var(--hue-lapis); left: calc(50% - 720px); top: 40px;
  animation: drift-a 22s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { background: var(--hue-violet); left: calc(50% + 40px); top: -60px;
  animation: drift-b 26s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { background: var(--hue-teal); left: calc(50% - 300px); top: 300px;
  opacity: .4; animation: drift-c 30s ease-in-out infinite alternate; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .aurora span { opacity: .28; } }
:root[data-theme="dark"] .aurora span { opacity: .28; }
@keyframes drift-a { to { transform: translate(140px, 60px) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-160px, 90px) scale(.9); } }
@keyframes drift-c { to { transform: translate(120px, -80px) scale(1.15); } }

/* No CSS shadow: a macOS icon carries its own, and a second one outlines its square. */
.hero img.icon { width: 112px; height: 112px; margin: 0 auto 22px;
  animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--text-2); background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 22%, transparent); }
.hero h1 { font-size: clamp(42px, 8vw, 84px); line-height: 1.02; margin: 0 0 22px;
  letter-spacing: -0.045em; font-weight: 800; }
.gradient { background: linear-gradient(100deg, var(--hue-lapis), var(--hue-violet) 30%,
  var(--hue-teal) 60%, var(--hue-lapis) 90%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 12s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.hero p.lead { font-size: clamp(17px, 2.3vw, 21px); color: var(--text-2); max-width: 580px;
  margin: 0 auto 34px; }
.note { color: var(--text-3); font-size: 14px; margin: 18px 0 0; }
.status { display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 22px 0 0; font-size: 15px; font-weight: 600; color: var(--text-2); }
.status svg.icon { width: 18px; height: 18px; color: var(--accent); }

/* The one screenshot: tilted back, it settles flat as it scrolls into view. */
.stage { position: relative; margin: 64px auto 0; max-width: 1040px; perspective: 1800px; }
.halo { position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 40px;
  background: linear-gradient(120deg, var(--hue-lapis), var(--hue-violet), var(--hue-teal));
  filter: blur(60px); opacity: .38; }
.shot-frame { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); background: var(--card); transform-origin: 50% 0; }
.promises { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px 12px; }
.promises li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px;
  border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--text);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.promises svg.icon { width: 17px; height: 17px; }
.promises li:nth-child(1) svg { color: var(--hue-lapis); }
.promises li:nth-child(2) svg { color: var(--hue-teal); }
.promises li:nth-child(3) svg { color: var(--success); }

/* At a glance */
.stats { list-style: none; margin: 96px 0 0; padding: 0; display: grid; gap: 1px;
  grid-template-columns: repeat(2, 1fr); background: var(--line); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: var(--card); padding: 26px 20px; text-align: center; }
.stats strong { display: block; font-size: clamp(30px, 4vw, 42px); line-height: 1.1;
  letter-spacing: -0.04em; font-weight: 800;
  background: linear-gradient(135deg, var(--hue-lapis), var(--hue-violet));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--text-2); font-size: 14.5px; }

/* Sections */
.section { padding-top: 112px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px; padding: 4px 12px;
  border-radius: 999px; background: color-mix(in srgb, var(--accent) 11%, transparent); }
.section-head h2 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.06; margin: 0 0 14px;
  letter-spacing: -0.035em; }
.section-head p { color: var(--text-2); margin: 0; font-size: 17.5px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 26px; box-shadow: var(--shadow-sm); }
.card h3 { margin: 18px 0 6px; font-size: 19px; letter-spacing: -0.015em; line-height: 1.3; }
.card p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.badge { display: inline-flex; align-items: center; justify-content: center; width: 46px;
  height: 46px; border-radius: 13px; color: var(--c, var(--accent));
  background: color-mix(in srgb, var(--c, var(--accent)) 14%, transparent); }
.lapis { --c: var(--hue-lapis); }
.teal { --c: var(--hue-teal); }
.violet { --c: var(--hue-violet); }
.olive { --c: var(--hue-olive); }
.rose { --c: var(--hue-rose); }
.clay { --c: var(--hue-clay); }

/* Features: a bento of abstract drawings — shapes of the idea, not pictures of the app. */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, 1fr); }
  .span-4 { grid-column: span 2; } }
@media (min-width: 960px) { .bento { grid-template-columns: repeat(6, 1fr); }
  .span-4 { grid-column: span 4; } .span-2 { grid-column: span 2; } }
.feature { position: relative; padding: 14px 14px 26px; transition: transform .25s ease,
  box-shadow .25s ease, border-color .25s ease; }
.feature h3, .feature p { padding: 0 12px; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.art { position: relative; height: 210px; border-radius: 15px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 28px;
  background:
    radial-gradient(70% 90% at 20% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%),
    radial-gradient(60% 80% at 100% 100%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%),
    color-mix(in srgb, var(--c) 5%, var(--card));
  border: 1px solid color-mix(in srgb, var(--c) 14%, transparent); }
.art .k1 { background: var(--hue-lapis); } .art .k2 { background: var(--hue-teal); }
.art .k3 { background: var(--hue-violet); }

.donut { width: 160px; height: 160px; transform: rotate(-90deg); flex: none; }
.donut circle { fill: none; stroke-width: 24; }
.donut .track { stroke: color-mix(in srgb, var(--text) 8%, transparent); }
.donut .seg { stroke-dasharray: var(--len) 100; stroke-dashoffset: calc(-1 * var(--at)); }
.donut .s1 { stroke: var(--hue-lapis); --len: 30; --at: 0; }
.donut .s2 { stroke: var(--hue-teal); --len: 20; --at: 31; }
.donut .s3 { stroke: var(--hue-violet); --len: 14; --at: 52; }
.donut .s4 { stroke: var(--hue-clay); --len: 9; --at: 67; }
.donut .back { stroke: var(--hue-rose); --len: 17; --at: 77; stroke-width: 30;
  animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; width: 190px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legend b { height: 8px; border-radius: 4px; width: var(--w);
  background: color-mix(in srgb, var(--text) 14%, transparent); }
.legend .back i { background: var(--hue-rose); }
.legend em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--hue-rose); }
@media (max-width: 420px) { .legend { display: none; } }

.art-tidy { gap: 18px; }
.chips { display: grid; gap: 10px; }
.chips span { display: flex; align-items: center; gap: 8px; width: 112px; padding: 9px 10px;
  border-radius: 10px; background: var(--card); box-shadow: var(--shadow-sm);
  animation: file-in 4.5s ease-in-out infinite; }
.chips span:nth-child(2) { animation-delay: .25s; margin-left: 18px; }
.chips span:nth-child(3) { animation-delay: .5s; }
.chips i { width: 14px; height: 18px; border-radius: 3px; flex: none; }
.chips b { height: 7px; flex: 1; border-radius: 4px;
  background: color-mix(in srgb, var(--text) 14%, transparent); }
@keyframes file-in { 0%, 20% { transform: none; opacity: 1; }
  45%, 60% { transform: translateX(26px); opacity: .25; } 85%, 100% { transform: none; opacity: 1; } }
.folder { width: 78px; flex: none; }
.folder path:first-child { fill: color-mix(in srgb, var(--c) 30%, var(--card));
  stroke: var(--c); stroke-width: 2; }
.folder .tick { fill: none; stroke: var(--c); stroke-width: 4; stroke-linecap: round;
  stroke-linejoin: round; }

.art-copies .doc { position: absolute; width: 104px; height: 132px; border-radius: 12px;
  background: var(--card); box-shadow: var(--shadow-sm); padding: 22px 16px; display: grid;
  gap: 9px; align-content: start; border: 1px solid var(--line); }
.art-copies .doc b { height: 7px; border-radius: 4px;
  background: color-mix(in srgb, var(--text) 13%, transparent); }
.art-copies .doc b:first-child { width: 70%; background: color-mix(in srgb, var(--c) 45%, transparent); }
.art-copies .back { transform: translate(-30px, -8px) rotate(-8deg); opacity: .55; }
.art-copies .front { transform: translate(24px, 6px) rotate(4deg); }
.art-copies .ok { position: absolute; right: -12px; bottom: -12px; width: 36px; height: 36px;
  border-radius: 50%; background: var(--success); display: grid; place-items: center;
  box-shadow: 0 0 0 5px var(--card); }
.art-copies .ok svg { width: 20px; height: 20px; fill: none; stroke: #FFFFFF; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round; }

.art-find { flex-direction: column; gap: 16px; padding: 0 20px; }
.search { display: flex; align-items: center; gap: 10px; width: min(360px, 100%);
  padding: 11px 16px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); color: var(--text-3); font-size: 15px; }
.search svg.icon { width: 18px; height: 18px; }
.typed { color: var(--text); white-space: nowrap; overflow: hidden;
  border-right: 2px solid var(--c); width: 13ch; font-family: inherit;
  animation: type 5s steps(13) infinite, caret .8s step-end infinite; }
@keyframes type { 0% { width: 0; } 45%, 85% { width: 13ch; } 100% { width: 0; } }
@keyframes caret { 50% { border-color: transparent; } }
.formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 440px; }
.formats span { font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--text-2); }
.formats span:nth-child(3n+1) { color: var(--hue-lapis); }
.formats span:nth-child(3n+2) { color: var(--hue-teal); }
.formats span:nth-child(3n) { color: var(--hue-violet); }
.lock { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, var(--card)); }
.lock svg { width: 20px; height: 20px; }

/* Steps, joined by one line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px;
  grid-template-columns: 1fr; position: relative; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .steps::before { content: ""; position: absolute; top: 25px; left: 16%; right: 16%; height: 2px;
    background: linear-gradient(90deg, var(--hue-lapis), var(--hue-violet), var(--hue-teal));
    opacity: .5; } }
.steps li { position: relative; text-align: center; padding: 0 12px; }
.steps .num { position: relative; display: inline-flex; align-items: center;
  justify-content: center; width: 52px; height: 52px; border-radius: 50%; font-weight: 800;
  font-size: 19px; color: var(--on-accent);
  background: linear-gradient(135deg, var(--hue-lapis), var(--hue-violet));
  box-shadow: 0 0 0 8px var(--bg), 0 12px 26px -10px var(--hue-lapis); }
.steps h3 { margin: 20px 0 6px; font-size: 19px; letter-spacing: -0.015em; }
.steps p { margin: 0 auto; color: var(--text-2); font-size: 15.5px; max-width: 300px; }

/* Privacy band */
.band { position: relative; overflow: hidden; isolation: isolate; margin-top: 112px;
  padding: 80px 24px; border-radius: 32px; text-align: center; color: #FFFFFF;
  background: linear-gradient(135deg, var(--band-1), var(--band-2)); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent); }
.rings { position: absolute; left: 50%; top: 104px; z-index: -1; }
.rings span { position: absolute; left: 0; top: 0; width: 80px; height: 80px; margin: -40px;
  border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35);
  animation: ripple 6s ease-out infinite; }
.rings span:nth-child(2) { animation-delay: -2s; }
.rings span:nth-child(3) { animation-delay: -4s; }
@keyframes ripple { from { transform: scale(.6); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
.band svg.shield { width: 48px; height: 48px; margin: 0 auto; display: block; }
.band h2 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.08; margin: 18px 0 12px;
  letter-spacing: -0.035em; }
.band p { max-width: 580px; margin: 0 auto; color: rgba(255, 255, 255, .88); font-size: 17.5px; }
.band ul { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px; }
.band li { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px; padding: 7px 16px; font-size: 14.5px; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* The whole band opens the policy: the link's ::after covers it, so it stays one real link. */
.band-link { display: inline-block; margin-top: 28px; color: #FFFFFF; font-weight: 600;
  font-size: 15.5px; text-decoration: none; text-underline-offset: 4px; }
.band-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.band-link:focus-visible { outline: none; }
.band-link:focus-visible::after { outline: 3px solid #FFFFFF; outline-offset: -6px; }
.band:hover .band-link { text-decoration: underline; }
.band:has(.band-link:hover)::before { background-color: rgba(255, 255, 255, .04); }

/* Feedback */
.feedback { position: relative; overflow: hidden; text-align: center; padding: 64px 24px; }
.feedback::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--hue-rose), var(--hue-violet), var(--hue-lapis)); }
.feedback h2 { margin: 16px 0 12px; font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.03em;
  line-height: 1.1; }
.feedback p { color: var(--text-2); max-width: 560px; margin: 0 auto 28px; font-size: 17.5px; }
.feedback p.note { margin: 22px auto 0; font-size: 14.5px; color: var(--text-3); }

/* Motion. `html.motion` is set only when the visitor has not asked for less motion, so
   without it (or without script) everything is simply in place. motion.js adds `.in`. */
.motion .hero .wrap > * { animation: arrive .9s cubic-bezier(.2, .7, .2, 1) both; }
.motion .hero .wrap > :nth-child(1) { animation-name: arrive-icon; }
.motion .hero .wrap > :nth-child(2) { animation-delay: .08s; }
.motion .hero .wrap > :nth-child(3) { animation-delay: .16s; }
.motion .hero .wrap > :nth-child(4) { animation-delay: .26s; }
.motion .hero .wrap > :nth-child(5) { animation-delay: .34s; }
.motion .hero .wrap > :nth-child(6) { animation-delay: .4s; }
.motion .hero .wrap > :nth-child(7) { animation-delay: .44s; }
.motion .hero .wrap > :nth-child(8) { animation-delay: .5s; animation-duration: 1.2s; }
.motion .hero .wrap > :nth-child(9) { animation-delay: .7s; }
.motion .hero img.icon { animation: arrive-icon .9s cubic-bezier(.2, .7, .2, 1) both,
  float 7s ease-in-out 1s infinite; }
@keyframes arrive { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } }
@keyframes arrive-icon { from { opacity: 0; transform: scale(.6) rotate(-8deg); } }

.motion .reveal { opacity: 0; transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .feature.reveal.in { transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1),
  box-shadow .25s ease, border-color .25s ease; transition-delay: calc(var(--i, 0) * 90ms), 0s, 0s, 0s; }
.motion .feature.reveal.in:hover { transform: translateY(-3px); transition-delay: 0s; }
.motion .shot-frame { transform: rotateX(18deg) scale(.94); will-change: transform; }

/* Inside the drawings: the donut draws itself, the bars grow, the tick is written. */
.motion .reveal .donut .seg { stroke-dasharray: 0 100;
  transition: stroke-dasharray 1.1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(.25s + var(--n, 0) * .14s); }
.motion .reveal.in .donut .seg { stroke-dasharray: var(--len) 100; }
.donut .s2 { --n: 1; } .donut .s3 { --n: 2; } .donut .s4 { --n: 3; } .donut .back { --n: 4; }
.motion .reveal .legend b { width: 0; transition: width .9s cubic-bezier(.2, .7, .2, 1) .5s; }
.motion .reveal.in .legend b { width: var(--w); }
.folder .tick { stroke-dasharray: 30; stroke-dashoffset: 0; }
.motion .reveal .folder .tick { stroke-dashoffset: 30; transition: stroke-dashoffset .7s ease .6s; }
.motion .reveal.in .folder .tick { stroke-dashoffset: 0; }
.motion .reveal .art-copies .front { transform: translate(-30px, -8px) rotate(-8deg); }
.motion .reveal.in .art-copies .front { transform: translate(24px, 6px) rotate(4deg);
  transition: transform .9s cubic-bezier(.3, 1.4, .5, 1) .35s; }
.motion .reveal .art-copies .ok { transform: scale(0); }
.motion .reveal.in .art-copies .ok { transform: scale(1);
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) 1.1s; }
.motion .reveal .formats span { opacity: 0; transform: translateY(8px); }
.motion .reveal.in .formats span { opacity: 1; transform: none;
  transition: opacity .5s ease, transform .5s ease; }
.formats span:nth-child(2) { transition-delay: .35s; } .formats span:nth-child(3) { transition-delay: .4s; }
.formats span:nth-child(4) { transition-delay: .45s; } .formats span:nth-child(5) { transition-delay: .5s; }
.formats span:nth-child(6) { transition-delay: .55s; } .formats span:nth-child(7) { transition-delay: .6s; }
.formats span:nth-child(8) { transition-delay: .65s; } .formats span:nth-child(1) { transition-delay: .3s; }

/* Steps: the line draws from the first number to the last, and each number pops. */
@media (min-width: 820px) {
  .motion .steps::before { transform: scaleX(0); transform-origin: left;
    transition: transform 1.4s cubic-bezier(.4, 0, .2, 1) .2s; }
  .motion .steps.in::before { transform: none; }
}
.motion .steps li .num { transform: scale(.4); opacity: 0; }
.motion .steps li.in .num { transform: none; opacity: 1;
  transition: transform .6s cubic-bezier(.3, 1.6, .5, 1), opacity .3s ease;
  transition-delay: calc(.15s + var(--i, 0) * .25s); }

/* A soft light under the pointer on each feature card. */
.feature::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%),
    color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); }
.motion .feature:hover::after { opacity: 1; }

/* The primary button: a sheen passes over it. */
.motion a.button.primary { position: relative; overflow: hidden; }
.motion a.button.primary::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%,
    color-mix(in srgb, var(--on-accent) 35%, transparent) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease; }
.motion a.button.primary:hover::after { transform: translateX(120%); }

/* The header shades once the page moves under it. */
.top-bar { transition: box-shadow .3s ease; }
.top-bar.scrolled { box-shadow: var(--shadow-sm); }

@media (prefers-reduced-motion: reduce) {
  .aurora span, .hero img.icon, .gradient, .donut .back, .chips span, .typed,
  .rings span { animation: none; }
  .feature { transition: none; } .feature:hover { transform: none; }
}

/* The hero's files: small tiles in the app's own icon style, each floating beside the
   title until it is filed into DearFile's folder at the top. Still, and only on wide
   screens, when motion is reduced. */
.flying { position: absolute; inset: 0; pointer-events: none; z-index: -1; --spread: 1; }
@media (max-width: 1320px) { .flying { --spread: .78; } }
@media (max-width: 1000px) { .flying .tile { display: none; } }
.tile { position: absolute; left: 50%; top: 128px; width: 46px; height: 46px;
  margin: -23px 0 0 -23px; border-radius: 13px; display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 16%, var(--card));
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); box-shadow: var(--shadow-sm);
  transform: translate(calc(var(--x) * var(--spread)), var(--y)) rotate(var(--r)); }
.tile svg { width: 22px; height: 22px; }
.icon-glow { position: absolute; left: 50%; top: 128px; width: 190px; height: 190px;
  margin: -95px 0 0 -95px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent),
    transparent); }
.pill .dot { position: relative; }
.pill .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--success); opacity: 0; }
.aurora { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }

.motion .tile { animation: filed 9s cubic-bezier(.55, 0, .35, 1) var(--d) infinite both; }
@keyframes filed {
  0% { transform: translate(calc(var(--x) * var(--spread)), calc(var(--y) + 16px)) scale(.7);
    opacity: 0; }
  10% { transform: translate(calc(var(--x) * var(--spread)), var(--y)) rotate(var(--r));
    opacity: 1; }
  40% { transform: translate(calc(var(--x) * var(--spread)), calc(var(--y) - 12px))
    rotate(calc(var(--r) * -1)); }
  68% { transform: translate(calc(var(--x) * var(--spread)), var(--y)) rotate(var(--r));
    opacity: 1; }
  88%, 100% { transform: translate(0, 0) scale(.3) rotate(0deg); opacity: 0; }
}
.motion .icon-glow { animation: glow 4.5s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.18); opacity: .6; } }
.motion .pill .dot::after { animation: ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
.motion .aurora { transform: translate(calc(var(--px, 0) * 36px), calc(var(--py, 0) * 24px)); }

/* The title, word by word (motion.js splits it). */
.motion .hero h1.split { animation: none; }
.motion .hero h1 .word { display: inline-block;
  animation: arrive .8s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(.18s + var(--w) * 80ms); }
.motion .hero h1 .gradient.word { animation: arrive .8s cubic-bezier(.2, .7, .2, 1) both,
  sheen 12s linear 1s infinite; animation-delay: calc(.18s + var(--w) * 80ms), 1s; }

@media (prefers-reduced-motion: reduce) {
  .tile, .icon-glow, .pill .dot::after { animation: none; }
}

/* Support and privacy open the way the home page does, smaller. */
.page-hero { position: relative; isolation: isolate; text-align: center; padding-top: 72px;
  padding-bottom: 8px; }
.page-hero .aurora.soft { height: 560px; inset: -140px 0 auto; }
.page-hero .aurora.soft span { width: 480px; height: 480px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.04; margin: 0 0 16px;
  letter-spacing: -0.04em; font-weight: 800; }
.page-hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-2); max-width: 560px;
  margin: 0 auto; }
.page-hero .promises { margin-top: 24px; }
.page-hero .updated { color: var(--text-3); font-size: 14px; margin: 20px 0 0; }

/* Long text: support and privacy */
.prose { max-width: 720px; margin: 0 auto; padding-top: 24px; padding-bottom: 24px; }
.prose h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.12; margin: 16px 0 12px;
  letter-spacing: -0.03em; }
.prose h2 { font-size: 20px; margin: 36px 0 6px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.prose h2[id] { scroll-margin-top: 84px; }
.toc { margin: 28px 0 8px; padding: 20px 24px; border-radius: 16px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.toc p { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3); }
.toc ol { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.toc li { color: var(--text-3); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.ask { margin-top: 48px; text-align: center; padding: 36px 24px; }
.ask h2 { margin-top: 0; }
.ask p { margin: 0 0 20px; }
.prose .updated { color: var(--text-3); font-size: 14px; }

footer { margin-top: 112px; border-top: 1px solid var(--line); padding-top: 28px;
  padding-bottom: 44px; color: var(--text-3); font-size: 14px; }
footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  align-items: center; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--text); }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer .brand { font-size: 15px; color: var(--text-2); font-weight: 600; }
footer .brand img { width: 22px; height: 22px; }
