/* FreeBeeTools – "Aurora Honey" design system, mobile first */
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fff8ef; --bg-2: #fdf1ff;
  --surface: rgba(255, 255, 255, .72); --surface-solid: #ffffff; --surface-2: rgba(255, 246, 230, .8);
  --text: #1c1638; --muted: #5f5a7a; --border: rgba(92, 70, 160, .14); --border-strong: rgba(92, 70, 160, .26);
  --honey: #ffb21e; --peach: #ff7e67; --violet: #7c5cff; --teal: #12b5a5; --sky: #2f8cff;
  --grad: linear-gradient(120deg, #ffb21e 0%, #ff7e67 45%, #b45cff 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 178, 30, .18), rgba(255, 126, 103, .14), rgba(124, 92, 255, .16));
  --link: #6a3fe0; --ink-on-grad: #1c1638;
  --ok: #10865a; --warn: #b05a00; --bad: #c42b45;
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 1px 1px rgba(40, 20, 90, .04), 0 8px 24px -8px rgba(60, 30, 120, .16);
  --shadow-lg: 0 24px 60px -20px rgba(90, 50, 170, .35);
  --glow: 0 0 0 1px rgba(124, 92, 255, .25), 0 10px 30px -8px rgba(124, 92, 255, .35);
  --blur: saturate(1.6) blur(14px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0b1e; --bg-2: #120f2b;
    --surface: rgba(30, 26, 62, .6); --surface-solid: #1a1638; --surface-2: rgba(44, 36, 86, .55);
    --text: #f2efff; --muted: #a9a3cc; --border: rgba(170, 150, 255, .16); --border-strong: rgba(170, 150, 255, .3);
    --link: #c3b2ff; --ok: #4ade9b; --warn: #ffb86b; --bad: #ff8fa3;
    --grad-soft: linear-gradient(120deg, rgba(255, 178, 30, .14), rgba(255, 126, 103, .1), rgba(124, 92, 255, .18));
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .7);
  }
}
/* category hues */
.c-image { --c: #ff7e67; --c2: #ffb21e; }
.c-calc  { --c: #7c5cff; --c2: #2f8cff; }
.c-text  { --c: #12b5a5; --c2: #2f8cff; }
.c-gen   { --c: #ffb21e; --c2: #ff7e67; }
.c-time  { --c: #2f8cff; --c2: #7c5cff; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; color: var(--text); overflow-x: hidden; min-height: 100vh;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%) fixed;
  font: 16px/1.6 "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-underline-offset: 3px; }
img, canvas, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* aurora background */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 520px; height: 520px; background: #ffd27a; top: -180px; left: -140px; }
.aurora i:nth-child(2) { width: 460px; height: 460px; background: #c9b6ff; top: 10%; right: -160px; animation-delay: -7s; }
.aurora i:nth-child(3) { width: 420px; height: 420px; background: #9ff0e3; bottom: -200px; left: 30%; animation-delay: -14s; opacity: .35; }
@media (prefers-color-scheme: dark) {
  .aurora i { opacity: .28; }
  .aurora i:nth-child(1) { background: #ff9b3d; } .aurora i:nth-child(2) { background: #7c5cff; } .aurora i:nth-child(3) { background: #12b5a5; }
}
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-bottom: 1px solid var(--border); }
.bar { display: flex; gap: 16px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 10px 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.logo { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 4px 10px rgba(255, 110, 90, .35)); transition: transform .3s; }
.brand:hover .logo { transform: rotate(-8deg) scale(1.06); }
.mainnav { display: none; gap: 4px; margin-left: auto; }
.mainnav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.mainnav a:hover { background: var(--grad-soft); }
@media (min-width: 900px) { .mainnav { display: flex; } }

/* language dropdown */
.lang { position: relative; margin-left: auto; }
@media (min-width: 900px) { .lang { margin-left: 4px; } }
.lang summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none;
  min-height: 42px; padding: 8px 12px 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { box-shadow: var(--glow); }
.lang .lcode { display: none; }
@media (max-width: 420px) { .lang .lname { display: none; } .lang .lcode { display: inline; } }
.lang .chev { width: 16px; height: 16px; transition: transform .2s; }
.lang[open] .chev { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow-lg);
  animation: pop .16s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.lang li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px;
  color: var(--text); text-decoration: none; font-weight: 600; }
.lang li a small { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.lang li a:hover { background: var(--grad-soft); }
.lang li a[aria-current] { background: var(--grad); color: var(--ink-on-grad); }
.lang li a[aria-current] small { color: var(--ink-on-grad); }

/* layout */
main { max-width: 1180px; margin: 0 auto; padding: 18px 16px 64px; }
h1 { font-size: clamp(30px, 6.4vw, 56px); line-height: 1.06; letter-spacing: -.035em; margin: 8px 0 12px; font-weight: 800; }
h2 { font-size: clamp(22px, 3.6vw, 30px); line-height: 1.2; letter-spacing: -.02em; margin: 40px 0 10px; font-weight: 800; }
h3 { font-size: 18px; letter-spacing: -.01em; }
.sec { margin-top: 56px; }
.sec > h2 { display: flex; align-items: center; gap: 10px; margin-top: 0; }
.sub { color: var(--muted); margin: 0 0 22px; max-width: 62ch; }
.intro { color: var(--muted); margin: 0 0 24px; max-width: 70ch; font-size: 17px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--link); text-decoration: underline; }
.glass { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }

/* hero */
.hero { display: grid; gap: 28px; align-items: center; padding: 18px 0 8px; }
@media (min-width: 960px) { .hero { grid-template-columns: 1.25fr .9fr; padding: 40px 0 16px; } }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); color: var(--text); }
.badge .ic { width: 16px; height: 16px; color: var(--peach); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 58ch; margin: 0 0 22px; }
.search { position: relative; max-width: 560px; }
.search .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; min-height: 56px; padding: 14px 18px 14px 50px; font: inherit; font-size: 16px; color: var(--text);
  border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface-solid); box-shadow: var(--shadow); }
.search input:focus { outline: none; box-shadow: var(--glow); border-color: var(--violet); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-art { position: relative; height: 300px; display: none; }
@media (min-width: 960px) { .hero-art { display: block; height: 380px; } }
.orb { position: absolute; inset: 50% auto auto 50%; width: 210px; height: 210px; transform: translate(-50%, -50%); border-radius: 50%;
  display: grid; place-items: center; background: radial-gradient(circle, rgba(255, 170, 90, .35) 0%, rgba(160, 110, 255, .18) 45%, transparent 70%); }
.orb .logo.big { width: 150px; height: 150px; filter: drop-shadow(0 22px 40px rgba(255, 110, 90, .45)); animation: bob 7s ease-in-out infinite; }
.ring { position: absolute; inset: 50% auto auto 50%; width: 330px; height: 330px; transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px dashed var(--border-strong); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.float { position: absolute; width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--c2), var(--c)); box-shadow: 0 14px 30px -10px var(--c); animation: bob 6s ease-in-out infinite; }
.float .ic { width: 28px; height: 28px; }
.f0 { top: 6%; left: 14%; } .f1 { top: 2%; right: 16%; animation-delay: -1s; } .f2 { top: 44%; left: 0; animation-delay: -2s; }
.f3 { top: 46%; right: 0; animation-delay: -3s; } .f4 { bottom: 4%; left: 20%; animation-delay: -4s; } .f5 { bottom: 0; right: 22%; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-3deg); } }

/* features strip */
.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.features li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.features .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--grad-soft); color: var(--violet); }
.features b { display: block; font-size: 15px; } .features span { font-size: 13.5px; color: var(--muted); }

/* category tiles */
.cats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cat { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); text-decoration: none; color: var(--text);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, transparent), color-mix(in srgb, var(--c2) 6%, transparent)), var(--surface);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -16px var(--c); }
.cat b { font-size: 17px; margin-top: 6px; } .cat > span:not(.tile) { font-size: 14px; color: var(--muted); flex: 1; }
.cat small { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--c); filter: brightness(.85); }
@media (prefers-color-scheme: dark) { .cat small { filter: brightness(1.25); } }
.cat small .ic { width: 15px; height: 15px; }
.tile { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff;
  background: linear-gradient(135deg, var(--c2), var(--c)); box-shadow: 0 8px 18px -8px var(--c); }
.tile .ic { width: 23px; height: 23px; }

/* tool cards */
.cat-block { margin-top: 26px; }
.cat-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; }
.cat-h .ic { width: 22px; height: 22px; color: var(--c); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.card { position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); padding: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--c), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .2s; pointer-events: none; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -18px var(--c); }
.card:hover::after { opacity: 1; }
.card h4 { margin: 8px 0 0; font-size: 17px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.card .go { margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--link); }
.noresults { padding: 24px; text-align: center; color: var(--muted); }
[hidden] { display: none !important; }

/* coming soon */
.soon > h2 .ic { width: 28px; height: 28px; color: var(--peach); }
.soon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.soon-list li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px dashed var(--border-strong); }
.soon-list .ic { width: 42px; height: 42px; padding: 10px; border-radius: 13px; background: var(--grad-soft); color: var(--violet); flex: none; }
.soon-list b { display: block; } .soon-list span { font-size: 14px; color: var(--muted); }
.soon-list em { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: var(--grad); color: var(--ink-on-grad); }
.soon-list li div { padding-right: 52px; }

/* tool page */
.tool-head { display: flex; gap: 14px; align-items: center; margin: 6px 0 4px; }
.tool-head .tile { width: 58px; height: 58px; border-radius: 18px; }
.tool-head .tile .ic { width: 28px; height: 28px; }
.tool-head h1 { margin: 2px 0 0; font-size: clamp(26px, 5.4vw, 44px); }
.tool { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); max-width: 860px; position: relative; }
@media (min-width: 720px) { .tool { padding: 28px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; }
.field output { font-variant-numeric: tabular-nums; color: var(--link); }
input[type=number], input[type=date], input[type=text], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--surface-solid);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 11px 13px; min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237c5cff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
textarea { min-height: 200px; resize: vertical; padding: 14px; line-height: 1.55; }
textarea.small { min-height: 92px; }
textarea.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; min-height: 260px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: var(--glow); }
input[type=range] { width: 100%; accent-color: var(--violet); min-height: 32px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 12px; align-items: end; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 0 8px; cursor: pointer; font-size: 15px; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--violet); flex: none; }
h3.sub { margin: 22px 0 10px; font-size: 16px; color: var(--text); font-weight: 700; }
h3.sub:first-child { margin-top: 0; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  min-height: 150px; padding: 22px; margin: 0 0 16px; border: 2px dashed var(--border-strong); border-radius: var(--radius);
  background: var(--grad-soft); cursor: pointer; position: relative; font-weight: 700; transition: border-color .15s, box-shadow .15s; }
.drop:hover, .drop:focus-within { border-color: var(--violet); box-shadow: var(--glow); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop .up { width: 34px; height: 34px; padding: 7px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--violet), var(--peach)); }
.drop small { font-weight: 500; color: var(--muted); word-break: break-all; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 700;
  min-height: 46px; padding: 10px 20px; border-radius: 999px; cursor: pointer; text-decoration: none; border: 0;
  background: var(--grad); background-size: 140% 100%; color: var(--ink-on-grad);
  box-shadow: 0 10px 24px -10px rgba(255, 110, 80, .7); transition: transform .15s, box-shadow .2s, background-position .3s;
}
button:hover, .btn:hover { transform: translateY(-1px); background-position: 100% 0; box-shadow: 0 14px 30px -10px rgba(180, 92, 255, .6); }
button:active, .btn:active { transform: translateY(0); }
button.ghost, .btn.ghost { background: var(--surface-solid); color: var(--text); border: 1px solid var(--border-strong); box-shadow: none; }
button.ghost:hover, .btn.ghost:hover { box-shadow: var(--glow); }
button:disabled { opacity: .6; cursor: progress; }
.btn .ic { width: 18px; height: 18px; }
@media (max-width: 480px) { .actions > button, .actions > .btn { flex: 1 1 auto; } }

/* outputs */
.out:empty { display: none; }
.out { margin: 12px 0; overflow-wrap: anywhere; }
.out p { margin: 6px 0; }
.big { font-size: clamp(20px, 5vw, 27px); font-weight: 800; line-height: 1.3; display: block; letter-spacing: -.01em; }
.nums { word-spacing: 4px; }
[data-o=password] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(18px, 5vw, 24px);
  background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 16px; word-break: break-all; }
[data-level=m_weak] { color: var(--bad); } [data-level=m_medium] { color: var(--warn); }
[data-level=m_strong], [data-level=m_vstrong] { color: var(--ok); }
[data-state=error] { color: var(--bad); } [data-state=ok] { color: var(--ok); }
.tag { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--grad-soft); font-weight: 700; }
.display { display: block !important; text-align: center; font-variant-numeric: tabular-nums; font-weight: 800;
  font-size: clamp(50px, 16vw, 110px); letter-spacing: -.03em; line-height: 1.1; padding: 20px 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display[data-done] { font-size: clamp(32px, 9vw, 58px); }
.lap { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 9px 4px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.file { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.file span { flex: 1 1 200px; font-size: 15px; }
.preview { display: block; max-height: 320px; width: auto; margin: 10px 0; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.qr { display: block; width: min(100%, 280px); height: auto; margin: 6px auto; border-radius: 14px; border: 1px solid var(--border); image-rendering: pixelated; box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 14px; }
.stat { background: var(--grad-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.num { display: block; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lbl { font-size: 13px; color: var(--muted); font-weight: 600; }

/* faq, chips, prose */
.faq { max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 2px; color: var(--muted); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; text-decoration: none; color: var(--text);
  font-size: 14.5px; font-weight: 600; background: var(--surface); border: 1px solid var(--border); transition: box-shadow .2s, transform .2s; }
.chip .ic { width: 18px; height: 18px; color: var(--c); }
.chip:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px var(--c); }
.links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; }
.links a { display: block; padding: 6px 0; }
.prose { max-width: 820px; padding: 22px; }
@media (min-width: 720px) { .prose { padding: 36px 44px; } }
.prose h1 { font-size: clamp(28px, 5vw, 42px); }
.prose h2 { font-size: 21px; margin: 30px 0 8px; }
.prose p { margin: 0 0 14px; }
.nf { font-size: clamp(80px, 22vw, 150px); margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ads */
.ad { margin: 32px 0; min-height: 100px; text-align: center; max-width: 860px; }
.ad small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }

/* footer */
footer { margin-top: 40px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface-solid) 60%, transparent);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); padding: 40px 16px 22px; }
.fcols { max-width: 1180px; margin: 0 auto; display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .fcols { grid-template-columns: 1.4fr 1fr 1fr; } }
footer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 6px 0 10px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li a { display: inline-block; padding: 5px 0; color: var(--text); text-decoration: none; font-size: 15px; }
footer li a:hover { color: var(--link); text-decoration: underline; }
footer p { color: var(--muted); font-size: 14px; margin: 10px 0 0; max-width: 40ch; }
footer .copy { max-width: 1180px; margin: 26px auto 0; padding-top: 18px; border-top: 1px solid var(--border); text-align: center; max-width: none; }

/* logo edge glow on dark backgrounds */
@media (prefers-color-scheme: dark) {
  .logo { filter: drop-shadow(0 0 1.5px rgba(255, 196, 61, .9)) drop-shadow(0 4px 14px rgba(255, 150, 60, .35)); }
}
