/* Ubamuba design for the crawlable static pages (pricing, features, gummysearch-alternative), which
   Apache serves as plain HTML outside the React app. Same tokens as src/ub/ub.css: keep in step. */
:root {
  --bg: #0e0f0c; --surface: #181915; --surface-2: #22231f;
  --text: #f4f4ee; --text-2: #c9cbc2; --muted: #8a8c83;
  --border: rgba(244,244,238,.12); --border-strong: rgba(244,244,238,.24);
  --lime: #d5ff43; --lime-deep: #aece2e; --coral: #ff633f;
  --radius: 20px; --radius-sm: 12px;
}
html[data-theme="light"] {
  --bg: #f4f4ee; --surface: #ffffff; --surface-2: #e9e9e2;
  --text: #0e0f0c; --text-2: #22231f; --muted: #6f716a;
  --border: rgba(14,15,12,.12); --border-strong: rgba(14,15,12,.26);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; }
.wrap { max-width: 1136px; margin: 0 auto; padding: 0 24px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.nav img { height: 30px; display: block; }
.nav .links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.nav .links a { text-decoration: none; }
.nav .links a:hover { color: var(--text); }
.logo-light { display: none !important; }
html[data-theme="light"] .logo-dark { display: none !important; }
html[data-theme="light"] .logo-light { display: block !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; border: 1px solid transparent; }
.btn-lime { background: var(--lime); color: #0e0f0c; }
.btn-lime:hover { background: var(--lime-deep); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); }
.nav .btn { height: 40px; }

/* content */
main { padding: 56px 0 72px; }
.doc { max-width: 860px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.02em; margin: 44px 0 14px; }
.sub { color: var(--text-2); font-size: 17px; margin: 20px 0 0; max-width: 720px; }
p { color: var(--text-2); }
strong, b { color: var(--text); }
ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--text-2); font-size: 15px; }
code { font-size: .92em; background: var(--surface-2); border-radius: 6px; padding: 1px 6px; color: var(--text); }
.soon { display: inline-block; font-size: 11px; font-weight: 700; color: var(--coral); border: 1px solid color-mix(in srgb, var(--coral) 55%, transparent); border-radius: 999px; padding: 0 8px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
.badge { display: inline-block; background: var(--lime); color: #0e0f0c; font-weight: 700; border-radius: 999px; padding: 6px 14px; font-size: 14px; margin-top: 22px; }
.table-wrap { overflow-x: auto; margin-top: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
td { color: var(--text-2); }
.price { font-weight: 700; font-size: 18px; color: var(--text); white-space: nowrap; }
.price s { color: var(--muted); font-weight: 400; font-size: 15px; margin-right: 4px; }
.small { font-size: 14px; color: var(--muted); }
.cta-panel { margin-top: 56px; background: var(--lime); color: #0e0f0c; border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-panel h2 { margin: 0; color: #0e0f0c; }
.cta-panel .btn { background: #0e0f0c; color: #f4f4ee; }
.more { margin-top: 28px; font-size: 14px; color: var(--muted); }
.more a { text-decoration: underline; text-underline-offset: 2px; color: var(--text-2); }

/* footer */
footer { border-top: 1px solid var(--border); padding: 36px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer img { height: 26px; display: block; }
footer .tag, footer .copy { font-size: 12px; color: var(--muted); }
footer .copy { margin-top: 14px; }
footer .links { display: flex; gap: 22px; font-size: 13px; color: var(--text-2); align-items: center; }
footer .links a { text-decoration: none; }
footer button { background: none; border: 1px solid var(--border-strong); color: var(--text-2); border-radius: 999px; font: inherit; font-size: 12px; padding: 5px 12px; cursor: pointer; }

@media (max-width: 760px) {
  .nav .links a:not(.btn) { display: none; }
  main { padding: 36px 0 56px; }
  .cta-panel { padding: 28px 22px; }
}
@media (max-width: 420px) { .wrap { padding: 0 16px; } }
