/* ==========================================================================
   FileFlow Landing Website Stylesheet (Visual-First Edition)
   MausBot-derived layout & spacing + FileFlow Blue palette + Inter
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg-raised: #f7f8f8;
  --fg: #0a0a0b;
  --fg-muted: #555b66;
  --line: #e5e7ea;
  --accent: #0B57D0;
  --accent-brand: #3B96F5;
  --accent-tint: #CAE5FF;
  --accent-soft: color-mix(in oklab, #CAE5FF 60%, var(--bg));
  --accent-pill-bg: #CAE5FF;
  --accent-pill-fg: #0B57D0;
  --warn-bg: #fff8eb;
  --warn-border: #f0cf85;
  --warn-fg: #7a4b00;
  --fg-soft-6: color-mix(in oklab, var(--fg) 6%, transparent);
  --fg-soft-15: color-mix(in oklab, var(--fg) 15%, transparent);
  --bg-glass: color-mix(in oklab, var(--bg) 84%, transparent);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  --shadow-card-hover: 0 18px 40px -24px rgb(0 0 0 / 0.22);
  --shadow-inner-window: 0 1px 2px rgb(0 0 0 / 0.04), 0 12px 32px -16px rgb(0 0 0 / 0.14);
  --shadow-app-preview: 0 24px 64px rgba(10, 10, 11, 0.14);
  --shadow-chip: 0 6px 18px rgba(0, 0, 0, 0.08);
}

html.dark {
  --bg: #070708;
  --bg-raised: #131315;
  --fg: #f4f4f5;
  --fg-muted: #a1a1aa;
  --line: #232327;
  --accent: #3B96F5;
  --accent-brand: #3B96F5;
  --accent-tint: #CAE5FF;
  --accent-soft: color-mix(in oklab, #3B96F5 18%, var(--bg));
  --accent-pill-bg: rgba(59, 150, 245, 0.18);
  --accent-pill-fg: #CAE5FF;
  --warn-bg: rgba(245, 158, 11, 0.12);
  --warn-border: rgba(245, 158, 11, 0.35);
  --warn-fg: #fcd34d;
  --shadow-card-hover: 0 18px 40px -24px rgb(0 0 0 / 0.65);
  --shadow-app-preview: 0 24px 64px rgba(0, 0, 0, 0.58);
}

*, *::before, *::after {
  box-sizing: border-box;
  border: 0 solid var(--line);
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: clip;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
}
.skip-link:focus {
  top: 12px;
  opacity: 1;
  pointer-events: auto;
}

.container-6xl {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 20px;
}

.eyebrow {
  font-size: 11px;
  line-height: 16.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.env-notice-bar {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-border);
  color: var(--warn-fg);
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 16px;
  text-align: center;
}
.env-notice-bar code {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  position: relative;
  max-width: 72rem;
  margin-inline: auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
}

@media (min-width: 640px) {
  .nav-inner {
    padding-inline: 20px;
  }
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-muted);
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--fg);
}

.nav-icon-btn {
  display: inline-flex;
  height: 36px;
  width: 36px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  color: var(--fg-muted);
  transition: color 0.15s, background-color 0.15s;
}
.nav-icon-btn:hover {
  color: var(--fg);
  background-color: var(--bg-raised);
}

.nav-version-pill {
  display: inline-flex;
  height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--fg-muted);
  transition: color 0.15s;
}
.nav-version-pill:hover {
  color: var(--fg);
}
.nav-version-pill .ver-num {
  display: none;
  font-weight: 500;
  color: var(--fg);
}

@media (min-width: 390px) {
  .nav-version-pill .ver-num {
    display: inline;
  }
}

.nav-cta-primary {
  display: inline-flex;
  height: 36px;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius-full);
  background-color: var(--fg);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.nav-cta-primary:hover {
  opacity: 0.9;
}

.nav-download-pill {
  display: none;
  height: 36px;
  align-items: center;
  gap: 2px;
  padding: 3px 4px 3px 12px;
  border-radius: var(--radius-full);
  background-color: var(--fg);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-dl-prefix {
  font-size: 12px;
  opacity: 0.78;
  margin-right: 3px;
}
.nav-dl-os {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 9px;
  border-radius: var(--radius-full);
  color: var(--bg);
  font-size: 12.5px;
  font-weight: 600;
  transition: background-color 0.15s;
}
.nav-dl-os:hover {
  background-color: color-mix(in oklab, var(--bg) 16%, transparent);
}

.desktop-only-theme {
  display: none;
}

.mobile-menu-wrap {
  display: block;
}

.mobile-drawer {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  box-shadow: 0 10px 25px rgb(0 0 0 / 0.08);
}
.mobile-drawer[hidden] {
  display: none;
}
.mobile-drawer ul {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 16px;
}
.mobile-drawer li + li {
  border-top: 1px solid var(--line);
}
.mobile-drawer li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 15px;
  color: var(--fg);
}
.mobile-drawer-downloads {
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-dl-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.mobile-dl-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mobile-dl-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background-color: var(--fg);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.mobile-dl-pill:hover {
  opacity: 0.9;
}
.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.mobile-theme-label {
  font-size: 15px;
  color: var(--fg-muted);
}

@media (min-width: 960px) {
  .nav-right {
    gap: 12px;
  }
  .nav-links {
    gap: 18px;
  }
  .nav-links,
  .nav-download-pill {
    display: inline-flex;
  }
  .nav-cta-primary {
    display: none;
  }
  .desktop-only-theme {
    display: block;
  }
  .mobile-menu-wrap {
    display: none;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-pill-primary {
  display: inline-flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  background-color: var(--fg);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.btn-pill-primary:hover {
  opacity: 0.9;
}

.is-unavailable {
  opacity: 0.65;
  border: 1px dashed var(--line);
  background-color: var(--bg-raised) !important;
  color: var(--fg-muted) !important;
}

.platform-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-pill-platform {
  height: 42px;
  padding: 0 16px;
  font-size: 13.5px;
  gap: 7px;
}
@media (min-width: 640px) {
  .btn-pill-platform {
    height: 44px;
    padding: 0 18px;
    font-size: 14px;
    gap: 8px;
  }
}

[id^="download-"] {
  scroll-margin-top: 120px;
}

.btn-pill-secondary {
  display: inline-flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background-color: transparent;
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s;
}
.btn-pill-secondary:hover {
  background-color: var(--bg-raised);
}

/* ==========================================================================
   Hero Stage + Real Product Showcase
   ========================================================================== */
.hero-section {
  padding-top: 12px;
  padding-bottom: 44px;
}

.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  --word: clamp(50px, 14vw, 150px);
  user-select: none;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero-stage {
    aspect-ratio: 5 / 1.7;
    --word: clamp(64px, 13vw, 144px);
  }
}

@media (min-width: 1024px) {
  .hero-stage {
    aspect-ratio: 5 / 1.15;
    --word: clamp(118px, 12vw, 148px);
  }
}

.hero-echoes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  mask-image: radial-gradient(closest-side, #000 50%, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent);
}

.hero-echo {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(calc(-50% + var(--row) * var(--word) * 0.84));
  font-size: var(--word);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent-brand);
  opacity: 0.2;
}

.hero-echo-track {
  display: flex;
  width: max-content;
  animation: marquee 80s linear infinite;
}
.hero-echo[data-row="-1"] .hero-echo-track {
  animation-duration: 100s;
  animation-direction: reverse;
}
.hero-echo-copy {
  display: flex;
  gap: 0.35em;
  padding-right: 0.35em;
}

@keyframes marquee {
  100% { transform: translate(-50%); }
}

.hero-word-wrap {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-word {
  pointer-events: auto;
  display: flex;
  font-size: var(--word);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--accent-brand);
  white-space: nowrap;
}

.hero-letter {
  display: inline-block;
  transition: transform 0.38s cubic-bezier(0.2, 1.7, 0.4, 1);
}
.hero-letter:hover {
  transform: translateY(-0.1em) rotate(-5deg);
}

.hero-copy-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-tagline {
  margin-top: 6px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .hero-tagline {
    font-size: 56px;
    line-height: 61px;
    letter-spacing: -1.4px;
  }
}

.hero-accent {
  color: var(--accent);
}

.hero-subnote {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 600px;
}
@media (min-width: 640px) {
  .hero-subnote {
    font-size: 17px;
  }
}

.hero-cta-row {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
@media (min-width: 860px) {
  .hero-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-release-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--fg-muted);
}
.hero-release-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Real App Screenshot Showcase */
.hero-media-figure {
  max-width: 1080px;
  margin: 28px auto 0;
}

.app-shot-frame {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  overflow: hidden;
  box-shadow: var(--shadow-app-preview);
}

.app-shot-img {
  width: 100%;
  height: auto;
  display: block;
}

html.light .hero-shot-dark {
  display: none;
}
html.dark .hero-shot-light {
  display: none;
}

.hero-media-figure figcaption,
.shot-caption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--fg-muted);
  text-align: center;
}

/* ==========================================================================
   Compact Trust Strip
   ========================================================================== */
.strip-section {
  padding-bottom: 44px;
}
.strip-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 14px 22px;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--line);
  background-color: var(--bg-raised);
}
.strip-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
}
.strip-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background-color: var(--fg-soft-6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   Section Shells
   ========================================================================== */
.section-band {
  border-top: 1px solid var(--line);
  padding: 60px 0;
  scroll-margin-top: 76px;
}
@media (max-width: 760px) {
  .section-band {
    padding: 44px 0;
  }
}

.section-head-center {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.section-head-center h2 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) {
  .section-head-center h2 {
    font-size: 36px;
  }
}
.section-head-center p {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--fg-muted);
}

.section-head-left h2 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) {
  .section-head-left h2 {
    font-size: 34px;
  }
}
.section-head-left p {
  margin-top: 10px;
  max-width: 42rem;
  font-size: 15px;
  color: var(--fg-muted);
}

/* ==========================================================================
   3-Step Visual Quickstart (#quickstart)
   ========================================================================== */
.visual-steps-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 860px) {
  .visual-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.visual-step-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 16px;
  min-width: 0;
}

.visual-step-thumb {
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
}
.visual-step-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.visual-step-title {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-num-badge {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-pill-bg);
  color: var(--accent-pill-fg);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.visual-step-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
}

/* ==========================================================================
   Visual Features Showcase (#features)
   ========================================================================== */
.features-visual-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 860px) {
  .features-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

.feature-visual-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 20px;
  min-width: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.feature-visual-card:hover {
  border-color: var(--fg-soft-15);
  box-shadow: var(--shadow-card-hover);
}
.feature-visual-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.feature-visual-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
}
.feature-visual-figure {
  margin-top: auto;
}
.feature-visual-figure .visual-step-thumb {
  box-shadow: var(--shadow-inner-window);
}
.feature-visual-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--fg-muted);
}

.compact-formats-bar {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-muted);
}
.compact-formats-bar strong {
  color: var(--fg);
}

/* ==========================================================================
   Downloads Section (#platforms / #download)
   ========================================================================== */
.download-cards-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) {
  .download-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background-color: var(--bg-raised);
  padding: 20px;
  min-width: 0;
}
.download-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.download-card-head h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.download-arch-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: var(--accent-pill-bg);
  color: var(--accent-pill-fg);
  white-space: nowrap;
}
.download-summary-line {
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.download-summary-line strong {
  color: var(--fg);
}

.download-card-actions .btn-pill-primary {
  width: 100%;
}

.download-details {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 13px;
}
.download-details summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--accent);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.download-details summary::-webkit-details-marker {
  display: none;
}
.download-details summary::after {
  content: "+";
  font-size: 16px;
  flex-shrink: 0;
}
.download-details[open] summary::after {
  content: "−";
}
.download-details-body {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  color: var(--fg-muted);
}

.download-sha-box {
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  color: var(--fg);
}
.download-sha-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
}
.copy-sha-btn {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--fg);
}
.copy-sha-btn:hover {
  background: var(--bg-raised);
}
.download-install-list {
  display: grid;
  gap: 5px;
  font-size: 12.5px;
  line-height: 1.5;
  list-style: decimal;
  padding-left: 18px;
}
.download-caveat {
  font-size: 12px;
  line-height: 1.5;
}

.checksum-links-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--fg-muted);
}
.checksum-links-row a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Compact FAQ (#faq)
   ========================================================================== */
.launch-faq {
  max-width: 820px;
  margin-top: 22px;
}
.launch-faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.launch-faq summary {
  cursor: pointer;
  font-weight: 500;
  line-height: 1.5;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.launch-faq summary::-webkit-details-marker {
  display: none;
}
.launch-faq summary::after {
  content: "+";
  font-size: 18px;
  color: var(--fg-muted);
  flex-shrink: 0;
}
.launch-faq details[open] summary::after {
  content: "−";
}
.launch-faq p {
  max-width: 720px;
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* ==========================================================================
   Bottom CTA & Footer
   ========================================================================== */
.closing-cta {
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 56px 0 44px;
}
.closing-cta-inner {
  max-width: 44rem;
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.closing-cta h2 {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) {
  .closing-cta h2 {
    font-size: 40px;
  }
}
.closing-cta p {
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--fg-muted);
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}
@media (min-width: 760px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
  }
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 13.5px;
  color: var(--fg-muted);
}
.footer-nav a:hover {
  color: var(--fg);
}
.footer-legal {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--fg-muted);
}
@media (min-width: 640px) {
  .footer-legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-watermark {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.footer-watermark span {
  font-size: clamp(3.4rem, 16vw, 13.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: color-mix(in oklab, var(--fg) 5.5%, transparent);
  transform: translateY(0.14em);
  white-space: nowrap;
}

/* ==========================================================================
   404 Error View
   ========================================================================== */
.error-page-main {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  padding: 64px 20px;
}
.error-card {
  max-width: 34rem;
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 36px 28px;
  text-align: center;
}
.error-card h1 {
  margin-top: 12px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.error-card p {
  margin-top: 12px;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
}
.error-card-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-echo-track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
