/* Flowspace — landing.css · the front door. Same world as the app: Midnight Glow, same type, same accent.
   No scripts are needed to read this page; the pictures are the real product. */
:root {
  --bg: #0B0D12; --surface: rgba(255,255,255,.035); --surface-2: rgba(255,255,255,.06); --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --text: #ECEEF4; --muted: #9399A8; --accent: #8B7CFF; --accent-2: #9D90FF; --accent-soft: rgba(139,124,255,.14); --accent-ink: #B3A9FF; --ok: #34D399;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow::before { content: ''; position: absolute; width: 90vmax; height: 90vmax; left: 50%; top: -58vmax; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,.22), transparent 60%); }
.glow::after { content: ''; position: absolute; width: 60vmax; height: 60vmax; right: -30vmax; top: 30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(168,85,247,.10), transparent 62%); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); background: rgba(11,13,18,.72); border-bottom: 1px solid transparent; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 11px; font-size: 14px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #0B0D12; } .btn-primary:hover { background: var(--accent-2); }
.btn-ghost { color: var(--text); border-color: var(--line-2); } .btn-ghost:hover { background: var(--surface-2); }
.btn-quiet { color: var(--muted); } .btn-quiet:hover { color: var(--text); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }

/* hero */
.hero { position: relative; padding: 76px 0 0; text-align: center; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); }
.hero h1 { font-size: clamp(40px, 7.4vw, 84px); font-weight: 650; letter-spacing: -.045em; line-height: 1.02; margin-top: 18px; }
.hero h1 span { display: block; color: var(--muted); font-size: .46em; letter-spacing: -.03em; font-weight: 500; margin-top: .5em; line-height: 1.2; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 46ch; margin: 22px auto 0; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.fine { font-size: 13px; color: var(--muted); }
.shot { position: relative; margin: 64px auto 0; max-width: 1060px; border-radius: 18px; border: 1px solid var(--line-2); background: #0D1016; box-shadow: 0 60px 140px -40px rgba(99,102,241,.45), 0 30px 60px -30px rgba(0,0,0,.8); overflow: hidden; }
.shot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); pointer-events: none; }
.shot img { width: 100%; }
.hero .shot { -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); border-bottom: 0; border-radius: 18px 18px 0 0; }

/* sections */
section { position: relative; padding: 112px 0; }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head h2, .split h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 650; letter-spacing: -.035em; line-height: 1.1; margin-top: 14px; }
.sec-head p, .split p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.card .eyebrow { color: var(--accent-ink); font-size: 11px; }
.card p { color: var(--text); margin-top: 10px; font-size: 16px; line-height: 1.5; }
.split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); } .split.flip > div:first-child { order: 2; }
.split .shot { margin: 0; box-shadow: 0 40px 100px -40px rgba(99,102,241,.4), 0 24px 50px -30px rgba(0,0,0,.8); }
.split ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15.5px; }
.split li { padding-left: 24px; position: relative; } .split li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tight { padding-top: 0; }

/* the "understands your workload" demo: plain HTML, the same pieces the app shows */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 26px; align-items: center; max-width: 900px; margin: 0 auto; }
.demo-day, .demo-move { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); text-align: left; }
.demo-day .eyebrow, .demo-move .eyebrow { font-size: 11px; }
.demo-row { display: grid; grid-template-columns: 52px 10px 1fr; gap: 12px; align-items: center; padding: 9px 0; font-size: 15px; }
.demo-row time { font: 500 13px ui-monospace, 'JetBrains Mono', monospace; color: var(--muted); }
.demo-row i { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--line-2); }
.demo-row.is-free { color: var(--muted); } .demo-row.is-free i { border-style: dashed; }
.demo-row.is-warn i { border-color: #FBBF24; } .demo-row.is-now i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.demo-arrow { color: var(--muted); font-size: 22px; }
.demo-move { border-color: rgba(139,124,255,.42); background-image: radial-gradient(120% 140% at 0% 0%, var(--accent-soft), transparent 58%); }
.demo-move h3 { font-size: 22px; font-weight: 650; letter-spacing: -.02em; margin-top: 10px; line-height: 1.25; }
.demo-move p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.demo-move .btn { margin-top: 18px; }

/* pricing: the plan cards are in pricing.css, shared with the app */
#pricing .pp { overflow: visible; }

/* trust */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trust h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; } .trust p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.quote { max-width: 760px; margin: 72px auto 0; text-align: center; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.45; letter-spacing: -.015em; color: var(--text); } .quote span { color: var(--muted); }
.final { text-align: center; padding-bottom: 96px; } .final h2 { font-size: clamp(34px, 6vw, 64px); font-weight: 650; letter-spacing: -.045em; line-height: 1.05; }
.final .hero-cta { margin-top: 30px; }
footer { border-top: 1px solid var(--line); padding: 34px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; } footer a:hover { color: var(--text); }

/* legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.doc h1 { font-size: 36px; font-weight: 650; letter-spacing: -.035em; line-height: 1.15; } .doc .fine { margin-top: 10px; }
.doc h2 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; margin: 40px 0 10px; }
.doc p, .doc li { color: #C9CDD8; font-size: 16px; } .doc p { margin-top: 12px; } .doc ul { padding-left: 22px; margin: 12px 0 0; } .doc li { margin-top: 6px; }
.doc a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.doc .note { margin-top: 22px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; color: var(--muted); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  section { padding: 76px 0; } .hero { padding-top: 52px; }
  .six, .trust { grid-template-columns: minmax(0, 1fr); }
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; } .split.flip > div:first-child { order: 0; }
  .demo { grid-template-columns: minmax(0, 1fr); } .demo-arrow { transform: rotate(90deg); justify-self: center; }
  .shot { margin-top: 44px; border-radius: 12px; } .hero .shot { border-radius: 12px 12px 0 0; }
}
@media (max-width: 420px) { .nav .btn-quiet { display: none; } .wrap { padding: 0 18px; } }
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.16,1,.3,1) forwards; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .26s; } .rise.d4 { animation-delay: .4s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* phones see the phone app: a tall screenshot in a phone-shaped frame, not a shrunken desktop */
picture { display: block; }
@media (max-width: 700px) {
  .shot, .hero .shot, .split .shot { max-width: 290px; margin-left: auto; margin-right: auto; border-radius: 36px; border: 6px solid #1B1E27; background: #0B0D12; -webkit-mask-image: none; mask-image: none; box-shadow: 0 40px 90px -30px rgba(99,102,241,.5), 0 24px 50px -30px rgba(0,0,0,.9); }
  .hero .shot { margin-top: 40px; margin-bottom: 8px; border-bottom: 6px solid #1B1E27; }
  .shot img { display: block; width: 100%; height: auto; }
  .split .shot { margin-top: 8px; }
}
