/* offloadie.app shared styles (pre-launch, 2 Dec 2026).
   Two audiences, two pages, one stylesheet: the page's <body> class picks the token set.
     .work = brand palette (DESIGN.md section 0) + Golden Hour (docs/design/styles.json "goldenhour")
     .me   = Sherbet (styles.json "sherbet", Everyday personal family)
   Themes are still settling: change the tokens, not the rules. No app screens or folder graphics here on purpose.
   Fonts: Bricolage Grotesque / Nunito ExtraBold (SIL OFL, see *-OFL.txt), subset to Latin, self-hosted. */

@font-face { font-family: "Bricolage Grotesque"; src: url("bricolage-800.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("nunito-800.woff") format("woff"); font-weight: 800; font-display: swap; }

.work {
  --sky1: #0A1A44; --sky2: #243A70; --sky3: #E0702A; --sky4: #F59A3A; /* dusk, twilight, ember, gold */
  --sky-text: #FFF4E6; --sun: #FFF6D8; --sun-glow: rgba(255, 246, 216, 0.45); --trail: #FFFFFF;
  --screen: #0B1430; --surface: #152049; --surface-high: #1B2856; --line: #2A3766;
  --text: #FFF4E6; --text-2: #B8BFD6; --primary: #FF9A3D; --on-primary: #1A0F05; --accent: #FFB347;
  --badge-from: #E0702A; --badge-to: #F59A3A; --on-badge: #1A0F05;
  --shadow: rgba(10, 26, 68, 0.55);
  --display: "Bricolage Grotesque", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
.me {
  --sky1: #FFB199; --sky2: #FF8FB1; --sky3: #B79CFF; --sky4: #8FD3FF;
  --sky-text: #2B2233; --sun: transparent; --sun-glow: transparent; --trail: #FFFFFF;
  --screen: #FFF6F2; --surface: #FFFFFF; --surface-high: #FBEFEA; --line: #EDD8D0;
  --text: #2B2233; --text-2: #665A70; --primary: #C92E64; --on-primary: #FFFFFF; --accent: #6A4BC4;
  --badge-from: #FF8FB1; --badge-to: #B79CFF; --on-badge: #2B2233;
  --shadow: rgba(43, 34, 51, 0.22);
  --display: "Nunito", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
:root { --radius-card: 14px; --radius-big: 18px;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--screen); color: var(--text); font: 17px/1.6 var(--body); }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6em, 4vw, 2.2em); line-height: 1.15; margin: 0 0 0.5em; }
h3 { font-size: 1.15em; line-height: 1.25; margin: 0 0 0.35em; }
p { margin: 0 0 1em; }
.muted { color: var(--text-2); }
section { padding: 72px 0 0; }

/* ---- Hero: the theme's sky ---- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--sky-text);
  background: linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 38%, var(--sky3) 78%, var(--sky4) 100%);
}
.hero::before { /* the low sun (work only; transparent on Me) */
  content: ""; position: absolute; left: 12%; bottom: 6%; width: 64px; height: 64px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 60px 30px var(--sun-glow); z-index: -1;
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--screen)); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.25em;
  margin: 0; color: inherit; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }

/* The For work / For me switch: two links styled as one segmented toggle. */
.audience { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.me .audience { background: rgba(255, 255, 255, 0.55); border-color: rgba(255, 255, 255, 0.8); }
.audience a { padding: 8px 18px; border-radius: 999px; color: inherit; text-decoration: none; font-weight: 600; font-size: 0.95em; white-space: nowrap; }
.audience a[aria-current="page"] { background: var(--primary); color: var(--on-primary); box-shadow: 0 2px 8px var(--shadow); }
.audience a:not([aria-current]):hover { background: rgba(255, 255, 255, 0.18); }
.audience a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding-top: 10vh; padding-bottom: 140px; }
.hero h1 { font-size: clamp(2.4em, 7vw, 4em); line-height: 1.02; margin: 0 0 0.35em; text-wrap: balance; }
.lede { font-size: 1.2em; opacity: 0.92; margin: 0 0 1.6em; max-width: 34em; }
.cta { display: inline-block; padding: 14px 24px; border-radius: 999px; background: var(--primary); color: var(--on-primary);
  font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px var(--shadow); }
.cta:hover { filter: brightness(1.06); }
.cta:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.cta-note { font-size: 0.95em; margin-top: 0.9em; opacity: 0.8; }
.hero-icon { justify-self: center; }
.hero-icon img { display: block; width: min(320px, 70vw); height: auto; border-radius: 22.5%;
  box-shadow: 0 30px 60px var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.12); transform: rotate(-4deg); }
/* Drifting squares, the trail in the icon. Decoration only; still with Reduce Motion. */
.trail { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.trail i { position: absolute; width: var(--s); height: var(--s); background: var(--trail); opacity: var(--o); border-radius: 1px;
  animation: drift var(--d) ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(14px, -10px) rotate(25deg); } }
@media (prefers-reduced-motion: reduce) { .trail i { animation: none; } }

/* ---- Content ---- */
.intro { max-width: 46em; }
.intro p { font-size: 1.1em; }
.steps, .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-big); padding: 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  margin-bottom: 14px; background: linear-gradient(135deg, var(--badge-from), var(--badge-to)); color: var(--on-badge);
  font-family: var(--display); font-weight: 800; font-size: 1.2em; }
.steps p, .grid p { margin: 0; color: var(--text-2); }
.grid li { background: var(--surface); border-radius: var(--radius-card); padding: 20px 22px; border-top: 3px solid var(--accent); }
.me .grid li, .me .steps li { box-shadow: 0 1px 3px var(--shadow); }
.privacy { background: linear-gradient(135deg, var(--surface-high), var(--surface)); border: 1px solid var(--line);
  border-radius: var(--radius-big); padding: 32px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.privacy svg { width: 48px; height: 48px; color: var(--accent); }
.privacy p:last-child { margin-bottom: 0; }
.faq { max-width: 46em; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.2em; line-height: 1; }
details[open] summary::after { content: "–"; }
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
details p { margin: 0.7em 0 0; color: var(--text-2); }
.other { margin-top: 1.4em; }
.closing { margin-top: 88px; text-align: center; padding: 72px 20px; color: var(--sky-text);
  background: linear-gradient(0deg, var(--sky4) 0%, var(--sky3) 30%, var(--sky2) 75%, var(--screen) 100%); }
.closing h2 { margin-bottom: 0.3em; }
.closing p { max-width: 32em; margin: 0 auto 1.6em; }
footer { padding: 28px 0 40px; color: var(--text-2); font-size: 0.9em; }
footer a { color: var(--text-2); }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 110px; }
  .hero-icon { order: -1; justify-self: start; }
  .hero-icon img { width: 132px; }
  .steps, .grid { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; padding: 24px; }
  section { padding-top: 56px; }
}
@media (max-width: 420px) { .topbar { justify-content: center; } .brand { width: 100%; justify-content: center; } }

/* ---- Big claims (2 Dec): email vs Offloadie, set-up-once band, limits box, security ---- */
.lead-in { font-size: 1.15em; max-width: 40em; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs > div { border-radius: var(--radius-big); padding: 26px; }
.vs .old { background: var(--surface); border: 1px dashed var(--line); color: var(--text-2); }
.vs .new { background: var(--surface-high); border: 2px solid var(--accent); }
.vs h3 { margin-bottom: 0.8em; }
.vs ol { margin: 0; padding-left: 1.3em; }
.vs .old li { margin: 0.35em 0; text-decoration: line-through; text-decoration-color: var(--line); text-decoration-thickness: 2px; }
.vs .new p.big { font-family: var(--display); font-weight: 800; font-size: clamp(1.6em, 4vw, 2.2em); line-height: 1.1; margin: 0 0 0.4em; color: var(--text); }
.vs .new p { color: var(--text-2); margin: 0; }

.band { margin-top: 72px; padding: 64px 20px; text-align: center; color: var(--sky-text);
  background: linear-gradient(120deg, var(--sky2), var(--sky3) 60%, var(--sky4)); }
.band h2 { font-size: clamp(2em, 6vw, 3.2em); margin: 0 0 0.3em; }
.band p { max-width: 36em; margin: 0 auto 1.4em; font-size: 1.15em; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.35); font-weight: 600; }
.me .chips li { background: rgba(255, 255, 255, 0.55); border-color: rgba(255, 255, 255, 0.85); }

.you-decide { margin-top: 20px; padding: 18px 22px; border-radius: var(--radius-card); border-left: 4px solid var(--accent); background: var(--surface-high); }
.you-decide p { margin: 0; }

.secure { text-align: center; }
.secure .lock { width: 72px; height: 72px; color: var(--accent); margin: 0 auto 12px; display: block; }
.secure h2 { margin: 0 auto 0.2em; }
.secure .punch { font-family: var(--display); font-weight: 800; font-size: clamp(1.15em, 2.6vw, 1.5em); line-height: 1.2;
  max-width: 20em; margin: 0 auto 0.6em; color: var(--accent); }
.secure > p { max-width: 38em; margin: 0 auto 1.6em; }
.secure .grid { text-align: left; }

@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }

/* ---- Footnote star with a pop-up aside (assets/aside.js). Without JS the note shows as a plain footnote. ---- */
.vs .new { position: relative; }
.aside-star { font: 800 1.15em/1 var(--display); color: var(--accent); background: none; border: 0; padding: 0 2px;
  margin: 0 0 0 1px; cursor: help; vertical-align: super; font-size: 0.95em; }
.aside-star:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.vs .new p.aside-note { margin-top: 1em; font-size: 0.92em; font-style: italic; }
.js .vs .new p.aside-note {
  position: absolute; left: 16px; right: 16px; top: calc(100% - 12px); z-index: 5; margin: 0; padding: 14px 16px;
  background: var(--text); color: var(--screen); border-radius: 12px; box-shadow: 0 12px 30px var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.js .new:has(.aside-star:hover) .aside-note,
.js .new:has(.aside-star:focus-visible) .aside-note,
.js .new:has(.aside-star[aria-expanded="true"]) .aside-note { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .vs .new p.aside-note { transition: none; } }

/* ---- Card icons (every .grid card) and the use-case sections on For me ---- */
.grid li { display: flex; flex-direction: column; }
.grid li > svg { width: 44px; height: 44px; padding: 9px; border-radius: 12px; margin-bottom: 12px;
  background: var(--surface-high); color: var(--accent); }
.usecase .tag { font: 600 0.7em/1 var(--body); text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent);
  border: 1px solid currentColor; border-radius: 999px; padding: 3px 8px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }

/* ---- "Offloadie will find a way" (replaces the routes list, 2 Dec: the user never needs to know the routes) ---- */
.findaway { text-align: center; }
.findaway .path { width: 160px; height: 64px; color: var(--accent); margin: 0 auto 8px; display: block; }
.findaway h2 { font-size: clamp(2em, 6vw, 3.2em); margin-bottom: 0.3em; }
.findaway > p { max-width: 36em; margin: 0 auto 1.6em; font-size: 1.1em; }
.findaway .you-decide { max-width: 40em; margin: 0 auto; text-align: left; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid.four { grid-template-columns: 1fr; } }

/* ---- Hero additions (competitor review, 2 Dec 2026): platforms up front, a short promise under the headline ---- */
.eyebrow { display: inline-block; margin: 0 0 1em; padding: 5px 14px; border-radius: 999px; font-weight: 700; font-size: 0.9em;
  letter-spacing: 0.02em; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28); }
.me .eyebrow { background: rgba(255, 255, 255, 0.55); border-color: rgba(255, 255, 255, 0.8); }
.promise { font-family: var(--display); font-weight: 800; font-size: clamp(1.15em, 2.6vw, 1.45em); line-height: 1.2; margin: 0 0 0.7em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Guide pages (iphone-photos-to-pc/): a short sky header, then a readable article column ---- */
.guide-head .wrap { padding-bottom: 110px; }
.guide-head .eyebrow { margin-top: 8vh; }
.guide-head h1 { font-size: clamp(2em, 5.5vw, 3.2em); line-height: 1.05; margin: 0 0 0.4em; max-width: 16em; text-wrap: balance; }
.article { max-width: 760px; }
.article section { padding-top: 48px; }
.article ul { padding-left: 1.2em; }
.article li { margin: 0.4em 0; }
.short-answer { padding-top: 8px !important; }
.table-scroll { overflow-x: auto; border: 1px solid var(--table-line); border-radius: var(--radius-card); background: var(--surface); }
.table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.92em; min-width: 640px; }
.compare th, .compare td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 0.85em; color: var(--text-2); font-weight: 600; }
.compare tbody tr:last-child { background: var(--surface-high); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { font-weight: 700; }
.ours { border-top: 3px solid var(--accent); margin-top: 48px; }
/* Table lines on every cell; ticks and crosses in the mark columns (each has a text label for screen readers). */
/* --line is too faint on the work theme's dark surface, so the table has its own, stronger line colour. */
.compare, .table-scroll { --table-line: rgba(255, 255, 255, 0.35); }
.me .compare, .me .table-scroll { --table-line: rgba(43, 34, 51, 0.3); }
.compare th, .compare td { border: 1px solid var(--table-line); }
.compare tr > :first-child { border-left: 0; }
.compare tr > :last-child { border-right: 0; }
.compare thead th { border-top: 0; vertical-align: bottom; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare th[scope="col"]:not(:first-child):not(:last-child), .compare td.c { text-align: center; }
.compare .mark { display: block; font-size: 1.25em; font-weight: 700; line-height: 1.2; }
.compare .yes { color: var(--accent); }
.compare .no { color: var(--text-2); opacity: 0.8; }
.compare td small { display: block; color: var(--text-2); font-size: 0.82em; line-height: 1.25; }
.compare td.span { color: var(--text-2); font-style: italic; }

/* ---- Measured speeds (from docs/assessments/2026-11-23-transfer-reliability.md and STATUS; one PC, one iPhone) ---- */
.speeds { max-width: 40em; margin: 0 auto 20px; }
.speeds-title { font-weight: 700; font-size: 0.9em; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); margin: 0 0 10px; }
.speeds ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.speeds li { background: var(--surface); border-radius: var(--radius-card); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.me .speeds li { box-shadow: 0 1px 3px var(--shadow); }
.speeds strong { font-family: var(--display); font-weight: 800; font-size: 1.9em; line-height: 1.05; color: var(--accent); }
.speeds span { color: var(--text-2); font-size: 0.95em; line-height: 1.35; }
.speeds-note { font-size: 0.85em; color: var(--text-2); margin: 10px 0 0; }
@media (max-width: 560px) { .speeds ul { grid-template-columns: 1fr; } .speeds li { flex-direction: row; align-items: baseline; gap: 12px; } .speeds strong { min-width: 3.2em; } }
