/* us2us Drive public site. Tokens follow the design canvas and the link page (web/src/styles.css): warm paper
   ground, light cards, one teal accent. System fonts only; nothing is loaded from another host. */

:root {
  color-scheme: light dark;
  --bg: #f4f3ef;
  --band: #ecebe6;
  --surface: #fbfaf8;
  --surface-sunk: #efeee9;
  --text: #15141a;
  --muted: #5f5d68;
  --border: #dcd9d1;
  --border-strong: #c3bfb5;
  --hairline: #e6e3dc;
  --accent: #0b6e8a;
  --accent-hover: #08566c;
  --accent-text: #ffffff;
  --accent-soft: #e3eff2;
  --accent-soft-text: #0a5f77;
  --ok: #1f6b3a;
  --ok-soft: #e3f3e8;
  --warn-text: #5c4300;
  --warn-soft: #fbf1d9;
  --warn-border: #e2c068;
  --track: #e6e3dc;
  --seg: #e9e7e1;
  --device: #2c2b33;
  --shadow: 0 1px 1px rgba(20, 18, 30, 0.04), 0 12px 32px -8px rgba(20, 18, 30, 0.14);
  --shadow-lg: 0 2px 4px rgba(20, 18, 30, 0.05), 0 32px 64px -24px rgba(20, 18, 30, 0.32);
  --focus: #0b6e8a;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #121117;
    --band: #17161d;
    --surface: #1b1a21;
    --surface-sunk: #24232b;
    --text: #ecebef;
    --muted: #a3a1ad;
    --border: #2f2e37;
    --border-strong: #45434e;
    --hairline: #2a2930;
    --accent: #7cc4d8;
    --accent-hover: #a3d7e5;
    --accent-text: #0b2730;
    --accent-soft: #1d3540;
    --accent-soft-text: #9fd5e4;
    --ok: #93d3a8;
    --ok-soft: #17301f;
    --warn-text: #f0c27b;
    --warn-soft: #2e2313;
    --warn-border: #6b5323;
    --track: #2c2b33;
    --seg: #24232b;
    --device: #3a3943;
    --shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 12px 32px -8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 32px 64px -24px rgba(0, 0, 0, 0.7);
    --focus: #7cc4d8;
  }
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #121117;
  --band: #17161d;
  --surface: #1b1a21;
  --surface-sunk: #24232b;
  --text: #ecebef;
  --muted: #a3a1ad;
  --border: #2f2e37;
  --border-strong: #45434e;
  --hairline: #2a2930;
  --accent: #7cc4d8;
  --accent-hover: #a3d7e5;
  --accent-text: #0b2730;
  --accent-soft: #1d3540;
  --accent-soft-text: #9fd5e4;
  --ok: #93d3a8;
  --ok-soft: #17301f;
  --warn-text: #f0c27b;
  --warn-soft: #2e2313;
  --warn-border: #6b5323;
  --track: #2c2b33;
  --seg: #24232b;
  --device: #3a3943;
  --shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 12px 32px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 32px 64px -24px rgba(0, 0, 0, 0.7);
  --focus: #7cc4d8;
}

:root[data-theme='light'] {
  color-scheme: light;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.55rem + 3.2vw, 3.75rem); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.5rem); line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 650; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--surface-sunk);
  border: 1px solid var(--hairline);
}
img { display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--muted); }
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 20; padding: 12px 16px; border-radius: 10px;
  background: var(--accent); color: var(--accent-text); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--accent-text); }

@media (min-width: 720px) {
  .wrap { width: min(100% - 64px, 1120px); }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  color: var(--text); text-decoration: none; font-size: 1.1875rem; letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.brand img { border-radius: 8px; }
.brand-name { font-weight: 750; }
.brand-product { font-weight: 600; color: var(--accent); margin-left: -4px; }
.nav-main { display: flex; gap: 2px; margin-left: auto; }
.nav-main a, .nav-mobile nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px;
  color: var(--muted); font-weight: 550; font-size: 0.975rem; text-decoration: none;
}
.nav-main a:hover, .nav-mobile nav a:hover { color: var(--text); background: var(--surface-sunk); }
.nav-main a[aria-current='page'], .nav-mobile nav a[aria-current='page'] {
  color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border);
}
.nav-main a.nav-app, .nav-mobile nav a.nav-app {
  gap: 6px; margin-left: 6px; color: var(--accent-text); background: var(--accent); font-weight: 650;
}
.nav-main a.nav-app:hover, .nav-mobile nav a.nav-app:hover { color: var(--accent-text); background: var(--accent-hover); }
.nav-mobile nav a.nav-app { margin: 6px 0 0; justify-content: center; }
.nav-app .icon { width: 1em; height: 1em; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-button {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font: 700 0.8125rem/1 var(--font); letter-spacing: 0.04em; text-decoration: none; cursor: pointer; padding: 0;
}
.icon-button:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-sunk); }
.icon-button[hidden] { display: none; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme='dark'] .theme-toggle .icon-sun { display: block; }
:root[data-theme='dark'] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme='light']) .theme-toggle .icon-moon { display: none; }
}
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile nav {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
}
.nav-mobile nav a { color: var(--text); }

@media (max-width: 860px) {
  .nav-main { display: none; }
  .nav-mobile { display: block; }
  .header-tools { margin-left: auto; }
}

/* Shared pieces */
.eyebrow { color: var(--accent-soft-text); font-size: 0.9375rem; font-weight: 650; margin-bottom: 10px; }
.lead { color: var(--muted); font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem); line-height: 1.55; max-width: 38em; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-soft-text); font-size: 0.875rem; font-weight: 650; line-height: 1.35;
}
.badge-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
@media (max-width: 480px) { .badge { border-radius: 14px; font-size: 0.8125rem; text-align: left; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px;
  border: 1px solid transparent; font-weight: 650; font-size: 1rem; text-decoration: none;
}
.button-primary { background: var(--accent); color: var(--accent-text); }
.button-primary:hover { background: var(--accent-hover); color: var(--accent-text); }
.button-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.button-secondary:hover { background: var(--surface-sunk); color: var(--text); }
.icon-end, .icon-start { width: 1.1em; height: 1.1em; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; min-height: 44px; }
.more { margin-top: 20px; }
.chip {
  display: inline-flex; align-items: center; align-self: flex-start; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface-sunk); color: var(--muted);
  font-size: 0.8125rem; font-weight: 650;
}
.chip-accent { background: var(--accent-soft); color: var(--accent-soft-text); border-color: transparent; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.card p { color: var(--muted); }
.card-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 6px;
}
.card-icon .icon { width: 24px; height: 24px; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.check-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .li-icon { margin-top: 0.2em; color: var(--accent); width: 1.15em; height: 1.15em; }
.card .check-list li span { color: var(--text); }
.note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 14px 16px; border-radius: 14px;
  background: var(--surface-sunk); color: var(--muted); font-size: 0.9375rem; max-width: 52em;
}
.note .icon { margin-top: 0.15em; color: var(--muted); }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; margin-top: 8px; }
.callout .icon { width: 24px; height: 24px; margin-top: 2px; }
.callout-title { font-weight: 700; margin-bottom: 4px; }
.callout-warn { background: var(--warn-soft); border: 1px solid var(--warn-border); color: var(--warn-text); }
.callout-warn p { color: var(--warn-text); }
.callout-draft { margin: 8px 0 8px; }

/* Sections */
.section { padding: 72px 0; }
.band { background: var(--band); border-block: 1px solid var(--hairline); }
.section-head { max-width: 46rem; margin-bottom: 36px; }
.section-head h2 + .section-intro { margin-top: 14px; }
.section-intro { color: var(--muted); font-size: 1.125rem; }
.prose { max-width: 46rem; display: grid; gap: 16px; }
.prose > p { color: var(--muted); }
@media (max-width: 720px) { .section { padding: 56px 0; } }

/* Hero: copy centred above the product picture */
.hero { padding: 56px 0 56px; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; align-items: center; max-width: 50rem; margin-inline: auto; text-align: center; }
.hero h1 { margin: 22px 0 18px; }
.hero .lead { margin-inline: auto; }
.hero .actions { justify-content: center; }
.hero-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 0.9375rem; }
.hero-note .icon { color: var(--accent); }
@media (max-width: 640px) {
  .hero-note { display: block; text-align: center; }
  .hero-note .icon { display: inline-block; margin-right: 6px; vertical-align: -0.2em; }
}
.hero-art { max-width: 1040px; margin: 52px auto 0; }
@media (min-width: 940px) { .hero { padding: 72px 0 64px; } }
.page-head { padding: 64px 0 24px; }
.page-head h1 { margin-bottom: 18px; }

/* Split sections */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .split-reverse .split-art { order: -1; }
}
.split-text .section-head { margin-bottom: 28px; }
.split-text .check-list { gap: 14px; margin-top: 0; }
.split-art { display: flex; justify-content: center; min-width: 0; }

/* Download: the Mac release */
.release { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 960px) { .release { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 48px; } }
.release-meta { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.release-meta li {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); font-size: 0.875rem; font-weight: 600;
}
.release-meta .icon { color: var(--accent); width: 1.05em; height: 1.05em; }
.downloads { display: grid; gap: 12px; max-width: 30rem; }
.download {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border-radius: 16px;
  background: var(--accent); color: var(--accent-text); border: 1px solid var(--accent); text-decoration: none; line-height: 1.3;
}
.download:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-text); }
.download + .download { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.download + .download:hover { background: var(--surface-sunk); color: var(--text); }
.download b { display: block; font-size: 1rem; }
.download small { display: block; margin-top: 2px; font-size: 0.8125rem; opacity: 0.88; }
.download-icon { width: 26px; height: 26px; }
.release-subtitle { margin: 28px 0 4px; font-size: 1.0625rem; }
.release-more { margin-top: 40px; }
.release-more .card { gap: 12px; }
.install-steps { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; color: var(--muted); }
.install-steps li::marker { color: var(--accent); font-weight: 700; }
.command { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-sunk); border: 1px solid var(--hairline); overflow-x: auto; }
.command code { padding: 0; border: 0; background: none; font-size: 0.8125rem; }
.sums { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sums li { display: grid; gap: 4px; }
.sum-name { font-size: 0.8125rem; font-weight: 650; }
.sums .sum-value { display: block; padding: 6px 8px; font-size: 0.75rem; overflow-wrap: anywhere; word-break: break-all; }

/* A product card with its own heading (the web app) */
.panel-card { display: grid; gap: 18px; padding: 28px; }
@media (min-width: 720px) { .panel-card { grid-template-columns: auto minmax(0, 1fr); gap: 24px; padding: 36px; } }
.panel-card .card-icon { margin: 0; }
.panel-card-body { display: grid; gap: 12px; max-width: 46rem; }
.panel-card-body .eyebrow { margin: 0; color: var(--accent-soft-text); }
.panel-card-body .actions { margin-top: 8px; }
.panel-card .check-list li span { color: var(--text); }

/* Encryption flow */
.flow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: start;
  gap: 12px; margin-bottom: 28px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border);
}
.flow-node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.flow-node b { font-size: 0.9375rem; }
.flow-node small { color: var(--muted); font-size: 0.8125rem; }
.flow-icon {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 6px;
}
.flow-icon .icon { width: 26px; height: 26px; }
.flow-lock {
  position: absolute; right: -8px; bottom: -8px; display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--accent); color: var(--accent-text); border: 2px solid var(--surface);
}
.flow-lock .icon { width: 14px; height: 14px; }
.flow-arrow { color: var(--border-strong); margin-top: 14px; }
.flow-arrow .icon { width: 28px; height: 28px; }
@media (max-width: 640px) {
  .flow { gap: 4px; padding: 18px 10px; }
  .flow-icon { width: 46px; height: 46px; border-radius: 14px; }
  .flow-icon .icon { width: 22px; height: 22px; }
  .flow-node b { font-size: 0.8125rem; line-height: 1.3; }
  .flow-node small { font-size: 0.75rem; line-height: 1.3; }
  .flow-arrow .icon { width: 18px; height: 18px; }
}
.steps { list-style: none; margin: 0; padding: 0; }
.step-number {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text); font-weight: 700; font-size: 0.9375rem; margin-bottom: 6px;
}

/* Platforms and stores */
.platform-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.platform { gap: 8px; }
.platform p { flex-grow: 1; font-size: 0.9375rem; }
.platform-ready { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.platform-ready .card-icon { background: var(--accent); color: var(--accent-text); }
.store-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.store p { flex-grow: 1; }
.store details { min-width: 0; font-size: 0.8125rem; }
.store summary { cursor: pointer; }
.store .sum-value { display: block; margin-top: 4px; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .platform, .store { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 4px 14px; padding: 18px; }
  .platform .card-icon, .store .card-icon { grid-row: span 3; width: 44px; height: 44px; margin: 0; }
  .platform .chip, .store .store-badge { justify-self: start; }
  .store details { grid-column: 2; }
}
.store-badge {
  display: inline-flex; flex-direction: column; align-self: flex-start; min-width: 176px; margin-top: 6px;
  padding: 8px 16px; border-radius: 12px; border: 1.5px dashed var(--border-strong); background: var(--bg); line-height: 1.3;
}
.store-badge small { color: var(--muted); font-size: 0.75rem; font-weight: 550; }
.store-badge span { font-weight: 700; }

/* Compare */
.compare-card h3 { display: flex; align-items: center; gap: 10px; }
.heading-icon { color: var(--accent); width: 24px; height: 24px; }
.compare-visible .heading-icon, .compare-visible .li-icon { color: var(--muted); }

/* Link anatomy */
.anatomy { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 28px; }
.anatomy-url {
  display: flex; flex-wrap: wrap; gap: 4px; font-family: var(--mono); font-size: clamp(1rem, 0.85rem + 0.9vw, 1.5rem);
  line-height: 1.4; overflow-wrap: anywhere;
}
.segment { padding: 4px 8px; border-radius: 8px; background: var(--surface-sunk); border: 1px solid var(--hairline); }
.segment-secret { background: var(--accent-soft); color: var(--accent-soft-text); border-color: transparent; }
.anatomy-legend { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.anatomy-legend li { display: flex; gap: 10px; align-items: flex-start; }
.swatch { width: 14px; height: 14px; margin-top: 0.35em; border-radius: 4px; background: var(--surface-sunk); border: 1px solid var(--border-strong); flex-shrink: 0; }
.swatch-secret { background: var(--accent); border-color: var(--accent); }

/* Table */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
thead th { background: var(--surface-sunk); color: var(--muted); font-size: 0.8125rem; font-weight: 650; }
tbody th { font-weight: 650; min-width: 12em; }
tbody td { color: var(--muted); }
tbody tr:last-child > * { border-bottom: 0; }

/* Plans */
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.plan { gap: 6px; }
.plan-head { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
.plan-head .chip { white-space: nowrap; }
.plan h3.plan-size { font-size: 2rem; font-weight: 750; letter-spacing: -0.025em; line-height: 1.2; white-space: nowrap; }
.card .plan-name { color: var(--muted); font-size: 0.9375rem; min-height: 3.2em; }
.plan-price { padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
@media (min-width: 640px) { .plan-price { min-height: 6.4em; } }
.card .price-main { color: var(--text); }
.price-amount { font-size: 1.625rem; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.card .price-unit { color: var(--muted); font-size: 0.9375rem; }
.card .price-year { margin-top: 4px; color: var(--text); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.price-gift {
  display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px;
  background: var(--ok-soft); color: var(--ok); font-size: 0.8125rem; font-weight: 650; white-space: nowrap;
}
.card .price-tax { margin-top: 2px; font-size: 0.8125rem; }
.plans-lead {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; padding: 14px 16px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-soft-text); font-weight: 600;
}
.plans-lead .icon { margin-top: 0.15em; }
.plan-featured { border: 2px solid var(--accent); }

/* Call to action */
.cta {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 48px 24px;
  border-radius: 28px; background: var(--surface); border: 1px solid var(--border);
}
.cta p { color: var(--muted); max-width: 36em; }
.cta .actions { justify-content: center; margin-top: 8px; }

/* 404 */
.notfound { padding: 72px 0; }
.notfound-card h1, .notfound-card h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); line-height: 1.15; letter-spacing: -0.025em; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

/* Footer */
.site-footer { margin-top: 24px; padding: 48px 0 28px; background: var(--band); border-top: 1px solid var(--hairline); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: 10px; }
.footer-title { font-size: 0.875rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text); text-decoration: none; }
.site-footer nav a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 0.875rem;
}
.credits a { color: var(--muted); }
.credits a:hover { color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .button, .icon-button, .nav-main a, .site-footer nav a { transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
}

@media print {
  .site-header, .site-footer, .hero-art, .split-art, .release-art, .flow { display: none; }
  .band { background: none; }
}
/* us2us Drive public site: the product pictures (art.py). build.py appends this file to style.css, so the pages
   still load one stylesheet. Tokens (colours, shadows) come from style.css. */

/* Product pictures. Inside them sizes follow the picture, so they scale like an image at any width. */
.tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--surface-sunk); }
.tile-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-badge {
  position: absolute; bottom: 6%; display: grid; place-items: center; width: 24%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(251, 250, 248, 0.92); color: #0b6e8a;
}
.tile-badge .icon { width: 62%; height: 62%; stroke-width: 2.25; }
.tile-pending { right: 6%; }
.tile-family { left: 6%; width: 20%; }
.tile-duration { position: absolute; right: 7%; bottom: 5%; color: #fff; font-size: 0.7em; font-weight: 650; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }

/* The Mac app window: a real screenshot with the window buttons drawn on its own title bar */
.window {
  position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.window-dots { position: absolute; left: 1.6%; top: 3.1%; display: flex; gap: 0.9%; width: 5.6%; }
.window-dots i { flex: 0 0 22%; aspect-ratio: 1; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18); }
.window-dots i:nth-child(2) { background: #febc2e; }
.window-dots i:nth-child(3) { background: #28c840; }
.shot { display: block; width: 100%; height: auto; }
.shot-dark { display: none; }
:root[data-theme='dark'] .shot-light { display: none; }
:root[data-theme='dark'] .shot-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .shot-light { display: none; }
  :root:not([data-theme='light']) .shot-dark { display: block; }
}

/* Hero composition: the Mac window, and the phone overlapping its lower right corner */
.art-hero { position: relative; padding: 0 14% 10% 0; }
.art-hero .phone { position: absolute; right: 0; bottom: 0; width: 27%; }
@media (max-width: 640px) {
  .art-hero { padding: 0 22% 36% 0; }
  .art-hero .phone { width: 42%; }
}
.art-desktop { width: 100%; }

/* Phone: every size inside is in em of a font size tied to the phone's width (cqw), with a px fallback */
.phone { container-type: inline-size; }
.phone-body {
  padding: 13px; padding: 3.2cqw; border-radius: 46px; border-radius: 15cqw; background: var(--device);
  box-shadow: var(--shadow-lg); font-size: 13px; font-size: 4.4cqw; line-height: 1.3;
}
.phone-screen {
  position: relative; overflow: hidden; aspect-ratio: 9 / 19; padding-top: 2.6em; border-radius: 34px; border-radius: 12cqw;
  background: var(--bg); color: var(--text);
}
.ph-head { display: flex; align-items: center; justify-content: space-between; padding: 0 1.1em 0.6em; }
.ph-title { font-size: 1.7em; font-weight: 750; letter-spacing: -0.02em; }
.ph-buttons { display: flex; gap: 0.45em; }
.ph-buttons span {
  display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
}
.ph-buttons .icon { width: 1.15em; height: 1.15em; }
.ph-backup {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.55em 0.7em;
  margin: 0 0.8em 0.7em; padding: 0.7em 0.8em; border-radius: 0.9em; background: var(--surface); border: 1px solid var(--border);
}
.ph-backup-icon { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.ph-backup-icon .icon { width: 1.25em; height: 1.25em; }
.ph-backup-text b { display: block; font-size: 0.95em; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-backup-text small { display: block; font-size: 0.76em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-percent { color: var(--accent); font-size: 0.8em; font-weight: 700; }
.ph-progress { grid-column: 1 / -1; height: 0.28em; border-radius: 1em; background: var(--track); overflow: hidden; }
.ph-progress i { display: block; width: 40%; height: 100%; background: var(--accent); }
.ph-seg { display: flex; gap: 0.15em; margin: 0 0.8em 0.8em; padding: 0.22em; border-radius: 0.75em; background: var(--seg); }
.ph-seg span { flex: 1; padding: 0.45em 0; border-radius: 0.6em; text-align: center; font-size: 0.78em; color: var(--muted); }
.ph-seg .is-on { background: var(--surface); color: var(--text); font-weight: 650; box-shadow: 0 1px 2px rgba(20, 18, 30, 0.12); }
.ph-day { margin-bottom: 0.9em; }
.ph-day-head { display: flex; align-items: baseline; gap: 0.5em; padding: 0 1.1em 0.45em; }
.ph-day-head b { font-size: 1.02em; font-weight: 650; }
.ph-day-head small { font-size: 0.78em; color: var(--muted); }
.ph-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.ph-tabs {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0.55em 0.3em 1.7em; background: var(--surface); border-top: 1px solid var(--border);
}
.ph-tab { display: flex; flex-direction: column; align-items: center; gap: 0.2em; color: var(--muted); font-size: 0.66em; font-weight: 550; }
.ph-tab .icon { width: 2.1em; height: 2.1em; }
.ph-tab.is-on { color: var(--accent); font-weight: 650; }

/* Panels (sharing, family, backup, recovery and safety number pictures) */
.panel {
  width: min(100%, 440px); margin-inline: auto; padding: 20px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  font-size: 0.9375rem; line-height: 1.35;
}
.panel-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; }
.panel-title .icon { color: var(--accent); }
.panel-sub { color: var(--muted); font-size: 0.8125rem; margin: 2px 0 14px; }
.float-icon {
  display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
}
.float-icon .icon { width: 18px; height: 18px; }
.mini-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-soft-text); font-size: 0.75rem; font-weight: 650;
}
.mini-badge .icon { width: 14px; height: 14px; }
.seg { display: flex; gap: 2px; margin: 14px 0; padding: 3px; border-radius: 10px; background: var(--seg); }
.seg span { flex: 1; padding: 6px 0; border-radius: 8px; text-align: center; font-size: 0.8125rem; color: var(--muted); }
.seg .is-on { background: var(--surface); color: var(--text); font-weight: 650; box-shadow: 0 1px 2px rgba(20, 18, 30, 0.12); }

/* Photo viewer: always dark, as in the apps */
.viewer {
  width: min(100%, 460px); margin-inline: auto; overflow: hidden; border-radius: 22px;
  background: #111014; color: #ecebef; border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.viewer-photo { position: relative; aspect-ratio: 3 / 2; background: #24232b; }
.viewer-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.viewer-pill {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 24px);
  padding: 5px 11px; border-radius: 999px; background: rgba(17, 16, 20, 0.74); color: #fff; font-size: 0.75rem; font-weight: 550;
}
.viewer-pill i { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #7cc4d8; }
.viewer-info { padding: 18px 20px 22px; }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.viewer-head b { font-size: 1.125rem; }
.viewer-e2e {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: #1d3540; color: #9fd5e4; font-size: 0.75rem; font-weight: 650;
}
.viewer-e2e .icon { width: 14px; height: 14px; }
.viewer-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.viewer-info li { display: flex; gap: 12px; align-items: flex-start; }
.viewer-info li .icon { margin-top: 1px; color: #a3a1ad; width: 20px; height: 20px; }
.viewer-info b { display: block; font-size: 0.9375rem; font-weight: 600; }
.viewer-info small { display: block; color: #a3a1ad; font-size: 0.8125rem; }

/* Sharing */
.art-share { display: grid; gap: 14px; }
.share-head { display: flex; align-items: center; gap: 14px; }
.share-head b { display: block; font-size: 0.9375rem; }
.share-head small { display: block; color: var(--muted); font-size: 0.8125rem; }
.share-thumbs { display: flex; flex-shrink: 0; padding-left: 14px; }
.share-thumb {
  width: 42px; height: 42px; margin-left: -14px; border-radius: 11px; object-fit: cover;
  border: 2px solid var(--surface); background: var(--surface-sunk);
}
.share-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.share-people li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 10px; border-radius: 14px; background: var(--bg);
}
.avatar {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #0b6e8a; color: #fff; font-weight: 700; font-size: 0.875rem;
}
.avatar-1 { background: #7d4a5c; }
.share-person b { display: block; font-size: 0.875rem; }
.share-person small { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 600; }
.share-person small .icon { width: 14px; height: 14px; }
.trust-ok { color: var(--ok); }
.trust-check { color: var(--accent); }
@media (max-width: 420px) {
  .share-people li { grid-template-columns: auto minmax(0, 1fr); }
  .share-role { grid-column: 2; justify-self: start; }
}
.share-role { padding: 4px 8px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); font-size: 0.75rem; white-space: nowrap; }
.share-link { padding: 12px; border-radius: 14px; border: 1px solid var(--border); }
.share-link-title { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 0.875rem; }
.share-link-title .icon { color: var(--accent); }
.share-url {
  margin: 8px 0 10px; padding: 8px 10px; border-radius: 8px; background: var(--surface-sunk);
  font-family: var(--mono); font-size: 0.75rem; overflow-wrap: anywhere;
}
.share-secret { padding: 0 4px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-soft-text); }
.share-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.share-chips span {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-soft-text); font-size: 0.75rem; font-weight: 600;
}
.share-chips .icon { width: 13px; height: 13px; }

/* Family */
.family-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.family-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; border-radius: 12px; overflow: hidden; }
.pool { margin-top: 14px; }
.pool p { display: flex; justify-content: space-between; gap: 10px; font-size: 0.8125rem; }
.pool small { color: var(--muted); font-size: 0.8125rem; }
.pool-bar { display: flex; gap: 2px; height: 8px; margin-top: 6px; border-radius: 4px; overflow: hidden; background: var(--track); }
.pool-bar i { display: block; }
.pool-a { width: 24%; background: var(--accent); }
.pool-b { width: 14%; background: #d9a066; }
.pool-c { width: 10%; background: #9bb08a; }
.pool-shared { width: 12%; background: #8fb3c9; }
.family-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px; border-radius: 14px; background: var(--bg); }
.family-row b, .backup-row-text b { display: block; font-size: 0.8125rem; font-weight: 650; }
.family-row small, .backup-row-text small { display: block; color: var(--muted); font-size: 0.75rem; }

/* Backup */
.backup-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.backup-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: var(--bg); }
.backup-thumb { width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; object-fit: cover; background: var(--surface-sunk); }
.backup-row-text small { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.backup-row-text small .icon { width: 14px; height: 14px; color: var(--accent); }
.backup-row-2 .backup-row-text small, .backup-row-2 .backup-row-text small .icon { color: var(--ok); }
.free-space { display: grid; gap: 10px; margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--accent-soft); }
.free-space b { display: block; font-size: 0.875rem; color: var(--text); }
.free-space small { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--accent-soft-text); }
.mini-button {
  justify-self: start; padding: 7px 12px; border-radius: 10px; background: var(--accent); color: var(--accent-text);
  font-size: 0.8125rem; font-weight: 650;
}

/* Recovery words */
.word-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.word-grid li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--bg); }
.word-number { width: 1.4em; text-align: right; color: var(--muted); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.word-mask { flex: 1; height: 8px; border-radius: 4px; background: var(--track); }
.word-grid li:nth-child(3n + 1) .word-mask { margin-right: 18%; }
.word-grid li:nth-child(4n + 2) .word-mask { margin-right: 30%; }
.word-grid li:nth-child(5n + 3) .word-mask { margin-right: 8%; }

/* Safety number */
.safety-grid {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  font-family: var(--mono); font-variant-numeric: tabular-nums;
}
.safety-grid li { padding: 9px 4px; border-radius: 10px; background: var(--bg); text-align: center; font-size: 0.9375rem; letter-spacing: 0.05em; }
.safety-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.safety-ok {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: var(--ok-soft); color: var(--ok); font-size: 0.8125rem; font-weight: 650;
}
.safety-qr { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 0.875rem; font-weight: 650; }
.safety-ok .icon, .safety-qr .icon { width: 16px; height: 16px; }
