:root {
  --bg: #f6f6fb;
  --text: #16162a;
  --muted: #6b6b80;
  --accent: #5b5bf6;
  --card: #ffffff;
  --line: rgba(22, 22, 42, 0.08);
  --gradient: linear-gradient(135deg, #4338ca 0%, #5b5bf6 55%, #8b3df0 100%);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d0d1a; --text: #ececf6; --muted: #9a9ab0; --accent: #8181ff; --card: #17172a; --line: rgba(255, 255, 255, 0.08); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; }
code { font-size: 0.9em; background: var(--card); padding: 1px 6px; border-radius: 6px; }
.muted, .small { color: var(--muted); }
.small { font-size: 0.9rem; }

/* Document pages (privacy, support) */
main { max-width: 720px; margin: 0 auto; padding: 40px 20px 64px; }
main h1 { font-size: 2.1rem; margin: 24px 0 8px; }
main h2 { font-size: 1.25rem; margin-top: 36px; }
main h3 { font-size: 1.05rem; margin: 24px 0 4px; }
main footer { margin-top: 48px; font-size: 0.85rem; color: var(--muted); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.brand img { border-radius: 9px; }

/* Landing page */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 14px 20px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
}
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; opacity: 0.8; }
.nav nav a:hover { opacity: 1; }

section { max-width: 1120px; margin: 0 auto; padding: 72px 20px; }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 48px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin: 0; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 12px 0 18px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.button {
  display: inline-block; margin-top: 8px; padding: 15px 28px; border-radius: 16px;
  background: var(--gradient); color: #fff; font-weight: 650; text-decoration: none;
  box-shadow: 0 12px 30px rgba(91, 91, 246, 0.35);
}
.hero-device { display: flex; justify-content: center; position: relative; }
.hero-device::before {
  content: ""; position: absolute; inset: 8% -6% 4%; border-radius: 40%;
  background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.35), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(139, 61, 240, 0.4), transparent 60%);
  filter: blur(40px); z-index: -1;
}
.device {
  width: min(340px, 80vw); border-radius: 46px; padding: 10px; background: #111114;
  box-shadow: 0 30px 70px rgba(15, 10, 60, 0.35), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.device img { border-radius: 37px; }
.device.small { width: min(290px, 72vw); border-radius: 40px; }
.device.small img { border-radius: 31px; }

.features h2, .pricing h2, .privacy-band h2 { text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.5rem); max-width: 20em; margin: 0 auto 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid article { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.grid h3 { margin: 12px 0 6px; font-size: 1.15rem; }
.grid p { margin: 0; color: var(--muted); }
.icon { font-size: 1.6rem; }

.showcase .row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.showcase .row.reverse .device { order: 2; }
.showcase .row .device { justify-self: center; }
.showcase h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 14px; }
.showcase p { color: var(--muted); font-size: 1.1rem; }

.duo { text-align: center; }
.duo h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 10px 0 14px; }
.duo .lead { margin: 0 auto 40px; }
.device.landscape { width: min(860px, 92vw); margin: 0 auto 36px; border-radius: 44px; padding: 12px; }
.device.landscape img { border-radius: 33px; }

.gallery { padding-top: 0; }
.strip { display: flex; gap: 28px; justify-content: center; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 30px; }
.strip .device { flex: 0 0 auto; scroll-snap-align: center; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plans article { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; text-align: center; }
.plans article.featured { border: 2px solid var(--accent); box-shadow: 0 16px 40px rgba(91, 91, 246, 0.18); }
.plans h3 { margin: 0; }
.price { font-size: 2.2rem; font-weight: 800; margin: 10px 0; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plans p { color: var(--muted); }
.pricing .small { text-align: center; margin-top: 18px; }

.privacy-band { text-align: center; }
.privacy-band p { max-width: 40em; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }

.site-footer { max-width: 1120px; margin: 0 auto; padding: 40px 20px 60px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); text-align: center; }

@media (max-width: 860px) {
  .hero, .showcase .row { grid-template-columns: 1fr; gap: 32px; }
  .hero { text-align: center; }
  .hero .lead { margin: 0 auto; }
  .showcase .row.reverse .device { order: 0; }
  .showcase .copy { text-align: center; }
  .grid, .plans { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .strip { justify-content: flex-start; }
  .nav nav { gap: 14px; }
}
