/* ===========================================================================
   SwiftShot landing — design tokens from the extension UI (config in §6 of spec)
   =========================================================================== */
:root {
  /* Brand coral-red — matches the SwiftShot extension icon */
  --accent: #f4485d;
  --accent-600: #db2f48;
  --accent-soft: rgba(244, 72, 93, 0.10);
  --brand-2: #ff7a59; /* warm secondary for brand gradients */
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #fbfcfd;
  --text: #222222;
  --muted: #666666;
  --border: #e2e4e8;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 40px rgba(16, 24, 40, .12);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --star: #f5a623;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #ff6f80;
    --accent-600: #ff5266;
    --accent-soft: rgba(255, 111, 128, 0.16);
    --bg: #1b1d21;
    --surface: #26282d;
    --surface-2: #21232800;
    --text: #e8e8e8;
    --muted: #a0a3a8;
    --border: #3a3d43;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { text-align: right; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; color: var(--text); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 640px; }
.center { text-align: center; margin-inline: auto; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer; transition: .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--accent-600); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 16px 28px; font-size: 1.0625rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 16px; height: 64px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--text); flex: 0 0 auto; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.nav__links { display: flex; gap: 20px; margin-inline: auto; min-width: 0; flex-wrap: nowrap; }
.nav__links a { color: var(--muted); font-weight: 500; white-space: nowrap; }
.nav__links a:hover { color: var(--text); text-decoration: none; }
.nav__right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav__right .btn { white-space: nowrap; }
.langsel__btn { white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }

/* language switcher */
.langsel { position: relative; }
.langsel__btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: transparent; border: 1px solid var(--border); color: var(--text);
  padding: 9px 12px; border-radius: var(--radius-sm); font: inherit; font-size: .9rem;
}
.langsel__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  min-width: 160px; padding: 6px; display: none; max-height: 60vh; overflow: auto;
}
.langsel.open .langsel__menu { display: block; }
.langsel__menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: .92rem; }
.langsel__menu a:hover { background: var(--accent-soft); text-decoration: none; }
.langsel__menu a[aria-current="true"] { color: var(--accent); font-weight: 600; }

.hamburger { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 32px; text-align: center; }
.hero .lead { margin-inline: auto; font-size: 1.2rem; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 28px 0 14px; }
.hero__trust { color: var(--muted); font-size: .95rem; }
.hero__media { margin: 44px auto 0; max-width: 940px; }

/* ---------- CSS editor demo (Frame & Beautify recreation) ---------- */
.demo-scene {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius);
  background: linear-gradient(135deg, #7c4dff 0%, #6a5cff 38%, #2f8fff 100%);
  box-shadow: var(--shadow-lg); overflow: hidden;
  padding: clamp(20px, 5vw, 56px);
  display: grid; place-items: center;
}
/* subtle checker hint at the very edges, like a transparent canvas */
.demo-scene::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.18), transparent 55%),
    radial-gradient(120% 90% at 0% 100%, rgba(255,255,255,.12), transparent 55%);
}

/* floating tool rail */
.demo-rail {
  position: absolute; inset-inline-start: clamp(10px, 3%, 26px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 8px; z-index: 3;
  background: rgba(255,255,255,.92); border-radius: 14px; padding: 8px;
  box-shadow: 0 8px 24px rgba(16,24,40,.22);
}
.dtool { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #5a5f6a; }
.dtool svg { width: 19px; height: 19px; fill: currentColor; }
.dtool.is-active { background: var(--accent); color: #fff; }

/* browser window mockup */
.demo-window {
  position: relative; z-index: 2; width: min(620px, 78%);
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(16,24,40,.35);
}
.demo-window__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #2b2f36; }
.wdot { width: 11px; height: 11px; border-radius: 50%; }
.wdot--r { background: #ff5f57; } .wdot--y { background: #febc2e; } .wdot--g { background: #28c840; }
.demo-window__url {
  margin-inline-start: 12px; flex: 1; background: #1f2329; color: #aeb4bd;
  font-size: 12px; padding: 5px 12px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.demo-window__body { position: relative; aspect-ratio: 16 / 10; background: #f3f5f8; padding: 18px; }

/* faux captured page */
.demo-page { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.dp-hero { height: 30%; border-radius: 8px; background: linear-gradient(120deg, #d9e2f3, #eef2f9); }
.dp-row { display: flex; flex-direction: column; gap: 9px; }
.dp-line { height: 9px; border-radius: 5px; background: #dfe3ea; width: 90%; }
.dp-line--lg { width: 70%; height: 12px; background: #cfd5de; }
.dp-line--md { width: 55%; }
.dp-line--hl { position: relative; width: 80%; }
.dp-line--hl::after { content: ""; position: absolute; inset: -4px -6px; background: rgba(245,200,40,.55); border-radius: 4px; }
.dp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.dp-card { height: 46px; border-radius: 8px; background: #e4e8ef; }
.dp-card--blur { background: linear-gradient(135deg, #c3b6f5, #9fc0f0); filter: blur(5px); }

/* annotations */
.anno { position: absolute; z-index: 4; }
.anno-arrow { width: 38%; max-width: 150px; top: 14%; inset-inline-end: 8%; }
.anno-step {
  top: 16%; inset-inline-start: 16%; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.anno-text {
  bottom: 20%; inset-inline-start: 12%; background: #111418; color: #fff;
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

/* watermark pill */
.demo-watermark {
  position: absolute; z-index: 5; inset-inline-end: clamp(14px, 4%, 28px); bottom: clamp(14px, 4%, 26px);
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(17,20,24,.92); color: #fff; font-size: 12px; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.demo-watermark__dot { color: #ff6b6b; }

@media (max-width: 560px) {
  .demo-rail { flex-direction: row; top: auto; bottom: 12px; inset-inline-start: 50%; transform: translateX(-50%); }
  [dir="rtl"] .demo-rail { transform: translateX(50%); }
  .demo-window { width: 92%; }
  .demo-watermark { font-size: 11px; }
}

/* ---------- Steps row (demo) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); position: relative;
}
.step__num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem; margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.15rem; }
.card__link { color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.card__link::after { content: "→"; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: .15s ease; }
.card__link:hover { color: var(--accent); text-decoration: none; }
.card:hover .card__link::after { opacity: 1; transform: translateX(0); }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; }

/* ---------- Beautify / export ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.checklist li::before {
  content: "✓"; color: var(--accent); font-weight: 800; flex: 0 0 auto;
}
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: .92rem; color: var(--text); box-shadow: var(--shadow);
}
.mock {
  background: linear-gradient(135deg, var(--accent), var(--brand-2)); border-radius: var(--radius);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); display: grid; place-items: center;
  color: #fff; padding: 24px;
}

/* ---------- Reviews ---------- */
.rating-line { color: var(--muted); font-weight: 600; }
.stars { color: var(--star); letter-spacing: 2px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.review__name { font-weight: 700; }
.review__role { color: var(--muted); font-size: .85rem; }
.review p { color: var(--text); margin: 0; }

/* ---------- Pricing ---------- */
.pricing-table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.pricing-table th, .pricing-table td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--border); }
.pricing-table thead th { background: var(--surface-2); font-size: 1.05rem; }
.pricing-table th.col, .pricing-table td.col { text-align: center; width: 130px; }
.pricing-table tr:last-child td { border-bottom: 0; }
.yes { color: var(--accent); font-weight: 800; }
.no { color: var(--muted); }
.pro-tag { display: inline-block; background: var(--accent-soft); color: var(--accent); font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; vertical-align: middle; margin-inline-start: 6px; text-transform: uppercase; }
.note { color: var(--muted); font-size: .92rem; margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 12px; box-shadow: var(--shadow); }
.faq__q {
  width: 100%; text-align: start; background: transparent; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 1.05rem; color: var(--text);
  padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq__q::after { content: "+"; color: var(--accent); font-size: 1.4rem; flex: 0 0 auto; }
.faq__item.open .faq__q::after { content: "–"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__a p { padding: 0 22px 18px; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--accent), var(--brand-2)); color: #fff; border-radius: var(--radius); padding: 56px 32px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band .btn--primary { background: #fff; color: var(--accent); }
.cta-band .btn--primary:hover { background: #f0f4ff; }
.cta-band .reassure { opacity: .9; margin-top: 14px; }

/* ---------- Tables (shortcuts) ---------- */
.kbd-table { width: 100%; border-collapse: collapse; max-width: 640px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.kbd-table th, .kbd-table td { padding: 13px 18px; text-align: start; border-bottom: 1px solid var(--border); }
.kbd-table tr:last-child td { border-bottom: 0; }
kbd { background: var(--surface-2); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; font-family: var(--font); font-size: .85rem; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 28px; margin-top: 24px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { color: var(--muted); max-width: 280px; }
.footer h4 { font-size: .95rem; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); }
.footer ul a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 36px; padding-top: 20px; color: var(--muted); font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* Collapse the inline menu into the hamburger early, so longer translated
   labels (German, etc.) fold away instead of overflowing the header. */
@media (max-width: 980px) {
  .nav__links { display: none; position: absolute; top: 64px; inset-inline: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); margin: 0; padding: 12px 20px; gap: 4px; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 10px 0; white-space: normal; }
  .hamburger { display: inline-flex; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .grid--3, .grid--2, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .nav__right .btn span { display: none; }
}

/* ===========================================================================
   Feature detail page
   =========================================================================== */
.feature-hero { padding: 56px 0 28px; text-align: center; }
.feature-hero .lead { margin-inline: auto; }
.hl-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0; margin: 22px 0 4px; }
.hl-badges li { background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .9rem; padding: 8px 16px; border-radius: 999px; }
.hl-badges li::before { content: "✓ "; font-weight: 800; }

/* Sticky in-page TOC */
.toc { position: sticky; top: 64px; z-index: 40; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.toc__inner { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.toc__inner::-webkit-scrollbar { display: none; }
.toc__label { color: var(--muted); font-size: .85rem; font-weight: 600; flex: 0 0 auto; }
.toc__inner a { flex: 0 0 auto; color: var(--muted); font-size: .9rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.toc__inner a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }

/* What's new */
.whatsnew { background: var(--surface-2); }
.card--news { position: relative; padding-top: 26px; }
.news__spark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), var(--brand-2)); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.news__spark svg { width: 18px; height: 18px; }
.card--news h3 { font-size: 1.05rem; }

/* Feature blocks */
.feat-block--alt { background: var(--surface-2); }
.feat-block__head { display: flex; gap: 18px; align-items: flex-start; max-width: 760px; }
.feat-block__icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.feat-block__icon svg { width: 30px; height: 30px; }
.feat-grid { margin-top: 32px; }
.feat-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); position: relative; }
.feat-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feat-item p { color: var(--muted); margin: 0; }
.feat-item__kbd { display: inline-block; margin-top: 12px; }

/* Shortcuts grid */
.kbd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 760px; margin: 32px auto 0; }
.kbd-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow); }
.kbd-row span { color: var(--text); }

/* Privacy card */
.privacy-card { display: flex; gap: 22px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.privacy-card__icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.privacy-card__icon svg { width: 28px; height: 28px; }
.privacy-card h2 { font-size: 1.4rem; }
.privacy-card p { color: var(--muted); margin: 0; }

@media (max-width: 640px) {
  .feat-block__head { flex-direction: column; gap: 12px; }
  .kbd-grid { grid-template-columns: 1fr; }
  .privacy-card { flex-direction: column; gap: 14px; }
  .toc { top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ===========================================================================
   Feature visuals — pure-CSS mockups for the dedicated feature pages
   =========================================================================== */
.fv {
  position: relative; border-radius: var(--radius); padding: 22px;
  background: linear-gradient(135deg, var(--accent-soft), transparent), var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
}
.fv span, .fv b { font-size: .8rem; }

/* capture */
.fv-shot { position: relative; flex: 1; border-radius: 10px; background: repeating-linear-gradient(45deg,#eef1f6,#eef1f6 10px,#e6eaf1 10px,#e6eaf1 20px); }
[data-theme] .fv-shot {}
.fv-marquee { position: absolute; inset: 22% 24%; border: 2px dashed var(--accent); border-radius: 6px; background: var(--accent-soft); }
.fv-size { position: absolute; left: 26%; top: calc(22% - 20px); background: var(--accent); color:#fff; padding:2px 7px; border-radius: 5px; font-size:.7rem; }
.fv-dim { position: absolute; background: rgba(16,24,40,.10); }
.fv-dim--t { inset: 0 0 auto 0; height: 22%; } .fv-dim--b { inset: auto 0 0 0; height: 22%; }
.fv-dim--l { top: 22%; bottom: 22%; left: 0; width: 24%; } .fv-dim--r { top: 22%; bottom: 22%; right: 0; width: 24%; }
.fv-modes, .fv-tabs, .fv-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.fv-chip { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; color: var(--muted); }
.fv-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* editor */
.fv-editor { flex-direction: row; }
.fv-toolbar { display: flex; flex-direction: column; gap: 6px; }
.fv-tool { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); font-weight: 700; }
.fv-tool.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.fv-canvas { position: relative; flex: 1; border-radius: 10px; background: #f3f5f8; border: 1px solid var(--border); }
.fv-step { position: absolute; top: 16%; left: 14%; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color:#fff; display:grid; place-items:center; font-weight:700; }
.fv-arrow { position: absolute; right: 10%; top: 18%; width: 45%; }
.fv-note { position: absolute; bottom: 16%; left: 12%; background:#111418; color:#fff; padding:4px 10px; border-radius: 999px; }
.fv-hl { position: absolute; bottom: 40%; right: 14%; width: 34%; height: 12px; background: rgba(245,166,35,.55); border-radius: 3px; }

/* stickers */
.fv-tabs span, .fv-filters span { font-size:.78rem; color: var(--muted); padding: 4px 10px; border-radius: 999px; }
.fv-tabs span.is-active, .fv-filters span.is-active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.fv-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fv-grid span { display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; font-size: 1.25rem; }

/* beautify */
.fv-canvas2 { position: relative; flex: 1; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg,#7c4dff,#2f8fff); }
.fv-window { width: 72%; background:#fff; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.fv-bar { background:#2b2f36; padding: 7px 9px; display: flex; gap: 5px; }
.fv-bar i { width: 8px; height: 8px; border-radius: 50%; background:#ff5f57; }
.fv-bar i:nth-child(2){ background:#febc2e;} .fv-bar i:nth-child(3){ background:#28c840;}
.fv-body { height: 60px; background: repeating-linear-gradient(0deg,#f1f3f7,#f1f3f7 8px,#e7ebf2 8px,#e7ebf2 16px); }
.fv-wm { position: absolute; right: 8%; bottom: 10%; background: rgba(17,20,24,.9); color:#fff; padding: 4px 10px; border-radius: 999px; font-size:.7rem; }
.fv-swatches { display: flex; gap: 8px; }
.fv-swatches span { width: 30px; height: 22px; border-radius: 6px; border: 2px solid transparent; }
.fv-swatches span.is-active { background: linear-gradient(135deg,#7c4dff,#2f8fff); border-color: var(--text); }
.fv-swatches .sw2 { background: linear-gradient(135deg,#ff6a88,#ff99ac); }
.fv-swatches .sw3 { background: linear-gradient(135deg,#43e97b,#38f9d7); }
.fv-swatches .sw4 { background: linear-gradient(135deg,#fa709a,#fee140); }

/* export */
.fv-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.fv-formats span { display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; font-weight: 700; color: var(--text); }
.fv-export .fv-share { display: flex; gap: 8px; flex-wrap: wrap; }
span.fv-share { background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 6px 12px; font-weight: 600; }

/* history */
.fv-search { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; color: var(--muted); }
.fv-thumbs { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fv-thumbs span { position: relative; border-radius: 8px; background: linear-gradient(135deg,#dfe5ef,#eef2f8); border: 1px solid var(--border); }
.fv-thumbs span.star::after { content: "★"; position: absolute; top: 4px; right: 5px; color: var(--star); font-size: .8rem; }

/* settings */
.fv-settings { justify-content: center; gap: 10px; }
.fv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--text); }
.fv-pill { background: var(--surface-2); border: 1px solid var(--border); border-radius: 7px; padding: 3px 12px; font-weight: 600; }
.fv-range { width: 90px; height: 6px; border-radius: 999px; background: var(--border); position: relative; }
.fv-range i { position: absolute; left: 0; top: 0; bottom: 0; width: 64%; background: var(--accent); border-radius: 999px; }
.fv-range::after { content: ""; position: absolute; left: 60%; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.fv-toggle { width: 38px; height: 22px; border-radius: 999px; background: var(--border); position: relative; }
.fv-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .15s; }
.fv-toggle.is-on { background: var(--accent); }
.fv-toggle.is-on::after { left: 19px; }

/* ---------- Dedicated feature page chrome ---------- */
.crumbs { border-bottom: 1px solid var(--border); background: var(--surface-2); }
.crumbs .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-block: 12px; font-size: .9rem; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--accent); }
.crumbs strong { color: var(--text); }
.crumbs span { color: var(--muted); }

.feat-single__hero .split { align-items: center; }
.feat-single__hero .feat-block__icon { margin-bottom: 16px; }
.feat-single__hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

.feat-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.feat-nav__link { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 18px; color: var(--text); box-shadow: var(--shadow); font-weight: 600; }
.feat-nav__link:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.feat-nav__link--next { margin-inline-start: auto; }
.feat-nav__all { color: var(--muted); font-weight: 600; }
@media (max-width: 640px) { .feat-nav { justify-content: center; } .feat-nav__link--next { margin-inline-start: 0; } }

/* ---------- Legal pages (Terms, Privacy) ---------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal h1 { margin-bottom: 6px; }
.legal__updated { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.legal__note { color: var(--muted); font-size: .85rem; font-style: italic; border-inline-start: 3px solid var(--border); padding-inline-start: 12px; margin-bottom: 22px; }
.legal__intro { font-size: 1.1rem; color: var(--text); }
.legal__sec { margin-top: 28px; }
.legal__sec h2 { font-size: 1.25rem; margin-bottom: 8px; }
.legal__sec p { color: var(--muted); }
.legal__sec ul { margin: 8px 0 0; padding-inline-start: 20px; color: var(--muted); display: grid; gap: 8px; }
.legal__sec a { font-weight: 600; }
