/* Oexta site — shared styles. Colours match the apps' dark theme; light mode follows the OS. */
:root {
  --bg: #111114;
  --bg-2: #16161b;
  --surface: #1b1b21;
  --surface-2: #24242c;
  --border: #2b2b34;
  --border-strong: #3a3a46;
  --text: #ededf2;
  --muted: #9d9daa;
  --accent: #8b93ff;
  --accent-2: #b48cff;
  --accent-ink: #0e0e14;
  --glow: rgba(139, 147, 255, 0.22);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --max: 1120px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f7fb;
    --bg-2: #f0f0f6;
    --surface: #ffffff;
    --surface-2: #f2f2f7;
    --border: #e3e3ea;
    --border-strong: #d0d0da;
    --text: #15151a;
    --muted: #5d5d6b;
    --accent: #5b63e8;
    --accent-2: #8a5be8;
    --accent-ink: #ffffff;
    --glow: rgba(91, 99, 232, 0.14);
    --shadow: 0 30px 70px rgba(30, 30, 60, 0.18);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header / footer */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font: 700 22px/1 var(--font-display); letter-spacing: -0.03em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

.site-footer { border-top: 1px solid var(--border); margin-top: 72px; padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* Type */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 680; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0 0 34px; }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.muted { color: var(--muted); }
.gradient-text {
  background: linear-gradient(100deg, var(--text) 30%, var(--accent) 70%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Sections */
.hero { position: relative; padding: 110px 0 64px; text-align: center; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .actions { justify-content: center; }
.hero.split { text-align: left; padding-top: 88px; }
.hero.split .lead { margin-left: 0; }
.hero.split .actions { justify-content: flex-start; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto 0; height: 620px; z-index: -1;
  background:
    radial-gradient(600px 300px at 50% 30%, var(--glow), transparent 70%),
    radial-gradient(400px 240px at 72% 12%, rgba(180, 140, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.section { padding: 64px 0; }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px;
  font: 600 15px/1 var(--font); border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text);
  transition: transform .15s ease, border-color .15s ease, filter .15s ease;
}
.btn:hover { text-decoration: none; border-color: var(--muted); transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink); border-color: transparent;
  box-shadow: 0 10px 30px var(--glow);
}
.btn-primary:hover { filter: brightness(1.07); border-color: transparent; }
.btn[aria-disabled="true"] { opacity: 0.75; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Showcase image */
.showcase { position: relative; margin: 8px auto 0; max-width: 1040px; }
.showcase::before {
  content: ""; position: absolute; inset: 8% 6% -4% 6%; z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent);
  filter: blur(40px);
}
.showcase img { border-radius: 18px; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.showcase figcaption { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted); }

/* Cards */
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
}
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.icon-chip {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
  margin-bottom: 18px;
}
.icon-chip svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; }

/* Product block */
.product {
  display: grid; gap: 48px; grid-template-columns: 1fr 1.05fr; align-items: center;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: 24px; padding: 48px;
}
.feature { display: grid; gap: 48px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.app-name { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-name img { width: 60px; height: 60px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.app-name h2 { margin: 0; }
.shot { border-radius: var(--radius); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 0 0 30px; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%238b93ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.rec-dot { color: #ff5c6c; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-strong);
  color: var(--muted); background: var(--surface); margin-bottom: 22px;
}
.pill .live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .15); }

/* Long-form pages (privacy, support) */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin-top: 48px; }
.prose h3 { margin-top: 32px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 16px 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; }
.note { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.table-scroll { overflow-x: auto; }

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .product, .feature { grid-template-columns: 1fr; padding: 28px; }
  .feature { padding: 0; }
  .hero { padding: 72px 0 40px; }
  .nav { gap: 18px; }
}
