/* Bubbleshift website. Dark graphite with soft blue and violet light, like the app and its icon. */
:root {
  --bg: #0b0e14;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f2f4f8;
  --muted: rgba(242, 244, 248, 0.68);
  --accent: #9cc4ff;
  --todo: #ffb86b;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(60rem 40rem at 70% -10%, rgba(80, 120, 230, 0.28), transparent 70%),
    radial-gradient(40rem 30rem at 0% 30%, rgba(140, 90, 210, 0.16), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; display: block; }

.bar, footer {
  max-width: 1120px; margin: 0 auto; padding: 20px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 18px; }
.brand:hover { text-decoration: none; }
nav { display: flex; gap: 20px; font-size: 15px; }
nav a { color: var(--muted); }
footer { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 48px; flex-wrap: wrap; }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.hero { text-align: center; padding: 48px 0 24px; }
.mark { width: 160px; height: 160px; margin: 0 auto 12px; filter: drop-shadow(0 16px 40px rgba(90, 140, 255, 0.35)); }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 16px; }
.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.store {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--text); color: #0b0e14; font-weight: 600; font-size: 16px;
}
.store.soon { background: var(--panel); color: var(--muted); border: 1px solid var(--line); }
.demo {
  width: 100%; margin: 40px auto 0; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); aspect-ratio: 16 / 9; background: #11151d;
}

.feature {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  margin: 72px 0;
}
.feature:nth-of-type(odd) { grid-template-columns: 1fr 1.4fr; }
.feature:nth-of-type(odd) img { order: 2; }
/* Grid items default to min-width: auto, which lets a 1600 px image push the column wider than the screen. */
.feature > * { min-width: 0; }
.feature img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }
.feature h2, .local h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; }
.feature p, .local p { color: var(--muted); margin: 0; }
.local { text-align: center; padding: 40px 24px; margin: 72px 0 0; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.local p { max-width: 620px; margin: 0 auto; }

.doc { max-width: 760px; padding-top: 24px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-top: 16px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p { color: var(--muted); margin: 0 0 14px; }
.contact { padding: 20px 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); margin-top: 16px; }
.contact h2 { margin-top: 0; }
.contact p { margin: 0; }
.todo { color: var(--todo); font-weight: 600; }

@media (max-width: 760px) {
  .feature, .feature:nth-of-type(odd) { grid-template-columns: 1fr; gap: 20px; margin: 48px 0; }
  .feature:nth-of-type(odd) img { order: 0; }
  .mark { width: 120px; height: 120px; }
  nav { gap: 14px; }
}
