/* hubra.club. Self-hosted fonts first, then the app's tokens and the page styles. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2-variations");
  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;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2-variations");
  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: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format("woff2-variations");
  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;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2-variations");
  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;
}

/* Colour tokens: the same values as the app (packages/ui/src/ui.css and
   theme.ts in hubra-app/hubra), so the site, sign-in, club app and manage
   look like one product in light and dark mode. */
:root {
  --v0: #f5f1ff; --v1: #ebe3ff; --v2: #d6c7ff; --v3: #bba3fd; --v4: #9f7cf8;
  --v5: #8758f0; --v6: #7441e0; --v7: #6131c4; --v8: #4d27a0; --v9: #3a1e78;
  --gold: #fece2b; --gold-0: #fffbeb; --gold-3: #fbd936;

  --page: #f7f6fb; --surface: #ffffff; --surface-2: #f4f2f9;
  --border: #e6e3ef; --border-2: #d6d2e3;
  --text: #1a1625; --text-2: #5e5873; --text-3: #8c86a0;
  --accent: var(--v6); --accent-hover: var(--v7); --accent-text: var(--v6); --on-accent: #ffffff;
  --tint: var(--v0); --tint-text: var(--v7);
  --ok: #1f9d57; --ok-bg: #e3f4ec;
  --notice-bg: var(--gold-0); --notice-border: var(--gold-3);
  --shadow-sm: 0 1px 2px rgba(26,22,37,.05), 0 4px 12px -6px rgba(26,22,37,.08);
  --shadow-md: 0 2px 4px rgba(26,22,37,.04), 0 12px 28px -12px rgba(26,22,37,.16);
  --shadow-lg: 0 26px 64px -22px rgba(26,22,37,.28), 0 4px 14px -6px rgba(26,22,37,.15);
  --brand-grad: linear-gradient(155deg, #7441e0 0%, #6131c4 45%, #3a1e78 100%);

  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}
/* Dark: the app's neutral greys; violet only marks buttons, links and accents. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #111113; --surface: #19191c; --surface-2: #222226;
    --border: #2f2f34; --border-2: #45454c;
    --text: #ededef; --text-2: #a8a8b0; --text-3: #7c7c85;
    --accent: var(--v4); --accent-hover: var(--v3); --accent-text: var(--v3); --on-accent: #111113;
    --tint: color-mix(in srgb, #7441e0 18%, #19191c); --tint-text: var(--v2);
    --ok: #7fd8ab; --ok-bg: #163326;
    --notice-bg: color-mix(in srgb, #ecbb00 14%, #19191c); --notice-border: color-mix(in srgb, #ecbb00 35%, #19191c);
    --shadow-sm: 0 0 0 1px var(--border); --shadow-md: 0 0 0 1px var(--border), 0 12px 28px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 0 0 1px var(--border), 0 26px 64px -22px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #111113; --surface: #19191c; --surface-2: #222226;
  --border: #2f2f34; --border-2: #45454c;
  --text: #ededef; --text-2: #a8a8b0; --text-3: #7c7c85;
  --accent: var(--v4); --accent-hover: var(--v3); --accent-text: var(--v3); --on-accent: #111113;
  --tint: color-mix(in srgb, #7441e0 18%, #19191c); --tint-text: var(--v2);
  --ok: #7fd8ab; --ok-bg: #163326;
  --notice-bg: color-mix(in srgb, #ecbb00 14%, #19191c); --notice-border: color-mix(in srgb, #ecbb00 35%, #19191c);
  --shadow-sm: 0 0 0 1px var(--border); --shadow-md: 0 0 0 1px var(--border), 0 12px 28px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 0 0 1px var(--border), 0 26px 64px -22px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--page); color: var(--text); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: .18em; }
h1, h2, h3, h4 { color: var(--text); font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
code { font-family: var(--mono); font-size: .86em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 5px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--v2); color: #1a1625; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 20; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* ── header: like the signed-in SSO top bar ─────────────────────────────── */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex: none; }
.brand svg { width: 32px; height: 32px; flex: none; }
.wordmark { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: 1.6rem; line-height: 1; }
.nav { display: flex; gap: 4px; margin-left: 16px; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav-extra { display: none; }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text-2); cursor: pointer; padding: 0; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; }
.theme-btn svg { display: none; }
.theme-btn[data-mode="auto"] .i-auto, .theme-btn[data-mode="light"] .i-light, .theme-btn[data-mode="dark"] .i-dark { display: block; }
.lang { font: 600 .8rem/1 var(--body); letter-spacing: .04em; color: var(--text-2); text-decoration: none; border: 1px solid var(--border); border-radius: 10px; height: 38px; padding: 0 11px; display: inline-flex; align-items: center; }
.lang:hover { color: var(--text); background: var(--surface-2); }
.signin { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 8px; }
.signin:hover { color: var(--text); background: var(--surface-2); }

/* ── buttons: Mantine buttons in the app (radius md, weight 600) ────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--body); text-decoration: none; border-radius: 10px; padding: 14px 20px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-p { background: var(--accent); color: var(--on-accent); }
.btn-p:hover { background: var(--accent-hover); }
.btn-s { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-s:hover { border-color: var(--border-2); background: var(--surface-2); }
.btn-w { background: #fff; color: var(--v8); }
.btn-w:hover { background: var(--v0); }
.btn-ghost-w { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-w:hover { background: rgba(255,255,255,.16); }
.btn-sm { padding: 0 14px; height: 38px; font-size: .92rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ── hero: the violet brand panel of the sign-in page, full width ───────── */
.hero { position: relative; overflow: hidden; background: var(--brand-grad); color: #fff; padding-block: 80px 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 85% 0%, rgba(254,206,43,.16), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(187,163,253,.25), transparent 70%); }
.hero::after { content: ""; position: absolute; right: -160px; top: -60px; width: 640px; height: 640px; z-index: -1; background: url("hubra-mark-white.svg") center / contain no-repeat; opacity: .06; pointer-events: none; }
.hero-copy { max-width: 760px; margin-inline: auto; text-align: center; display: grid; justify-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); padding: 6px 14px 6px 8px; border-radius: 999px; text-decoration: none; }
.pill b { background: var(--gold); color: #1a1625; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; }
.pill:hover { background: rgba(255,255,255,.16); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { font-size: clamp(1.1rem, 2vw, 1.25rem); color: rgba(255,255,255,.86); margin-top: 22px; max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.86); font-size: .95rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.hero-shot { margin-top: 64px; margin-bottom: -2px; position: relative; }
.hero-shot .app { border-radius: 16px 16px 0 0; border-bottom: 0; box-shadow: 0 -10px 60px -20px rgba(10,5,30,.55); }

/* ── app mock: the club app shell (sidebar, top bar, cards) ─────────────── */
.app { background: var(--page); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; color: var(--text); font-size: 14px; line-height: 1.45; text-align: left; box-shadow: var(--shadow-lg); }
.app-bar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.app-bar .dots { display: flex; gap: 6px; }
.app-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.app-url { flex: 1; max-width: 320px; margin-inline: auto; background: var(--surface-2); border-radius: 8px; padding: 6px 12px; font: 500 12px/1 var(--mono); color: var(--text-3); text-align: center; }
.app-main { display: grid; grid-template-columns: 220px 1fr; min-height: 420px; }
.app-side { background: color-mix(in srgb, var(--v0) 55%, var(--surface)); border-right: 1px solid var(--border); padding: 16px 12px; display: grid; align-content: start; gap: 2px; }
:root[data-theme="dark"] .app-side { background: #151517; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app-side { background: #151517; } }
.club { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; font-weight: 700; font-family: var(--display); font-size: 15px; }
.club i { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #1f9d57, #14713e); display: grid; place-items: center; color: #fff; font-style: normal; font-size: 13px; }
.side-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding: 12px 10px 4px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--text-2); font-weight: 500; }
.side-item svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.side-item.on { background: var(--tint); color: var(--tint-text); font-weight: 600; }
.side-item .n { margin-left: auto; background: var(--gold); color: #1a1625; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 7px; }
.app-content { padding: 22px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-head h3 { font-size: 22px; }
.app-head .sub { color: var(--text-2); font-size: 13px; }
.mbtn { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--body); border-radius: 8px; padding: 9px 12px; background: var(--accent); color: var(--on-accent); white-space: nowrap; }
.mbtn.s { background: var(--tint); color: var(--tint-text); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.stat span { color: var(--text-2); font-size: 12px; }
.stat b { display: block; font: 700 22px/1.2 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.stat small { color: var(--ok); font-weight: 600; font-size: 12px; }
.cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card h4 { font-size: 15px; }
.row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.row + .row { border-top: 1px solid var(--border); padding-top: 10px; }
.row .grow { flex: 1; min-width: 0; }
.row .grow b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .grow span { color: var(--text-2); font-size: 12px; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.date { width: 40px; flex: none; text-align: center; border: 1px solid var(--border); border-radius: 8px; padding: 3px 0; }
.date small { display: block; font-size: 10px; text-transform: uppercase; color: var(--accent-text); font-weight: 700; letter-spacing: .04em; }
.date b { font: 700 16px/1.1 var(--display); }
.badge { display: inline-flex; align-items: center; font: 600 11px/1 var(--body); border-radius: 6px; padding: 5px 7px; white-space: nowrap; }
.b-ok { background: var(--ok-bg); color: var(--ok); }
.b-v { background: var(--tint); color: var(--tint-text); }
.b-g { background: var(--gold); color: #1a1625; }
.b-n { background: var(--surface-2); color: var(--text-2); }
.bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 12.5px; letter-spacing: -.02em; }

/* ── sections ───────────────────────────────────────────────────────────── */
section { padding-block: 96px; }
.sec-head { display: grid; gap: 14px; max-width: 46em; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.sec-head p { color: var(--text-2); font-size: 1.12rem; }
.band { background: var(--surface); border-block: 1px solid var(--border); }

.proof { padding-block: 40px; border-bottom: 1px solid var(--border); background: var(--surface); }
.proof .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; color: var(--text-2); font-size: 1rem; text-align: center; }
.proof b { color: var(--text); }
.proof .sep { width: 1px; height: 22px; background: var(--border); }

/* product tour */
.tour { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.tour-tabs { display: grid; gap: 8px; }
.tour-tab { display: grid; gap: 4px; text-align: left; width: 100%; background: transparent; border: 1px solid transparent; border-radius: 12px; padding: 16px 18px; color: var(--text-2); font: inherit; cursor: pointer; }
.tour-tab b { font: 700 1.12rem/1.25 var(--display); color: var(--text); display: flex; align-items: center; gap: 10px; }
.tour-tab b svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tour-tab span { font-size: .95rem; }
.tour-tab:hover { background: var(--surface); border-color: var(--border); }
.tour-tab[aria-selected="true"] { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-sm); }
.tour-tab[aria-selected="true"] b { color: var(--accent-text); }
.tour-panel .app-main { grid-template-columns: 1fr; min-height: 0; }
.tour-panel[hidden] { display: none; }
.js .tour-panels { position: sticky; top: 96px; }
:root:not(.js) .tour-tabs { display: none; }
:root:not(.js) .tour { grid-template-columns: 1fr; }
:root:not(.js) .tour-panel { display: block; margin-bottom: 24px; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.feat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: grid; align-content: start; gap: 10px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.feat:hover { border-color: var(--border-2); box-shadow: var(--shadow-md); }
.band .feat { background: var(--page); }
.feat h3 { font-size: 1.2rem; }
.feat p { color: var(--text-2); font-size: .98rem; }
.ico { width: 42px; height: 42px; border-radius: 12px; background: var(--tint); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 4px; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tag { justify-self: start; font: 600 .7rem/1 var(--body); letter-spacing: .05em; text-transform: uppercase; border-radius: 6px; padding: 5px 8px; background: var(--tint); color: var(--tint-text); }
.tag.new { background: var(--gold); color: #1a1625; }
.feat.more { border-style: dashed; background: transparent; }
.band .feat.more { background: transparent; }
.feat a.more-link { font-weight: 600; text-decoration: none; }
.feat a.more-link:hover { text-decoration: underline; }

/* members: phone mock + list */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.points { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; }
.points li::before { content: ""; width: 30px; height: 30px; border-radius: 9px; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237441e0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat; }
.points b { display: block; font-family: var(--display); font-size: 1.1rem; color: var(--text); margin-bottom: 2px; }
.points span { color: var(--text-2); }
.phone { width: 300px; max-width: 100%; margin-inline: auto; border-radius: 40px; padding: 10px; background: #1a1625; box-shadow: var(--shadow-lg); }
.phone-screen { border-radius: 31px; overflow: hidden; background: var(--page); font-size: 13px; color: var(--text); }
.phone-top { height: 34px; display: flex; justify-content: center; align-items: center; }
.phone-top i { width: 90px; height: 22px; border-radius: 99px; background: #1a1625; }
.phone-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px 12px; border-bottom: 1px solid var(--border); background: var(--surface); }
.phone-body { padding: 14px; display: grid; gap: 10px; }
.push { background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--border); border-radius: 16px; padding: 10px 12px; display: grid; grid-template-columns: 28px 1fr; gap: 10px; box-shadow: var(--shadow-md); }
.push img { width: 28px; height: 28px; border-radius: 7px; }
.push b { font-size: 12.5px; }
.push p { font-size: 12px; color: var(--text-2); }
.switcher { display: grid; gap: 6px; }
.switcher .row { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px; }
.switcher .row + .row { border-top: 1px solid var(--border); padding-top: 8px; }

/* security band: violet like the hero */
.secure { background: var(--brand-grad); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.secure::after { content: ""; position: absolute; left: -140px; bottom: -180px; width: 560px; height: 560px; z-index: -1; background: url("hubra-mark-white.svg") center / contain no-repeat; opacity: .06; }
.secure .sec-head h2 { color: #fff; }
.secure .sec-head p { color: rgba(255,255,255,.82); }
.secure .eyebrow { color: var(--gold); }
.secure .grid { gap: 14px; }
.secure .feat { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); backdrop-filter: blur(4px); }
.secure .feat:hover { border-color: rgba(255,255,255,.3); box-shadow: none; }
.secure .feat h3 { color: #fff; }
.secure .feat p { color: rgba(255,255,255,.8); }
.secure .ico { background: rgba(254,206,43,.16); color: var(--gold); }
.secure .links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 800 1.2rem/1 var(--display); }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--text-2); }

/* pricing */
.price { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.price > div { padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; align-content: start; }
.price > div + div { background: var(--surface-2); border-left: 1px solid var(--border); }
.price h3 { font-size: 1.6rem; }
.price .big { font: 800 clamp(2.2rem, 4vw, 2.8rem)/1 var(--display); letter-spacing: -.03em; color: var(--text); }
.price .big small { font: 500 1rem/1 var(--body); color: var(--text-2); letter-spacing: 0; }
.price p { color: var(--text-2); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--text); }
.checks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d57' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 840px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font: 700 1.08rem/1.35 var(--display); color: var(--text); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--text-2); padding-bottom: 20px; }

/* closing call to action */
.cta-band { padding-top: 0; }
.cta-card { background: var(--brand-grad); color: #fff; border-radius: 24px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-card::after { content: ""; position: absolute; right: -50px; bottom: -80px; width: 300px; height: 300px; z-index: -1; background: url("hubra-mark-white.svg") center / contain no-repeat; opacity: .12; }
.cta-card h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.cta-card p { color: rgba(255,255,255,.85); font-size: 1.12rem; margin-top: 12px; max-width: 34em; }
.cta-card .cta { margin-top: 0; justify-content: flex-start; }

/* footer */
.foot { border-top: 1px solid var(--border); background: var(--surface); padding-block: 56px 32px; color: var(--text-2); font-size: .94rem; }
.foot .wrap { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .brand svg { width: 28px; height: 28px; }
.foot-brand .wordmark { font-size: 1.4rem; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot h2 { font: 600 .78rem/1 var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-3); font-size: .88rem; }

/* ── legal pages ────────────────────────────────────────────────────────── */
.doc-hero { background: var(--brand-grad); color: #fff; padding-block: 56px 48px; position: relative; overflow: hidden; isolation: isolate; }
.doc-hero::after { content: ""; position: absolute; right: -80px; top: -60px; width: 360px; height: 360px; z-index: -1; background: url("hubra-mark-white.svg") center / contain no-repeat; opacity: .08; }
.doc-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; }
.doc-hero p { color: rgba(255,255,255,.85); margin-top: 12px; max-width: 44em; font-size: 1.08rem; }
.doc-hero .crumbs { font-size: .9rem; margin-bottom: 14px; color: rgba(255,255,255,.75); }
.doc-hero .crumbs a { color: #fff; }
.doc { padding-block: 48px 96px; }
.doc .wrap { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; justify-content: center; }
.toc { position: sticky; top: 96px; align-self: start; font-size: .92rem; }
.toc h2 { font: 600 .78rem/1 var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--border); }
.toc a { display: block; color: var(--text-2); text-decoration: none; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--border-2); }
.toc a.on { color: var(--accent-text); border-left-color: var(--accent); font-weight: 600; }
.prose { min-width: 0; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 1.45rem; margin-top: 44px; padding-top: 4px; }
.prose h3 { font-size: 1.12rem; margin-top: 28px; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { color: var(--text); font-weight: 600; background: var(--surface-2); white-space: nowrap; }
.prose td { color: var(--text-2); }
.prose .meta { color: var(--text-3); font-size: .92rem; }
.notice { background: var(--notice-bg); border: 1px solid var(--notice-border); border-radius: 12px; padding: 16px 18px; color: var(--text); display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.notice svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notice p { color: var(--text); }
.notice p + p { margin-top: 6px; }
.todo { background: var(--gold); color: #1a1625; padding: 1px 6px; border-radius: 5px; font-weight: 600; font-size: .9em; }
.summary { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }
.summary h2 { margin-top: 0 !important; font-size: 1.15rem; }
.summary ul { margin-top: 10px; }
.lost { padding-block: 120px; text-align: center; }
.lost .wrap { display: grid; gap: 18px; justify-items: center; }
.lost h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
.lost p { color: var(--text-2); }

/* ── responsive ─────────────────────────────────────────────────────────── */
.hero .wrap > *, .split > *, .grid > *, .tour > *, .cols > *, .price > *, .cta-card > * { min-width: 0; }
@media (max-width: 1080px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .tour { grid-template-columns: 1fr; }
  .tour-tabs { grid-template-columns: repeat(2, 1fr); }
  .js .tour-panels { position: static; }
  .app-main { grid-template-columns: 180px 1fr; }
}
@media (max-width: 960px) {
  .js .menu-btn { display: inline-grid; }
  .signin { display: none; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; margin: 0; flex-direction: column; gap: 2px; padding: 12px 16px 16px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1rem; }
  .nav-extra { display: grid; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .split, .price, .cta-card { grid-template-columns: 1fr; }
  .price > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr; }
  .doc .wrap { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
  .app-side { display: none; }
  .app-main { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top .btn, .top .lang { display: none; }
  .hero { padding-top: 56px; }
  .hero-shot { margin-top: 44px; }
  section { padding-block: 64px; }
  .grid, .grid.four, .tour-tabs, .foot-cols { grid-template-columns: 1fr 1fr; }
  .grid, .grid.four, .tour-tabs { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr; }
  .app-content { padding: 14px; }
  .proof .sep { display: none; }
  .foot-base { flex-direction: column; }
  .cta .btn { flex: 1 1 100%; }
}

/* ── multi-page: page heroes, link cards, active nav ────────────────────── */
.page-hero { padding-block: 64px 56px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 3.8rem); max-width: 18em; }
.page-hero p { font-size: 1.15rem; }
.nav a[aria-current="page"] { color: var(--accent-text); background: var(--tint); font-weight: 600; }
.link-card { text-decoration: none; color: inherit; }
.link-card:hover { transform: translateY(-2px); }
.link-card h3 { color: var(--text); }
.more-link { color: var(--accent-text); font-weight: 600; text-decoration: none; margin-top: 4px; }
a.more-link:hover { text-decoration: underline; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .grid.two { grid-template-columns: 1fr; } }

/* ── pricing plans and add-ons from the public API ──────────────────────── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 32px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; display: grid; align-content: start; gap: 12px; box-shadow: var(--shadow-sm); }
.plan.hi { border: 2px solid var(--accent); box-shadow: var(--shadow-md); }
.plan h3 { font-size: 1.35rem; }
.plan .plan-desc, .plan .plan-year { color: var(--text-2); }
.plan .big { font: 800 2.2rem/1 var(--display); letter-spacing: -.03em; color: var(--text); }
.plan .big small { font: 500 1rem/1 var(--body); color: var(--text-2); letter-spacing: 0; }
.plan .checks { margin-block: 4px 8px; }
.plan .btn { justify-self: start; margin-top: auto; }
.addons { margin-top: 32px; display: grid; gap: 8px; }
.addons > p { color: var(--text-2); }
.addon-list { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; }
.addon-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; }
.addon-list li + li { border-top: 1px solid var(--border); }
.addon-list li div { display: grid; gap: 2px; min-width: 0; }
.addon-list li div span { color: var(--text-2); font-size: .94rem; }
.addon-price { font-weight: 600; white-space: nowrap; }
.plugin-price { font-weight: 600; color: var(--accent-text); }
