:root {
  --bg: #111315;
  --bg-deep: #0b0d0f;
  --panel: #181b1e;
  --panel-2: #202428;
  --line: #343a40;
  --line-soft: rgba(255,255,255,.08);
  --text: #f4f2ee;
  --muted: #a8adb2;
  --orange: #ff8a2a;
  --orange-strong: #ff7415;
  --orange-soft: rgba(255,138,42,.12);
  --green: #82d39b;
  --red: #ff8585;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 75% 10%, rgba(255,138,42,.08), transparent 26rem),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 24rem);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  z-index: -1;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  background: var(--orange);
  color: #111;
  padding: .7rem 1rem;
  border-radius: 8px;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tight { padding: 3rem 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(11,13,15,.82);
  border-bottom: 1px solid var(--line-soft);
}
.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange);
  background: linear-gradient(145deg, rgba(255,138,42,.16), rgba(255,138,42,.03));
  color: var(--orange);
  box-shadow: inset 0 0 0 4px rgba(255,138,42,.035);
  font-size: .9rem;
  letter-spacing: .04em;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy small { color: var(--muted); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; margin-top: .25rem; }

.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: .55rem .78rem;
  border-radius: 8px;
  font-size: .94rem;
  font-weight: 650;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.055); }
.site-nav .nav-cta { color: #15110d; background: var(--orange); }
.site-nav .nav-cta:hover { background: var(--orange-strong); color: #15110d; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 10px;
}

.hero { padding: clamp(5rem, 11vw, 9.2rem) 0 clamp(4.5rem, 9vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .76rem;
  font-weight: 850;
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--orange); }
h1, h2, h3 { line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 7.7vw, 6.7rem); letter-spacing: -.065em; max-width: 12ch; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.025em; }
.lead { color: #c8cbd0; font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 63ch; margin: 1.45rem 0 0; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: .5rem;
  padding: .72rem 1.05rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  border-radius: 9px;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); border-color: #5d656d; background: var(--panel-2); }
.button-primary { background: var(--orange); border-color: var(--orange); color: #17100a; }
.button-primary:hover { background: var(--orange-strong); border-color: var(--orange-strong); }
.button-ghost { background: transparent; }
.button-disabled { opacity: .58; cursor: not-allowed; pointer-events: none; }

.hero-panel {
  position: relative;
  min-height: 390px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.014));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,138,42,.08), transparent 62%);
  transform: translateX(-70%);
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 50%, 100% { transform: translateX(75%); } }
.panel-top {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.panel-dots { display: flex; gap: 6px; }
.panel-dots span { width: 7px; height: 7px; border-radius: 50%; background: #555d64; }
.panel-dots span:last-child { background: var(--orange); }
.hero-panel-body { min-height: 347px; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; align-content: center; }
.big-monogram {
  width: 118px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 2.2rem;
  font-weight: 950;
  letter-spacing: -.04em;
  background: rgba(255,138,42,.06);
  margin-bottom: 1.4rem;
}
.status-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 1.6rem; }
.status-pill { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--green); font-weight: 850; }
.status-pill::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 50%; box-shadow: 0 0 14px currentColor; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.section-head p { max-width: 55ch; color: var(--muted); margin: 0; }
.kicker { color: var(--orange); text-transform: uppercase; letter-spacing: .15em; font-size: .74rem; font-weight: 850; margin: 0 0 .7rem; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.product-card {
  position: relative;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2.3rem);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255,255,255,.042), rgba(255,255,255,.012));
  border-radius: var(--radius);
  overflow: hidden;
}
.product-card::after { content: ""; position: absolute; inset: auto -15% -35% 25%; height: 55%; background: radial-gradient(circle, rgba(255,138,42,.13), transparent 65%); pointer-events: none; }
.product-number { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .82rem; }
.product-icon { width: 72px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--orange); color: var(--orange); font-weight: 950; margin: 3rem 0 1.35rem; background: var(--orange-soft); }
.product-card p { color: var(--muted); max-width: 52ch; }
.product-card .button-row { margin-top: auto; padding-top: 2rem; z-index: 1; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.feature-card { border-top: 1px solid var(--line); padding: 1.3rem .3rem 0; }
.feature-card .feature-index { color: var(--orange); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .76rem; margin-bottom: 1.2rem; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.split { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.copy-block p { color: var(--muted); }
.check-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.55rem; }
.check-list li::before { content: "✓"; color: var(--orange); position: absolute; left: 0; font-weight: 900; }

.steps { counter-reset: steps; display: grid; gap: .85rem; }
.step { counter-increment: steps; display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; padding: 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.step::before { content: "0" counter(steps); color: var(--orange); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 900; }
.step p { margin: .45rem 0 0; color: var(--muted); }

.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.screenshot-card { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.screenshot-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0c0e10; }
.screenshot-card figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); }
.screenshot-card figcaption strong { color: var(--text); }

.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.stat { padding: 1.35rem; background: rgba(255,255,255,.025); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.55rem; line-height: 1; margin-bottom: .55rem; }
.stat span { color: var(--muted); font-size: .84rem; }

.notice { border-left: 3px solid var(--orange); background: var(--orange-soft); padding: 1rem 1.15rem; color: #ded4ca; }

.faq { display: grid; gap: .7rem; }
details { border: 1px solid var(--line); background: rgba(255,255,255,.022); border-radius: 10px; padding: 1rem 1.1rem; }
summary { cursor: pointer; font-weight: 800; }
details p { color: var(--muted); margin-bottom: .2rem; }

.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.wallet-card { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 1.3rem; }
.wallet-card code { display: block; color: #d5d8dc; background: var(--bg-deep); border: 1px solid var(--line); padding: .8rem; border-radius: 8px; overflow-wrap: anywhere; font-size: .79rem; margin: 1rem 0; }
.copy-button { border: 0; background: var(--orange); color: #17100a; font-weight: 850; border-radius: 8px; padding: .62rem .85rem; cursor: pointer; }
.copy-button:hover { background: var(--orange-strong); }

.prose { max-width: 840px; }
.prose h1 { font-size: clamp(2.7rem, 7vw, 5rem); max-width: none; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-top: 3rem; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: #c1c5ca; }
.prose a { color: var(--orange); }
.prose .meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--muted); margin: 1.2rem 0 2.5rem; }
.prose code { background: #202428; padding: .15rem .35rem; border-radius: 4px; }

.cta-band { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(255,138,42,.1), rgba(255,255,255,.018)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.3rem 0; }
.cta-inner p { margin: .45rem 0 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #0b0d0f; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(2, .7fr); gap: 2rem; }
.footer-grid p { color: var(--muted); max-width: 46ch; }
.footer-links { display: grid; align-content: start; gap: .5rem; }
.footer-links strong { margin-bottom: .35rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; color: #777f87; font-size: .83rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; padding: .75rem 1rem 1rem; background: #0d0f11; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: .8rem; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-panel { min-height: 330px; }
  .hero-panel-body { min-height: 288px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .support-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .product-grid, .feature-grid, .screenshot-grid { grid-template-columns: 1fr; }
  .section-head, .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 390px; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  h1 { font-size: clamp(3rem, 17vw, 5.2rem); }
}

/* Cookie Nope screenshot showcase */
.screenshot-grid-product {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  align-items: stretch;
}
.screenshot-grid-product .screenshot-card {
  display: flex;
  flex-direction: column;
}
.screenshot-card-wide { grid-column: 1 / -1; }
.screenshot-open {
  display: grid;
  place-items: center;
  width: 100%;
  flex: 1;
  padding: 0;
  border: 0;
  background: #0c0e10;
  color: inherit;
  cursor: zoom-in;
  overflow: hidden;
}
.screenshot-grid-product .screenshot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  transition: transform .22s ease, filter .22s ease;
}
.screenshot-grid-product .screenshot-card-settings img,
.screenshot-grid-product .screenshot-card-popup img {
  max-height: 660px;
}
.screenshot-open:hover img,
.screenshot-open:focus-visible img {
  transform: scale(1.012);
  filter: brightness(1.04);
}
.screenshot-card figcaption span { text-align: right; }

.image-lightbox[hidden] { display: none; }
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 6, 7, .94);
  backdrop-filter: blur(12px);
}
.image-lightbox img {
  max-width: min(96vw, 1700px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 24px 90px rgba(0,0,0,.7);
}
.image-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  color: #17100a;
  background: var(--orange);
  border-color: var(--orange);
}
body.lightbox-open { overflow: hidden; }

@media (max-width: 760px) {
  .screenshot-grid-product { grid-template-columns: 1fr; }
  .screenshot-card-wide { grid-column: auto; }
  .screenshot-grid-product .screenshot-card-settings img,
  .screenshot-grid-product .screenshot-card-popup img { max-height: none; }
  .screenshot-card figcaption { align-items: flex-start; flex-direction: column; }
  .screenshot-card figcaption span { text-align: left; }
}


/* v1.3 security-hardening: replacements for former inline styles so CSP can forbid inline CSS. */
.hero-panel-lead { font-size: 1rem; margin-top: .7rem; }
.status-meta { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.muted-copy { color: var(--muted); }
.muted-copy-tight { color: var(--muted); margin: .65rem 0 0; }
.section-subtle { background: rgba(255,255,255,.018); }
.support-hero-title { max-width: 15ch; }
.ftl-tree { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9rem; }
.ftl-path { color: var(--orange); }
.ftl-row { color: #d7dadd; }
.ftl-row-spaced { margin-top: 1rem; color: #d7dadd; }
.ftl-branch { color: #a8adb2; }
.ftl-size { color: #889099; }
.ftl-size-ok { color: var(--green); }
.ftl-status { font-family: inherit; }
.policy-footer-bottom { margin-top: 0; border-top: 0; }

/* Cookie Nope privacy page */
.policy-hero {
  padding: 72px 0 34px;
  border-bottom: 1px solid var(--line);
}
.policy-hero h1 {
  margin: 10px 0 14px;
  max-width: 900px;
  font-size: clamp(2.8rem, 6vw, 4.6rem) !important;
  line-height: .98;
  letter-spacing: -.035em;
}
.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: .95rem;
}
.policy-wrap { padding: 44px 0 72px; }
.policy-card {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 46px);
  background: var(--panel);
  border: 1px solid var(--orange);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.policy-card > p:first-child { margin-top: 0; }
.policy-card h2 {
  color: var(--orange);
  margin: 34px 0 12px;
  font-size: clamp(1.45rem, 2.25vw, 2rem) !important;
  line-height: 1.12;
  letter-spacing: -.015em;
}
.policy-card h2:first-of-type { margin-top: 30px; }
.policy-card p,
.policy-card li { color: var(--text); line-height: 1.75; }
.policy-card ul { padding-left: 1.35rem; margin: 10px 0 22px; }
.policy-card li { margin: 7px 0; }
.policy-card strong { color: var(--text); }
.policy-note {
  margin: 0 0 28px;
  padding: 15px 18px;
  border-left: 3px solid var(--orange);
  background: rgba(255,152,0,.06);
  color: var(--muted);
}
@media (max-width: 700px) {
  .policy-hero { padding-top: 46px; }
  .policy-wrap { padding-top: 26px; }
  .policy-card { border-radius: 14px; }
}

/* v1.5 FileTreeLister screenshot gallery — natural aspect ratio, stacked */
.screenshot-grid-ftl {
  grid-template-columns: 1fr !important;
  gap: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.screenshot-grid-ftl .screenshot-card {
  display: block;
  width: 100%;
}

.screenshot-grid-ftl .screenshot-open {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  flex: none;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  background: #0c0e10;
}

.screenshot-grid-ftl .screenshot-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
  margin: 0;
  background: #0c0e10;
}

.screenshot-grid-ftl .screenshot-card figcaption {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.6fr);
  align-items: start;
  gap: 1.25rem;
}

.screenshot-grid-ftl .screenshot-card figcaption span {
  text-align: right;
}

@media (max-width: 720px) {
  .screenshot-grid-ftl {
    gap: 1.25rem;
  }

  .screenshot-grid-ftl .screenshot-card figcaption {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .screenshot-grid-ftl .screenshot-card figcaption span {
    text-align: left;
  }
}


/* v1.6 privacy readability */
.policy-hero .lead {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.55;
}
.policy-card p,
.policy-card li {
  font-size: 1rem;
}
@media (max-width: 700px) {
  .policy-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.4rem) !important;
  }
  .policy-card h2 {
    font-size: clamp(1.35rem, 7vw, 1.7rem) !important;
  }
}
