/* Oninex Studios: one stylesheet for every page */
:root {
  --bg: #07080b;
  --surface: #0e1015;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f4f8;
  --dim: #9aa3b2;
  --faint: #626b7a;
  --green: #3cf08a;
  --cyan: #4fd8ff;
  --magenta: #d46bff;
  --on-accent: #03150a;
  --radius: 20px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

/* the glows and rings behind every page, like the app's backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 100% 0%, rgba(60, 240, 138, 0.16), transparent 45%),
    radial-gradient(circle at 0% 75%, rgba(79, 216, 255, 0.12), transparent 45%),
    radial-gradient(circle at 60% 110%, rgba(212, 107, 255, 0.10), transparent 40%);
}
body::after {
  content: "";
  position: fixed;
  top: -220px;
  right: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.015), 0 0 0 91px rgba(255, 255, 255, 0.05);
  z-index: -1;
  pointer-events: none;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

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

/* ---- header / footer ---- */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: conic-gradient(from 210deg, var(--green), var(--cyan), var(--magenta), var(--green));
  box-shadow: 0 0 18px rgba(60, 240, 138, 0.35);
  display: grid; place-items: center;
}
.brand-mark::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--dim); }
.nav a:hover { color: var(--text); text-decoration: none; }

.site-footer { margin-top: 80px; padding: 28px 0 40px; border-top: 1px solid var(--border); color: var(--faint); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer a { color: var(--dim); }

/* ---- type ---- */
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 7vw, 64px); font-weight: 850; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 750; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--dim); max-width: 620px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.gradient-text {
  background: linear-gradient(90deg, var(--green), var(--cyan) 55%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--dim); }
.small { font-size: 14px; color: var(--faint); }

/* ---- layout pieces ---- */
section { padding: 48px 0; }
.hero { padding: 56px 0 40px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(60, 240, 138, 0.12); color: var(--green); font-size: 20px; margin-bottom: 14px;
}

/* the app tile on the home page */
.app-tile { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.app-icon { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 10px 40px rgba(79, 216, 255, 0.25), 0 0 0 1px var(--border-strong); }
.app-icon.large { width: 148px; height: 148px; border-radius: 34px; }
@media (max-width: 560px) {
  .app-tile { grid-template-columns: 1fr; }
  .app-icon { width: 96px; height: 96px; border-radius: 22px; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; padding: 0; list-style: none; }
.chips li { font-size: 13px; color: var(--dim); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel); }

/* ---- buttons ---- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 750; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, #5af7a0, var(--green) 50%, #22c96c); color: var(--on-accent); box-shadow: 0 6px 24px rgba(60, 240, 138, 0.3); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: var(--panel); }
.btn-ghost:hover { background: var(--panel-strong); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; pointer-events: none; }

/* ---- pricing ---- */
.price { font-size: 30px; font-weight: 850; margin: 6px 0 2px; }
.price span { font-size: 15px; font-weight: 600; color: var(--dim); }
.plan.featured { border-color: rgba(60, 240, 138, 0.55); box-shadow: 0 0 0 1px rgba(60, 240, 138, 0.25), 0 12px 40px rgba(60, 240, 138, 0.1); }
.tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--green); color: var(--on-accent); margin-left: 8px; vertical-align: middle; }
.plan ul { margin: 14px 0 0; padding-left: 18px; color: var(--dim); }
.plan li { margin-bottom: 4px; }

/* ---- long-form text (privacy policy) ---- */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose p, .prose li { color: #c9cfda; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: var(--faint); font-size: 14px; margin-bottom: 28px; }

.notice { font-size: 14px; color: var(--faint); border-left: 2px solid var(--border-strong); padding-left: 14px; }
