/* Filixir website. Fluent/WinUI 3 surfaces (Mica, acrylic, 1px strokes, 4/8px corners) on a teal accent,
   with light and dark themes. Type: Geist throughout, Geist Mono for file names. */

/* Geist and Geist Mono by Vercel, SIL Open Font License 1.1 (fonts/Geist-OFL.txt). */
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  color-scheme: light;
  --display: "Geist", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --body: "Geist", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", Consolas, monospace;

  /* Light: Mica on a cool grey, cards in white. */
  --bg: #eef2f3;
  --bg-deep: #e3eaeb;
  --layer: #ffffff;
  --layer-2: rgba(255, 255, 255, .72);
  --layer-hover: #f6f9f9;
  --stroke: rgba(15, 42, 48, .09);
  --stroke-strong: rgba(15, 42, 48, .16);
  --stroke-top: rgba(255, 255, 255, .9);
  --text: #102b31;
  --text-2: #4b6166;
  --text-3: #7a8d90;
  --accent: #0f6f86;
  --accent-hover: #0c5f73;
  --accent-soft: rgba(15, 111, 134, .1);
  --on-accent: #ffffff;
  --good: #0f7b53;
  --grid: rgba(15, 42, 48, .07);
  --stage-a: #c9ecef;
  --stage-b: #9fd4e6;
  --stage-c: #e6f4f1;
  --stage-glow: rgba(255, 255, 255, .85);
  --shadow-card: 0 1px 2px rgba(16, 43, 49, .06), 0 2px 8px rgba(16, 43, 49, .05);
  --shadow-window: 0 2px 6px rgba(16, 43, 49, .08), 0 32px 64px -24px rgba(16, 43, 49, .32);
  --scene-dim: 0;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1517;
  --bg-deep: #081012;
  --layer: #132225;
  --layer-2: rgba(25, 42, 46, .7);
  --layer-hover: #18292d;
  --stroke: rgba(255, 255, 255, .08);
  --stroke-strong: rgba(255, 255, 255, .15);
  --stroke-top: rgba(255, 255, 255, .1);
  --text: #edf4f4;
  --text-2: #a6b8ba;
  --text-3: #6f8487;
  --accent: #4cc5d4;
  --accent-hover: #6fd3df;
  --accent-soft: rgba(76, 197, 212, .14);
  --on-accent: #032a30;
  --good: #4fd19a;
  --grid: rgba(255, 255, 255, .06);
  --stage-a: #0f3b44;
  --stage-b: #133357;
  --stage-c: #0b2226;
  --stage-glow: rgba(76, 197, 212, .28);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-window: 0 2px 6px rgba(0, 0, 0, .3), 0 40px 80px -24px rgba(0, 0, 0, .7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b1517;
    --bg-deep: #081012;
    --layer: #132225;
    --layer-2: rgba(25, 42, 46, .7);
    --layer-hover: #18292d;
    --stroke: rgba(255, 255, 255, .08);
    --stroke-strong: rgba(255, 255, 255, .15);
    --stroke-top: rgba(255, 255, 255, .1);
    --text: #edf4f4;
    --text-2: #a6b8ba;
    --text-3: #6f8487;
    --accent: #4cc5d4;
    --accent-hover: #6fd3df;
    --accent-soft: rgba(76, 197, 212, .14);
    --on-accent: #032a30;
    --good: #4fd19a;
    --grid: rgba(255, 255, 255, .06);
    --stage-a: #0f3b44;
    --stage-b: #133357;
    --stage-c: #0b2226;
    --stage-glow: rgba(76, 197, 212, .28);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-window: 0 2px 6px rgba(0, 0, 0, .3), 0 40px 80px -24px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--body); letter-spacing: -.005em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(3rem, 6.6vw, 5.75rem); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; }
h3 { font-size: 1.15rem; font-weight: 550; letter-spacing: -.02em; line-height: 1.3; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--text-2); max-width: 36rem; }
.note { font-size: .92rem; color: var(--text-3); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--layer); border-radius: 6px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 32px, 1240px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons: WinUI accent and standard buttons. */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 20px;
  border-radius: 6px; border: 1px solid var(--stroke-strong); background: var(--layer); color: var(--text);
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 var(--stroke-top);
  transition: background-color .12s, border-color .12s, transform .12s;
}
.button:hover { background: var(--layer-hover); color: var(--text); }
.button:active { transform: translateY(1px); }
.button svg { width: 18px; height: 18px; flex: none; }
.button-accent { background: var(--accent); border-color: transparent; color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 18px -8px var(--accent); }
.button-accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.button-small { min-height: 36px; padding: 7px 14px; font-size: .95rem; }
.button-large { min-height: 52px; padding: 13px 26px; font-size: 1.05rem; }

/* Header: acrylic bar. */
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(28px) saturate(1.6); -webkit-backdrop-filter: blur(28px) saturate(1.6); border-bottom: 1px solid var(--stroke); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 1.2rem/1 var(--display); letter-spacing: -.04em; }
.brand img { width: 30px; height: 30px; }
.site-nav { display: flex; gap: 4px; margin-left: 8px; }
.site-nav a { padding: 8px 12px; border-radius: 6px; color: var(--text-2); text-decoration: none; font-size: .97rem; }
.site-nav a:hover { background: var(--accent-soft); color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.head-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
@media (max-width: 820px) { .site-nav { display: none; } }

/* Theme switch: a WinUI segmented control. */
.theme-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: 8px; background: var(--layer-2); border: 1px solid var(--stroke); }
.theme-switch button { display: grid; place-items: center; width: 32px; height: 28px; border: 0; border-radius: 5px; background: none; color: var(--text-2); cursor: pointer; }
.theme-switch button:hover { color: var(--text); background: var(--accent-soft); }
.theme-switch button[aria-pressed="true"] { background: var(--layer); color: var(--accent); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--stroke); }
.theme-switch svg { width: 16px; height: 16px; }
@media (max-width: 480px) { .head-end .button span { display: none; } .head-end .button { padding-inline: 10px; } }

/* Grid frame, after Payload: hairline columns with plus marks where lines cross. */
.frame { position: relative; border-top: 1px solid var(--grid); }
.frame::before, .frame::after { content: ""; position: absolute; top: -7px; width: 13px; height: 13px; background:
  linear-gradient(var(--text-3), var(--text-3)) center / 13px 1px no-repeat, linear-gradient(var(--text-3), var(--text-3)) center / 1px 13px no-repeat; opacity: .55; }
.frame::before { left: calc((100% - min(100% - 32px, 1240px)) / 2 - 6px); }
.frame::after { right: calc((100% - min(100% - 32px, 1240px)) / 2 - 6px); }

.section { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.section-head { display: grid; gap: 18px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Hero: the 3D scene fills it, copy sits on the left. */
.hero { position: relative; min-height: min(100svh - 64px, 920px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 70% at 72% 45%, var(--stage-glow), transparent 70%),
  linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% 88px,
  linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 88px 100%;
  mask-image: radial-gradient(90% 90% at 60% 45%, #000 40%, transparent 100%); }
.hero-scene { position: absolute; inset: 0; z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 52%); mask-image: linear-gradient(90deg, transparent 30%, #000 52%); }
@media (max-width: 900px) { .hero-scene { -webkit-mask-image: linear-gradient(180deg, #000 42%, transparent 58%); mask-image: linear-gradient(180deg, #000 42%, transparent 58%); } }
.hero-scene canvas { width: 100%; height: 100%; }
.hero .wrap { padding-block: 64px 96px; }
.hero-copy { display: grid; gap: 28px; max-width: 40rem; }
.hero-copy h1 { max-width: 9.5ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.hero-actions .note { flex-basis: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--layer-2); border: 1px solid var(--stroke); color: var(--text-2); font-size: .9rem; backdrop-filter: blur(12px); }
.hero-badge b { padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: .8rem; }
.hero-fallback { display: none; }
.no-webgl .hero-fallback { display: flex; position: absolute; right: 4%; top: 50%; transform: translateY(-50%); gap: 18px; flex-wrap: wrap; width: min(42%, 460px); justify-content: center; }
@media (max-width: 900px) {
  .hero { align-items: end; min-height: 760px; }
  .hero .wrap { padding-block: 360px 64px; }
  .no-webgl .hero-fallback { position: absolute; top: 40px; right: 50%; transform: translateX(50%); width: 90%; }
}

/* Programs strip */
.programs { padding-block: 34px; }
.programs .wrap { display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center; justify-content: center; }
.programs p { color: var(--text-3); font-size: .95rem; flex-basis: 100%; text-align: center; margin-bottom: 6px; }
.programs span { font: 500 1.1rem/1.2 var(--display); color: var(--text-2); letter-spacing: -.03em; opacity: .85; }

/* File icons, drawn in CSS: a page with a folded corner and a coloured label. */
.ficon { --tint: #6b7c80; position: relative; width: 56px; aspect-ratio: 52 / 64; flex: none; }
.ficon::before { content: ""; position: absolute; inset: 0; border-radius: 5px 0 5px 5px; background: linear-gradient(180deg, #fff, #eef2f2);
  clip-path: polygon(0 0, 70% 0, 100% 24%, 100% 100%, 0 100%); box-shadow: inset 0 0 0 1px rgba(16, 43, 49, .18); }
.ficon::after { content: ""; position: absolute; right: 0; top: 0; width: 30%; height: 24%; background: linear-gradient(225deg, transparent 50%, color-mix(in srgb, var(--tint) 35%, #cfd8d9) 50%); border-bottom-left-radius: 3px; }
.ficon i { position: absolute; left: -6%; right: 18%; bottom: 14%; padding: 2px 0; border-radius: 3px; background: var(--tint); color: #fff; font: 600 .66rem/1.25 var(--mono); font-style: normal; text-align: center; letter-spacing: .02em; box-shadow: 0 2px 6px -2px var(--tint); }
.ficon.old::before { background: linear-gradient(180deg, #e9e6dc, #d9d5c8); }
.ficon.old i { background: #8a8f8a; box-shadow: none; }
.ficon.lg { width: 76px; }
.ficon.lg i { font-size: .82rem; }
.t-video { --tint: #7357e8; }
.t-doc { --tint: #2b6fe0; }
.t-sheet { --tint: #12915a; }
.t-pub { --tint: #e2621b; }
.t-flash { --tint: #d9363e; }
.t-form { --tint: #0b8a9e; }
.t-3d { --tint: #c48a00; }
.t-pdf { --tint: #c8313a; }

/* Scroll story: the list on the left lights up as each card passes. */
.story-scroll { display: grid; gap: 48px; }
@media (min-width: 980px) { .story-scroll { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.story-list { position: sticky; top: 120px; align-self: start; display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.story-list li { font: 500 clamp(1.7rem, 3.2vw, 2.7rem)/1.14 var(--display); letter-spacing: -.045em; color: var(--text); opacity: .22; transition: opacity .35s ease; }
.story-list li.on { opacity: 1; }
.story-cards { display: grid; gap: 22px; }
@media (max-width: 979px) { .story-list { position: static; } .story-list li { opacity: 1; font-size: 1.6rem; } .story-list { display: none; } }
.card { background: var(--layer); border: 1px solid var(--stroke); border-radius: 8px; box-shadow: var(--shadow-card), inset 0 1px 0 var(--stroke-top); }
.convert { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); scroll-margin-top: 30vh; }
.convert .flow { display: flex; align-items: center; gap: 16px; }
.convert .arrow { flex: 1; max-width: 120px; height: 2px; position: relative; background: linear-gradient(90deg, var(--stroke-strong), var(--accent)); }
.convert .arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--accent); }
.convert .meta { color: var(--text-3); font-size: .9rem; }
.convert p { color: var(--text-2); }
.convert .becomes { color: var(--good); font-weight: 600; font-size: .95rem; display: inline-flex; gap: 6px; align-items: center; }
.convert .becomes svg { width: 16px; height: 16px; }

/* Stage: a soft gradient panel holding floating windows (after Instantly). */
.stage { position: relative; border-radius: 20px; overflow: hidden; isolation: isolate; padding: clamp(28px, 6vw, 80px) clamp(16px, 5vw, 72px) 0;
  background: radial-gradient(70% 90% at 20% 0%, var(--stage-glow), transparent 60%), radial-gradient(60% 80% at 100% 100%, var(--stage-b), transparent 70%), linear-gradient(160deg, var(--stage-a), var(--stage-c));
  border: 1px solid var(--stroke); }
.stage-copy { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 44rem; margin: 0 auto clamp(32px, 5vw, 56px); }
.stage-copy .lede { max-width: 40rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; gap: 7px; align-items: center; padding: 7px 13px; border-radius: 999px; background: var(--layer-2); border: 1px solid var(--stroke); color: var(--text); font-size: .93rem; backdrop-filter: blur(10px); }
.chips svg { width: 15px; height: 15px; color: var(--accent); }

/* A WinUI window: Mica title bar, rounded 8px corners. */
.window { border-radius: 8px; overflow: hidden; background: var(--layer); border: 1px solid var(--stroke-strong); box-shadow: var(--shadow-window); }
.window-bar { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 0 0 14px; font-size: .82rem; color: var(--text-2); background: color-mix(in srgb, var(--layer) 80%, var(--stage-a)); border-bottom: 1px solid var(--stroke); }
.window-bar img { width: 16px; height: 16px; }
.window-bar .caption { margin-left: auto; display: flex; height: 100%; }
.window-bar .caption span { width: 44px; display: grid; place-items: center; }
.window-bar .caption svg { width: 10px; height: 10px; }
.window > img { width: 100%; }
.stage-visual { position: relative; max-width: 980px; margin: 0 auto; padding-bottom: clamp(28px, 6vw, 72px); }
.stage-visual .window { transform: translateY(0); }
.reel { position: absolute; right: -3%; bottom: clamp(10px, 3vw, 36px); width: 40%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-window); border: 4px solid var(--layer); background: #000; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: reel 18s infinite; }
.reel img:nth-of-type(2) { animation-delay: 6s; }
.reel img:nth-of-type(3) { animation-delay: 12s; }
@keyframes reel { 0% { opacity: 0; transform: scale(1); } 5%, 33% { opacity: 1; } 38%, 100% { opacity: 0; transform: scale(1.09); } }
.reel-label { position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; gap: 6px; align-items: center; padding: 4px 9px; border-radius: 6px; background: rgba(6, 34, 38, .72); color: #fff; font-size: .78rem; font-weight: 600; }
.reel-label svg { width: 12px; height: 12px; }
@media (max-width: 700px) { .reel { position: relative; right: auto; bottom: auto; width: 72%; margin: -16% 0 0 auto; } }

/* The Explorer-style file list (Find and convert). */
.explorer { max-width: 860px; margin: 0 auto; }
.explorer table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.explorer th { text-align: left; font-weight: 500; color: var(--text-3); font-size: .82rem; padding: 10px 18px 8px; }
.explorer td { padding: 10px 18px; border-top: 1px solid var(--stroke); vertical-align: middle; }
.explorer td:first-child { width: 100%; max-width: 0; }
.explorer .name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.explorer .name span { font: .86rem var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .5s; }
.explorer .ficon { width: 26px; }
.explorer .ficon i { font-size: .42rem; }
.explorer .made { color: var(--text-2); white-space: nowrap; }
.explorer .made small { display: block; color: var(--text-3); font-size: .8rem; }
.status { display: grid; white-space: nowrap; }
.status > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 7px; transition: opacity .45s ease, transform .45s ease; }
.status svg { width: 16px; height: 16px; flex: none; }
.status .dead { color: var(--text-3); opacity: 0; transform: translateY(6px); transition-duration: .25s; }
.status .alive { color: var(--good); font-weight: 600; transition-delay: .3s; }
.explorer tr.waiting .dead { opacity: 1; transform: none; }
.explorer tr.waiting .alive { opacity: 0; transform: translateY(-6px); transition-delay: 0s; }
.explorer tr.waiting .name span { color: var(--text-3); }
.explorer tr.waiting .ficon { filter: grayscale(1) opacity(.6); }
.explorer .ficon { transition: filter .5s; }
@media (max-width: 640px) { .explorer .made, .explorer th:nth-child(2) { display: none; } .explorer td, .explorer th { padding-inline: 12px; } .explorer .name span { font-size: .76rem; } }

/* Format tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tile { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; padding: 18px; }
.tile .ficon { grid-row: span 2; }
.tile strong { font-weight: 600; line-height: 1.3; }
.tile small { color: var(--text-3); font-size: .86rem; }
.tiles-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }

/* Promises */
.promises { display: grid; gap: 14px; }
@media (min-width: 860px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promise { display: grid; gap: 12px; align-content: start; padding: 28px; }
.promise .glyph { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.promise svg { width: 24px; height: 24px; }
.promise p { color: var(--text-2); }

/* Pricing */
.plans { display: grid; gap: 16px; max-width: 980px; margin-inline: auto; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { display: grid; gap: 20px; align-content: start; padding: clamp(24px, 3vw, 36px); }
.plan .price { font: 500 3rem/1 var(--display); letter-spacing: -.05em; }
.plan .price small { font: 500 1rem var(--body); letter-spacing: 0; margin-left: 8px; color: var(--text-2); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--text-2); }
.plan li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); }
.plan .button { justify-self: start; }
.plan-pro { position: relative; border-color: color-mix(in srgb, var(--accent) 45%, transparent); background:
  radial-gradient(120% 80% at 100% 0%, var(--accent-soft), transparent 60%), var(--layer); box-shadow: var(--shadow-window); }
.plan-pro .tag { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .78rem; font-weight: 600; }
.secure { display: flex; gap: 8px; align-items: center; color: var(--text-3); font-size: .88rem; }
.secure svg { width: 15px; height: 15px; flex: none; }

/* FAQ: WinUI expanders */
.faq { display: grid; gap: 6px; max-width: 880px; }
.faq details { background: var(--layer); border: 1px solid var(--stroke); border-radius: 8px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--text-2); border-bottom: 1.6px solid var(--text-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 20px 20px; color: var(--text-2); border-top: 1px solid var(--stroke); padding-top: 16px; }
.faq details > div p + p { margin-top: 10px; }

/* Closing */
.closing { text-align: center; padding-bottom: clamp(40px, 6vw, 72px); }
.closing h2 { max-width: 18ch; margin-inline: auto; }
.closing .hero-actions { justify-content: center; margin-top: 30px; }

/* Footer, after Payload: columns on a hairline grid, then the name, big and quiet. */
.site-foot { position: relative; overflow: hidden; background: var(--bg-deep); border-top: 1px solid var(--stroke); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; border-inline: 1px solid var(--grid); }
.foot-grid > * { padding: clamp(28px, 4vw, 48px) clamp(18px, 2.4vw, 32px); }
.foot-grid > * + * { border-left: 1px solid var(--grid); }
.foot-brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.foot-brand p { color: var(--text-2); font-size: .95rem; max-width: 30ch; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-head { color: var(--text-3); font-size: .85rem; font-weight: 500; margin-bottom: 6px; }
.foot-col a { color: var(--text); text-decoration: none; font-size: .96rem; justify-self: start; }
.foot-col a:hover { color: var(--accent); }
.foot-small { color: var(--text-3); font-size: .88rem; max-width: 26ch; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; align-items: baseline; padding-block: 18px; border: 1px solid var(--grid); border-bottom: 0; }
.foot-base small, .foot-credit { color: var(--text-3); font-size: .84rem; }
.foot-base { padding-inline: clamp(18px, 2.4vw, 32px); }
.foot-credit a { color: var(--text-2); }
.wordmark { margin: 0; padding-top: 8px; text-align: center; font: 600 clamp(6rem, 37vw, 36rem)/.74 var(--display); letter-spacing: -.07em; color: color-mix(in srgb, var(--text) 7%, transparent); user-select: none; margin-bottom: -.16em; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-grid > * + * { border-left: 0; }
  .foot-grid > :nth-child(n + 2) { border-top: 1px solid var(--grid); }
  .foot-grid > :nth-child(3) { border-left: 1px solid var(--grid); }
  .foot-grid > :nth-child(4) { grid-column: 1 / -1; }
}

/* Inner pages */
.page { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 120px); }
.page-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: 40px; }
.page-head h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); }
.prose { max-width: 44rem; display: grid; gap: 14px; }
.prose h2 { font-size: 1.5rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose p, .prose li { color: var(--text-2); }
.format-group { margin-top: 44px; }
.format-group h2 { font-size: 1.7rem; margin-bottom: 14px; }
.format-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--layer); border: 1px solid var(--stroke); border-radius: 8px; overflow: hidden; }
.format-table th { text-align: left; font-weight: 500; font-size: .85rem; color: var(--text-3); padding: 12px 18px; }
.format-table td { padding: 14px 18px; border-top: 1px solid var(--stroke); vertical-align: top; }
.format-table td strong { display: block; font-weight: 600; }
.format-table td small { display: block; color: var(--text-2); font-size: .92rem; margin-top: 3px; max-width: 46rem; }
.format-table .ext { font: .9rem var(--mono); color: var(--text-2); white-space: nowrap; }
.state { display: inline-block; white-space: nowrap; padding: 3px 10px; border-radius: 999px; font-size: .84rem; font-weight: 600; }
.state-ready { background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); }
.state-progress { background: var(--accent-soft); color: var(--accent); }
.state-planned { background: var(--stroke); color: var(--text-2); }
.page-end { margin-top: 40px; }
@media (max-width: 720px) {
  .format-table thead { display: none; }
  .format-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 16px; border-top: 1px solid var(--stroke); }
  .format-table tr:first-child { border-top: 0; }
  .format-table td { border: 0; padding: 0; }
  .format-table td.ext { grid-column: 1; }
}

/* Account and thank-you pages */
.panel { max-width: 640px; padding: clamp(24px, 4vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input { min-height: 44px; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--stroke-strong); border-bottom-color: var(--text-3); background: var(--layer); color: var(--text); font: inherit; }
.field input:focus { outline: none; border-bottom: 2px solid var(--accent); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.inline-form .field { flex: 1 1 260px; }
.message { padding: 12px 14px; border-radius: 6px; background: var(--accent-soft); color: var(--text); font-size: .95rem; }
.message.error { background: color-mix(in srgb, #d9363e 14%, transparent); }
.keybox { display: grid; gap: 10px; padding: 16px; border-radius: 8px; background: var(--bg); border: 1px solid var(--stroke); }
.keybox code { font: 500 .92rem/1.6 var(--mono); word-break: break-all; color: var(--text); }
.keybox .row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--text-3); font-size: .88rem; }
.keybox .row .button { margin-left: auto; }
.steps { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--text-2); }
[hidden] { display: none !important; }
.explorer + .note { text-align: center; margin-top: 20px; }
