/* site.css: Rhizkit pages, Kinetext app identity, 8px grid, mobile first */
@font-face {
  font-family: "Viga"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/viga.woff2") format("woff2");
}
@font-face {
  font-family: "Funnel Sans"; font-weight: 300 800; font-style: normal; font-display: swap;
  src: url("../fonts/funnel-sans.woff2") format("woff2");
}

:root {
  --bg: #060a14;
  --panel: #0d1424;
  --panel-2: #142038;
  --border: #1d2b4a;
  --text: #eef3fb;
  --text-dim: #8fa0bf;
  --blue: #0251b0;
  --blue-text: #9cc7ff;
  --lime: #d1ff42;
  --on-lime: #06122b;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;
  --radius: 8px;
  --radius-lg: 12px;
  --font-ui: "Funnel Sans", "Segoe UI", system-ui, sans-serif;
  --font-display: "Viga", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-ui);
  overflow-wrap: break-word;
}
img, video { max-width: 100%; display: block; }
a { color: var(--blue-text); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; margin: 0 0 var(--space-2); }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
p { margin: 0 0 var(--space-2); }
ul { margin: 0 0 var(--space-2); padding-left: var(--space-3); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 var(--space-2); }
.narrow { max-width: 720px; }
.section { padding: var(--space-6) 0; }
.section + .section { border-top: 1px solid var(--border); }
.eyebrow { color: var(--blue-text); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--space-1); }
.dim { color: var(--text-dim); }
.small { font-size: 14px; }

/* header */
.site-header { padding: var(--space-2) 0; }
.brand { display: inline-flex; align-items: center; gap: var(--space-1); color: var(--text); text-decoration: none; font-family: var(--font-display); font-size: 20px; }
.brand img { width: 32px; height: 32px; border-radius: var(--radius); }

/* primary action: the only lime element on a page */
.btn-buy {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 48px; padding: var(--space-1) var(--space-3);
  background: var(--lime); color: var(--on-lime);
  border-radius: var(--radius); font-weight: 800; font-size: 18px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-buy:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(209, 255, 66, .25); }
.btn-buy:focus-visible, .btn-secondary:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 3px; }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: var(--space-1) var(--space-3); border: 1px solid var(--blue-text); border-radius: var(--radius);
  background: transparent; color: var(--text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.link-trial { display: inline-block; margin-top: var(--space-1); color: var(--text-dim); font-size: 14px; text-decoration: underline; }
.cta { margin-top: var(--space-3); }
.cta-note { margin-top: var(--space-1); color: var(--text-dim); font-size: 14px; }

/* trial page */
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-3); margin: var(--space-3) 0; }
.panel-title { font-size: 20px; }
.req-line { font-size: 14px; }
.copy-result { margin: var(--space-2) 0 0; color: var(--text); word-break: break-all; user-select: all; }
.btn-buy.btn-buy-small { display: inline-flex; width: auto; min-width: 0; margin-top: var(--space-1); font-size: 16px; }

/* legal pages */
.legal h2 { font-size: 22px; margin-top: var(--space-4); }
.legal li { margin-bottom: var(--space-1); }
.legal code { font-size: 14px; color: var(--blue-text); }

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: var(--space-2) 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: var(--space-2); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue-text); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: var(--space-1) 0 0; color: var(--text-dim); }

/* footer */
.site-footer { padding: var(--space-4) 0 var(--space-6); border-top: 1px solid var(--border); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); margin-bottom: var(--space-2); }
.footer-links a { color: var(--text-dim); font-size: 14px; }

@media (min-width: 600px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .btn-buy { display: inline-flex; width: auto; min-width: 280px; }
  .section { padding: var(--space-8) 0; }
}

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