/* Quintoud landing styles - lightweight, responsive, dark-mode aware */
:root {
  --bg: #0b1220;
  --bg-elev: #0f172a;
  --text: #e5e7eb;
  --muted: #9aa4b2;
  --brand: #2dd4bf;
  --brand-2: #22c55e;
  --accent: #60a5fa;
  --card: #111827;
  --stroke: #1f2937;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --bg-elev: #f8fafc;
    --text: #0b1220;
    --muted: #4b5563;
    --brand: #0ea5e9;
    --brand-2: #22c55e;
    --accent: #2563eb;
    --card: #ffffff;
    --stroke: #e5e7eb;
    --shadow: 0 12px 32px rgba(15,23,42,.08);
  }
}

/* Theme override via [data-theme] set by JS */
[data-theme="light"] {
  --bg: #ffffff;
  --bg-elev: #f8fafc;
  --text: #0b1220;
  --muted: #4b5563;
  --brand: #0ea5e9;
  --brand-2: #22c55e;
  --accent: #2563eb;
  --card: #ffffff;
  --stroke: #e5e7eb;
  --shadow: 0 12px 32px rgba(15,23,42,.08);
}
[data-theme="dark"] {
  --bg: #0b1220;
  --bg-elev: #0f172a;
  --text: #e5e7eb;
  --muted: #9aa4b2;
  --brand: #2dd4bf;
  --brand-2: #22c55e;
  --accent: #60a5fa;
  --card: #111827;
  --stroke: #1f2937;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(45,212,191,.12), transparent 60%),
              radial-gradient(800px 500px at 10% -20%, rgba(96,165,250,.1), transparent 60%),
              var(--bg);
  line-height: 1.5;
}

/* Layout */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: color-mix(in oklab, var(--bg), var(--bg-elev) 50%);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: saturate(1.8) blur(8px);
}
.brand img { display: block; }
.primary-nav { display: none; gap: 18px; }
.primary-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.primary-nav a:hover { color: var(--text); }
.cta { display: flex; align-items: center; gap: 10px; }

@media (min-width: 880px) {
  .primary-nav { display: flex; }
}

.hero {
  padding: 72px 24px 24px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.hero .sub {
  color: var(--muted);
  margin: 0 auto 24px;
  max-width: 800px;
}
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn { --ring: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; text-decoration: none; border-radius: 10px; padding: 10px 14px; border: 1px solid var(--stroke); color: var(--text); }
.btn:hover { border-color: color-mix(in oklab, var(--stroke), var(--brand) 40%); }
.btn:focus { outline: 3px solid color-mix(in oklab, var(--brand), transparent 60%); outline-offset: 2px; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; }
.btn.outline { background: color-mix(in oklab, var(--brand), transparent 90%); border-color: color-mix(in oklab, var(--brand), transparent 70%); color: var(--text); }
.btn.solid { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: #0b1220; }
.btn.xl { padding: 14px 18px; font-size: 1.05rem; }

/* Theme toggle */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--stroke); background: var(--card); cursor: pointer; position: relative;
}
.theme-toggle::before { content: ""; position: absolute; inset: 8px; border-radius: 6px; background: radial-gradient(circle at 60% 40%, #fff8, #0000 60%), linear-gradient(135deg, var(--accent), var(--brand)); }

/* Hero product mock */
.hero-media { margin: 28px auto 8px; max-width: 1100px; }
.window { border-radius: 18px; overflow: clip; background: var(--card); border: 1px solid var(--stroke); box-shadow: var(--shadow); }
.window .chrome { display: flex; align-items: center; gap: 8px; padding: 10px; background: color-mix(in oklab, var(--bg-elev), #ffffff 3%); border-bottom: 1px solid var(--stroke); }
.window .chrome span { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; display: inline-block; }
.window .chrome span:nth-child(2) { background: #f59e0b; }
.window .chrome span:nth-child(3) { background: #22c55e; }
.chrome .url { margin-left: 8px; font-size: 12px; color: var(--muted); }
.viewport { aspect-ratio: 16/9; background: radial-gradient(600px 300px at 60% 0%, rgba(45,212,191,.08), transparent 60%), #0a0f1b; }
.canvas { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.canvas .part { width: 260px; height: 260px; border-radius: 24px; background: conic-gradient(from 180deg at 50% 50%, #2dd4bf 0deg, #60a5fa 120deg, #22c55e 240deg, #2dd4bf 360deg); filter: saturate(0.9) brightness(1.05); box-shadow: 0 30px 80px rgba(0,0,0,.35) inset, 0 10px 24px rgba(0,0,0,.25); transform: rotateX(18deg) rotateY(12deg) rotateZ(-6deg); }
.canvas .hud { position: absolute; right: 18px; top: 18px; display: grid; gap: 10px; }
.hud .tool { width: 44px; height: 44px; border-radius: 10px; background: color-mix(in oklab, var(--card), #ffffff 4%); border: 1px solid var(--stroke); box-shadow: 0 2px 10px rgba(0,0,0,.12); }

.tiny { font-size: 12px; color: var(--muted); }
.trust { margin-top: 8px; }

/* Sections */
section { padding: 56px 24px; }
.section-head { max-width: 900px; margin: 0 auto 18px; text-align: center; }
.section-head h2 { font-size: clamp(22px, 3.6vw, 36px); margin: 0 0 6px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 0; }

.features .grid { max-width: 1100px; margin: 26px auto 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.features article { background: var(--card); border: 1px solid var(--stroke); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.features h3 { margin: 0 0 6px; font-size: 18px; }
.features p { margin: 0; color: var(--muted); }

.security .bullets { max-width: 900px; margin: 18px auto 0; color: var(--muted); }
.security li { margin: 8px 0; }

.pricing .card { max-width: 1100px; margin: 26px auto 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pricing .plan { background: var(--card); border: 1px solid var(--stroke); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); display: grid; align-content: start; gap: 12px; }
.pricing .plan h3 { margin: 0; }
.pricing .price { font-size: 28px; margin: 0; }
.pricing ul { margin: 0; padding-left: 18px; color: var(--muted); }

.cta { padding: 64px 24px 80px; }
.cta-inner { max-width: 900px; margin: 0 auto; text-align: center; background: linear-gradient(180deg, color-mix(in oklab, var(--brand), transparent 85%), transparent 40%), var(--card); border: 1px solid var(--stroke); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.cta .actions { margin-top: 8px; }

.site-footer { border-top: 1px solid var(--stroke); background: color-mix(in oklab, var(--bg), var(--bg-elev) 40%); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 28px 24px; }
.brand-row { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.cols h4 { margin: 0 0 8px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cols a { display: block; color: var(--text); text-decoration: none; margin: 4px 0; }
.cols a:hover { color: var(--accent); }
.legal { margin-top: 18px; color: var(--muted); font-size: 12px; }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

