/* Bangla Converter — design system
   Direction: modern premium in teal. A deep teal-blue hero (from the approved mockup) where the product shows what it does (a scanned Bijoy page
   becoming a clean Word / Excel page), then calm white tool cards that rise into it. Emerald only where you
   act; motion only to explain a change. Tokens first; components use tokens only. */

@font-face { font-family: "Inter"; src: url("fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Noto Sans Bengali"; src: url("fonts/NotoSansBengali.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0980-09FF, U+200C-200D, U+25CC, U+0964-0965; }

:root {
  color-scheme: light;
  --bg: #f0f7f9;
  --surface: #ffffff;
  --surface-2: #f7fcfc;
  --sunken: #e8f3f3;
  --border: #d9e9ea;
  --border-strong: #bcd6d6;
  --text: #0a1f24;
  --text-2: #3d5459;
  --text-3: #567075;
  --accent: #017e54; --accent-hover: #046644; --accent-soft: #e5f4f3; --accent-soft-2: #cdeee3; --on-accent: #ffffff;
  --danger: #c4372c; --danger-soft: #fcefed;
  --warn: #9a5b00; --warn-soft: #fdf3e2;
  --ok: var(--accent);
  /* the hero: deep teal, lit with mint */
  --hero: #002f38; --hero-2: #004a50; --hero-text: #f2fbfa; --hero-text-2: #b9dcd8; --hero-line: rgb(135 244 188 / .14);
  --highlight: #87f4bc;

  --focus: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent);
  --shadow-1: 0 1px 2px rgb(10 31 36 / .05);
  --shadow-card: 0 1px 2px rgb(10 31 36 / .04), 0 8px 24px -6px rgb(10 31 36 / .10), 0 30px 60px -30px rgb(10 31 36 / .18);
  --shadow-2: 0 18px 40px rgb(10 31 36 / .22);

  --font: "Inter", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, "Nirmala UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-15: 15px; --fs-16: 16px; --fs-18: 18px; --fs-20: 20px; --fs-24: 24px;
  --lh: 1.6;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  --t-fast: 160ms; --t-med: 280ms; --ease: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --appbar-h: 64px;
  --wrap: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #02171c; --surface: #062328; --surface-2: #0a2a30; --sunken: #011216;
    --border: #123a40; --border-strong: #1d4c52;
    --text: #e6f4f2; --text-2: #a7c6c3; --text-3: #84a6a3;
    --accent: #3ddc84; --accent-hover: #6ae384; --accent-soft: #07322c; --accent-soft-2: #0b4238; --on-accent: #02251a;
    --danger: #f0776c; --danger-soft: #2a1614; --warn: #f2b65a; --warn-soft: #2a2114;
    --hero: #00151a; --hero-2: #003238;
    --shadow-1: none; --shadow-card: 0 1px 0 rgb(255 255 255 / .03) inset, 0 24px 60px -24px rgb(0 0 0 / .7); --shadow-2: 0 18px 40px rgb(0 0 0 / .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #02171c; --surface: #062328; --surface-2: #0a2a30; --sunken: #011216;
  --border: #123a40; --border-strong: #1d4c52;
  --text: #e6f4f2; --text-2: #a7c6c3; --text-3: #84a6a3;
  --accent: #3ddc84; --accent-hover: #6ae384; --accent-soft: #07322c; --accent-soft-2: #0b4238; --on-accent: #02251a;
  --danger: #f0776c; --danger-soft: #2a1614; --warn: #f2b65a; --warn-soft: #2a2114;
  --hero: #00151a; --hero-2: #003238;
  --shadow-1: none; --shadow-card: 0 1px 0 rgb(255 255 255 / .03) inset, 0 24px 60px -24px rgb(0 0 0 / .7); --shadow-2: 0 18px 40px rgb(0 0 0 / .6);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--appbar-h) + var(--s4)); }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 400 var(--fs-16)/var(--lh) var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
       -webkit-tap-highlight-color: transparent; scrollbar-color: var(--border-strong) transparent; }
::selection { background: var(--accent-soft-2); color: var(--text); }
button, input, select, textarea { font: inherit; color: inherit; }
input, textarea { caret-color: var(--accent); }
button { cursor: pointer; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p, figure { margin: 0; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ------------------------------------------------------------------ app bar (sits on the hero) */
.appbar { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top);
          background: color-mix(in srgb, var(--hero) 82%, transparent); color: var(--hero-text);
          backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px);
          border-bottom: 1px solid var(--hero-line); }
.appbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
                max-width: var(--wrap); min-height: var(--appbar-h); margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 960px) { .appbar-inner { padding: 0 var(--s8); } }
.brand { display: flex; align-items: center; gap: var(--s3); min-width: 0; text-decoration: none; color: inherit; border-radius: var(--r-md); }
.brand-mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 6px 14px rgb(32 190 150 / .35)); }
.brand-text { display: grid; min-width: 0; }
.wordmark { font-size: 17px; font-weight: 750; letter-spacing: -0.025em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wordmark .accent { color: var(--highlight); }
.sub { font-size: var(--fs-12); color: var(--hero-text-2); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-switch { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 var(--s4) 0 var(--s3);
               border-radius: var(--r-pill); border: 1px solid rgb(242 251 250 / .18); background: rgb(242 251 250 / .06);
               color: var(--hero-text); font-size: var(--fs-14); font-weight: 600;
               transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.lang-switch:hover { background: rgb(242 251 250 / .12); border-color: rgb(242 251 250 / .32); }
.lang-switch .ic { width: 17px; height: 17px; color: var(--highlight); }
.lang-switch:focus-visible { box-shadow: 0 0 0 2px var(--hero), 0 0 0 4px var(--highlight); }

/* ------------------------------------------------------------------ hero */
.intro { position: relative; overflow: hidden; color: var(--hero-text);
         background:
           radial-gradient(760px 520px at 72% 45%, #0a9a86 0%, rgb(7 128 116 / .85) 30%, transparent 66%), radial-gradient(520px 320px at 98% 0%, rgb(0 104 106 / .9), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgb(3 154 97 / .28), transparent 70%),
           radial-gradient(700px 400px at 5% 110%, rgb(135 244 188 / .10), transparent 70%),
           linear-gradient(180deg, var(--hero) 0%, var(--hero-2) 100%); }
/* a faint dot grid, fading out toward the edges */
.intro::before { content: ""; position: absolute; inset: 0; pointer-events: none;
                 background-image: radial-gradient(rgb(135 244 188 / .16) 1px, transparent 1.2px); background-size: 22px 22px;
                 -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%);
                 mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%); }
.intro-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: var(--s5) var(--s4) var(--s10); }
@media (max-width: 759px) { .engine { margin-bottom: var(--s4); } .intro h1 { font-size: 28px; } }
@media (min-width: 960px) {
  .intro-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: var(--s12); align-items: center;
                 padding: var(--s12) var(--s8) 104px; }
}
.intro h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; max-width: 16ch; text-wrap: balance; }
@media (min-width: 760px) { .intro h1 { font-size: 46px; } }
@media (min-width: 1200px) { .intro h1 { font-size: 54px; } }
:lang(bn) .intro h1 { letter-spacing: -0.005em; line-height: 1.3; font-weight: 750; }

.engine { display: inline-flex; align-items: center; gap: var(--s2); margin-bottom: var(--s5); padding: 5px var(--s3) 5px 10px;
          border-radius: var(--r-pill); border: 1px solid var(--hero-line); background: rgb(242 251 250 / .05);
          color: var(--hero-text-2); font-size: var(--fs-13); font-variant-numeric: tabular-nums; }
.engine .dot { width: 8px; height: 8px; border-radius: 50%; background: #f2b65a; animation: pulse 1.4s ease-in-out infinite; }
.engine.ready { color: var(--hero-text); }
.engine.ready .dot { background: var(--highlight); animation: none; }
.engine.error { color: #ffb4ac; border-color: rgb(240 119 108 / .5); background: rgb(240 119 108 / .1); }
.engine.error .dot { background: #f0776c; animation: none; }
@keyframes pulse { 50% { opacity: .35; } }

/* what it does, in three true lines */
.checks { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s2); }
.checks li { display: flex; align-items: flex-start; gap: var(--s3); font-size: var(--fs-16); color: var(--hero-text); line-height: 1.5; }
.checks .ic { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 4px; border-radius: 50%; stroke-width: 2.6;
              background: var(--highlight); color: var(--hero); }
.checks li:last-child { color: var(--hero-text-2); }
@media (min-width: 760px) { .checks { margin-top: var(--s6); } .checks li { font-size: var(--fs-18); } }

/* one-tap converters: each card sets up its tool and takes you there */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s6); max-width: 560px; }
@media (min-width: 760px) { .quick { gap: var(--s3); margin-top: var(--s8); } }
.quick a { display: flex; align-items: center; gap: var(--s3); min-width: 0; padding: var(--s3); border-radius: 14px;
           border: 1px solid var(--hero-line); background: rgb(242 251 250 / .05); color: var(--hero-text); text-decoration: none;
           transition: transform var(--t-med) var(--spring), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.quick a:hover { transform: translateY(-2px); background: rgb(242 251 250 / .1); border-color: rgb(135 244 188 / .5); }
.quick a:active { transform: translateY(0) scale(.98); }
.quick a:focus-visible { box-shadow: 0 0 0 2px var(--hero), 0 0 0 4px var(--highlight); }
.pair { flex: none; display: inline-flex; align-items: center; gap: 4px; }
.pair .ic { width: 14px; height: 14px; stroke-width: 2.4; color: var(--hero-text-2); transition: transform var(--t-med) var(--spring); }
.quick a:hover .pair .ic { transform: translateX(2px); }
.q-label { min-width: 0; font-size: var(--fs-15); font-weight: 650; line-height: 1.3; }
@media (max-width: 479px) {
  .quick a { gap: var(--s2); padding: 10px; border-radius: var(--r-md); }
  .pair { gap: 2px; } .pair .ic { width: 11px; height: 11px; }
  .fb { min-width: 24px; height: 24px; border-radius: 6px; font-size: 9px; }
  .fb-word, .fb-excel { font-size: 11.5px; } .fb-uni, .fb-bijoy { font-size: 13px; }
  .q-label { font-size: var(--fs-13); }
  .checks li { font-size: var(--fs-15); }
}

/* our own file badges (not the vendors' logos) */
.fb { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 5px; border-radius: 7px;
      font: 800 10.5px/1 var(--font); letter-spacing: .02em; color: #fff; box-shadow: inset 0 -2px 0 rgb(0 0 0 / .15); }
.fb-pdf { background: #e5484d; } .fb-word { background: #2f6bdb; font-size: 13px; } .fb-excel { background: #1e8a4c; font-size: 13px; }
.fb-uni { background: var(--highlight); color: #053b33; font-size: 15px; } .fb-bijoy { background: #f2fbfa; color: #039a61; font-size: 15px; }

/* the shortcut's destination flashes briefly so the eye lands on it */
.cover.called { animation: called 1.1s var(--ease); }
@keyframes called { 0% { box-shadow: var(--shadow-card), 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
                    35% { box-shadow: var(--shadow-card), 0 0 0 8px color-mix(in srgb, var(--accent) 22%, transparent); }
                    100% { box-shadow: var(--shadow-card), 0 0 0 14px transparent; } }

/* ------------------------------------------------------------------ hero specimen: scan in, Word / Excel out */
.specimen { display: none; }
@media (min-width: 960px) { .specimen { display: block; width: 100%; } }
.specimen svg { display: block; width: 100%; height: auto; overflow: visible; }
.specimen text { font-family: var(--font); }
.sheet-scan { filter: drop-shadow(0 18px 28px rgb(0 0 0 / .45)); }
.sheet-out { filter: drop-shadow(0 26px 40px rgb(0 0 0 / .5)); }
.paper-scan { fill: #e8e3d6; }
.scan-ink text { fill: #5d574b; }
.scan-ink rect { fill: #a39d8f; }
.scan-ink path { stroke: #8f897b; }
.paper-out { fill: #ffffff; }
.out-ink text { fill: #0a1f24; }
.out-ink .bar { fill: #e3eef0; }
.out-ink .th { fill: #e5f4f3; }
.out-ink .grid { stroke: #cde0e2; }
.out-ink .num { font-variant-numeric: tabular-nums; }
.tag-pdf rect { fill: #f8dcd7; } .tag-pdf text { fill: #a3202a; }
.tag-docx rect { fill: #e1eaf7; } .tag-docx text { fill: #1f4f96; }
.tag-xlsx rect { fill: #dcf0e5; } .tag-xlsx text { fill: #0b6e4b; }
.flow { stroke: var(--highlight); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; opacity: .9; }
.stamp circle { fill: #039a61; filter: drop-shadow(0 8px 16px rgb(32 190 150 / .5)); }
.stamp path { stroke: #fff; }
.beam { opacity: 0; }
.specimen .ln, .specimen .c, .specimen .th, .specimen .grid, .stamp, .beam { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .specimen.play .beam { animation: beam 1.5s cubic-bezier(.45, 0, .25, 1) both; }
  .specimen.play .ln { animation: write .55s var(--ease) both; animation-delay: .55s; }
  .specimen.play .ln2 { animation-delay: .68s; } .specimen.play .ln3 { animation-delay: .81s; } .specimen.play .ln4 { animation-delay: .94s; }
  .specimen.play .th, .specimen.play .grid { animation: appear .5s var(--ease) 1.05s both; }
  .specimen.play .c { animation: write .45s var(--ease) both; }
  .specimen.play .c1 { animation-delay: 1.18s; } .specimen.play .c2 { animation-delay: 1.32s; }
  .specimen.play .c3 { animation-delay: 1.46s; } .specimen.play .c4 { animation-delay: 1.6s; }
  .specimen.play .flow { animation: flow 1.6s linear both; }
  .specimen.play .stamp { animation: stamp .6s var(--spring) 1.95s both; }
}
@keyframes beam { 0% { opacity: 0; transform: translateY(40px); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(330px); } }
@keyframes write { from { opacity: 0; transform: translateX(-10px); } }
@keyframes appear { from { opacity: 0; } }
@keyframes flow { from { stroke-dashoffset: 44; } to { stroke-dashoffset: 0; } }
@keyframes stamp { from { opacity: 0; transform: scale(2.2) rotate(-25deg); } }

/* ------------------------------------------------------------------ layout: cards rise into the hero */
.workspace { min-width: 0; display: grid; gap: var(--s6); }
.shell { position: relative; display: grid; gap: var(--s6); max-width: var(--wrap); margin: -28px auto 0; padding: 0 var(--s4) var(--s12); }
@media (min-width: 960px) { .shell { margin-top: -64px; } }
@media (min-width: 1080px) {
  .shell { grid-template-columns: minmax(0, 1fr) 360px; padding: 0 var(--s8) var(--s16); gap: var(--s6); align-items: start; }
  .workspace { display: contents; }
  #tab-pdf { grid-column: 1; grid-row: 1; }
  .activity { grid-column: 2; grid-row: 1; }
  #tab-bijoy { grid-column: 1 / -1; grid-row: 2; }
}
.row { display: flex; align-items: center; gap: var(--s2); }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.row.wrap { flex-wrap: wrap; row-gap: var(--s3); }

/* ------------------------------------------------------------------ tool cards */
.cover { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-card); min-width: 0; }
.cover-head { display: flex; align-items: flex-start; gap: var(--s4); padding: var(--s5) var(--s5) 0; }
@media (min-width: 760px) { .cover-head { padding: var(--s8) var(--s8) 0; } }
.cover-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md);
            background: linear-gradient(145deg, var(--accent-soft), var(--accent-soft-2)); color: var(--accent);
            box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent); }
.cover-ic .ic { width: 22px; height: 22px; }
.cover-title { font-size: var(--fs-20); font-weight: 750; letter-spacing: -0.02em; line-height: 1.3; }
.cover-sub { margin-top: 2px; font-size: var(--fs-14); color: var(--text-2); }
@media (min-width: 760px) { .cover-title { font-size: 22px; } }
:lang(bn) .cover-title { letter-spacing: 0; }

.section { padding: var(--s5); }
@media (min-width: 760px) { .section { padding: var(--s6) var(--s8); } }
.section + .section { border-top: 1px solid var(--border); }
.section-title { font-size: var(--fs-14); font-weight: 650; color: var(--text-2); margin-bottom: var(--s3); }
.help { font-size: var(--fs-14); color: var(--text-2); margin-top: var(--s3); }
.help:empty { display: none; }
.meta { font-size: var(--fs-13); color: var(--text-3); font-variant-numeric: tabular-nums; }

/* drop zone */
.drop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s3);
        padding: var(--s8) var(--s5); border: 1.5px dashed var(--border-strong); border-radius: var(--r-md);
        background: linear-gradient(180deg, var(--surface-2), var(--surface)); cursor: pointer;
        transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease); }
@media (min-width: 760px) { #pick { padding: var(--s10) var(--s6) var(--s8); } }
.drop:hover { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--surface)); }
.drop.over { border-style: solid; border-color: var(--accent); background: var(--accent-soft);
             box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 14%, transparent); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop input:focus-visible ~ .drop-sheets, .drop input:focus-visible ~ .drop-ic { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-sm); }
.drop-text { display: grid; gap: 2px; min-width: 0; }
.drop-text strong { font-weight: 650; font-size: var(--fs-16); color: var(--text); }
.drop-text small { font-size: var(--fs-13); color: var(--text-3); }
@media (min-width: 760px) { #pick .drop-text strong { font-size: var(--fs-18); } #pick .drop-text small { font-size: var(--fs-14); } }
.drop-ic { width: 44px; height: 44px; padding: 11px; flex: none; border-radius: var(--r-md); background: var(--accent-soft-2); color: var(--accent);
           fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* the fanned sheets: PDF, photo and ZIP; they spread when files come near */
.drop-sheets { width: 96px; height: 80px; overflow: visible; }
.ds { transform-box: fill-box; transform-origin: 50% 100%; transition: transform var(--t-med) var(--spring); }
.ds > rect:first-child { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.5; }
.ds-pdf > rect:first-child { stroke: color-mix(in srgb, var(--accent) 45%, var(--border-strong)); }
.ds-line { fill: none; stroke: var(--border-strong); stroke-width: 3; stroke-linecap: round; }
.ds-art { fill: var(--accent-soft-2); }
.ds-tag { fill: var(--accent); }
.ds-pdf text { fill: var(--on-accent); font-family: var(--font); }
.ds-img { transform: translate(-14px, 4px) rotate(-12deg); }
.ds-zip { transform: translate(14px, 4px) rotate(12deg); }
.drop:hover .ds-img, .drop.over .ds-img { transform: translate(-24px, 2px) rotate(-20deg); }
.drop:hover .ds-zip, .drop.over .ds-zip { transform: translate(24px, 2px) rotate(20deg); }
.drop:hover .ds-pdf, .drop.over .ds-pdf { transform: translateY(-6px); }

/* file list */
.files { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.files li { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); border-radius: var(--r-sm); animation: rise .35s var(--ease) both; }
.files li + li { margin-top: 2px; }
.files li:hover { background: var(--surface-2); }
.files .name { flex: 1; min-width: 0; font-size: var(--fs-14); font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files .size { color: var(--text-3); font-size: var(--fs-13); flex: none; font-variant-numeric: tabular-nums; }
.x { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: var(--r-sm);
     background: none; color: var(--text-3); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.x:hover { background: var(--sunken); color: var(--text); }
.x .ic { width: 16px; height: 16px; }

.badge-type { flex: none; min-width: 40px; padding: 3px 6px; border-radius: 6px; text-align: center;
              font: 700 10.5px/1.4 var(--font); letter-spacing: .03em; color: var(--text-2); background: var(--sunken); }
.badge-type.pdf { color: #a3202a; background: #fbe4e0; } .badge-type.docx { color: #1f4f96; background: #e4ecf8; }
.badge-type.xlsx, .badge-type.csv { color: #0b6e4b; background: #dff2e8; } .badge-type.img { color: #6b4fa0; background: #efe8f8; }
.badge-type.zip { color: #7a5a12; background: #f7ecd2; } .badge-type.txt, .badge-type.json { color: #45423c; background: #ecebe6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge-type { background: var(--sunken); filter: brightness(1.6) saturate(.8); } }
:root[data-theme="dark"] .badge-type { background: var(--sunken); filter: brightness(1.6) saturate(.8); }

/* segmented control (voter edition's mode switch) */
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; gap: 4px; border-radius: var(--r-md); background: var(--sunken); }
.segmented label { position: relative; }
.segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; text-align: center; padding: 8px var(--s3); border-radius: var(--r-sm); font-size: var(--fs-14);
                  font-weight: 600; color: var(--text-2); white-space: nowrap; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.segmented label:hover input:not(:checked) + span { color: var(--text); }
.segmented input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgb(10 31 36 / .12); }
.segmented input:focus-visible + span { box-shadow: var(--focus); }

/* format chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.chips.disabled { opacity: .45; pointer-events: none; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips label > span { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 var(--s4);
                      border-radius: var(--r-pill); border: 1px solid var(--border-strong); font-size: var(--fs-14); font-weight: 600;
                      color: var(--text-2); background: var(--surface);
                      transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.chips label:hover input:not(:checked) + span { border-color: var(--text-3); color: var(--text); }
.chips label:active > span { transform: scale(.97); }
.chips .tick { width: 0; height: 16px; stroke-width: 2.4; opacity: 0; margin-left: 0;
               transition: width var(--t-med) var(--spring), opacity var(--t-fast) var(--ease), margin var(--t-med) var(--spring); }
.chips input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.chips input:checked + span .tick { width: 16px; opacity: 1; margin-left: -2px; }
.chips input:focus-visible + span { box-shadow: var(--focus); }

/* settings disclosure */
.settings { padding: 0; }
.settings > summary { list-style: none; display: flex; align-items: center; gap: var(--s3); min-height: 60px; padding: var(--s3) var(--s5);
                      font-size: var(--fs-15); font-weight: 650; cursor: pointer; transition: background var(--t-fast) var(--ease); }
@media (min-width: 760px) { .settings > summary { padding: var(--s3) var(--s8); } }
.settings > summary::-webkit-details-marker { display: none; }
.settings > summary:hover { background: var(--surface-2); }
.settings > summary .ic { color: var(--text-3); }
.settings > summary .chev { margin-left: auto; transition: transform var(--t-med) var(--ease); }
.settings[open] > summary .chev { transform: rotate(180deg); }
.settings[open] > .fields, .settings[open] > .toggles { animation: rise .35s var(--ease) both; }
.settings .fields, .settings .toggles { padding: 0 var(--s5); }
@media (min-width: 760px) { .settings .fields, .settings .toggles { padding: 0 var(--s8); } }
.settings .toggles { padding-top: var(--s3); padding-bottom: var(--s5); }
.fields { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .fields.one { grid-template-columns: 1fr; max-width: 420px; } }
.fields.one { margin-top: var(--s4); }
.field { display: grid; gap: 6px; }
.field > label { font-size: var(--fs-13); font-weight: 600; color: var(--text-2); }
select { width: 100%; height: 46px; padding: 0 40px 0 var(--s3); border-radius: var(--r-md); border: 1px solid var(--border-strong);
         background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237a8780' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
         appearance: none; -webkit-appearance: none; font-size: var(--fs-15); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
select:hover { border-color: var(--text-3); }
select:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft-2); }

/* switches */
.switch { display: flex; align-items: center; gap: var(--s3); min-height: 44px; font-size: var(--fs-14); color: var(--text); cursor: pointer; position: relative; }
.switch input { position: absolute; opacity: 0; width: 42px; height: 26px; margin: 0; cursor: pointer; }
.switch .track { flex: none; width: 42px; height: 26px; border-radius: var(--r-pill); background: var(--border-strong); position: relative; transition: background var(--t-med) var(--ease); }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
                        background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform var(--t-med) var(--spring); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { box-shadow: var(--focus); }

/* buttons */
.btn-primary { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
               width: 100%; height: 54px; border: 0; border-radius: var(--r-md);
               background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 78%, #2fd07f), var(--accent));
               color: var(--on-accent); font-size: var(--fs-16); font-weight: 700;
               box-shadow: 0 1px 2px rgb(1 70 50 / .3), 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 1px 0 rgb(255 255 255 / .18);
               transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease), filter var(--t-fast) var(--ease); }
.btn-primary .ic { transition: transform var(--t-med) var(--spring); }
.btn-primary:hover:not(:disabled) { filter: brightness(1.06); box-shadow: 0 1px 2px rgb(1 70 50 / .3), 0 14px 28px -10px color-mix(in srgb, var(--accent) 80%, transparent), inset 0 1px 0 rgb(255 255 255 / .18); }
.btn-primary:hover:not(:disabled) .ic { transform: translateX(4px); }
.btn-primary:active:not(:disabled) { transform: translateY(1px) scale(.995); }
.btn-primary:disabled { background: var(--sunken); color: var(--text-3); box-shadow: none; cursor: default; }
.btn-primary:not(:disabled) { animation: ready .5s var(--spring); }
@keyframes ready { from { transform: scale(.98); } }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 var(--s4);
                 border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: var(--surface); font-size: var(--fs-14); font-weight: 600;
                 transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--text-3); }
.btn-secondary.small { height: 36px; padding: 0 var(--s3); font-size: var(--fs-13); }
.btn-secondary .ic { width: 16px; height: 16px; }
.btn-text { border: 0; background: none; min-height: 36px; padding: 6px var(--s2); border-radius: var(--r-sm); color: var(--accent); font-size: var(--fs-14); font-weight: 600; }
.btn-text:hover { background: var(--accent-soft); }
.btn-text.danger { color: var(--danger); }
.btn-text.danger:hover { background: var(--danger-soft); }

.action-bar { position: sticky; bottom: 0; z-index: 4; padding: var(--s3) var(--s5) calc(var(--s4) + env(safe-area-inset-bottom));
              background: linear-gradient(to top, var(--surface) 75%, color-mix(in srgb, var(--surface) 0%, transparent));
              border-radius: 0 0 var(--r-lg) var(--r-lg); }
.action-bar:has(button:disabled) { position: static; }
@media (min-width: 760px) { .action-bar { position: static; background: none; padding: var(--s2) var(--s8) var(--s8); } }

/* ------------------------------------------------------------------ Bijoy text converter */
.dir-toggle { display: inline-flex; align-items: center; gap: var(--s2); height: 46px; padding: 0 var(--s2) 0 var(--s4);
              border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--surface);
              font-size: var(--fs-15); font-weight: 650; color: var(--text); box-shadow: var(--shadow-1);
              transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.dir-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.dir-toggle .ic { width: 18px; height: 18px; stroke-width: 2; transform: rotate(90deg); transition: transform var(--t-med) var(--spring); }
.dir-toggle .dir-end { min-width: 4.5em; text-align: center; }
.dir-toggle #bj-to { color: var(--accent); padding-right: var(--s2); }
.dir-toggle:hover { border-color: var(--accent); background: var(--accent-soft); }
.dir-toggle:hover .ic { transform: rotate(270deg); }
.dir-toggle:active { transform: scale(.98); }
.dir-toggle.flip .ic { animation: dir-flip .45s var(--spring); }
.dir-toggle.flip #bj-from { animation: from-in .4s var(--ease); }
.dir-toggle.flip #bj-to { animation: to-in .4s var(--ease); }
@keyframes dir-flip { from { transform: rotate(-90deg); } to { transform: rotate(90deg); } }
@keyframes from-in { from { opacity: 0; transform: translateX(18px); } }
@keyframes to-in { from { opacity: 0; transform: translateX(-18px); } }
.auto-note { margin-top: var(--s2); font-size: var(--fs-13); color: var(--text-3); }

.text-pair { display: grid; gap: var(--s3); margin-top: var(--s4); }
@media (min-width: 760px) { .text-pair { grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: stretch; } }
.pane { display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--border-strong); border-radius: var(--r-md);
        background: var(--surface); overflow: hidden; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.pane:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft-2); }
.pane.result-pane { background: linear-gradient(180deg, var(--accent-soft), var(--surface-2) 60%); border-color: color-mix(in srgb, var(--accent) 22%, var(--border-strong)); }
.pane.inked textarea { animation: ink .45s var(--ease); }
@keyframes ink { from { opacity: .25; filter: blur(3px); } }
textarea { display: block; width: 100%; min-height: 220px; padding: var(--s4); border: 0; resize: vertical; background: transparent;
           font: 400 17px/1.75 var(--font); color: var(--text); }
@media (min-width: 760px) { textarea { min-height: 340px; padding: var(--s5); font-size: 18px; } }
textarea:focus { outline: none; }
textarea::placeholder { color: var(--text-3); }
.pane-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 50px;
            padding: var(--s1) var(--s2) var(--s1) var(--s4); border-top: 1px solid var(--border); }
.pane-bar .meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#tab-bijoy .drop { flex-direction: row; text-align: left; padding: var(--s5); }

/* ------------------------------------------------------------------ activity: progress + results */
.activity { display: grid; gap: var(--s4); min-width: 0; }
.panel { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow-card);
         animation: rise .45s var(--ease) both; }
.panel-title { font-size: var(--fs-16); font-weight: 750; }
.progress { height: 8px; border-radius: var(--r-pill); background: var(--sunken); overflow: hidden; margin: var(--s4) 0 var(--s3); }
#progress-bar { position: relative; height: 100%; width: 0; border-radius: inherit; overflow: hidden;
                background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #b5f8d6)); transition: width var(--t-med) var(--ease); }
#progress-bar.indeterminate { width: 35%; animation: slide 1.3s infinite var(--ease); }
@keyframes slide { from { transform: translateX(-110%); } to { transform: translateX(310%); } }
#progress-text { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.done-badge { position: absolute; top: -14px; right: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
              background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 18px -4px color-mix(in srgb, var(--accent) 70%, transparent), 0 0 0 4px var(--surface); }
.done-badge .ic { width: 20px; height: 20px; stroke-width: 2.6; }
.has-failures .done-badge { background: var(--warn); box-shadow: 0 0 0 4px var(--surface); }
.stamped .done-badge { animation: pop .6s var(--spring) .1s both; }
.stamped .stat, .stamped .doc { animation: rise .45s var(--ease) both; }
.stamped .doc:nth-child(1) { animation-delay: .12s; } .stamped .doc:nth-child(2) { animation-delay: .19s; }
.stamped .doc:nth-child(3) { animation-delay: .26s; } .stamped .doc:nth-child(n+4) { animation-delay: .33s; }
@keyframes pop { from { opacity: 0; transform: scale(.3) rotate(-30deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.summary { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0 var(--s4); }
.stat { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px var(--s3); border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); }
.stat b { font-size: var(--fs-15); font-weight: 750; font-variant-numeric: tabular-nums; }
.stat span { font-size: var(--fs-13); color: var(--text-2); }
.stat.bad b { color: var(--danger); } .stat.warn b { color: var(--warn); }

.outputs { display: grid; gap: var(--s3); }
.doc { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.doc-head { display: flex; align-items: center; gap: var(--s2); padding: var(--s3) var(--s4) 0; }
.doc-name { flex: 1; min-width: 0; font-weight: 650; font-size: var(--fs-14); overflow-wrap: anywhere; }
.status { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-12); font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.pass { color: var(--ok); background: var(--accent-soft); }
.status.warn { color: var(--warn); background: var(--warn-soft); }
.status.fail { color: var(--danger); background: var(--danger-soft); }
.doc-meta { padding: 2px var(--s4) var(--s3); font-size: var(--fs-13); color: var(--text-3); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.out { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s2) var(--s2) var(--s4); border-top: 1px solid var(--border); transition: background var(--t-fast) var(--ease); }
.out:hover { background: var(--surface-2); }
.out .fname { flex: 1; min-width: 0; font-size: var(--fs-14); line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.out .fsize { flex: none; color: var(--text-3); font-size: var(--fs-12); font-variant-numeric: tabular-nums; }
.out-actions { display: flex; flex: none; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: var(--r-sm); background: none; color: var(--text-2);
            transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.icon-btn:hover { background: var(--accent-soft); color: var(--accent); }
.icon-btn:active { transform: scale(.92); }
.icon-btn .ic { width: 18px; height: 18px; }

/* empty results: a quiet preview of what will land here */
.empty-activity { display: none; }
@media (min-width: 1080px) {
  .empty-activity { display: grid; gap: var(--s2); padding: var(--s6); background: var(--surface); border: 1px solid var(--border);
                    border-radius: var(--r-lg); color: var(--text-2); font-size: var(--fs-14); box-shadow: var(--shadow-card); }
  .empty-activity .ic { width: 40px; height: 40px; padding: 10px; border-radius: var(--r-md); background: var(--sunken); color: var(--text-3); stroke-width: 1.6; }
  .empty-activity .empty-title { margin-top: var(--s2); font-size: var(--fs-16); font-weight: 750; color: var(--text); }
  /* ghost rows: the shape of a result before there is one */
  .empty-activity::after { content: ""; height: 132px; margin-top: var(--s3); border-radius: var(--r-md); border: 1px dashed var(--border-strong);
    background:
      linear-gradient(var(--sunken), var(--sunken)) 16px 18px / 40px 18px no-repeat,
      linear-gradient(var(--sunken), var(--sunken)) 68px 22px / 55% 10px no-repeat,
      linear-gradient(var(--sunken), var(--sunken)) 16px 62px / 40px 18px no-repeat,
      linear-gradient(var(--sunken), var(--sunken)) 68px 66px / 45% 10px no-repeat,
      linear-gradient(var(--sunken), var(--sunken)) 16px 106px / 40px 18px no-repeat,
      linear-gradient(var(--sunken), var(--sunken)) 68px 110px / 50% 10px no-repeat; }
}

/* log */
.log { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.log > summary { list-style: none; display: flex; align-items: center; min-height: 48px; padding: var(--s2) var(--s5); cursor: pointer; font-size: var(--fs-14); font-weight: 600; color: var(--text-2); }
.log > summary::-webkit-details-marker { display: none; }
.log > summary .chev { margin-left: auto; width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.log[open] > summary .chev { transform: rotate(180deg); }
.log pre { margin: 0; padding: var(--s3) var(--s5) var(--s4); border-top: 1px solid var(--border); max-height: 280px; overflow: auto;
           white-space: pre-wrap; word-break: break-word; font: 12px/1.55 var(--mono); color: var(--text-2); }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--s6) + 64px + env(safe-area-inset-bottom)); transform: translateX(-50%);
         max-width: calc(100% - 32px); padding: 12px var(--s5); border-radius: var(--r-pill); z-index: 30;
         background: var(--hero); color: var(--hero-text); font-size: var(--fs-14); font-weight: 550; box-shadow: var(--shadow-2);
         animation: toast-in var(--t-med) var(--spring); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px) scale(.96); } }
@media (min-width: 960px) { .toast { left: auto; right: var(--s8); bottom: var(--s8); transform: none; animation-name: toast-in-d; } }
@keyframes toast-in-d { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* ------------------------------------------------------------------ first paint: one gentle arrival */
@media (prefers-reduced-motion: no-preference) {
  .intro-copy > * { animation: rise .7s var(--ease) both; }
  .intro-copy > :nth-child(2) { animation-delay: .06s; } .intro-copy > :nth-child(3) { animation-delay: .12s; } .intro-copy > :nth-child(4) { animation-delay: .18s; }
  .specimen { animation: appear 1s var(--ease) .1s both; }
  .cover { animation: rise .8s var(--ease) .2s both; }
  #tab-bijoy { animation-delay: .3s; }
}

:lang(bn) .segmented span, :lang(bn) .chips label > span { letter-spacing: 0; }

/* ------------------------------------------------------------------ why Bangla Converter */
.why-inner { max-width: var(--wrap); margin: 0 auto; padding: var(--s4) var(--s4) var(--s12); }
@media (min-width: 960px) { .why-inner { padding: var(--s8) var(--s8) var(--s16); } }
.why h2 { text-align: center; font-size: 24px; font-weight: 800; letter-spacing: -0.025em; }
@media (min-width: 760px) { .why h2 { font-size: 30px; } }
:lang(bn) .why h2 { letter-spacing: 0; }
.why-grid { list-style: none; margin: var(--s8) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s4); }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .why-grid li { padding: var(--s6) var(--s8); }
  .why-grid li:not(:nth-child(3n + 1)) { border-left: 1px solid var(--border); }
  .why-grid li:nth-child(n + 4) { border-top: 1px solid var(--border); } }
.why-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); margin-bottom: var(--s3);
          background: linear-gradient(145deg, var(--accent-soft), var(--accent-soft-2)); color: var(--accent); }
.why-ic .ic { width: 22px; height: 22px; }
.why h3 { font-size: var(--fs-16); font-weight: 750; }
.why p { margin-top: var(--s1); font-size: var(--fs-14); color: var(--text-2); max-width: 34ch; }

/* ------------------------------------------------------------------ footer */
.site-foot { background: var(--hero); color: var(--hero-text); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--hero-line); }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: var(--s10) var(--s4) var(--s6); display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 760px) { .foot-inner { grid-template-columns: 1fr auto; padding: var(--s12) var(--s8) var(--s8); } }
.foot-brand { display: flex; gap: var(--s4); align-items: center; }
.foot-mark { width: 44px; height: 44px; flex: none; }
.foot-wordmark { display: block; font-size: var(--fs-18); font-weight: 750; letter-spacing: -0.02em; }
.foot-wordmark span { color: var(--highlight); }
.foot-promise { display: flex; align-items: flex-start; gap: 6px; margin-top: 4px; font-size: var(--fs-13); color: var(--hero-text-2); line-height: 1.5; }
.foot-promise .ic { width: 15px; height: 15px; margin-top: 3px; color: var(--highlight); }
.credit { display: grid; gap: 2px; justify-items: start; }
@media (min-width: 760px) { .credit { justify-items: end; text-align: right; } }
.credit-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hero-text-2); }
:lang(bn) .credit-label { letter-spacing: 0; text-transform: none; font-size: var(--fs-13); }
.credit-name { font-size: 20px; font-weight: 800; letter-spacing: .06em; color: var(--hero-text); }
.foot-bottom { max-width: var(--wrap); margin: 0 auto; padding: var(--s4) var(--s4) var(--s6); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4);
               justify-content: center; font-size: var(--fs-12); color: var(--hero-text-2); border-top: 1px solid var(--hero-line); font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .foot-bottom { justify-content: space-between; padding: var(--s4) var(--s8) var(--s6); } }
.foot-bottom a { color: var(--hero-text); text-decoration: none; }
.foot-bottom a:hover { text-decoration: underline; }
