/* HomeDeck landing page. Dark, glowing, same orb and gradient as the app. */
:root { --bg: #07080c; --text: #f3f4f7; --muted: #a3a9b7; --line: rgba(255, 255, 255, .09); --card: rgba(255, 255, 255, .045);
  --g1: #4f7cff; --g2: #9b5cff; --g3: #ff4fa3; --g4: #ffb24f; --orb: conic-gradient(from 0deg, var(--g1), var(--g2), var(--g3), var(--g4), var(--g1)); }
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; color: var(--text); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 40% at 15% 0%, rgba(79, 124, 255, .32), transparent 70%), radial-gradient(50% 45% at 100% 30%, rgba(155, 92, 255, .3), transparent 70%),
    radial-gradient(60% 40% at 30% 100%, rgba(255, 79, 163, .18), transparent 70%); }
.grad { background: linear-gradient(100deg, var(--g1), var(--g2) 40%, var(--g3) 75%, var(--g4)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* orb */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.05); } }
.orb { position: relative; display: inline-block; border-radius: 50%; isolation: isolate; flex: none; }
.orb i { position: absolute; inset: 0; border-radius: 50%; background: var(--orb); animation: spin 7s linear infinite; }
.orb i + i { filter: blur(22px); opacity: .9; transform: scale(1.2); animation-direction: reverse; animation-duration: 11s; z-index: -1; }
.orb b { position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .25) 22%, transparent 48%); box-shadow: inset 0 -10px 24px rgba(40, 0, 90, .35); }
.orb.sm { width: 26px; height: 26px; } .orb.md { width: 54px; height: 54px; } .orb.lg { width: 120px; height: 120px; animation: breathe 5s ease-in-out infinite; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px max(20px, calc((100vw - 1100px) / 2));
  background: rgba(7, 8, 12, .6); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; transition: transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.97); }
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 14px 34px -14px rgba(120, 90, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.primary:hover { box-shadow: 0 18px 44px -14px rgba(120, 90, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.ghost { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); padding: 10px 18px; }
.btn.wide { width: 100%; }

/* hero */
.hero { text-align: center; padding: 70px 20px 30px; max-width: 820px; margin: 0 auto; }
.hero .orb.lg { margin-bottom: 26px; }
.eyebrow { color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin: 0 0 10px; }
h1 { font-size: clamp(44px, 9vw, 84px); line-height: 1; letter-spacing: -.045em; margin: 0 0 20px; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn.ghost { padding: 13px 22px; }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 16px; }

/* phone mockups */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 18px; padding: 30px 20px 70px; perspective: 1200px; }
.phone { width: 210px; aspect-ratio: 9 / 19; border-radius: 38px; padding: 9px; background: linear-gradient(160deg, #2a2d36, #101217); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .08); transform: rotateY(12deg) translateY(10px); }
.phone.mid { width: 240px; transform: none; z-index: 1; } .phone:last-child { transform: rotateY(-12deg) translateY(10px); }
.screen { height: 100%; border-radius: 30px; overflow: hidden; padding: 22px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12.5px;
  background: radial-gradient(80% 50% at 0% 0%, rgba(79, 124, 255, .35), transparent 70%), radial-gradient(70% 50% at 100% 60%, rgba(155, 92, 255, .3), transparent 70%), #0b0c11; }
.s-ask { align-items: center; text-align: center; } .s-ask > b { font-size: 16px; margin-bottom: 8px; }
.bub { padding: 8px 11px; border-radius: 15px; max-width: 92%; text-align: left; }
.bub.me { align-self: flex-end; background: linear-gradient(135deg, var(--g1), var(--g2)); }
.bub.ai { align-self: flex-start; background: rgba(255, 255, 255, .09); }
.s-remote { align-items: center; justify-content: center; gap: 26px; }
.pad { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.pad .ok { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; background: linear-gradient(135deg, var(--g1), var(--g2) 60%, var(--g3)); box-shadow: 0 10px 26px -8px rgba(140, 90, 255, .9); }
.s-remote .row { display: flex; gap: 10px; } .s-remote .row i { width: 50px; height: 34px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.s-scenes > b { font-size: 18px; margin: 10px 0 6px; }
.s-scenes .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc { padding: 16px 6px; border-radius: 16px; text-align: center; font-weight: 700; }
.sc.a { background: linear-gradient(150deg, #3b3f9e, #7b4dff); } .sc.b { background: linear-gradient(150deg, #ff4f8b, #ff9a4f); }
.sc.c { background: linear-gradient(150deg, #ffb84f, #ffd76a); color: #3a2400; } .sc.d { background: linear-gradient(150deg, #2a2f3a, #555c6b); }
@media (max-width: 720px) { .phone:not(.mid) { display: none; } }

/* sections */
.section { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.section h2 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.035em; line-height: 1.08; text-align: center; margin: 0 0 36px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.features article, .tier, .steps li, .faq details { background: var(--card); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.features article { padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.features article:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(155, 92, 255, .35), 0 20px 40px -24px rgba(120, 90, 255, .8); }
.fi { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; font-size: 22px; background: linear-gradient(135deg, rgba(79, 124, 255, .3), rgba(255, 79, 163, .3)); }
.features h3 { margin: 14px 0 6px; font-size: 19px; } .features p { margin: 0; color: var(--muted); font-size: 15.5px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; padding: 24px; display: grid; gap: 6px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; background: linear-gradient(135deg, var(--g1), var(--g2)); margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 15.5px; }
.works { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 30px; }
.works span { color: var(--muted); font-size: 14px; margin-right: 4px; }
.works b { padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 380px)); gap: 18px; justify-content: center; }
.tier { position: relative; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.tier h3 { margin: 0; font-size: 20px; } .amt { font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin: 0; } .amt small { font-size: 16px; color: var(--muted); font-weight: 600; }
.alt { margin: 0; color: var(--muted); font-size: 15px; }
.tier ul { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 10px; flex: 1; }
.tier li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15.5px; }
.tier li::before { content: "✓"; color: #3ddc84; font-weight: 800; }
.tier.pro { background: linear-gradient(160deg, rgba(79, 124, 255, .16), rgba(155, 92, 255, .14) 50%, rgba(255, 79, 163, .1)); box-shadow: inset 0 0 0 1.5px rgba(155, 92, 255, .5), 0 30px 60px -30px rgba(120, 90, 255, .9); }
.tier.pro li::before { color: #b9a4ff; }
.tag { position: absolute; top: -12px; right: 24px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: linear-gradient(135deg, var(--g2), var(--g3)); }
.faq { max-width: 760px; display: grid; gap: 10px; }
.faq details { padding: 18px 22px; } .faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; } .faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.foot { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; padding: 40px 20px 60px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot .brand { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .orb i, .orb.lg { animation: none; } html { scroll-behavior: auto; } }

/* ==== Monochrome: black theme by default, white theme when the device is in light mode ==== */
:root { --bg: #000; --text: #f5f5f7; --muted: #8e8e93; --line: rgba(255, 255, 255, .12); --card: rgba(255, 255, 255, .05);
  --ink: #fff; --on-ink: #000; --orb: conic-gradient(from 0deg, #fff, #8e8e93, #2c2c2e, #8e8e93, #fff); --nav: rgba(0, 0, 0, .7); }
@media (prefers-color-scheme: light) {
  :root { --bg: #fff; --text: #0a0a0a; --muted: #6e6e73; --line: rgba(0, 0, 0, .1); --card: rgba(0, 0, 0, .03);
    --ink: #000; --on-ink: #fff; --orb: conic-gradient(from 0deg, #000, #3a3a3c, #c7c7cc, #3a3a3c, #000); --nav: rgba(255, 255, 255, .75); }
}
.glow { display: none; }
.grad { background: none; color: var(--muted); -webkit-background-clip: border-box; background-clip: border-box; }
.nav { background: var(--nav); }
.btn.primary, .btn.primary:hover { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.btn.primary:hover { opacity: .85; }
.orb b { box-shadow: inset 0 -8px 20px rgba(0, 0, 0, .35); }
.phone { background: #1c1c1e; }
.screen { background: #000; color: #f5f5f7; }
.bub.me { background: #fff; color: #000; } .bub.ai { background: #1c1c1e; }
.pad .ok { background: #fff; color: #000; box-shadow: none; }
.sc.a { background: #fff; color: #000; } .sc.b { background: #3a3a3c; color: #fff; } .sc.c { background: #1c1c1e; color: #fff; box-shadow: inset 0 0 0 1px #3a3a3c; } .sc.d { background: #8e8e93; color: #000; }
.fi { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); filter: grayscale(1); }
.features article:hover { box-shadow: inset 0 0 0 1px var(--text); }
.steps li::before { background: var(--ink); color: var(--on-ink); }
.tier li::before, .tier.pro li::before { color: var(--text); }
.tier.pro { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--text); }
.tag { background: var(--ink); color: var(--on-ink); }
.center-cta { text-align: center; margin: 28px 0 0; }
