/* ============================================================================
   VanBrowser: vanbrowser.com
   Palette sampled from the app icon: teal #21bebd -> deep #1276a6, warm yellow
   #ffd166, sky #b4e2f0. Design thesis mirrors the app: expose the under-the-hood
   detail other browsers hide (the "status bar" motif). Self-hosted fonts, no CDN.
   ========================================================================== */

/* ---- Self-hosted fonts -------------------------------------------------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-600-latin.woff2) format('woff2');
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --teal: #21bebd;
  --teal-mid: #1a9eb3;
  --teal-deep: #1276a6;
  --abyss: #07222e;
  --abyss-2: #0c3243;
  --ink: #06222e;
  --ink-soft: #3a5b67;
  --yellow: #ffd166;
  --yellow-deep: #f3b53a;
  --sky: #b4e2f0;
  --paper: #f1f8f9;
  --card: #ffffff;
  --line: rgba(6, 34, 46, .12);
  --line-soft: rgba(6, 34, 46, .07);

  --font-display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1120px;
  --radius: 18px;
  --shadow: 0 24px 60px -28px rgba(6, 34, 46, .45);
}

/* ---- Reset / base ------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--ink);
}

.mono { font-family: var(--font-mono); }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--yellow); color: var(--ink);
  padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--yellow); color: #1a1205;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(243, 181, 58, .8);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { background: var(--yellow-deep); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(243, 181, 58, .9); }
.btn:active { transform: translateY(0); }
.btn .apple { width: 18px; height: 18px; }
.btn-sm { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.btn-ghost {
  background: transparent; color: #eafbff; font-weight: 600;
  border: 1px solid rgba(234, 251, 255, .35); box-shadow: none;
}
.btn-ghost:hover { background: rgba(234, 251, 255, .1); border-color: rgba(234, 251, 255, .6); }
.btn-dark { background: var(--ink); color: #eafbff; box-shadow: 0 14px 30px -14px rgba(6, 34, 46, .7); }
.btn-dark:hover { background: #0a2f3e; }

/* ---- Official App Store badges ------------------------------------------ */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 22px 0 0; }
.store-badges a { display: inline-flex; border-radius: 8px; transition: transform .16s ease, opacity .16s ease; }
.store-badges a:hover { transform: translateY(-2px); opacity: .92; }
.store-badges img { height: 46px; width: auto; }

/* ---- Nav ---------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px;
  background: rgba(7, 34, 46, .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(180, 226, 240, .14);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: #f3fdff; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand img { border-radius: 9px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a { color: rgba(220, 244, 250, .82); font-weight: 500; font-size: 15px; transition: color .15s ease; }
.nav-links > a:hover, .nav-links > a.is-active { color: #fff; }
.nav-links .btn { color: #1a1205; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: #dcf4fa; border-radius: 2px; transition: .2s; }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% -10%, rgba(255, 209, 102, .22), transparent 46%),
    radial-gradient(90% 80% at 8% 6%, rgba(180, 226, 240, .28), transparent 50%),
    linear-gradient(168deg, var(--teal) 0%, var(--teal-mid) 46%, var(--teal-deep) 100%);
  color: #eafbff;
  padding: 78px 0 0;
}
/* faint blueprint grid: "under the hood" texture */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(234, 251, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 251, 255, .06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 78%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .04em;
  color: #d9f6fb; background: rgba(7, 34, 46, .35);
  border: 1px solid rgba(180, 226, 240, .28); border-radius: 999px;
  padding: 7px 14px; text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 209, 102, .25); }

.hero h1 {
  color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800;
  margin: 22px 0 0; max-width: 14ch;
}
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -.18em; height: .16em; z-index: -1;
  background: var(--yellow); border-radius: 3px;
}
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: rgba(234, 251, 255, .9); max-width: 46ch; margin: 22px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.hero-note { margin: 18px 0 0; font-family: var(--font-mono); font-size: 12.5px; color: rgba(217, 246, 251, .72); }

/* hero art: icon + instrument strip */
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-icon {
  width: 200px; height: 200px; border-radius: 44px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12) inset;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* the flagship: a Netscape-style status bar */
.statusbar {
  width: min(420px, 92%); margin: -22px 0 0; z-index: 2;
  background: rgba(4, 20, 27, .82);
  border: 1px solid rgba(180, 226, 240, .22); border-radius: 12px;
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 12px; color: #cfeef6;
  display: flex; flex-direction: column; overflow: hidden;
}
.sb-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.sb-row + .sb-row { border-top: 1px solid rgba(180, 226, 240, .12); }
.sb-lock { color: var(--yellow); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.sb-lock svg { width: 11px; height: 11px; }
.sb-url { color: #9fdbe9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-spacer { flex: 1; }
.sb-stat { color: #bfe9f3; }
.sb-stat b { color: #fff; font-weight: 600; }
.sb-lamp { width: 9px; height: 9px; border-radius: 50%; background: #46e08a; box-shadow: 0 0 0 0 rgba(70, 224, 138, .7); animation: pulse 1.9s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(70, 224, 138, .6); } 70% { box-shadow: 0 0 0 8px rgba(70, 224, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 224, 138, 0); } }

/* hero bottom wave/spacer */
.hero-foot { height: 64px; }

/* ---- No-AI banner ------------------------------------------------------- */
.noai { background: #ffffff; border-bottom: 1px solid var(--line-soft); }
.noai-inner { display: flex; align-items: center; gap: 20px; padding: 22px 0; }
.noai-badge {
  flex: none; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em;
  font-size: 1.1rem; color: #1a1205; background: var(--yellow);
  padding: 8px 17px; border-radius: 999px; box-shadow: 0 8px 20px -12px rgba(243, 181, 58, .85);
}
.noai-inner p { color: var(--ink); font-size: 1.05rem; margin: 0; }
.noai-inner p strong { color: var(--teal-deep); }
@media (max-width: 680px) {
  .noai-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---- Section scaffolding ------------------------------------------------ */
.section { padding: 92px 0; }
.section-head { max-width: 60ch; margin: 0 0 50px; }
.kick { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 0; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; margin: 16px 0 0; }

/* ---- Feature grid ------------------------------------------------------- */
.features { position: relative; background: var(--paper); }
.features::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(var(--line-soft) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(#000, transparent 70%);
  mask-image: linear-gradient(#000, transparent 70%);
}
.features .wrap { position: relative; z-index: 1; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 24px 28px; box-shadow: 0 18px 40px -34px rgba(6, 34, 46, .5);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 28px 54px -30px rgba(6, 34, 46, .45); border-color: rgba(33, 190, 189, .4); }
.card.is-flagship { grid-column: span 1; background: linear-gradient(165deg, #07222e, #0e4255); color: #eafbff; border-color: transparent; }
.card.is-flagship h3, .card.is-flagship .card-kick { color: #fff; }
.card.is-flagship p { color: rgba(220, 244, 250, .82); }
.card-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(33, 190, 189, .18), rgba(18, 118, 166, .14));
  color: var(--teal-deep); margin: 0 0 18px;
}
.card.is-flagship .card-ico { background: rgba(255, 209, 102, .16); color: var(--yellow); }
.card-ico svg { width: 24px; height: 24px; }
.card-kick { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--teal-deep); }
.card h3 { font-size: 1.32rem; margin: 7px 0 9px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card p a { color: var(--teal-deep); font-weight: 600; border-bottom: 1px solid rgba(18, 118, 166, .35); }
.card.is-flagship p a { color: var(--yellow); border-color: rgba(255, 209, 102, .4); }

/* ---- Languages ----------------------------------------------------------- */
.langs { background: #ffffff; border-top: 1px solid var(--line-soft); }
.lang-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lang {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 3px; height: 100%;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
a.lang:hover { transform: translateY(-3px); border-color: rgba(33, 190, 189, .4); box-shadow: 0 14px 30px -24px rgba(6, 34, 46, .5); }
.lang.is-current { border-color: rgba(33, 190, 189, .55); background: #ffffff; box-shadow: 0 0 0 3px rgba(33, 190, 189, .14); }
.lang-native { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -.01em; color: var(--ink); }
.lang-gloss { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); }
.lang-note { margin: 26px 0 0; color: var(--ink-soft); font-size: .98rem; }
.lang-note a { color: var(--teal-deep); font-weight: 600; border-bottom: 1px solid rgba(18, 118, 166, .35); }

/* ---- Manifesto band ----------------------------------------------------- */
.manifesto {
  position: relative; overflow: hidden; color: #eafbff;
  background:
    radial-gradient(80% 120% at 90% 10%, rgba(33, 190, 189, .3), transparent 55%),
    linear-gradient(155deg, var(--abyss) 0%, var(--abyss-2) 100%);
  padding: 96px 0;
}
.manifesto::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(234, 251, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 251, 255, .05) 1px, transparent 1px);
  background-size: 52px 52px;
}
.manifesto .wrap { position: relative; z-index: 1; max-width: 900px; }
.manifesto .kick { color: var(--yellow); }
.manifesto blockquote {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.12; color: #fff; margin: 18px 0 0;
}
.manifesto blockquote .y { color: var(--yellow); }
.manifesto .src { margin: 26px 0 0; color: rgba(220, 244, 250, .72); font-size: 1.02rem; max-width: 60ch; }

/* ---- CTA band ----------------------------------------------------------- */
.cta {
  background:
    radial-gradient(90% 140% at 12% 0%, rgba(180, 226, 240, .35), transparent 55%),
    linear-gradient(150deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff; text-align: center; padding: 88px 0;
}
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cta p { margin: 16px auto 0; max-width: 50ch; color: rgba(255, 255, 255, .9); font-size: 1.12rem; }
.cta .hero-cta { justify-content: center; margin-top: 30px; }
.cta .store-badges { justify-content: center; margin-top: 30px; }
.cta .store-badges img { height: 56px; }
.cta .hero-note { color: rgba(255, 255, 255, .85); }

/* ---- Footer ------------------------------------------------------------- */
.foot { background: var(--abyss); color: #bcd9e2; padding: 64px 0 28px; }
.foot-inner { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.foot .brand { color: #f3fdff; }
.foot-brand p { margin: 16px 0 0; color: #87adb9; font-size: .96rem; max-width: 42ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-col h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6f97a3; margin: 0 0 14px; }
.foot-col a { display: block; color: #bcd9e2; font-size: .96rem; padding: 5px 0; transition: color .15s ease; }
.foot-col a:hover { color: var(--yellow); }
.foot-base {
  width: 100%; max-width: var(--wrap); margin: 40px auto 0; padding: 22px 24px 0;
  border-top: 1px solid rgba(180, 226, 240, .12);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: #6f97a3; font-size: .86rem;
}
.foot-base .mono { font-size: 12px; }

/* ---- Support page ------------------------------------------------------- */
.subhero {
  background: linear-gradient(168deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #eafbff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.subhero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image:
    linear-gradient(rgba(234, 251, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 251, 255, .06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 120% at 30% 0%, #000 40%, transparent 80%);
  mask-image: radial-gradient(120% 120% at 30% 0%, #000 40%, transparent 80%);
}
.subhero .wrap { position: relative; z-index: 1; }
.subhero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 16px 0 0; }
.subhero p { color: rgba(234, 251, 255, .9); font-size: 1.15rem; margin: 14px 0 0; max-width: 52ch; }

.support-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: start; }

.info-card, .form-card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.info-card h2 { font-size: 1.5rem; }
.info-block { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.info-block:last-child { border-bottom: 0; padding-bottom: 0; }
.info-block:first-of-type { padding-top: 22px; }
.info-block h3 { font-size: 1.05rem; margin: 0 0 6px; }
.info-block p { color: var(--ink-soft); font-size: .97rem; }
.info-block a.maillink { color: var(--teal-deep); font-weight: 600; font-family: var(--font-mono); font-size: .95rem; }
.info-block a.maillink:hover { text-decoration: underline; }

/* form */
.form-card h2 { font-size: 1.5rem; }
.form-card .sub { color: var(--ink-soft); margin: 6px 0 22px; font-size: .97rem; }
.field { margin: 0 0 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 7px; color: var(--ink); }
.field .req { color: var(--teal-deep); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: #f7fbfc; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 15px; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 4px rgba(33, 190, 189, .16);
}
.field input::placeholder, .field textarea::placeholder { color: #8fa9b2; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-foot { margin: 16px 0 0; font-size: .82rem; color: var(--ink-soft); }
.form-foot a { color: var(--teal-deep); font-weight: 600; }

.banner { border-radius: 12px; padding: 15px 18px; margin: 0 0 22px; font-size: .97rem; font-weight: 500; }
.banner.ok { background: #e3f8ee; color: #0e5b39; border: 1px solid #aee4c9; }
.banner.err { background: #fdeceb; color: #8a2a23; border: 1px solid #f3c2bd; }

/* FAQ */
.faq-list { display: grid; gap: 14px; max-width: 820px; }
.faq {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 4px 22px;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-display);
  font-weight: 700; font-size: 1.12rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.4rem; color: var(--teal-deep); transition: transform .2s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-soft); padding: 0 0 20px; font-size: 1rem; }
.faq p a { color: var(--teal-deep); font-weight: 600; }

/* ---- Status / known-issues page ----------------------------------------- */
.bug-list { list-style: none; display: grid; gap: 14px; max-width: 820px; }
.bug-item {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 20px 24px;
}
.bug-row { display: flex; align-items: flex-start; gap: 14px; }
.bug-desc { flex: 1; color: var(--ink); font-size: 1.02rem; margin: 0; line-height: 1.55; }
.bug-badge {
  flex: none; display: inline-block; padding: 3px 11px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .76rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; margin-top: 3px;
}
.bug-badge-pending     { background: #fff4d6; color: #8a5a00; }
.bug-badge-inprogress  { background: #cfe8ff; color: #0b4a73; }
.bug-badge-newfeature  { background: #d0f0e8; color: #0e6b52; }
.bug-badge-improvement { background: #ebe5ff; color: #4a2d8a; }
.bug-badge-fixed       { background: #cdeecd; color: #1f6b2b; }
.bug-badge-wontfix     { background: #e2e6ea; color: #555; }
.bug-fixed-in { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-soft); margin: 10px 0 0; }
.bug-empty { color: var(--ink-soft); font-size: 1.05rem; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; }
  .hero { padding-top: 56px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .lang-list { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 34, 46, .96); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(180, 226, 240, .14);
    padding: 8px 16px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 13px 6px; border-top: 1px solid rgba(180, 226, 240, .1); }
  .nav-links .btn { margin-top: 12px; justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .lang-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lang { padding: 14px 16px; }
  .store-badges img { height: 42px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .foot-base { flex-direction: column; gap: 8px; }
}

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