/* Lumenkeep by Nicholas Xerri. Nocturne theme by default, warm ivory in light mode.
   Fonts are self-hosted under the SIL Open Font License (see /fonts/). */
@font-face { font-family: 'Newsreader'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/newsreader-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/newsreader-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/newsreader-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-weight: 500; font-style: italic; font-display: swap; src: url(/fonts/newsreader-latin-500-italic.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 400 700; font-display: swap; src: url(/fonts/InstrumentSans.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #0B1426;
  --bg2: #111C33;
  --bg3: #08101F;
  --text: #F5EFE4;
  --text2: #D9D2C5;
  --muted: #A7AFBF;
  --line: rgba(245, 239, 228, .10);
  --line2: rgba(245, 239, 228, .24);
  --accent: #C9A96E;
  --kicker: #C9A96E;
  --link: #E2C690;
  --gold: #C9A96E;
  --gold-hover: #D8BC86;
  --on-gold: #0B1426;
  --tag-pro: #E2C690;
  --tag-free: #D9D2C5;
  --hdr: rgba(11, 20, 38, .92);
  --glow1: rgba(201, 169, 110, .13);
  --glow2: rgba(120, 140, 190, .10);
  --shadow: 0 24px 64px rgba(0, 0, 0, .45);
  --maker-bg: #F5EFE4;
  --maker-text: #0B1426;
  --maker-text2: #2A3346;
  --maker-link: #7A5C24;
  --cross: #C9A96E;
  --display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #FAF7F1;
    --bg2: #FFFFFF;
    --bg3: #F1ECE2;
    --text: #0B1426;
    --text2: #2A3346;
    --muted: #4E586B;
    --line: rgba(11, 20, 38, .12);
    --line2: rgba(11, 20, 38, .30);
    --accent: #7A5C24;
    --kicker: #7A5C24;
    --link: #6B4F1C;
    --tag-pro: #7A5C24;
    --tag-free: #2A3346;
    --hdr: rgba(250, 247, 241, .94);
    --glow1: rgba(201, 169, 110, .18);
    --glow2: rgba(11, 20, 38, .05);
    --shadow: 0 20px 50px rgba(11, 20, 38, .16);
    --maker-bg: #0B1426;
    --maker-text: #F5EFE4;
    --maker-text2: #D9D2C5;
    --maker-link: #E2C690;
    --cross: #7A5C24;
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--bg); min-height: 100vh; overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 20; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; font-weight: 600; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--hdr); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(10px)) { .site-header { backdrop-filter: blur(10px); } }
.hdr { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: block; flex: none; border-radius: 8px; }
.logo img { height: 44px; width: auto; }
.nav-main { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-main a, .menu nav a { color: var(--text2); text-decoration: none; }
.nav-main a:hover, .menu nav a:hover { color: var(--text); text-decoration: underline; }
.nav-main a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; border: 1px solid var(--line2); border-radius: 10px; padding: 8px 14px; font-size: 15px; color: var(--text); min-height: 40px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 50px; display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px; min-width: 230px; box-shadow: var(--shadow); }
.menu nav a { padding: 9px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; border-radius: 10px; padding: 11px 20px; font-size: 16px; line-height: 1.25; text-align: center; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-ghost { border: 1px solid var(--line2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-small { padding: 8px 16px; font-size: 15px; min-height: 40px; }
.btn-disabled { border: 1px dashed var(--line2); color: var(--muted); cursor: default; }

/* Type */
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--kicker); }
h1, h2, .plan h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 6.4vw, 84px); margin: 14px 0 22px; overflow-wrap: break-word; }
h2 { font-size: clamp(34px, 4.6vw, 58px); margin: 12px 0 18px; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h3, .h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; line-height: 1.3; text-transform: none; letter-spacing: 0; color: var(--text); }
.lead { font-size: 20px; color: var(--text2); max-width: 36em; }
.fine, .note-small, figcaption { font-size: 14px; color: var(--muted); }
.note-small { margin-top: 14px; max-width: 46em; }
p + p { margin-top: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 64px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 520px at 85% 0%, var(--glow1), transparent 60%), radial-gradient(600px 500px at 0% 100%, var(--glow2), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }

/* Screens */
.phone, .tablet { margin: 0; }
.phone { max-width: 340px; margin: 0 auto; }
.phone picture { border-radius: 44px; overflow: hidden; border: 1px solid var(--line2); box-shadow: var(--shadow); background: var(--bg3); }
.tablet { margin-top: 30px; }
.tablet picture { border-radius: 22px; overflow: hidden; border: 1px solid var(--line2); box-shadow: var(--shadow); background: var(--bg3); }
.phone img, .tablet img { width: 100%; }
.phone figcaption, .tablet figcaption { margin-top: 12px; font-style: italic; text-align: center; }
.hero-phones .phone { max-width: 360px; }
.pair { position: relative; margin: 0 auto; max-width: 480px; display: grid; grid-template-columns: 1fr; }
.pair picture { display: block; border-radius: 40px; overflow: hidden; border: 1px solid var(--line2); box-shadow: var(--shadow); background: var(--bg3); }
.pair img { width: 100%; }
.pair-back { grid-area: 1 / 1; width: 58%; justify-self: end; margin-top: 70px; transform: rotate(5deg); }
.pair-front { grid-area: 1 / 1; width: 62%; justify-self: start; position: relative; z-index: 1; transform: rotate(-2deg); }
.pair figcaption { margin-top: 18px; font-style: italic; text-align: center; }
.pair::before { content: ""; position: absolute; inset: 10% 0 20%; background: radial-gradient(closest-side, var(--glow1), transparent); filter: blur(10px); z-index: -1; }

/* iPhone Duo */
.duo-band { position: relative; overflow: hidden; background: radial-gradient(800px 500px at 80% 50%, var(--glow1), transparent 65%), var(--bg3); border-bottom: 1px solid var(--line); }
.duo-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.duo-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.duo-shot { margin: 0; }
.duo-shot picture { display: block; padding: 7px; border-radius: 28px; border: 1px solid var(--line2); box-shadow: var(--shadow); background: #05080F; }
.duo-shot img { border-radius: 21px; }
.duo-shot img { width: 100%; }
.duo-shot figcaption { margin-top: 12px; text-align: center; font-weight: 600; font-size: 15px; color: var(--text2); }
.duo-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.duo-arrow::before { content: ""; width: 34px; height: 34px; border-right: 2px solid var(--accent); border-top: 2px solid var(--accent); transform: rotate(45deg); margin-left: -12px; }
.duo-note { margin-top: 16px; text-align: center; }

/* A look inside: a row of real screens */
.look { background: linear-gradient(180deg, transparent, var(--bg3) 30%, var(--bg3) 70%, transparent); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 22px; margin-top: 34px; padding: 6px 4px 22px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.strip-item { scroll-snap-align: start; max-width: none; margin: 0; }
.strip-item picture { border-radius: 30px; }
.strip-item figcaption { font-style: normal; font-weight: 600; color: var(--text2); font-size: 15px; }
.strip-note { margin-top: 6px; }

/* iPad with an iPhone in front */
.devices { position: relative; display: grid; grid-template-columns: 1fr; margin-top: 34px; max-width: 760px; }
.devices .tablet { grid-area: 1 / 1; width: 74%; margin: 0; }
.devices .tablet picture { display: block; }
.devices-phone { grid-area: 1 / 1; width: 30%; max-width: none; justify-self: end; align-self: end; margin: 0 4% 64px 0; position: relative; z-index: 1; }
.devices-phone figcaption { display: none; }

/* Promises strip */
.promises { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.promises-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-top: 20px; padding-bottom: 20px; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--text2); }
.promises-row span::before { content: "\25C6"; color: var(--kicker); margin-right: 8px; font-size: 11px; vertical-align: 2px; }

/* Sections */
.band { padding: 88px 0; }
.band-tight { padding: 40px 0 72px; }
.page-head { padding: 72px 0 24px; }
.page-head .lead { margin-bottom: 8px; }
.walls, .cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.wall, .card { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.wall h3, .card h3 { margin: 14px 0 8px; }
.card h3 { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wall p, .card p { color: var(--text2); font-size: 16px; }
.cross { width: 30px; height: 30px; fill: var(--cross); }
.cross-sm { width: 20px; height: 20px; }
.cross-lg { width: 96px; height: 96px; flex: none; fill: var(--maker-text); }
.more { margin-top: 26px; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.2fr; }
.split p { color: var(--text2); }
.ticks { list-style: none; margin-top: 16px; }
.ticks li { padding-left: 28px; position: relative; margin: 8px 0; color: var(--text2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; vertical-align: middle; line-height: 1.5; }
.tag-pro { color: var(--tag-pro); }
.tag-free { color: var(--tag-free); }
.tag-planned { color: var(--muted); border-style: dashed; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.plans + .fine { margin-top: 18px; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 30px; background: var(--bg2); }
.plan-pro { border-color: var(--tag-pro); }
.plan h3 { font-size: 38px; font-family: var(--display); }
.plan p { color: var(--text2); }
.price { font-size: 15px; margin: 6px 0 14px; }
.price b { font-size: 26px; color: var(--text); font-weight: 700; margin-right: 6px; }
.status { color: var(--muted); font-style: italic; margin-top: 12px; }
.note { margin-top: 22px; color: var(--text2); }
.coming { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.coming div { border: 1px dashed var(--line2); border-radius: 16px; padding: 22px; color: var(--text2); }
.coming b { display: block; color: var(--text); margin-bottom: 6px; font-size: 18px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
caption { text-align: left; padding: 14px 16px 4px; color: var(--muted); font-size: 14px; }
th, td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tbody th { font-weight: 600; }
.compare td, .compare thead th + th { text-align: center; width: 11em; }
.compare .price-row td { white-space: nowrap; }
.yes { color: var(--accent); font-weight: 700; }
.no { color: var(--muted); }
.price-row th, .price-row td { font-weight: 700; color: var(--text); }

/* Prose pages */
.prose > * { max-width: 820px; }
.prose > .table-wrap { max-width: 900px; }
.prose h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose dd, .prose li { color: var(--text2); }
.prose ul.ticks { margin-bottom: 12px; }
.faq dt { font-weight: 700; color: var(--text); margin-top: 20px; }
.faq dd { margin-top: 4px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin-bottom: 20px; }
.facts dt { font-weight: 700; }
.steps { padding-left: 1.4em; }
.steps li { margin: 10px 0; padding-left: 4px; }
.contact { margin-top: 18px; font-size: 20px; }
.cta-line { margin-top: 24px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.feature { border-top: 1px solid var(--line); padding-top: 16px; }
.feature h2 { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.feature p { color: var(--text2); font-size: 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cta-band { text-align: center; }
.cta-band .ctas { justify-content: center; }

/* Maker band */
.maker { background: var(--maker-bg); color: var(--maker-text); }
.maker-row { display: flex; gap: 36px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.maker h2 { color: var(--maker-text); font-size: clamp(34px, 4vw, 52px); }
.maker p { font-size: 19px; max-width: 40em; color: var(--maker-text2); }
.maker a { color: var(--maker-link); font-weight: 600; }

/* Footer */
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.ftr { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.ftr nav a { display: block; text-decoration: none; color: var(--text2); padding: 4px 0; }
.ftr nav a:hover { color: var(--text); text-decoration: underline; }
.ftr .logo img { height: 40px; }
.by { display: flex; gap: 10px; align-items: center; margin: 14px 0 8px; color: var(--text); font-family: var(--display); font-size: 21px; font-weight: 500; }
.fine-print { margin-top: 28px; font-size: 13px; }
/* The rule sits on the content edge, not across the .wrap padding, so it lines up with the columns above. */
.fine-print::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: 20px; }
.fine-print p + p { margin-top: 6px; }

@media (max-width: 980px) {
  .nav-main, .hdr-cta { display: none; }
  .menu { display: block; }
  .hero { padding: 44px 0 40px; }
  .duo-grid, .hero-grid, .split, .split.rev, .plans, .coming, .ftr, .platforms, .feature-list, .gallery { grid-template-columns: 1fr; gap: 32px; }
  .walls, .cards3 { grid-template-columns: 1fr; }
  .split.rev .media { order: 2; }
  .lead { font-size: 18px; }
  .band { padding: 56px 0; }
  .band-tight { padding: 24px 0 48px; }
  .page-head { padding: 44px 0 16px; }
  .maker-row { flex-direction: column; align-items: flex-start; }
  .phone, .hero-phones .phone { max-width: 300px; }
  .pair { max-width: 360px; }
  .strip { grid-auto-columns: 62vw; max-width: 100%; }
  .devices .tablet { width: 82%; }
  .devices-phone { width: 34%; margin-bottom: 48px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .logo img { height: 38px; }
  .cross-lg { width: 64px; height: 64px; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  th, td { padding: 10px 12px; }
  .compare td, .compare thead th + th { width: 5.2em; padding-left: 6px; padding-right: 6px; }
  table { font-size: 15px; }
}
/* ------------------------------------------------------------------
   Diagrams (src/diagrams.mjs). CSS only. Each element's normal style is
   its end state; keyframes animate towards it, so with reduced motion
   (rule at the end of this file) every diagram is still complete.
   ------------------------------------------------------------------ */
.ico { width: 30px; height: 30px; }
.diagram { position: relative; overflow: hidden; margin: 34px 0 0; padding: 34px 30px 26px; background: var(--bg2); border: 1px solid var(--line); border-radius: 22px; }
.diagram::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, var(--glow1), transparent 70%); pointer-events: none; }
.diagram > * { position: relative; }
.diagram > figcaption { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }

/* A row of steps joined by pipes; a column on small screens. */
.flow { display: flex; align-items: flex-start; }
.flow + .flow, .dg-notes + .flow { margin-top: 30px; padding-top: 30px; border-top: 1px dashed var(--line2); }
.node { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 4px; }
.node-wide { flex-grow: 1.5; }
.node-vis { height: 104px; display: grid; place-items: center; margin-bottom: 14px; color: var(--accent); }
.node-k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--kicker); margin-bottom: 4px; }
.node-t { font-size: 17px; line-height: 1.3; }
.node-p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--text2); }
.flow-sm .node-vis { height: 76px; margin-bottom: 10px; }
.flow-sm .node-t { font-size: 16px; }
.pipe { flex: 0 0 44px; position: relative; height: 104px; }
.dg-keys .node-vis, .dg-keys .pipe { height: 124px; }
.flow-sm .pipe { height: 76px; }
.pipe::before { content: ""; position: absolute; left: 2px; right: 8px; top: 50%; border-top: 2px dashed var(--line2); }
.pipe i { position: absolute; right: 2px; top: calc(50% - 5px); width: 10px; height: 10px; border-right: 2px solid var(--accent); border-top: 2px solid var(--accent); transform: rotate(45deg); }
.pipe::after { content: ""; position: absolute; top: calc(50% - 4px); left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px 2px var(--glow1), 0 0 6px var(--gold); opacity: 0; animation: lk-travel 2.6s ease-in-out infinite; }
.pipe-d1::after { animation-delay: .65s; }
.pipe-d2::after { animation-delay: 1.3s; }
.pipe-d3::after { animation-delay: 1.95s; }
@keyframes lk-travel { 0% { left: 0; opacity: 0; } 15%, 80% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
@keyframes lk-travel-v { 0% { top: 0; opacity: 0; } 15%, 80% { opacity: 1; } 100% { top: calc(100% - 9px); opacity: 0; } }

/* Passphrase being typed */
.typing { display: flex; align-items: center; gap: 6px; padding: 13px 14px; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg3); }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--text); animation: lk-type 6s infinite backwards; animation-delay: calc(var(--i, 0) * .14s); }
.typing b { width: 2px; height: 18px; background: var(--accent); animation: lk-blink 1s steps(1) infinite; }
.typing i:nth-child(2) { --i: 1; } .typing i:nth-child(3) { --i: 2; } .typing i:nth-child(4) { --i: 3; } .typing i:nth-child(5) { --i: 4; }
.typing i:nth-child(6) { --i: 5; } .typing i:nth-child(7) { --i: 6; } .typing i:nth-child(8) { --i: 7; } .typing i:nth-child(9) { --i: 8; } .typing i:nth-child(10) { --i: 9; }
@keyframes lk-type { 0% { opacity: 0; transform: scale(.4); } 3% { opacity: 1; transform: none; } 82% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes lk-blink { 50% { opacity: 0; } }

/* Argon2id filling memory */
.mem { display: grid; grid-template-columns: repeat(8, 13px); gap: 3px; padding: 8px; border: 1px solid var(--line2); border-radius: 10px; background: var(--bg3); }
.mem i { height: 13px; border-radius: 2px; background: var(--gold); opacity: .9; animation: lk-fill 6s infinite backwards; animation-delay: calc(var(--c, 0) * .07s + var(--r, 0) * .5s + .9s); }
.mem i:nth-child(8n+2) { --c: 1; } .mem i:nth-child(8n+3) { --c: 2; } .mem i:nth-child(8n+4) { --c: 3; } .mem i:nth-child(8n+5) { --c: 4; }
.mem i:nth-child(8n+6) { --c: 5; } .mem i:nth-child(8n+7) { --c: 6; } .mem i:nth-child(8n+8) { --c: 7; }
.mem i:nth-child(n+9) { --r: 1; } .mem i:nth-child(n+17) { --r: 2; } .mem i:nth-child(n+25) { --r: 3; } .mem i:nth-child(n+33) { --r: 4; }
@keyframes lk-fill { 0% { opacity: .12; } 5% { opacity: 1; } 70% { opacity: .9; } 88%, 100% { opacity: .12; } }

/* Key file slots: all the same, one opens */
.slots { display: grid; grid-template-columns: repeat(4, 22px); gap: 6px; }
.slots i { height: 52px; border-radius: 5px; border: 1px solid var(--line2); background: repeating-linear-gradient(135deg, var(--bg3) 0 4px, var(--bg2) 4px 8px); }
.slots i:nth-child(2) { border-color: var(--accent); box-shadow: 0 0 18px var(--glow1); animation: lk-slot 6s infinite; }
@keyframes lk-slot { 0%, 45% { border-color: var(--line2); box-shadow: none; } 55%, 92% { border-color: var(--accent); box-shadow: 0 0 18px var(--glow1); } 100% { border-color: var(--line2); box-shadow: none; } }

/* A key with a glow ring */
.keyring { position: relative; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; border: 1px solid var(--accent); background: var(--bg3); color: var(--accent); }
.keyring .ico { width: 34px; height: 34px; }
.keyring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: lk-ring 2.6s ease-out infinite; }
@keyframes lk-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* HKDF sub-keys */
.derive { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.derive li { font-size: 12px; font-weight: 600; line-height: 1.2; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line2); color: var(--text2); background: var(--bg3); animation: lk-pop 6s infinite backwards; animation-delay: calc(var(--i, 0) * .25s + 2.6s); }
.derive li:nth-child(2) { --i: 1; } .derive li:nth-child(3) { --i: 2; } .derive li:nth-child(4) { --i: 3; } .derive li:nth-child(5) { --i: 4; }
@keyframes lk-pop { 0% { opacity: 0; transform: translateX(-10px); } 6% { opacity: 1; transform: none; } 85% { opacity: 1; } 95%, 100% { opacity: 0; } }
.dg-compact .node-vis { height: 96px; }

/* A sample picture, drawn with gradients (no photo) */
.pic { display: block; width: 96px; height: 96px; border-radius: 14px; border: 1px solid var(--line2); background: radial-gradient(circle at 70% 34%, #F6D99A 0 11%, transparent 12%), linear-gradient(180deg, #E8B46F 0%, #C77A5B 46%, #34466F 47%, #22335A 70%, #16223F 100%); }
.pic-sm { width: 66px; height: 66px; border-radius: 12px; }
.chunks { display: flex; gap: 5px; }
.chunks i { position: relative; width: 26px; height: 96px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line2); background: radial-gradient(circle at 70% 34%, #F6D99A 0 11%, transparent 12%), linear-gradient(180deg, #E8B46F 0%, #C77A5B 46%, #34466F 47%, #22335A 70%, #16223F 100%); background-size: 186px 96px; background-position: calc(var(--i, 0) * -31px) 0; }
.chunks i:nth-child(2) { --i: 1; } .chunks i:nth-child(3) { --i: 2; } .chunks i:nth-child(4) { --i: 3; } .chunks i:nth-child(5) { --i: 4; } .chunks i:nth-child(6) { --i: 5; }
.chunks i::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(201, 169, 110, .28) 0 2px, transparent 2px 5px), repeating-linear-gradient(90deg, #0E1830 0 3px, #15213D 3px 7px); animation: lk-seal 7s infinite backwards; animation-delay: calc(var(--i, 0) * .35s + 1s); }
.chunks i::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 5px; height: 5px; border-radius: 2px; background: var(--gold); animation: lk-seal 7s infinite backwards; animation-delay: calc(var(--i, 0) * .35s + 1.2s); }
@keyframes lk-seal { 0% { opacity: 0; transform: translateY(-100%); } 6% { opacity: 1; transform: none; } 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
.sealed-file { display: grid; place-items: center; width: 72px; height: 88px; border-radius: 10px; border: 1px solid var(--accent); background: var(--bg3); color: var(--accent); }
.sealed-file .ico { width: 38px; height: 38px; }
.dg-notes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.dg-notes li { font-size: 15px; color: var(--text2); padding: 14px 16px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--line); }
.dg-notes b { color: var(--text); }
.dice { display: grid; grid-template-columns: repeat(2, 20px); gap: 6px; }
.dice i { height: 20px; border-radius: 5px; border: 1px solid var(--accent); background: var(--bg3); animation: lk-dice 1.6s steps(2) infinite; }
.dice i:nth-child(2), .dice i:nth-child(3) { background: var(--gold); animation-direction: reverse; }
@keyframes lk-dice { 50% { background: var(--gold); } }
.wrap-key { display: flex; align-items: center; gap: 2px; }
.wrap-key .ico:first-child { animation: lk-tuck 3.4s ease-in-out infinite; }
@keyframes lk-tuck { 0%, 20% { transform: translateX(-10px); } 55%, 100% { transform: none; } }
.db { display: flex; flex-direction: column; gap: 4px; }
.db i { width: 64px; height: 14px; border-radius: 50%; border: 1px solid var(--accent); background: var(--bg3); }
.db i:nth-child(2) { animation: lk-pulse 2.6s ease-in-out infinite; }
@keyframes lk-pulse { 50% { background: var(--glow1); } }

/* What is stored */
.disk { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.disk-row { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; align-items: center; }
.disk-row > span { padding: 11px 16px; border-top: 1px solid var(--line); font-size: 15.5px; }
.disk-head > span { border-top: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.disk-row > span:first-child { font-weight: 600; color: var(--text); }
.plain { color: var(--text2); }
.cipher { position: relative; overflow: hidden; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 14px; color: var(--accent); background: var(--bg3); }
.cipher i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--glow1), transparent); transform: translateX(-100%); animation: lk-scan 4.5s ease-in-out infinite; }
.disk-row:nth-child(3) .cipher i { animation-delay: .25s; } .disk-row:nth-child(4) .cipher i { animation-delay: .5s; } .disk-row:nth-child(5) .cipher i { animation-delay: .75s; }
.disk-row:nth-child(6) .cipher i { animation-delay: 1s; } .disk-row:nth-child(7) .cipher i { animation-delay: 1.25s; }
@keyframes lk-scan { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
.thumb { display: inline-block; width: 40px; height: 40px; border-radius: 7px; vertical-align: middle; background: radial-gradient(circle at 70% 34%, #F6D99A 0 11%, transparent 12%), linear-gradient(180deg, #E8B46F 0%, #C77A5B 46%, #34466F 47%, #16223F 100%); }
.thumb-noise { background: repeating-linear-gradient(0deg, rgba(201, 169, 110, .35) 0 2px, transparent 2px 5px), repeating-linear-gradient(90deg, #0E1830 0 3px, #1B2A4B 3px 6px); }

/* Face ID */
.scan { position: relative; display: grid; place-items: center; width: 66px; height: 66px; color: var(--text); overflow: hidden; }
.scan .ico { width: 54px; height: 54px; }
.scan i { position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: var(--accent); box-shadow: 0 0 10px var(--gold); animation: lk-sweep 2.6s ease-in-out infinite alternate; }
@keyframes lk-sweep { 0% { top: 14%; } 100% { top: 84%; } }
.enclave { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 16px; border: 1px solid var(--accent); background: var(--bg3); color: var(--accent); animation: lk-pulse 2.6s ease-in-out infinite; }
.enclave .ico { width: 40px; height: 40px; }

/* Backup and sync */
.sync { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.sync-end { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; width: 150px; color: var(--accent); }
.sync-end .ico { width: 46px; height: 46px; }
.sync-end b { color: var(--text); font-size: 16px; }
.sync-end span { color: var(--muted); font-size: 14px; }
.sync-lane { position: relative; overflow: hidden; height: 120px; border-top: 2px dashed var(--line2); border-bottom: 2px dashed var(--line2); border-radius: 2px; }
.env { position: absolute; top: calc(12px + var(--i, 0) * 25px); left: calc(var(--i, 0) * 22%); display: flex; align-items: center; gap: 6px; padding: 2px 9px 2px 6px; border-radius: 7px; border: 1px solid var(--accent); background: var(--bg3); color: var(--accent); white-space: nowrap; animation: lk-fly 6s linear infinite backwards; animation-delay: calc(var(--i, 0) * 1.5s); }
.env .ico { width: 15px; height: 15px; }
.env em { font-style: normal; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 12.5px; color: var(--text2); }
.env:nth-child(2) { --i: 1; } .env:nth-child(3) { --i: 2; } .env:nth-child(4) { --i: 3; }
@keyframes lk-fly { 0% { left: 0; opacity: 0; } 10%, 85% { opacity: 1; } 100% { left: calc(100% - 120px); opacity: 0; } }
.sees { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.sees > div { padding: 18px 20px; border-radius: 14px; background: var(--bg3); border: 1px solid var(--line); }
.sees h3 { font-size: 17px; }

/* Rotate Encryption */
.rot { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.rot-grid { display: grid; grid-template-columns: repeat(6, 34px); gap: 7px; }
.rot-grid i { height: 34px; border-radius: 7px; border: 1px solid var(--gold); background: var(--gold); animation: lk-rekey 9s infinite backwards; animation-delay: calc(var(--i, 0) * .22s + .4s); }
.rot-grid i:nth-child(2) { --i: 1; } .rot-grid i:nth-child(3) { --i: 2; } .rot-grid i:nth-child(4) { --i: 3; } .rot-grid i:nth-child(5) { --i: 4; } .rot-grid i:nth-child(6) { --i: 5; }
.rot-grid i:nth-child(7) { --i: 6; } .rot-grid i:nth-child(8) { --i: 7; } .rot-grid i:nth-child(9) { --i: 8; } .rot-grid i:nth-child(10) { --i: 9; } .rot-grid i:nth-child(11) { --i: 10; } .rot-grid i:nth-child(12) { --i: 11; }
.rot-grid i:nth-child(13) { --i: 12; } .rot-grid i:nth-child(14) { --i: 13; } .rot-grid i:nth-child(15) { --i: 14; } .rot-grid i:nth-child(16) { --i: 15; } .rot-grid i:nth-child(17) { --i: 16; } .rot-grid i:nth-child(18) { --i: 17; }
@keyframes lk-rekey { 0% { border-color: var(--line2); background: var(--bg3); } 4%, 88% { border-color: var(--gold); background: var(--gold); } 96%, 100% { border-color: var(--line2); background: var(--bg3); } }
.rot-switch { position: relative; display: grid; width: 150px; height: 44px; border-radius: 999px; border: 1px solid var(--line2); background: var(--bg3); font-size: 14px; font-weight: 600; overflow: hidden; }
.rot-switch span { grid-area: 1 / 1; display: grid; place-items: center; }
.rot-old { color: var(--muted); opacity: 0; animation: lk-old 9s infinite; }
.rot-new { color: var(--accent); animation: lk-new 9s infinite; }
@keyframes lk-old { 0%, 52% { opacity: 1; } 56%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes lk-new { 0%, 52% { opacity: 0; transform: translateY(60%); } 56%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.rot-steps { list-style: none; counter-reset: rs; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.rot-steps li { counter-increment: rs; font-size: 15px; color: var(--text2); padding: 14px 16px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--line); }
.rot-steps li::before { content: counter(rs); display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 8px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 14px; }
.rot-steps b { color: var(--text); }

/* Deleting */
.key-gone { animation: lk-gone 5s infinite; }
.key-gone::after { animation: none; }
.file-gone { animation: lk-gone 5s infinite; animation-delay: .9s; }
@keyframes lk-gone { 0%, 30% { opacity: 1; transform: none; filter: none; } 55%, 85% { opacity: .18; transform: scale(.86) rotate(-8deg); filter: blur(1.5px); } 100% { opacity: 1; transform: none; filter: none; } }

/* Screenshot protection */
.cap { display: grid; grid-template-columns: auto auto 1fr; gap: 26px; align-items: center; }
.cap-phone { position: relative; width: 132px; height: 250px; padding: 10px; border-radius: 28px; border: 1px solid var(--line2); background: #05080F; box-shadow: var(--shadow); }
.pic-fill { width: 100%; height: 100%; border-radius: 19px; border: 0; }
.cap-flash { position: absolute; inset: 10px; border-radius: 19px; background: #FFFFFF; opacity: 0; animation: lk-flash 5s infinite; }
@keyframes lk-flash { 0%, 38% { opacity: 0; } 41% { opacity: .85; } 50%, 100% { opacity: 0; } }
.cap-shot { display: grid; place-items: center; width: 96px; height: 180px; border-radius: 16px; border: 2px solid var(--text2); background: #05080F; box-shadow: var(--shadow); transform: rotate(4deg); animation: lk-shot 5s infinite; }
.cap-shot span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #A7AFBF; }
.cap-shot .ico { color: #C9A96E; }
@keyframes lk-shot { 0%, 44% { opacity: 0; transform: translate(-60px, 10px) scale(.7); } 56%, 92% { opacity: 1; transform: rotate(4deg); } 100% { opacity: 0; transform: rotate(4deg); } }
.cap-text h3 { font-size: 19px; margin-bottom: 8px; }
.cap-text p { color: var(--text2); font-size: 16px; }

/* How it works: hero ornament, stats, contents, sections */
.hiw-hero { padding-bottom: 40px; }
.hiw-hero h1 { font-size: clamp(44px, 5.6vw, 74px); }
.orbit { position: relative; justify-self: center; width: min(420px, 80vw); aspect-ratio: 1; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line2); animation: lk-spin 40s linear infinite; }
.ring b { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 999px; border: 1px solid var(--accent); background: var(--bg); color: var(--accent); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.ring-1 { inset: 0; }
.ring-2 { inset: 15%; animation-duration: 30s; animation-direction: reverse; }
.ring-3 { inset: 30%; animation-duration: 22s; }
.ring b { animation: lk-unspin 40s linear infinite; }
.ring-2 b { top: auto; bottom: -12px; animation-duration: 30s; animation-direction: reverse; }
.ring-3 b { animation-duration: 22s; }
@keyframes lk-unspin { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(-360deg); } }
.ring::after { content: ""; position: absolute; top: 50%; right: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.orbit-core { position: absolute; inset: 41%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(closest-side, var(--glow1), transparent); }
.cross-orbit { width: 100%; height: 100%; }
@keyframes lk-spin { to { transform: rotate(360deg); } }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.toc a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line2); color: var(--text2); text-decoration: none; font-size: 14.5px; }
.toc a:hover { border-color: var(--accent); color: var(--text); }
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.stats-row div { display: flex; flex-direction: column; gap: 2px; }
.stats-row b { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; color: var(--accent); }
.stats-row span { font-size: 14.5px; color: var(--text2); }
.hiw { scroll-margin-top: 80px; }
#limits { scroll-margin-top: 80px; }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; border: 1px solid var(--accent); letter-spacing: 0; vertical-align: 1px; }
.hiw-cards { margin-top: 24px; }

/* Home: what's new, and the teaser */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.news-card { padding: 22px 22px 20px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); transition: border-color .2s; }
.news-card:hover { border-color: var(--accent); }
.news-card .ico { width: 26px; height: 26px; color: var(--accent); margin-bottom: 12px; }
.news-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 6px; }
.news-card p { font-size: 15.5px; color: var(--text2); }
.teaser { background: radial-gradient(900px 420px at 50% 0%, var(--glow1), transparent 70%), var(--bg3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.teaser .diagram { background: var(--bg2); }

/* Gentle reveal while scrolling, where the browser supports scroll timelines. */
@supports (animation-timeline: view()) {
  .card, .wall, .feature, .news-card, .plan, .diagram, .sees > div, .dg-notes li, .rot-steps li {
    animation: lk-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
  }
}
@keyframes lk-reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .flow { flex-direction: column; align-items: stretch; }
  .node { padding: 0; }
  .node-p { max-width: 30em; margin-left: auto; margin-right: auto; }
  .pipe, .flow-sm .pipe, .dg-keys .pipe { flex: 0 0 auto; height: 46px; width: 100%; }
  .pipe::before { left: 50%; right: auto; top: 4px; bottom: 10px; border-top: 0; border-left: 2px dashed var(--line2); }
  .pipe i { right: auto; left: calc(50% - 5px); top: auto; bottom: 4px; transform: rotate(135deg); }
  .pipe::after { left: calc(50% - 3.5px); top: 0; animation-name: lk-travel-v; }
  .dg-notes, .sees, .rot-steps, .news, .stats-row { grid-template-columns: 1fr 1fr; }
  .cap { grid-template-columns: auto auto; justify-content: center; }
  .cap-text { grid-column: 1 / -1; }
  .orbit { width: min(340px, 78vw); }
  .disk-row { grid-template-columns: .9fr 1.3fr 1.3fr; }
}
@media (max-width: 640px) {
  .dg-notes, .sees, .rot-steps, .news { grid-template-columns: 1fr; }
  .diagram { padding: 26px 16px 20px; border-radius: 18px; }
  .sync { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .sync-end { width: auto; }
  .sync-lane { width: 100%; height: 118px; }
  .disk-row { grid-template-columns: 1fr 1fr; }
  .disk-row > span:first-child { grid-column: 1 / -1; padding-bottom: 0; border-top: 1px solid var(--line); }
  .disk-row > span:not(:first-child) { border-top: 0; }
  .disk-head > span:first-child { display: none; }
  .disk-head > span { border-top: 0; }
  .disk-row > span { padding: 8px 12px; font-size: 14.5px; }
  .cipher { font-size: 12.5px; }
  .rot-grid { grid-template-columns: repeat(6, 30px); }
  .rot-grid i { height: 30px; }
}


/* Sync, your way */
.sw { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 14px; }
.sw-dev, .sw-cloud { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; width: 168px; padding: 16px 12px; border-radius: 16px; background: var(--bg3); border: 1px solid var(--line); }
.sw-cloud { border-color: var(--accent); box-shadow: 0 0 0 6px var(--glow1); animation: lk-breathe 5s ease-in-out infinite; }
.sw-ico { color: var(--accent); }
.sw-ico .ico { width: 38px; height: 38px; }
.sw-dev b, .sw-cloud b { font-size: 16px; color: var(--text); }
.sw-mode { margin-top: 4px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); font-size: 12.5px; font-weight: 600; }
.sw-note { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.sw-col { display: grid; gap: 14px; }
.sw-c { opacity: .92; }
.sw-lane { position: relative; height: 2px; min-width: 60px; background: repeating-linear-gradient(90deg, var(--line2) 0 6px, transparent 6px 12px); }
.sw-lane i { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--accent); background: var(--bg3); box-shadow: 0 0 10px var(--glow1); opacity: 0; animation: lk-travel 3.6s ease-in-out infinite backwards; }
.sw-lane i:nth-child(2) { animation-delay: 1.2s; } .sw-lane i:nth-child(3) { animation-delay: 2.4s; }
.sw-down i { animation-delay: .6s; } .sw-down i:nth-child(2) { animation-delay: 1.8s; } .sw-down i:nth-child(3) { animation-delay: 3s; }
@keyframes lk-breathe { 50% { box-shadow: 0 0 0 12px transparent; } }

/* Duplicate Finder */
.du { display: grid; gap: 26px; }
.du-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.du-pic { position: relative; display: block; width: 84px; height: 84px; border-radius: 14px; border: 1px solid var(--line2); background: radial-gradient(circle at 70% 34%, #F6D99A 0 11%, transparent 12%), linear-gradient(180deg, #E8B46F 0%, #C77A5B 46%, #34466F 47%, #22335A 70%, #16223F 100%); }
.du-a { background: radial-gradient(circle at 30% 30%, #F2E6C8 0 10%, transparent 11%), linear-gradient(180deg, #9FB8C9 0%, #6F8FA8 50%, #3A5068 51%, #22344A 100%); }
.du-b { background: radial-gradient(circle at 60% 40%, #FFFFFF 0 9%, transparent 10%), linear-gradient(180deg, #C6A2C8 0%, #8E6BA1 48%, #3D3560 49%, #241F3E 100%); }
.du-copy { width: 64px; height: 64px; filter: saturate(.85) brightness(.95); animation: lk-dupe 7s ease-in-out infinite backwards; }
.du-copy2 { width: 72px; height: 72px; animation-delay: .4s; }
.du-keep { box-shadow: 0 0 0 3px var(--gold), 0 0 22px var(--glow1); animation: lk-keep 7s ease-in-out infinite; }
.du-keep em { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); padding: 1px 9px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.du-bin { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-left: 10px; color: var(--accent); animation: lk-bin 7s ease-in-out infinite; }
.du-bin .ico { width: 34px; height: 34px; }
.du-bin em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.du-notes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.du-notes li { padding: 14px 16px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--line); font-size: 15px; color: var(--text2); }
.du-notes b { color: var(--text); }
@keyframes lk-dupe { 0%, 30% { opacity: 1; transform: none; } 48%, 86% { opacity: 0; transform: translateY(24px) scale(.6); } 100% { opacity: 1; transform: none; } }
@keyframes lk-keep { 0%, 18% { box-shadow: 0 0 0 1px var(--line2); } 26%, 90% { box-shadow: 0 0 0 3px var(--gold), 0 0 22px var(--glow1); } 100% { box-shadow: 0 0 0 1px var(--line2); } }
@keyframes lk-bin { 0%, 40% { transform: none; } 46% { transform: translateY(-4px) scale(1.08); } 54%, 100% { transform: none; } }

/* Copy to iCloud Vault */
.cv { display: grid; grid-template-columns: 1fr 160px 1fr; align-items: center; gap: 18px; }
.cv-lib { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 18px 14px; border-radius: 16px; background: var(--bg3); border: 1px solid var(--line); }
.cv-cloud { border-color: rgba(120, 150, 200, .55); }
.cv-ico { color: var(--accent); } .cv-ico .ico { width: 36px; height: 36px; }
.cv-cloud .cv-ico { color: #8FA9D6; }
.cv-lib b { font-size: 16px; } .cv-lib > span:not(.cv-ico) { font-size: 13.5px; color: var(--muted); }
.cv-tiles { display: grid; grid-template-columns: repeat(4, 30px); gap: 6px; margin-top: 12px; }
.cv-tiles i { height: 30px; border-radius: 7px; background: linear-gradient(180deg, #E8B46F 0%, #C77A5B 46%, #34466F 47%, #16223F 100%); border: 1px solid var(--line2); }
.cv-cloud .cv-tiles i:nth-child(4) { animation: lk-arrive 5s ease-in-out infinite backwards; }
.cv-mid { position: relative; height: 60px; }
.cv-mid::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--line2) 0 6px, transparent 6px 12px); }
.cv-fly { position: absolute; top: calc(50% - 15px); left: 0; width: 30px; height: 30px; animation: lk-copyfly 5s ease-in-out infinite backwards; }
.cv-fly i { display: block; width: 100%; height: 100%; border-radius: 7px; border: 1px solid var(--gold); background: linear-gradient(180deg, #E8B46F 0%, #C77A5B 46%, #34466F 47%, #16223F 100%); box-shadow: 0 0 14px var(--glow1); }
.cv-key { position: absolute; left: calc(50% - 13px); top: -10px; color: var(--accent); animation: lk-pulsekey 5s ease-in-out infinite; }
.cv-key .ico { width: 26px; height: 26px; }
@keyframes lk-copyfly { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 45% { left: calc(50% - 15px); } 55% { left: calc(50% - 15px); } 85% { left: calc(100% - 30px); opacity: 1; } 95%, 100% { left: calc(100% - 30px); opacity: 0; } }
@keyframes lk-pulsekey { 0%, 40% { transform: none; opacity: .6; } 48% { transform: rotate(-20deg) scale(1.15); opacity: 1; } 58%, 100% { transform: none; opacity: .6; } }
@keyframes lk-arrive { 0%, 82% { opacity: .15; } 90%, 100% { opacity: 1; } }

/* Motion polish: a calm entrance, a floating hero, lifts on hover. */
.hero-grid > div:first-child > * { animation: lk-rise .9s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-grid > div:first-child > :nth-child(2) { animation-delay: .08s; }
.hero-grid > div:first-child > :nth-child(3) { animation-delay: .18s; }
.hero-grid > div:first-child > :nth-child(4) { animation-delay: .28s; }
.hero-grid > div:first-child > :nth-child(5) { animation-delay: .36s; }
.hero-phones { animation: lk-rise 1.1s .2s cubic-bezier(.2, .7, .2, 1) backwards; }
.pair-front picture { animation: lk-float 9s ease-in-out 1.4s infinite; }
.pair-back picture { animation: lk-float 11s ease-in-out 2s infinite reverse; }
.hero::before { inset: -8%; animation: lk-drift 22s ease-in-out infinite alternate; }
@keyframes lk-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lk-float { 50% { transform: translateY(-8px); } }
@keyframes lk-drift { from { transform: translate(-2%, -1%); } to { transform: translate(2%, 2%); } }
.btn { transition: background-color .2s, border-color .2s, box-shadow .25s, translate .25s; }
.btn-gold:hover { box-shadow: 0 8px 24px var(--glow1), 0 0 0 1px var(--gold); translate: 0 -1px; }
.btn-ghost:hover { translate: 0 -1px; }
.card, .wall, .news-card, .feature, .plan { transition: border-color .25s, box-shadow .3s, translate .3s; }
.card:hover, .wall:hover, .news-card:hover, .plan:hover { translate: 0 -3px; box-shadow: var(--shadow); border-color: var(--accent); }
.news-card .ico { transition: transform .4s; }
.news-card:hover .ico { transform: scale(1.12) rotate(-6deg); }
@supports (animation-timeline: scroll()) {
  .site-header { animation: lk-hdr linear both; animation-timeline: scroll(); animation-range: 0 140px; }
}
@keyframes lk-hdr { from { box-shadow: none; } to { box-shadow: 0 10px 30px rgba(0, 0, 0, .22); } }
@supports (animation-timeline: view()) {
  .band h2, .du-notes li, .sw-dev, .sw-cloud, .cv-lib { animation: lk-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}

@media (max-width: 980px) {
  .sw { grid-template-columns: 1fr; justify-items: center; }
  .sw-lane { width: 2px; height: 46px; min-width: 0; background: repeating-linear-gradient(180deg, var(--line2) 0 6px, transparent 6px 12px); }
  .sw-lane i { left: -5px; top: 0; animation-name: lk-travel-v; }
  .sw-col { grid-template-columns: 1fr 1fr; }
  .du-notes { grid-template-columns: 1fr; }
  .cv { grid-template-columns: 1fr; justify-items: center; }
  .cv-lib { width: 100%; max-width: 320px; }
  .cv-mid { width: 60px; height: 110px; }
  .cv-mid::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line2) 0 6px, transparent 6px 12px); }
  .cv-fly { left: calc(50% - 15px); top: 0; animation-name: lk-copyfly-v; }
  .cv-key { left: auto; right: -34px; top: calc(50% - 13px); }
}
@keyframes lk-copyfly-v { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 45%, 55% { top: calc(50% - 15px); } 85% { top: calc(100% - 30px); opacity: 1; } 95%, 100% { top: calc(100% - 30px); opacity: 0; } }
@media (max-width: 560px) {
  .sw-col { grid-template-columns: 1fr; }
  .du-pic { width: 64px; height: 64px; } .du-copy { width: 50px; height: 50px; } .du-copy2 { width: 56px; height: 56px; }
}

/* Argon2id primer (How it works): the four steps from passphrase to library key.
   CSS only; normal styles are the end state, so reduced motion shows it complete. */
.kdf-steps { list-style: none; counter-reset: kdf; margin: 34px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kdf-steps li { counter-increment: kdf; position: relative; background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 46px 18px 18px; animation: kdf-step 8s ease-in-out infinite; }
.kdf-steps li::before { content: counter(kdf); position: absolute; top: 14px; left: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--bg); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.kdf-steps li:not(:last-child)::after { content: "\2192"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--accent); font-weight: 700; z-index: 1; animation: kdf-arrow 8s ease-in-out infinite; }
.kdf-steps b { display: block; margin-bottom: 6px; color: var(--text); }
.kdf-steps span { color: var(--text2); font-size: 15px; }
.kdf-steps li:nth-child(2), .kdf-steps li:nth-child(2)::after { animation-delay: 2s; }
.kdf-steps li:nth-child(3), .kdf-steps li:nth-child(3)::after { animation-delay: 4s; }
.kdf-steps li:nth-child(4) { animation-delay: 6s; }
@keyframes kdf-step {
  0%, 30%, 100% { border-color: var(--line); box-shadow: none; transform: none; }
  6%, 22% { border-color: var(--accent); box-shadow: 0 0 18px var(--glow1); transform: translateY(-3px); }
}
@keyframes kdf-arrow { 0%, 18%, 34%, 100% { opacity: .35; } 24%, 30% { opacity: 1; } }
.kdf-mem { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; margin-top: 12px; }
.kdf-mem i { height: 8px; border-radius: 2px; background: var(--accent); opacity: .9; animation: kdf-cell 8s linear infinite 2s; }
@keyframes kdf-cell { 0% { opacity: .12; } 4% { opacity: .9; } 9% { opacity: .35; } 14% { opacity: .9; } 19% { opacity: .5; } 24%, 60% { opacity: .9; } 70%, 100% { opacity: .12; } }
.kdf-mem i:nth-child(2) { animation-delay: 2.05s; } .kdf-mem i:nth-child(3) { animation-delay: 2.1s; } .kdf-mem i:nth-child(4) { animation-delay: 2.15s; }
.kdf-mem i:nth-child(5) { animation-delay: 2.2s; } .kdf-mem i:nth-child(6) { animation-delay: 2.25s; } .kdf-mem i:nth-child(7) { animation-delay: 2.3s; } .kdf-mem i:nth-child(8) { animation-delay: 2.35s; }
.kdf-mem i:nth-child(9) { animation-delay: 2.4s; } .kdf-mem i:nth-child(10) { animation-delay: 2.45s; } .kdf-mem i:nth-child(11) { animation-delay: 2.5s; } .kdf-mem i:nth-child(12) { animation-delay: 2.55s; }
.kdf-mem i:nth-child(13) { animation-delay: 2.6s; } .kdf-mem i:nth-child(14) { animation-delay: 2.65s; } .kdf-mem i:nth-child(15) { animation-delay: 2.7s; } .kdf-mem i:nth-child(16) { animation-delay: 2.75s; }
.primer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 10px; }
.primer-cols h3 { margin-bottom: 8px; }
.primer-cols p { color: var(--text2); }
#argon2id-primer .table-wrap { margin-top: 30px; }
.primer-faq { margin-top: 30px; max-width: 820px; }
.primer-faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.primer-faq details:last-child { border-bottom: 1px solid var(--line); }
.primer-faq summary { cursor: pointer; font-weight: 600; color: var(--text); min-height: 24px; }
.primer-faq details p { margin-top: 10px; color: var(--text2); }
@media (max-width: 860px) {
  .kdf-steps, .primer-cols { grid-template-columns: minmax(0, 1fr); }
  .kdf-steps li:not(:last-child)::after { content: "\2193"; right: auto; left: 50%; top: auto; bottom: -17px; transform: translateX(-50%); }
}

/* ------------------------------------------------------------------
   Showcase layer (2026-11-17): more depth, light and craft on every
   page. CSS only; every effect is decoration on top of the finished
   layout, so reduced motion and print still show everything.
   ------------------------------------------------------------------ */
:root { --sheen: linear-gradient(100deg, var(--link) 0%, var(--accent) 45%, var(--link) 70%, var(--accent) 100%); --gold-grad: linear-gradient(180deg, #E2C690 0%, #C9A96E 55%, #B8955A 100%); }

/* Gold italic headlines with a slow sheen */
h1 em, h2 em, .maker h2 em { background: var(--sheen); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-right: .06em; }
h1 em { animation: lk-sheen 9s ease-in-out infinite alternate; }
@keyframes lk-sheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@media (forced-colors: active) { h1 em, h2 em { -webkit-text-fill-color: currentColor; color: CanvasText; background: none; } }

/* Kickers get a short gold rule */
.kicker::before { content: ""; display: inline-block; width: 26px; height: 1px; margin-right: 12px; vertical-align: .32em; background: linear-gradient(90deg, transparent, var(--kicker)); }
.hero .kicker::before, .page-head .kicker::before { width: 34px; }

/* Buttons: a lit gold face and a sweep of light on hover */
.btn-gold { position: relative; overflow: hidden; background: var(--gold-grad); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 28px -10px rgba(201, 169, 110, .55); }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; pointer-events: none; }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold:hover { background: var(--gold-grad); filter: brightness(1.05); }
.btn-ghost { background: color-mix(in srgb, var(--bg2) 55%, transparent); }
@supports (backdrop-filter: blur(8px)) { .btn-ghost { backdrop-filter: blur(8px); } }

/* Hero: a deeper night sky, a second slow light, and a faint star field */
.hero { padding: 104px 0 84px; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(1px 1px at 12% 22%, rgba(245, 239, 228, .55), transparent 60%), radial-gradient(1px 1px at 28% 68%, rgba(245, 239, 228, .35), transparent 60%), radial-gradient(1.5px 1.5px at 44% 14%, rgba(226, 198, 144, .6), transparent 60%), radial-gradient(1px 1px at 62% 82%, rgba(245, 239, 228, .4), transparent 60%), radial-gradient(1px 1px at 78% 30%, rgba(245, 239, 228, .45), transparent 60%), radial-gradient(1.5px 1.5px at 90% 58%, rgba(226, 198, 144, .5), transparent 60%), radial-gradient(1px 1px at 6% 86%, rgba(245, 239, 228, .35), transparent 60%), radial-gradient(1px 1px at 52% 46%, rgba(245, 239, 228, .25), transparent 60%);
  animation: lk-twinkle 7s ease-in-out infinite alternate; }
@keyframes lk-twinkle { from { opacity: .55; } to { opacity: 1; } }
@media (prefers-color-scheme: light) { .hero::after { opacity: .25; animation: none; } }
.hero-phones { position: relative; }
.hero-phones::before { content: ""; position: absolute; left: 50%; top: 46%; width: 118%; aspect-ratio: 1; translate: -50% -50%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 200deg, transparent, rgba(201, 169, 110, .22), transparent 35%, rgba(120, 140, 190, .18), transparent 70%); filter: blur(42px); animation: lk-spin 40s linear infinite; }
@keyframes lk-spin { to { rotate: 1turn; } }

/* Device glass: a soft reflection across every screen */
.phone picture, .tablet picture, .pair picture, .duo-shot picture { position: relative; display: block; }
.phone picture::after, .tablet picture::after, .pair picture::after, .duo-shot picture::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 22%, transparent 40%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.pair picture, .phone picture, .tablet picture { box-shadow: 0 2px 0 rgba(255, 255, 255, .06) inset, 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px var(--line2); }
@media (prefers-color-scheme: light) { .pair picture, .phone picture, .tablet picture { box-shadow: 0 30px 60px -20px rgba(11, 20, 38, .28), 0 0 0 1px var(--line2); } }

/* Sections: hairline dividers that fade at the edges, and a soft light on every other band */
main > section + section { position: relative; }
main > section + section::before { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line2), transparent); pointer-events: none; }
.band.band-tight:nth-of-type(odd):not(.look):not(.hiw) { background: radial-gradient(900px 380px at 50% 0%, var(--glow2), transparent 70%); }

/* Cards: a lit top edge, an icon chip, a warmer lift */
.card, .wall, .news-card, .plan { position: relative; background: linear-gradient(180deg, color-mix(in srgb, var(--bg2) 100%, #fff 3%), var(--bg2)); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset; }
.card::before, .wall::before, .news-card::before { content: ""; position: absolute; top: -1px; left: 18%; right: 18%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .45; transition: opacity .3s, left .3s, right .3s; }
.card:hover::before, .wall:hover::before, .news-card:hover::before { opacity: 1; left: 6%; right: 6%; }
.card:hover, .wall:hover, .news-card:hover { box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55), 0 0 0 1px var(--accent), 0 0 40px -10px var(--glow1); }
.news-card .ico { box-sizing: content-box; padding: 9px; border-radius: 12px; background: radial-gradient(circle at 30% 25%, var(--glow1), transparent 70%), color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }

/* Pricing: Plus shines */
.plan-pro { border: 1px solid transparent; background: linear-gradient(var(--bg2), var(--bg2)) padding-box, linear-gradient(140deg, #E2C690, rgba(201, 169, 110, .25) 40%, rgba(201, 169, 110, .1) 60%, #C9A96E) border-box; box-shadow: 0 30px 70px -30px rgba(201, 169, 110, .45), 0 0 60px -20px var(--glow1); }
.plan-pro::before { content: "Pay once, keep it"; position: absolute; top: -13px; right: 24px; padding: 4px 12px; border-radius: 999px; background: var(--gold-grad); color: var(--on-gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 18px -6px rgba(201, 169, 110, .6); }
.plan-pro:hover { border-color: transparent; }

.plan-pro h3 { background: var(--sheen); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
@media (forced-colors: active) { .plan-pro h3 { -webkit-text-fill-color: currentColor; background: none; } }
/* Promises strip: a band of light */
.promises { background: linear-gradient(90deg, var(--bg2), color-mix(in srgb, var(--bg2) 88%, var(--accent)) 50%, var(--bg2)); }

/* Diagrams sit in a deeper, lit frame */
.diagram { box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .05) inset; }

/* Scroll entrances for cards, screens and diagrams (where the browser supports scroll timelines) */
@supports (animation-timeline: view()) {
  .card, .wall, .news-card, .plan, .diagram, .media, .devices, .duo-pair, .strip, .kdf-steps li, .stats-row > div { animation: lk-enter linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
}
@keyframes lk-enter { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }

/* Footer: a gold horizon */
.site-footer { position: relative; border-top: 0; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .6; }

/* Bold pass (2026-11-17): stronger light, colour and contrast between sections. */
.hero { background: radial-gradient(1100px 700px at 78% 18%, rgba(201, 169, 110, .30), transparent 62%), radial-gradient(900px 700px at 8% 95%, rgba(84, 108, 196, .30), transparent 60%), linear-gradient(180deg, #0E1A33 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
@media (prefers-color-scheme: light) { .hero { background: radial-gradient(1100px 700px at 78% 18%, rgba(201, 169, 110, .38), transparent 62%), radial-gradient(900px 700px at 8% 95%, rgba(84, 108, 196, .14), transparent 60%), linear-gradient(180deg, #FFF9EE 0%, var(--bg) 100%); } }
h1 { font-size: clamp(48px, 7.4vw, 104px); letter-spacing: -.02em; }
h2 { font-size: clamp(38px, 5.2vw, 68px); letter-spacing: -.015em; }
.hero .lead { font-size: 21px; }
.hero-phones::before { width: 135%; filter: blur(30px); background: conic-gradient(from 200deg, transparent, rgba(226, 198, 144, .55), transparent 30%, rgba(96, 124, 220, .45), transparent 62%, rgba(226, 198, 144, .35), transparent 85%); opacity: .9; }
.hero-phones::after { content: ""; position: absolute; left: 50%; top: 44%; width: 92%; aspect-ratio: 1; translate: -50% -50%; z-index: -1; border-radius: 50%; border: 1px solid rgba(226, 198, 144, .35); box-shadow: 0 0 80px rgba(201, 169, 110, .25), inset 0 0 80px rgba(201, 169, 110, .12); pointer-events: none; }
.btn { border-radius: 999px; padding: 12px 24px; }
.btn-gold { font-weight: 700; box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 14px 34px -10px rgba(201, 169, 110, .75); }

/* Every other section sits on a deeper panel with its own glow */
main > section.band:nth-of-type(even):not(.maker):not(.duo-band) { background: radial-gradient(1000px 420px at 50% 0%, rgba(201, 169, 110, .10), transparent 70%), var(--bg3); }
@media (prefers-color-scheme: light) { main > section.band:nth-of-type(even):not(.maker):not(.duo-band) { background: radial-gradient(1000px 420px at 50% 0%, rgba(201, 169, 110, .16), transparent 70%), var(--bg3); } }
.duo-band { background: radial-gradient(900px 560px at 80% 50%, rgba(201, 169, 110, .26), transparent 65%), radial-gradient(700px 500px at 0% 0%, rgba(84, 108, 196, .22), transparent 60%), var(--bg3); }

/* Cards: brighter faces and a clear gold edge */
.card, .wall, .news-card, .plan { background: linear-gradient(160deg, color-mix(in srgb, var(--bg2) 86%, #6E84C8 14%), var(--bg2) 55%); border-color: color-mix(in srgb, var(--accent) 22%, var(--line)); }
@media (prefers-color-scheme: light) { .card, .wall, .news-card, .plan { background: linear-gradient(160deg, #FFFFFF, #FBF6EC); box-shadow: 0 12px 30px -18px rgba(11, 20, 38, .25); } }
.card::before, .wall::before, .news-card::before { opacity: .85; height: 2px; }
.news-card .ico { width: 28px; height: 28px; padding: 11px; border-radius: 14px; }

/* Promises: gold diamonds on a lit band */
.promises { background: linear-gradient(90deg, #0F1B34, #2A2A33 50%, #0F1B34); border-color: rgba(201, 169, 110, .3); }
@media (prefers-color-scheme: light) { .promises { background: linear-gradient(90deg, #F6EEDD, #EFDDB8 50%, #F6EEDD); } }
.promises-row { font-size: 16px; padding-top: 24px; padding-bottom: 24px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .menu, .skip { display: none; } *, *::before, *::after { animation: none !important; } }

/* Slogans (Nicholas Xerri apps) */
.slogan { margin: 0 0 8px; color: var(--text); font-weight: 600; }
.motto { margin-top: 14px; color: var(--accent); font-family: var(--display); font-size: 21px; font-weight: 500; }
