/* ==========================================================
   Notiq — landing page
   ========================================================== */

:root {
  --bg: #0a0d1a;
  --bg-2: #0f1426;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1fb;
  --muted: #9aa3bf;
  --dim: #6b7391;

  --yellow: #fcc803;
  --yellow-2: #ffe066;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --purple: #a855f7;
  --purple-2: #c084fc;
  --green: #34d399;
  --amber: #f59e0b;
  --red: #f43f5e;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", var(--font);
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle grid texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

a { color: var(--blue-2); text-decoration: none; }
a:hover { color: #fff; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }

kbd {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78em;
  padding: 0.1em 0.5em;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  color: var(--text);
  line-height: 1.5;
}

code { font-family: var(--mono); font-size: 0.88em; background: var(--surface-2); padding: 0.1em 0.4em; border-radius: 5px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 32px); }

.grad {
  background: linear-gradient(100deg, var(--yellow-2), var(--yellow) 55%, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; border-radius: 999px;
  padding: 10px 18px; font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--yellow-2), var(--yellow));
  color: #1a1400;
  box-shadow: 0 10px 30px -10px rgba(252,200,3,.65), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-primary:hover { color: #1a1400; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(252,200,3,.8), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost { color: var(--text); border-color: var(--border-strong); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 13, 26, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 0.93rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff;
}
.brand-mark { width: 32px; height: 32px; display: block; flex: none; filter: drop-shadow(0 6px 14px rgba(252,200,3,.28)); }
.brand-mark.big { width: 72px; height: 72px; margin: 0 auto 26px; }
.brand-word { font-family: "Nunito", var(--display); font-weight: 900; font-size: 1.4rem; letter-spacing: -0.01em; line-height: 1; display: flex; flex-direction: column; }
.brand-word small { font-family: var(--font); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.02em; color: var(--muted); margin-top: 3px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 140px 0 70px; }
.hero-glow {
  position: absolute; inset: -10% -10% auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 420px at 75% 30%, rgba(99,102,241,.28), transparent 70%),
    radial-gradient(520px 380px at 18% 12%, rgba(252,200,3,.14), transparent 70%),
    radial-gradient(400px 300px at 90% 70%, rgba(168,85,247,.2), transparent 70%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong);
  font-size: 0.82rem; color: var(--muted); font-weight: 500;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; margin: 22px 0 22px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 0.92rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: "✓"; color: var(--green); font-weight: 700; }
.hero-facts strong { color: var(--text); font-weight: 600; }

/* ---------- Desktop mock ---------- */
.desktop {
  --cycle: 10s;
  position: relative; aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 0 0 8px rgba(255,255,255,.025);
  isolation: isolate;
}
.desk-wall {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 20% 80%, #1e3a8a 0%, transparent 50%),
    radial-gradient(circle at 70% 20%, #4c1d95 0%, transparent 55%),
    linear-gradient(160deg, #111a3a, #0b1024);
}
.desk-window {
  position: absolute; border-radius: 10px; background: rgba(20, 26, 48, .82);
  border: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 40px -12px rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
}
.w1 { left: 6%; top: 10%; width: 52%; height: 56%; }
.w2 { left: 22%; top: 46%; width: 40%; height: 42%; }
.win-bar { height: 22px; display: flex; gap: 5px; justify-content: flex-end; align-items: center; padding: 0 8px; border-bottom: 1px solid rgba(255,255,255,.06); }
.win-bar span { width: 8px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.18); }
.win-lines { padding: 14px; display: grid; gap: 9px; }
.win-lines i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.1); }
.win-chart { display: flex; align-items: flex-end; gap: 8%; height: calc(100% - 22px); padding: 14px 16px; }
.win-chart b { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, rgba(96,165,250,.7), rgba(96,165,250,.15)); }

.edge-strip {
  position: absolute; right: 0; top: 14%; bottom: 14%; width: 4px; border-radius: 4px 0 0 4px;
  background: var(--blue); box-shadow: 0 0 12px var(--blue);
  animation: strip var(--cycle) ease-in-out infinite;
}
.cursor {
  position: absolute; width: 22px; height: 22px; left: 40%; top: 40%; z-index: 5;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.5));
  animation: cursor var(--cycle) ease-in-out infinite;
}
.cursor svg { width: 100%; height: 100%; }

.sidebar {
  position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: 4;
  background: linear-gradient(180deg, rgba(17, 22, 42, .94), rgba(12, 16, 32, .96));
  backdrop-filter: blur(18px);
  border-left: 1px solid rgba(255,255,255,.12);
  box-shadow: -30px 0 60px -20px rgba(0,0,0,.7);
  padding: 12px; display: flex; flex-direction: column; gap: 9px;
  font-size: 11px; overflow: hidden;
  transform: translateX(102%);
  animation: sidebar var(--cycle) cubic-bezier(.7,0,.2,1) infinite;
}
.sb-head { display: flex; align-items: center; justify-content: space-between; }
.sb-title { font-family: var(--display); font-weight: 800; font-size: 13px; }
.sb-icons { display: flex; gap: 6px; }
.sb-icons i { width: 16px; height: 16px; border-radius: 5px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-style: normal; font-size: 9px; }
.sb-icons .ic-ai { background: linear-gradient(135deg, var(--purple), #7c3aed); color: #fff; box-shadow: 0 0 10px rgba(168,85,247,.7); }
.sb-chips { display: flex; gap: 5px; }
.sb-chips span { padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); font-size: 9.5px; }
.sb-chips .on { background: rgba(59,130,246,.25); color: #cfe0ff; }

.today { border-radius: 10px; padding: 8px 9px; background: rgba(59,130,246,.09); border: 1px solid rgba(59,130,246,.25); display: grid; gap: 5px; }
.today-h { font-weight: 700; font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-2); }
.today-row { display: flex; align-items: center; gap: 6px; color: #d7dcf0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.badge { font-size: 8.5px; font-weight: 700; padding: 1px 6px; border-radius: 999px; flex: none; }
.badge.red { background: rgba(244,63,94,.18); color: #fda4af; }
.badge.amber { background: rgba(245,158,11,.18); color: #fcd34d; }

.note { border-radius: 10px; padding: 8px 10px; }
.n-title { font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.n-yellow { background: linear-gradient(160deg, #fde68a, #fbbf24); color: #422006; }
.chk { display: flex; align-items: center; gap: 6px; }
.chk::before { content: ""; width: 9px; height: 9px; border-radius: 3px; border: 1.5px solid rgba(66,32,6,.55); flex: none; }
.chk.done { text-decoration: line-through; opacity: .6; }
.chk.done::before { background: #422006; border-color: #422006; }
.n-code { background: #0b0f1e; border: 1px solid rgba(255,255,255,.1); }
.n-code code { display: block; background: none; padding: 0; font-size: 9.5px; color: #c9d1e9; line-height: 1.55; }
.n-code .k { color: #c084fc; } .n-code .s { color: #34d399; }
.tag { font-family: var(--mono); font-size: 8.5px; padding: 1px 5px; border-radius: 4px; background: rgba(96,165,250,.2); color: var(--blue-2); }
.n-secret { background: rgba(168,85,247,.12); border: 1px dashed rgba(168,85,247,.45); color: #e9d5ff; display: flex; align-items: center; gap: 6px; }

@keyframes cursor {
  0%   { left: 38%; top: 38%; }
  22%  { left: calc(100% - 16px); top: 44%; }
  34%  { left: calc(100% - 16px); top: 44%; }
  46%  { left: 74%; top: 30%; }
  62%  { left: 70%; top: 60%; }
  76%  { left: 72%; top: 58%; }
  90%  { left: 38%; top: 38%; }
  100% { left: 38%; top: 38%; }
}
@keyframes sidebar {
  0%, 30%  { transform: translateX(102%); }
  38%, 80% { transform: translateX(0); }
  88%, 100% { transform: translateX(102%); }
}
@keyframes strip {
  0%, 20% { opacity: .55; width: 4px; }
  26%, 32% { opacity: 1; width: 6px; box-shadow: 0 0 22px 2px var(--blue); }
  38%, 86% { opacity: 0; }
  92%, 100% { opacity: .55; width: 4px; }
}

/* ---------- Ways ---------- */
.ways {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  margin-top: 20px;
}
.way { display: flex; gap: 16px; padding: 26px; background: var(--bg-2); }
.way h3 { font-size: 1rem; margin-bottom: 4px; }
.way p { color: var(--muted); font-size: 0.92rem; }
.way-ic {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(59,130,246,.12); color: var(--blue-2); border: 1px solid rgba(59,130,246,.25);
}
.way-ic svg { width: 24px; height: 24px; }
.kbd-ic { width: auto; padding: 0 10px; display: flex; gap: 3px; }
.kbd-ic kbd { font-size: 10px; padding: 1px 5px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--blue-2); margin-bottom: 16px;
}
.eyebrow.purple { color: var(--purple-2); }
.eyebrow.green { color: var(--green); }
.lead-sm { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; border-radius: var(--radius); padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 24px; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, -20%), rgba(99,102,241,.14), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { border-color: var(--border-strong); }
.card:hover::after { opacity: 1; }
.card.span-2 { grid-column: span 2; }
.card-copy p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }
.card-copy h3 { display: flex; align-items: center; gap: 10px; }

.types { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: auto; }
.type {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px; border-radius: 14px;
  background: color-mix(in srgb, var(--c) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  font-size: 0.82rem; font-weight: 600; color: var(--text);
  transition: transform .25s;
}
.type:hover { transform: translateY(-4px); }
.type span { font-size: 1.35rem; color: var(--c); font-family: var(--mono); font-weight: 700; line-height: 1; }

.alert-mock { margin-top: auto; border-radius: 14px; padding: 14px; background: #fde68a; color: #422006; box-shadow: 0 16px 30px -12px rgba(251,191,36,.45); animation: nudge 3.2s ease-in-out infinite; }
.alert-top { display: flex; align-items: center; gap: 10px; }
.alert-top small { display: block; font-size: 0.75rem; opacity: .7; }
.bell { font-size: 1.3rem; display: inline-block; animation: ring 3.2s ease-in-out infinite; }
.alert-btns { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.alert-btns span { font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(66,32,6,.1); }
.alert-btns .b-primary { background: #422006; color: #fde68a; }
@keyframes nudge { 0%, 70%, 100% { transform: translateX(0); } 74% { transform: translateX(-4px); } 78% { transform: translateX(4px); } 82% { transform: translateX(-2px); } }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-18deg); } 78% { transform: rotate(16deg); } 82% { transform: rotate(-8deg); } }

.mini-today { margin-top: auto; display: grid; gap: 8px; }
.mt-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: 0.88rem; }
.mt-row i { width: 4px; align-self: stretch; border-radius: 4px; background: var(--c); }
.mt-row span { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.mt-row.past { opacity: .45; }
.mt-row .badge { font-size: 0.68rem; padding: 2px 8px; }

.pin { margin-top: auto; display: flex; justify-content: center; gap: 14px; padding: 18px; border-radius: 14px; background: rgba(168,85,247,.08); border: 1px solid rgba(168,85,247,.25); }
.pin span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--purple-2); }
.pin .filled { background: var(--purple-2); box-shadow: 0 0 12px rgba(192,132,252,.7); }
.pin span:last-child { animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { border-color: transparent; } }

.meeting { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.meeting .card-copy { grid-column: 1; }
.meeting .wave { grid-column: 2; grid-row: 1; }
.meeting .summary { grid-column: 1 / -1; }
.rec { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(244,63,94,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(244,63,94,0); } 100% { box-shadow: 0 0 0 0 rgba(244,63,94,0); } }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 100%; min-height: 90px; }
.wave i { width: 4px; border-radius: 4px; background: linear-gradient(180deg, #fb7185, var(--purple)); height: 20%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.7s; } .wave i:nth-child(4n) { animation-delay: -.5s; animation-duration: 1s; } .wave i:nth-child(5n) { animation-delay: -.9s; animation-duration: 1.4s; }
@keyframes wave { 0%, 100% { height: 15%; } 50% { height: 85%; } }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.summary > div { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.summary b { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--purple-2); }
.summary p { color: #d7dcf0; font-size: 0.9rem; margin-top: 4px; }

.ring { position: relative; width: 150px; height: 150px; margin: auto auto 0; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ring .track { stroke: rgba(255,255,255,.07); }
.ring .prog { stroke: var(--blue-2); stroke-dasharray: 314; stroke-dashoffset: 314; animation: fill 6s ease-in-out infinite alternate; filter: drop-shadow(0 0 6px rgba(96,165,250,.7)); }
@keyframes fill { to { stroke-dashoffset: 100; } }
.ring-t { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-t b { font-family: var(--mono); font-size: 1.5rem; }
.ring-t small { color: var(--muted); font-size: 0.75rem; }

.voice { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.voice .mic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(244,63,94,.15); border: 1px solid rgba(244,63,94,.4); }
.voice .quote { font-style: italic; color: #d7dcf0; font-size: 0.9rem; }
.voice .arrow { color: var(--dim); }
.voice .result { font-size: 0.82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(52,211,153,.14); color: var(--green); }

.search-mock { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-strong); font-size: 0.95rem; }
.caret { width: 2px; height: 1.1em; background: var(--blue-2); animation: blink 1s steps(2) infinite; margin-left: -6px; }

/* ---------- AI ---------- */
.ai::before {
  content: ""; position: absolute; inset: 10% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 400px at 70% 50%, rgba(168,85,247,.16), transparent 70%);
}
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: var(--muted); }
.ticks li::before {
  content: "✦"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  font-size: 11px; background: rgba(168,85,247,.16); color: var(--purple-2);
}
.ticks b { color: var(--text); font-weight: 600; }
.providers { display: flex; flex-wrap: wrap; gap: 8px; }
.providers span { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 0.85rem; color: var(--text); background: var(--surface); }
.providers .local { border-color: rgba(52,211,153,.4); color: var(--green); background: rgba(52,211,153,.07); }

.chat {
  border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(180deg, rgba(23, 18, 48, .9), rgba(14, 14, 32, .95));
  border: 1px solid rgba(168,85,247,.28);
  box-shadow: var(--shadow), 0 0 80px -30px rgba(168,85,247,.6);
}
.chat-head { display: flex; align-items: center; gap: 10px; font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.chat-head small { margin-left: auto; font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.ai-badge { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--purple), #7c3aed); box-shadow: 0 0 18px rgba(168,85,247,.7); }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 16px; font-size: 0.93rem; line-height: 1.55; }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--blue), #6366f1); border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 5px; color: #dfe3f3; }
.chip { display: inline-block; padding: 1px 9px; margin: 2px 0; border-radius: 999px; font-size: 0.82rem; font-weight: 600; background: rgba(251,191,36,.15); color: #fcd34d; border: 1px solid rgba(251,191,36,.35); white-space: nowrap; }
.chat-input { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border-strong); color: var(--dim); font-size: 0.9rem; }
.chat-input i { font-style: normal; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--purple); color: #fff; }

/* ---------- Privacy ---------- */
.privacy-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 22px; align-items: start; }
.priv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat b { display: block; font-family: var(--display); font-size: 2.4rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, #6ee7b7, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 8px; }
.table-wrap { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 14px 18px; vertical-align: top; }
th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 700; background: rgba(255,255,255,.025); }
td { border-top: 1px solid var(--border); color: #d7dcf0; }
td:first-child { color: var(--text); font-weight: 500; }
td:last-child { color: var(--muted); white-space: nowrap; }
.table-note { padding: 14px 18px; border-top: 1px solid var(--border); color: var(--green); font-size: 0.88rem; background: rgba(52,211,153,.05); }

/* ---------- What's new ---------- */
.new-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.new-item { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.new-item span { font-size: 1.6rem; display: block; margin-bottom: 14px; }
.new-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.new-item p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Shortcuts ---------- */
.shortcuts-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.keys { list-style: none; margin: 0; padding: 0; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.keys li { display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--border); color: #d7dcf0; }
.keys li:first-child { border-top: 0; }
.keys li span { display: flex; gap: 5px; flex-wrap: wrap; }
.keys em { font-style: normal; font-size: 0.75rem; color: var(--dim); padding: 2px 9px; border-radius: 999px; border: 1px solid var(--border); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-tools { display: grid; gap: 16px; margin-bottom: 28px; }
.faq-search { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.faq-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
.faq-search input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); font: inherit; padding: 15px 0; }
.faq-search input::placeholder { color: var(--dim); }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-tabs button {
  font: inherit; font-size: 0.86rem; font-weight: 500; cursor: pointer; color: var(--muted);
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--border); background: transparent; transition: all .2s;
}
.faq-tabs button:hover { color: #fff; border-color: var(--border-strong); }
.faq-tabs button.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 16px; border: 1px solid var(--border); background: var(--surface); transition: border-color .2s, background .2s; }
.faq-list details[open] { background: var(--surface-2); border-color: var(--border-strong); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s, margin .25s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: 16px; }
.faq-list details > div { padding: 0 22px 20px; color: var(--muted); display: grid; gap: 10px; }
.faq-list details > div b { color: var(--text); font-weight: 600; }
.faq-list ul, .faq-list ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.faq-empty { text-align: center; color: var(--muted); margin-top: 24px; }

/* ---------- CTA ---------- */
.cta-card {
  position: relative; overflow: hidden; text-align: center; padding: 80px 32px;
  border-radius: 32px; border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, #141b3d, #0d1024 60%);
}
.cta-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px 300px at 50% 0%, rgba(252,200,3,.22), transparent 70%), radial-gradient(400px 260px at 80% 100%, rgba(168,85,247,.25), transparent 70%); }
.cta-card > * { position: relative; }
.cta-card p { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 18px auto 34px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 26px 12px 20px; border-radius: 14px;
  background: #000; color: #fff; border: 1px solid rgba(255,255,255,.3); text-align: left;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.store-badge:hover { color: #fff; transform: translateY(-3px); border-color: rgba(255,255,255,.6); box-shadow: 0 20px 40px -14px rgba(252,200,3,.55); }
.store-badge svg { width: 32px; height: 32px; color: var(--yellow); }
.store-badge small { display: block; font-size: 0.72rem; color: #c8cbd8; line-height: 1.2; }
.store-badge b { display: block; font-family: var(--display); font-size: 1.3rem; line-height: 1.2; }
.reqs { list-style: none; padding: 0; margin: 34px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 0.9rem; }
.reqs li::before { content: "•"; color: var(--blue-2); margin-right: 8px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 48px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px 48px; }
.footer p { color: var(--muted); font-size: 0.92rem; margin-top: 10px; }
.footer-help b { font-family: var(--display); }
.copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.84rem !important; color: var(--dim) !important; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .ai-grid, .shortcuts-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 120px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .types { grid-template-columns: repeat(3, 1fr); }
  .privacy-grid { grid-template-columns: 1fr; }
  .priv-stats { grid-template-columns: repeat(4, 1fr); }
  .new-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .section { padding: 84px 0; }
  .ways { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .card.span-2 { grid-column: auto; }
  .meeting { grid-template-columns: 1fr; }
  .meeting .card-copy, .meeting .wave, .meeting .summary { grid-column: auto; grid-row: auto; }
  .summary { grid-template-columns: 1fr; }
  .priv-stats { grid-template-columns: 1fr 1fr; }
  .new-grid { grid-template-columns: 1fr; }
  .keys li { grid-template-columns: 1fr auto; }
  .keys li span { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr; }
  .desktop { aspect-ratio: 4 / 5; }
  .sidebar { width: 64%; }
  .w1 { width: 70%; } .w2 { width: 60%; left: 10%; }
  th, td { padding: 12px 14px; }
  td:last-child { white-space: normal; }
  .cta-card { padding: 60px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sidebar { transform: none; }
  .cursor { left: 50%; top: 50%; }
  .edge-strip { opacity: 0; }
  .reveal { opacity: 1; transform: none; }
}

/* Keep grid children from forcing horizontal overflow on narrow screens */
.hero-grid > *, .ai-grid > *, .shortcuts-grid > *, .privacy-grid > *, .bento > *, .card > * { min-width: 0; }
@media (max-width: 1000px) {
  .hero-grid, .ai-grid, .shortcuts-grid, .privacy-grid { grid-template-columns: minmax(0, 1fr); }
}
