/* FilePetal site: quiet typography, real product imagery, restrained motion. */
:root {
  color-scheme: light;
  --page: #f2f0e9;
  --surface: #fbfaf6;
  --surface-2: #e9e6dd;
  --ink: #252720;
  --muted: #66685f;
  --line: #d4d1c7;
  --accent: #d76030;
  --accent-dark: #a63d1c;
  --accent-soft: #f3dfd2;
  --good: #397b52;
  --desktop: #34463f;
  --desktop-2: #42574e;
  --desktop-ink: #f8f6ec;
  --shadow: 0 14px 38px rgb(37 39 32 / 8%);
  --font: 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
  --display: 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Cascadia Code', Consolas, monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page: #20231f;
  --surface: #292c27;
  --surface-2: #343830;
  --ink: #f1eee5;
  --muted: #b0b1a7;
  --line: #464940;
  --accent: #f08352;
  --accent-dark: #ffae84;
  --accent-soft: #453129;
  --good: #85c699;
  --desktop: #263933;
  --desktop-2: #344940;
  --desktop-ink: #f8f6ec;
  --shadow: 0 16px 40px rgb(0 0 0 / 23%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color .18s ease, color .18s ease;
}
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { color: #fff; background: var(--accent); }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; color: #fff; background: var(--ink); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 15;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 94%, transparent);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1160px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 9px; flex: none; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -.03em; }
.brand { font-family: var(--display); font-size: 18px; }
.brand img { width: 29px; height: 29px; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 26px); flex: 1; }
.site-nav a { position: relative; padding: 25px 0 23px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: 15px; left: 0; height: 2px; background: var(--accent); content: ""; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-download { padding: 9px 14px; border: 1px solid var(--ink); color: var(--ink); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .16s, color .16s; }
.header-download:hover { color: var(--page); background: var(--ink); }
.theme-toggle-btn { display: grid; width: 36px; height: 36px; place-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; }
.theme-toggle-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle-btn .sun-icon, html[data-theme="dark"] .theme-toggle-btn .moon-icon { display: none; }
html[data-theme="dark"] .theme-toggle-btn .sun-icon { display: block; }

main { display: block; }
.home-hero, .home-uses, .home-details, .content-page { width: min(1040px, calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: center; gap: clamp(40px, 8vw, 100px); padding: 82px 0 64px; }
.hero-copy { max-width: 570px; }
.eyebrow { margin: 0 0 14px; color: var(--accent-dark); font-family: var(--mono); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
h1 { max-width: 740px; margin-bottom: 20px; font-size: clamp(42px, 6.2vw, 70px); line-height: 1.04; letter-spacing: -.065em; font-weight: 700; }
.hero-copy h1 { max-width: 530px; }
.hero-lede { max-width: 510px; margin-bottom: 18px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.hero-platform-note { margin: 0 0 27px; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid transparent; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: color .16s, background .16s, border-color .16s, transform .16s; }
.button:hover { transform: translateY(-1px); }
.button-primary { border-color: var(--accent); color: #fff; background: var(--accent); }
.button-primary:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
.button-quiet, .button-secondary { border-color: var(--line); color: var(--ink); background: transparent; }
.button-quiet:hover, .button-secondary:hover { border-color: var(--ink); }
.hero-footnote { max-width: 480px; margin-bottom: 0; color: var(--muted); font-size: 12px; }
.hero-product { margin: 0; padding: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.hero-product img { display: block; width: 100%; height: auto; }
.hero-product figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px 0; color: var(--muted); font-size: 11px; }
.hero-product figcaption::after { color: var(--accent); content: "REAL APP SCREENSHOT"; font-family: var(--mono); font-size: 9px; letter-spacing: .07em; }
.home-uses { border-top: 1px solid var(--line); }
.use-row { display: grid; grid-template-columns: 140px 1fr 24px; align-items: center; gap: 20px; min-height: 72px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; text-decoration: none; transition: color .15s, padding .15s; }
.use-row:hover { padding-right: 4px; padding-left: 4px; color: var(--ink); }
.use-label { color: var(--ink); font-family: var(--display); font-size: 16px; font-weight: 700; }
.use-arrow { color: var(--accent); font-size: 21px; text-align: right; }
.home-details { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 62px 0 82px; }
.home-details h2 { margin-bottom: 10px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.home-details p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.text-link, .external-link-row a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-dark); font-size: 13px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link { flex: none; }

.content-page { min-height: calc(100vh - 150px); padding-top: 64px; padding-bottom: 82px; }
.page-heading { max-width: 760px; margin: 0 0 40px; }
.page-heading h1 { margin-bottom: 15px; font-size: clamp(38px, 5.6vw, 58px); }
.page-heading > p:last-child { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 16px; }
.section-jump { display: flex; flex-wrap: wrap; gap: 24px; margin: -14px 0 32px; border-bottom: 1px solid var(--line); }
.section-jump a { padding: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.section-jump a:hover { color: var(--accent-dark); }
.feature-detail { display: grid; grid-template-columns: 100px 1fr; gap: 34px; padding: 38px 0 44px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.feature-number { color: var(--accent); font-family: var(--mono); font-size: 13px; }
.feature-detail .eyebrow { margin-bottom: 7px; }
.feature-detail h2 { margin-bottom: 12px; font-size: 32px; letter-spacing: -.045em; }
.feature-detail > div:last-child > p:not(.eyebrow) { max-width: 720px; color: var(--muted); }
.plain-list { display: grid; gap: 9px; max-width: 760px; padding-left: 19px; color: var(--muted); font-size: 14px; }
.plain-list li::marker { color: var(--accent); }
.tool-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 20px; border: 1px solid var(--line); background: var(--line); }
.tool-groups > div { padding: 19px 20px; background: var(--surface); }
.tool-groups h3 { margin-bottom: 6px; font-size: 15px; }
.tool-groups p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.product-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-top: 42px; }
.product-shots figure { margin: 0; border: 1px solid var(--line); background: var(--surface); }
.product-shots img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; object-position: top; }
.product-shots figcaption { padding: 12px 14px; color: var(--muted); font-size: 12px; }

/* A small desktop scene for the real modifier gestures. */
.demo-workspace { overflow: hidden; border: 1px solid #c8c9c1; background: #e6e5df; box-shadow: var(--shadow); }
.desktop-window-bar { display: flex; height: 38px; align-items: center; gap: 12px; padding: 0 14px; color: #55584f; background: #f1f0eb; font-size: 11px; font-weight: 600; }
.desktop-app-title { display: inline-flex; align-items: center; gap: 7px; }
.desktop-app-title img { display: block; }
.desktop-window-note { margin-left: auto; color: #82847b; font-family: var(--mono); font-size: 9px; font-weight: 400; text-transform: uppercase; }
.window-controls { display: flex; height: 100%; align-items: stretch; margin: 0 -14px 0 4px; }
.window-controls i { display: grid; width: 42px; place-items: center; color: #575a54; font-size: 13px; font-style: normal; }
.window-controls i:last-child { color: #fff; background: #c84e42; }
.desktop-stage { position: relative; min-height: clamp(390px, 49vw, 520px); overflow: hidden; color: var(--desktop-ink); background: var(--desktop); background-image: linear-gradient(120deg, rgb(255 255 255 / 3%), transparent 45%), repeating-linear-gradient(0deg, transparent 0 39px, rgb(255 255 255 / 2%) 40px); touch-action: none; }
.desktop-stage::before { position: absolute; top: 0; right: 0; bottom: 0; left: 47%; background: linear-gradient(150deg, transparent 0 44%, rgb(255 255 255 / 2%) 44% 44.3%, transparent 44.3%); content: ""; pointer-events: none; }
.desktop-files { position: absolute; inset: 0; }
.desktop-file { position: absolute; display: flex; width: 86px; min-height: 100px; flex-direction: column; align-items: center; gap: 6px; padding: 6px 4px; border: 1px solid transparent; border-radius: 3px; color: var(--desktop-ink); background: transparent; cursor: grab; user-select: none; touch-action: none; transition: background .12s, border-color .12s, transform .12s; }
.desktop-file:nth-child(1) { top: 28px; left: 28px; }
.desktop-file:nth-child(2) { top: 143px; left: 43px; }
.desktop-file:nth-child(3) { top: 258px; left: 28px; }
.desktop-file:nth-child(4) { top: 30px; left: 150px; }
.desktop-file:nth-child(5) { top: 160px; left: 160px; }
.desktop-file:hover, .desktop-file.is-selected { border-color: rgb(255 255 255 / 28%); background: rgb(255 255 255 / 11%); }
.desktop-file.is-dragging { z-index: 10; cursor: grabbing; transition: none; pointer-events: none !important; opacity: 0.92; filter: drop-shadow(0 14px 26px rgb(0 0 0 / 40%)); }
.file-art { display: block; width: 48px; height: 56px; filter: drop-shadow(0 3px 2px rgb(0 0 0 / 13%)); }
.file-paper { fill: #f7f4eb; stroke: #d5d3c9; stroke-width: 1; }
.file-fold { fill: #dedbd1; stroke: #d5d3c9; stroke-width: 1; }
.file-preview, .file-media { fill: #86a699; }
.file-sun { fill: #eaaa63; }
.file-hill { fill: none; stroke: #496d5d; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.file-extension { fill: #f4f0e5; stroke: #607268; stroke-width: 5px; paint-order: stroke; font: 700 7px var(--font); text-anchor: middle; }
.file-code, .file-lines, .file-wave { fill: none; stroke: #476c84; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.file-play { fill: #fff; }
.desktop-file span { max-width: 100%; overflow: hidden; color: #fff; font-size: 11px; text-overflow: ellipsis; text-shadow: 0 1px 2px #1a2821; white-space: nowrap; }
.desktop-toast { position: absolute; right: 16px; bottom: 16px; max-width: min(420px, calc(100% - 32px)); padding: 8px 11px; border: 1px solid rgb(255 255 255 / 20%); border-radius: 3px; color: #f8f5ed; background: rgb(23 35 30 / 73%); font-size: 11px; pointer-events: none; }
.desktop-taskbar { display: flex; min-height: 44px; align-items: center; gap: 14px; padding: 0 14px; color: #3c4039; background: #f1f0eb; font-size: 10px; }
.taskbar-start { display: grid; width: 17px; height: 17px; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.taskbar-start i { background: #6b8b7b; }
.taskbar-search { width: min(200px, 30%); padding: 5px 10px; border: 1px solid #deddd6; border-radius: 2px; color: #85867f; background: #faf9f5; }
.taskbar-app { display: inline-flex; align-items: center; gap: 6px; }
.taskbar-state { margin-left: auto; color: #7a7c74; font-family: var(--mono); text-transform: uppercase; }
.gesture-wheel { position: absolute; z-index: 6; top: 0; left: 0; width: 280px; height: 280px; overflow: visible; border: 1px solid rgb(255 255 255 / 85%); border-radius: 50%; color: var(--ink); background: rgb(247 245 237 / 94%); box-shadow: 0 18px 45px rgb(0 0 0 / 24%), inset 0 1px 0 rgb(255 255 255 / 80%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); pointer-events: auto; user-select: none; }
html[data-theme="dark"] .gesture-wheel { border-color: rgb(255 255 255 / 16%); color: #f7f5ed; background: rgb(28 33 30 / 94%); box-shadow: 0 20px 50px rgb(0 0 0 / 55%), inset 0 1px 0 rgb(255 255 255 / 12%); }
.gesture-wheel[hidden] { display: none !important; }
.wheel-ring { position: absolute; inset: 10px; border: 1px dashed rgb(180 175 160 / 45%); border-radius: 50%; pointer-events: none; }
html[data-theme="dark"] .wheel-ring { border-color: rgb(255 255 255 / 12%); }
.wheel-options { position: absolute; inset: 0; pointer-events: none; }
.wheel-center { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 10px; border: 1px solid rgb(255 255 255 / 92%); border-radius: 50%; background: rgb(255 255 255 / 96%); box-shadow: 0 4px 16px rgb(0 0 0 / 10%); text-align: center; pointer-events: none; }
html[data-theme="dark"] .wheel-center { border-color: rgb(255 255 255 / 16%); background: rgb(36 42 39 / 96%); box-shadow: 0 4px 16px rgb(0 0 0 / 35%); }
.wheel-center small { color: var(--accent); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.wheel-center strong { max-width: 88px; overflow: hidden; margin: 3px 0; font-size: 11px; font-weight: 700; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.wheel-center span { color: var(--muted); font-size: 8.5px; }
.wheel-petal { position: absolute; display: inline-flex; align-items: center; justify-content: center; padding: 4px 8px; border: 1px solid rgb(0 0 0 / 12%); border-radius: 9999px; color: #222520; background: rgb(255 255 255 / 94%); box-shadow: 0 2px 7px rgb(0 0 0 / 8%); cursor: pointer; font-family: var(--font); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; text-align: center; white-space: nowrap; pointer-events: auto; transition: transform .12s ease-out, background-color .12s ease-out, border-color .12s ease-out, color .12s ease-out, box-shadow .12s ease-out; }
html[data-theme="dark"] .wheel-petal { border-color: rgb(255 255 255 / 16%); color: #f7f5ed; background: rgb(45 53 49 / 92%); box-shadow: 0 2px 8px rgb(0 0 0 / 30%); }
.wheel-petal:hover, .wheel-petal:focus-visible { z-index: 3; transform: scale(1.08); border-color: var(--accent) !important; color: #fff !important; background: var(--accent) !important; box-shadow: 0 0 0 3px rgb(215 96 48 / 32%), 0 6px 16px rgb(0 0 0 / 20%); }
.wheel-petal.is-drop-target { z-index: 4; transform: scale(1.12); border-color: #fff !important; color: #fff !important; background: #c64f26 !important; box-shadow: 0 0 0 4px rgb(215 96 48 / 45%), 0 8px 22px rgb(0 0 0 / 30%); }
.wheel-empty { position: absolute; top: calc(50% + 76px); right: 0; left: 0; width: 160px; margin: 0 auto; color: var(--muted); font-size: 9px; text-align: center; }
.demo-controls { padding: 20px 0 15px; border-bottom: 1px solid var(--line); }
.control-heading { margin-bottom: 3px; font-family: var(--display); font-size: 15px; font-weight: 700; }
.control-copy { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 12px; }
.demo-feedback { min-height: 26px; padding-top: 12px; color: var(--muted); font-size: 12px; }
.demo-reset, .text-button { padding: 0; border: 0; color: var(--accent-dark); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.demo-reset { margin-top: 9px; }

/* Download list, update notes and system-specific instructions. */
.release-line { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: -12px 0 20px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.status-indicator { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #aaa; }
.status-indicator.live { background: var(--good); }
.status-indicator.fallback { background: #d69a4b; }
.release-note { margin-left: auto; font-family: var(--font); font-size: 10px; }
.download-list { border-top: 1px solid var(--line); }
.download-row { display: grid; grid-template-columns: minmax(190px, 1.05fr) minmax(210px, 1fr) auto minmax(120px, .55fr); align-items: center; gap: 12px 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.download-row-mac { grid-template-columns: minmax(190px, .8fr) repeat(2, minmax(180px, 1fr)); }
.download-platform { display: flex; align-items: center; gap: 12px; }
.platform-glyph { display: grid; width: 36px; height: 36px; flex: none; place-items: center; border: 1px solid var(--line); color: var(--accent-dark); font-size: 19px; }
.download-platform h2 { margin: 0 0 2px; font-size: 17px; letter-spacing: -.03em; }
.download-platform p, .mac-download-option p { margin: 0; color: var(--muted); font-size: 11px; }
.rec-badge, .option-rec-pill { padding: 3px 7px; border: 1px solid var(--good); color: var(--good); font-family: var(--mono); font-size: 8px; text-transform: uppercase; white-space: nowrap; }
.download-row.detected-system { padding-right: 12px; padding-left: 12px; background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
.download-file { overflow-wrap: anywhere; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.download-link { min-width: 135px; white-space: nowrap; }
.download-count { color: var(--muted); font-family: var(--mono); font-size: 9px; text-align: right; }
.count-unavailable { opacity: .72; }
.download-howto { grid-column: 2 / -1; margin: -2px 0 0; color: var(--muted); font-size: 11px; }
.download-howto a { color: var(--accent-dark); }
.mac-download-option { position: relative; display: flex; min-height: 156px; flex-direction: column; align-items: flex-start; gap: 9px; padding: 14px; border: 1px solid var(--line); background: var(--surface); }
.mac-download-option h3 { margin: 0 0 3px; font-size: 14px; }
.option-rec-pill { position: absolute; top: 12px; right: 12px; }
.mac-download-option .download-file { margin-top: auto; }
.mac-download-option .download-count { align-self: flex-start; }
.download-row-mac > .download-howto { grid-column: 2 / -1; }
.update-note { max-width: 780px; margin-top: 38px; padding: 22px 24px; border-left: 3px solid var(--accent); background: var(--surface); }
.update-note h2 { margin-bottom: 8px; font-size: 18px; }
.update-note p { margin: 0 0 9px; color: var(--muted); font-size: 13px; }
.update-note p:last-child { margin-bottom: 0; }
.external-link-row { margin: 28px 0 0; }
.guide-steps { max-width: 780px; counter-reset: guide; }
.guide-step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); counter-increment: guide; }
.guide-step::before { color: var(--accent); content: "0" counter(guide); font-family: var(--mono); font-size: 12px; }
.guide-step h2 { margin: 0 0 6px; font-size: 18px; }
.guide-step p { margin: 0; color: var(--muted); font-size: 13px; }
.guide-step code { padding: 2px 4px; background: var(--surface-2); font-family: var(--mono); font-size: .9em; }
.guide-note { margin-top: 22px; padding: 17px 20px; border: 1px solid var(--line); background: var(--surface); }
.guide-note h2 { margin-bottom: 6px; font-size: 15px; }
.guide-note p { margin: 0; color: var(--muted); font-size: 12px; }
.guide-columns { max-width: 800px; }
.guide-section { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.guide-marker { color: var(--accent); font-family: var(--mono); font-size: 12px; }
.guide-section h2 { margin: 0 0 6px; font-size: 19px; }
.guide-section p { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.choice-list { display: grid; gap: 8px; margin: 14px 0 0; }
.choice-list > div { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); }
.choice-list dt { min-width: 200px; font-size: 12px; font-weight: 700; }
.choice-list dd { margin: 0; color: var(--muted); font-size: 12px; }
.choice-list a, .step-list a { color: var(--accent-dark); }
.step-list { display: grid; gap: 6px; padding-left: 19px; color: var(--muted); font-size: 12px; }
.step-list li::marker { color: var(--accent); }
.privacy-copy { max-width: 800px; }
.privacy-copy article { padding: 21px 0; border-top: 1px solid var(--line); }
.privacy-copy h2 { margin-bottom: 7px; font-size: 19px; }
.privacy-copy p { max-width: 740px; margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.privacy-copy p:last-child { margin-bottom: 0; }
.privacy-copy a { color: var(--accent-dark); }

/* Native details accordion, with a small exclusive-open fallback in app.js. */
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 19px 38px 19px 0; cursor: pointer; font-family: var(--display); font-size: 16px; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 50%; right: 2px; width: 18px; height: 18px; transform: translateY(-50%); color: var(--accent-dark); content: "+"; font-family: var(--font); font-size: 20px; font-weight: 400; text-align: center; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { max-width: 740px; padding: 0 26px 18px 0; color: var(--muted); font-size: 13px; }
.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--accent-dark); }
.faq-answer code { padding: 2px 4px; background: var(--surface-2); font-family: var(--mono); font-size: .9em; }

.site-footer { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 20px; width: min(1160px, calc(100% - 48px)); margin: 0 auto; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer-brand { color: var(--ink); font-family: var(--display); font-size: 13px; }
.footer-brand img { width: 23px; height: 23px; }
.site-footer > a:last-child { color: var(--accent-dark); font-weight: 700; text-decoration: none; }
.site-footer > a:last-child:hover { text-decoration: underline; }

@media (max-width: 920px) {
  .header-inner { flex-wrap: wrap; gap: 0 18px; padding: 10px 0 0; }
  .brand { min-height: 44px; }
  .header-actions { margin-left: auto; }
  .site-nav { order: 3; justify-content: flex-start; width: 100%; overflow-x: auto; gap: 22px; }
  .site-nav a { padding: 13px 0 15px; }
  .site-nav a[aria-current="page"]::after { bottom: 7px; }
  .home-hero { gap: 35px; padding-top: 58px; }
  .download-row, .download-row-mac { grid-template-columns: minmax(170px, 1fr) minmax(190px, 1fr) auto; }
  .download-row .download-count { grid-column: 2 / -1; justify-self: end; }
  .download-row .download-howto { grid-column: 1 / -1; }
  .download-row-mac { grid-template-columns: minmax(165px, .75fr) repeat(2, minmax(150px, 1fr)); }
  .download-row-mac > .download-howto { grid-column: 2 / -1; }
}
@media (max-width: 680px) {
  .header-inner, .home-hero, .home-uses, .home-details, .content-page, .site-footer { width: min(100% - 32px, 540px); }
  .header-inner { gap: 0 10px; }
  .header-download { padding: 8px 10px; font-size: 11px; }
  .site-nav { gap: 19px; }
  .site-nav a { font-size: 12px; }
  .home-hero { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 40px; }
  h1 { font-size: clamp(40px, 12vw, 57px); }
  .hero-lede { font-size: 16px; }
  .hero-product { max-width: 430px; margin: 0 auto; }
  .use-row { grid-template-columns: 82px 1fr 18px; gap: 12px; min-height: 67px; font-size: 12px; }
  .use-label { font-size: 14px; }
  .home-details { align-items: flex-start; flex-direction: column; padding: 42px 0 58px; }
  .content-page { padding-top: 42px; padding-bottom: 56px; }
  .page-heading { margin-bottom: 31px; }
  .page-heading h1 { font-size: clamp(36px, 11vw, 49px); }
  .page-heading > p:last-child { font-size: 14px; }
  .feature-detail { grid-template-columns: 1fr; gap: 7px; padding: 28px 0 34px; }
  .feature-number { font-size: 10px; }
  .feature-detail h2 { font-size: 27px; }
  .tool-groups, .product-shots { grid-template-columns: 1fr; }
  .desktop-stage { min-height: 440px; }
  .desktop-file:nth-child(1) { top: 24px; left: 14px; }
  .desktop-file:nth-child(2) { top: 144px; left: 14px; }
  .desktop-file:nth-child(3) { top: 264px; left: 14px; }
  .desktop-file:nth-child(4) { top: 24px; left: 118px; }
  .desktop-file:nth-child(5) { top: 144px; left: 118px; }
  .desktop-window-note { display: none; }
  .wheel-petal { max-width: 86px; min-height: 31px; padding: 5px 7px; font-size: 9px; }
  .wheel-center { padding: 7px; }
  .desktop-toast { right: 8px; bottom: 8px; max-width: calc(100% - 16px); font-size: 10px; }
  .download-row, .download-row-mac { grid-template-columns: 1fr auto; gap: 10px 12px; padding: 17px 0; }
  .download-platform { grid-column: 1 / -1; }
  .download-file { grid-column: 1 / -1; }
  .download-link { justify-self: start; }
  .download-count { grid-column: 2; grid-row: auto; justify-self: end; text-align: right; }
  .download-howto, .download-row-mac > .download-howto { grid-column: 1 / -1; }
  .mac-download-option { grid-column: 1 / -1; min-height: 145px; }
  .release-line { align-items: flex-start; }
  .release-note { width: 100%; margin-left: 17px; }
  .update-note { padding: 17px; }
  .site-footer { flex-wrap: wrap; justify-content: flex-start; padding: 18px 0; }
  .site-footer > span { order: 3; width: 100%; }
  .site-footer > a:last-child { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Single-page layout: one continuous reading flow with one sticky download action. */
.site-main { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-main > .home-hero, .site-main > .home-uses, .site-main > .home-details { width: 100%; }
.header-inner { justify-content: space-between; }
.header-download { padding: 10px 17px; border-color: var(--accent); color: #fff; background: var(--accent); }
.header-download:hover { border-color: var(--accent-dark); color: #fff; background: var(--accent-dark); }
.home-hero { min-height: 570px; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: clamp(40px, 7vw, 92px); padding: 74px 0 66px; }
.home-hero .eyebrow { max-width: 500px; }
.hero-product { padding: 12px; }
.hero-product figcaption::after { content: "FILEPETAL"; }
.hero-footnote { max-width: 520px; }
.home-uses { border-top: 1px solid var(--line); }
.home-details { padding: 50px 0 66px; }
.page-section { padding: 74px 0 86px; border-top: 1px solid var(--line); scroll-margin-top: 86px; }
.page-section-demo { padding-top: 60px; }
.page-section-downloads { padding-bottom: 110px; }
.section-heading { max-width: 800px; margin: 0 0 32px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { max-width: 760px; margin-bottom: 14px; font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -.06em; }
.section-heading > p:last-child { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 16px; }
.page-section .section-jump { margin-top: 0; }
.page-section .product-shots { padding-top: 34px; }
.page-section .guide-columns, .page-section .privacy-copy { max-width: 900px; }
.page-section .faq-list { max-width: 900px; }
.page-section .release-line { margin-top: 0; }
.page-section .download-list { border-top-color: var(--line); }
.page-section .download-row { padding-top: 24px; padding-bottom: 24px; }
.page-section .download-howto { line-height: 1.55; }
.page-section .update-note { max-width: 900px; }
.page-section .external-link-row { margin-top: 28px; }
.desktop-stage { min-height: clamp(430px, 45vw, 540px); }
.desktop-file { z-index: 1; }
.desktop-file.is-dragging { z-index: 10; cursor: grabbing; transition: none; pointer-events: none !important; opacity: 0.92; filter: drop-shadow(0 14px 26px rgb(0 0 0 / 40%)); }
.desktop-toast { z-index: 8; }
.demo-controls { padding-top: 22px; }
.site-footer { width: min(1160px, calc(100% - 48px)); }
#downloads, #demo, #features, #mac-guide, #privacy, #faq, #top { scroll-margin-top: 88px; }

@media (max-width: 920px) {
  .site-main { width: min(100% - 40px, 760px); }
  .home-hero { min-height: auto; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); padding-top: 58px; }
  .page-section { padding-top: 60px; padding-bottom: 66px; }
  .page-section .download-row, .page-section .download-row-mac { grid-template-columns: minmax(165px, 1fr) minmax(180px, 1fr) auto; }
  .page-section .download-row .download-howto { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .site-main, .header-inner, .site-footer { width: min(100% - 32px, 540px); }
  .header-inner { min-height: 64px; padding: 0; }
  .header-download { padding: 8px 12px; font-size: 12px; }
  .home-hero { grid-template-columns: 1fr; gap: 26px; padding: 46px 0 38px; }
  .home-hero .hero-product { width: min(100%, 440px); margin: 0 auto; }
  .home-details { padding: 39px 0 48px; }
  .home-details .text-link { margin-top: 2px; }
  .page-section { padding: 48px 0 58px; }
  .page-section-demo { padding-top: 44px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: clamp(32px, 9vw, 45px); }
  .section-heading > p:last-child { font-size: 14px; }
  .desktop-stage { min-height: 440px; }
  .page-section .download-row, .page-section .download-row-mac { grid-template-columns: 1fr auto; }
}

.use-row { grid-template-columns: 140px 1fr; }
@media (max-width: 680px) {
  .use-row { grid-template-columns: 82px 1fr; }
}
