/* QuietKite "Night" design system: premium dark. Rationale: docs/DESIGN.md */
@font-face {
  font-family: "Inter Var";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-4-latin-opsz.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #07080c;
  --bg-2: #0c0e15;
  --bg-soft: #11131c;
  --sand: #11131c;
  --card: rgba(255, 255, 255, .035);
  --card-solid: #0f1119;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .15);
  --text: #f3f4f8;
  --muted: #a1a3b8;
  --dim: #6e7189;
  --coral: #ff7a7a;
  --orange: #ff9a5c;
  --violet: #b4a2ff;
  --blue: #6aa8ff;
  --green: #4fd1a1;
  --gold: #ffd166;
  --accent: var(--violet);
  --accent-2: var(--violet);
  --grad: linear-gradient(100deg, #ff9a5c 0%, #ff6f91 32%, #b4a2ff 66%, #6aa8ff 100%);
  --grad-soft: linear-gradient(100deg, rgba(255, 154, 92, .18), rgba(180, 162, 255, .16), rgba(106, 168, 255, .16));
  --radius: 18px;
  --max: 1180px;
  --font: "Inter Var", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  /* Tints used by blog tags, topics, and status pills */
  --peach-t: rgba(255, 154, 92, .14);
  --mint-t: rgba(79, 209, 161, .14);
  --sky-t: rgba(106, 168, 255, .14);
  --lav-t: rgba(180, 162, 255, .14);
  --butter-t: rgba(255, 209, 102, .14);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; font-family: var(--font); font-optical-sizing: auto; font-feature-settings: "cv11", "ss01", "ss03"; background: transparent; color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
h1, h2, h3, .brand { font-family: var(--font); }
a { color: inherit; }
::selection { background: rgba(180, 162, 255, .35); }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 10px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card-solid); padding: 8px 12px; border-radius: 8px; z-index: 30; }

/* Backdrop: grid, glow, grain */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%); }
body::after { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.aurora { position: absolute; inset: 0 0 auto; height: 900px; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 24s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 560px; height: 380px; left: calc(50% - 520px); top: -180px; background: #ff7a5c; opacity: .28; }
.aurora span:nth-child(2) { width: 620px; height: 420px; left: calc(50% - 160px); top: -240px; background: #8b6cff; opacity: .35; animation-duration: 30s; animation-delay: -8s; }
.aurora span:nth-child(3) { width: 480px; height: 340px; left: calc(50% + 180px); top: -140px; background: #3f8cff; opacity: .25; animation-duration: 36s; animation-delay: -14s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(40px, 30px, 0) scale(1.08); } 100% { transform: translate3d(-30px, 50px, 0) scale(.95); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.scrolled { background: rgba(7, 8, 12, .72); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 650; font-size: 1.3rem; letter-spacing: -.025em; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 0 14px rgba(255, 122, 122, .35)); transition: transform .4s cubic-bezier(.2, .8, .2, 1.2); }
.brand:hover img { transform: rotate(-8deg) translateY(-2px); }
.brand b { font-weight: 650; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav a.btn.primary { margin-left: 10px; padding: 9px 16px; color: #0a0b10; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; text-decoration: none; font: inherit; font-weight: 600; font-size: .98rem; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); color: var(--text); cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }
.btn.primary { background: #fff; color: #0a0b10; border-color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 8px 30px -8px rgba(180, 162, 255, .55); }
.btn.primary:hover { background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 10px 40px -6px rgba(255, 122, 122, .55); }
.btn.dark { background: rgba(255, 255, 255, .06); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.ico { width: 1.05em; height: 1.05em; flex: none; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 550; letter-spacing: .02em; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(8px); }
.eyebrow.warm, .eyebrow.green { color: var(--muted); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.2rem); line-height: 1.02; letter-spacing: -.045em; margin: 24px 0 22px; font-weight: 650; background: linear-gradient(180deg, #fff 30%, #b9bbcc); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.04em; margin: 0 0 16px; line-height: 1.06; font-weight: 650; }
h3 { letter-spacing: -.02em; font-weight: 600; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: clamp(1.08rem, 1.9vw, 1.28rem); color: var(--muted); max-width: 640px; margin: 0 0 34px; line-height: 1.55; }
.sub { color: var(--muted); max-width: 640px; margin: 0 0 44px; font-size: 1.08rem; }
.center { text-align: center; }
.center .sub, .center .lead { margin-left: auto; margin-right: auto; }
.center .actions { justify-content: center; }
.rotate { display: inline-block; transition: opacity .3s, transform .3s, filter .3s; }
.rotate.out { opacity: 0; transform: translateY(10px); filter: blur(4px); }
.note { font-size: .92rem; color: var(--dim); }
.note a, .more a, .links a { color: var(--violet); font-weight: 500; }

section { padding: 96px 0; position: relative; }
section.tight { padding: 28px 0; }
section.sand { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .015) 20%, rgba(255, 255, 255, .015) 80%, transparent); }
.divider { height: 1px; max-width: var(--max); margin: 0 auto; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* Cards with spotlight */
.card { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); overflow: hidden; }
.card::before, .door::before, .idea::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(180, 162, 255, .12), transparent 45%); }
.card:hover::before, .door:hover::before, .idea:hover::before { opacity: 1; }
.card h3 { margin: 14px 0 6px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); }
.card p a { color: var(--violet); }
.lift { transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s; }
.lift:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.tri { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1), filter .9s; }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* Hero */
.hero { padding: 88px 0 40px; text-align: center; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .actions { justify-content: center; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; text-align: left; }
.hero-grid .lead { margin-left: 0; }
.hero-grid .actions { justify-content: flex-start; }

/* Product shots in a window frame with a glowing edge */
.frame { position: relative; border-radius: 16px; padding: 1px; background: linear-gradient(160deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .06) 30%, rgba(255, 255, 255, .03) 70%, rgba(180, 162, 255, .35)); box-shadow: 0 40px 120px -40px rgba(124, 92, 255, .55), 0 0 0 1px rgba(0, 0, 0, .4); }
.frame::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 17px; background: var(--grad); filter: blur(40px); opacity: .22; }
.frame img { display: block; width: 100%; height: auto; border-radius: 15px; }
.shot-hero { max-width: 1100px; margin: 64px auto 0; perspective: 2000px; }
.js .shot-hero .frame { transform: rotateX(12deg) scale(.96); transform-origin: 50% 0; transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.js .shot-hero.in .frame { transform: none; }
.shot-caption { color: var(--dim); font-size: .85rem; margin-top: 14px; text-align: center; }

.feature-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.feature-row.flip { grid-template-columns: 1.15fr .85fr; }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy .sub { margin-bottom: 24px; }

/* Doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.door { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 34px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); }
.door.blog { background: radial-gradient(600px 300px at 0% 0%, rgba(180, 162, 255, .14), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); }
.door.apps { background: radial-gradient(600px 300px at 100% 0%, rgba(255, 154, 92, .13), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); }
.door .door-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); }
.door h3 { font-size: 1.7rem; margin: 18px 0 6px; letter-spacing: -.03em; }
.door > p { color: var(--muted); margin: 0 0 18px; }
.door ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.door li a { display: flex; gap: 10px; align-items: baseline; text-decoration: none; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: transform .2s, border-color .2s, background .2s; }
.door li a:hover { transform: translateX(4px); border-color: var(--line-strong); background: rgba(255, 255, 255, .06); }
.door li small { color: var(--dim); margin-left: auto; white-space: nowrap; }
.door .actions { margin-top: auto; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.topic { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .86rem; font-weight: 500; text-decoration: none; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
a.topic:hover { color: var(--text); border-color: var(--line-strong); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { text-align: center; padding: 26px 16px; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.1; background: linear-gradient(180deg, #fff, #9a9db4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .92rem; }

/* App showcase */
.apps-grid { display: grid; gap: 18px; }
.app-card { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: center; padding: 36px; }
.app-card .app-head { display: flex; align-items: center; gap: 14px; }
.app-card .app-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(140deg, rgba(255, 154, 92, .25), rgba(180, 162, 255, .25)); border: 1px solid var(--line-strong); }
.app-card h3 { font-size: 1.7rem; margin: 0; letter-spacing: -.03em; }
.app-card .tagline { color: var(--muted); margin: 2px 0 0; }
.app-card > div > p { color: var(--muted); }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--mint-t); color: #8ff0c9; }
.badge.soon { background: var(--sky-t); color: #a9cbff; }
.app-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .94rem; }
.app-links a { color: var(--violet); text-decoration: none; font-weight: 500; }
.app-links a:hover { text-decoration: underline; }
.app-card.next { grid-template-columns: 1fr; text-align: center; border-style: dashed; background: rgba(255, 255, 255, .015); }
.app-card.next .app-icon { margin: 0 auto 12px; }
.app-card.next .actions { justify-content: center; }

/* Timer mock (fallback art) */
.mock { aspect-ratio: 4 / 3; border-radius: 16px; background: radial-gradient(circle at 50% 40%, rgba(180, 162, 255, .12), transparent 60%), #0d0f17; border: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.ring { width: 56%; aspect-ratio: 1; border-radius: 50%; --p: 72; background: conic-gradient(from -90deg, #ff9a5c, #ff6f91 calc(var(--p) * .5%), #b4a2ff calc(var(--p) * 1%), rgba(255, 255, 255, .06) 0); display: grid; place-items: center; animation: ring 9s ease-in-out infinite; }
.ring::after { content: "18:42"; width: 84%; aspect-ratio: 1; border-radius: 50%; background: #0d0f17; display: grid; place-items: center; font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 600; color: var(--text); }
@keyframes ring { 0%, 100% { --p: 64; } 50% { --p: 82; } }
.mock .label { position: absolute; bottom: 16px; font-size: .85rem; color: var(--muted); }

ul.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
ul.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
ul.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.6 5.6-4.2 5a.8.8 0 0 1-1.2 0l-2-2.2 1.1-1 1.5 1.6 3.6-4.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.6 5.6-4.2 5a.8.8 0 0 1-1.2 0l-2-2.2 1.1-1 1.5 1.6 3.6-4.4z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 36px 0 0; }
.step { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-weight: 650; font-size: .95rem; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); }
.steps h3 { margin: 16px 0 6px; font-size: 1.12rem; }
.steps .status { display: inline-block; }

/* App sub-navigation */
.app-bar { position: sticky; top: 72px; z-index: 19; padding: 10px 0; }
.app-bar .wrap { display: flex; }
.app-bar-inner { display: flex; align-items: center; gap: 2px; overflow-x: auto; padding: 5px; border-radius: 999px; background: rgba(12, 14, 21, .8); border: 1px solid var(--line-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); scrollbar-width: none; }
.app-bar-inner::-webkit-scrollbar { display: none; }
.app-bar .app-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 4px 12px 4px 4px; text-decoration: none; white-space: nowrap; }
.app-bar .app-name span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: .9rem; }
.app-bar a.tab { text-decoration: none; color: var(--muted); font-weight: 500; padding: 7px 14px; border-radius: 999px; white-space: nowrap; font-size: .92rem; }
.app-bar a.tab:hover { color: var(--text); }
.app-bar a.tab[aria-current="page"] { color: #0a0b10; background: #fff; }

/* Ideas board */
.board-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: inherit; font-size: .9rem; font-weight: 500; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); color: var(--muted); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.chips button:hover { color: var(--text); }
.chips button span { font-size: .76rem; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--text); }
.chips button[aria-pressed="true"] { background: #fff; color: #0a0b10; border-color: #fff; }
.chips button[aria-pressed="true"] span { background: rgba(0, 0, 0, .1); color: #0a0b10; }
.ideas { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.idea { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: border-color .25s, transform .25s; }
.idea:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.vote { position: relative; z-index: 1; display: grid; justify-items: center; min-width: 60px; padding: 8px 6px; border-radius: 12px; border: 1px solid var(--line-strong); text-decoration: none; background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s; }
.vote:hover { border-color: var(--violet); background: var(--lav-t); }
.vote-arrow { color: var(--violet); font-size: .8rem; line-height: 1; }
.vote strong { font-size: 1.3rem; line-height: 1.2; font-weight: 650; }
.vote-label { font-size: .7rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.idea h3 { margin: 2px 0 6px; font-size: 1.06rem; }
.idea h3 a { text-decoration: none; }
.idea h3 a:hover { color: var(--violet); }
.idea-body { position: relative; z-index: 1; }
.idea-body > p { margin: 0 0 10px; color: var(--muted); }
.idea-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .84rem; color: var(--dim); margin: 0 !important; }
.person { display: inline-flex; align-items: center; gap: 6px; }
.person img { border-radius: 50%; border: 1px solid var(--line-strong); }
.status { font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.status-under-review { background: var(--lav-t); color: #cfc4ff; }
.status-planned { background: var(--butter-t); color: #ffdf8a; }
.status-in-progress { background: var(--sky-t); color: #a9cbff; }
.status-shipped { background: var(--mint-t); color: #8ff0c9; }
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state .big { font-size: 2.4rem; }

/* Feedback wall */
.quotes { list-style: none; padding: 0; margin: 0; columns: 3 300px; column-gap: 16px; }
.quote { break-inside: avoid; margin: 0 0 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.quote blockquote { margin: 10px 0 14px; }
.quote blockquote p { margin: 0 0 8px; font-size: 1.02rem; }
.quote .wish { color: var(--muted); font-size: .94rem; }
.stars { color: var(--gold); letter-spacing: 2px; }
.stars span { color: rgba(255, 255, 255, .15); }
.quote-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: var(--dim); font-size: .84rem; margin: 0; }
.quote-meta a { margin-left: auto; color: var(--violet); text-decoration: none; font-weight: 500; }
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-cta .card { padding: 32px; }
.split-cta h3 { font-size: 1.35rem; margin: 14px 0 8px; }
.split-cta .actions { margin-top: 22px; }
.list-title { margin: 48px 0 16px; font-size: 1.2rem; }

/* Download page */
.dl-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: start; text-align: left; }
.dl-store { margin-bottom: 22px; }
.dl-meta { color: var(--muted); font-size: .93rem; margin: 14px 0 0; }
.dl-alt { font-size: .95rem; margin: 10px 0 0; color: var(--muted); }
.dl-alt a, .dl-started a, .dl-meta a { color: var(--violet); }
.dl-started { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--mint-t); border: 1px solid rgba(79, 209, 161, .3); }
.dl-note { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--butter-t); color: #ffdf8a; }
.reqs h2 { font-size: 1.1rem; margin: 0 0 14px; letter-spacing: -.01em; }
.reqs dl { margin: 0; display: grid; gap: 14px; }
.reqs dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 600; }
.reqs dd { margin: 2px 0 0; }
.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.two-col h2 { font-size: 1.7rem; }
.two-col .ideas .idea { grid-template-columns: 1fr; }
.two-col .ideas .vote { grid-auto-flow: column; justify-content: start; gap: 8px; min-width: 0; width: max-content; padding: 6px 12px; }
.two-col .quotes { columns: 1; }
.release-notes { color: var(--muted); }
.release-notes ul { padding-left: 20px; }
.release-notes strong { color: var(--text); }
.release-notes .anchor { display: none; }
.way { margin-bottom: 14px; }
.way h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.way a { color: var(--violet); }
.files { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.files li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.files a { color: var(--text); }
.files span { color: var(--dim); font-size: .9rem; }
.hashes { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; font-size: .85rem; }
.hashes span { display: block; color: var(--dim); }
.hashes code { display: block; overflow-wrap: anywhere; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: .78rem; }
.narrow { max-width: 820px; }
.app-meta { color: var(--dim); font-size: .9rem; margin: 18px 0 0; }
.more { margin: 22px 0 0; }

/* FAQ */
details.faq { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .025); padding: 0 20px; margin: 0 0 10px; transition: border-color .2s; }
details.faq[open] { border-color: var(--line-strong); }
details.faq summary { cursor: pointer; padding: 16px 0; font-weight: 550; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--dim); font-weight: 400; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq > :not(summary) { margin: 0 0 16px; }
details.faq p { color: var(--muted); }
details.faq a { color: var(--violet); }
kbd { border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; padding: 0 6px; font-size: .85em; background: rgba(255, 255, 255, .05); font-family: inherit; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: flex; flex-direction: column; }
.contact-card .actions { margin-top: auto; padding-top: 22px; }
.mail-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 32px; background: radial-gradient(500px 200px at 0% 0%, rgba(180, 162, 255, .14), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.mail-card .addr { font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; text-decoration: none; overflow-wrap: anywhere; }

/* Founder and CTA */
.founder { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; padding: 32px; }
.avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #0a0b10; font-weight: 700; font-size: 1.5rem; box-shadow: 0 0 40px -6px rgba(255, 111, 145, .6); }
.founder h2 { font-size: 1.5rem; margin: 0 0 6px; letter-spacing: -.02em; }
.founder .sub { margin: 0; }
.cta-band .card { text-align: center; padding: 72px 28px; background: radial-gradient(700px 300px at 50% 0%, rgba(180, 162, 255, .18), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border-color: var(--line-strong); }
.cta-band .sub { margin: 0 auto 30px; }
.cta-band .actions { justify-content: center; }

/* Prose */
.prose { max-width: 780px; padding: 40px 0 80px; }
.prose h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.prose h2 { font-size: 1.4rem; margin-top: 40px; letter-spacing: -.02em; }
.prose p, .prose li { color: #c9cbdb; }
.prose strong { color: var(--text); }
.prose a { color: var(--violet); }
.prose .meta { color: var(--dim); font-size: .95rem; }
.prose code { background: rgba(255, 255, 255, .06); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.page-head { padding: 72px 0 24px; }
.page-head h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }

/* Footer */
.site-footer { margin-top: 56px; padding: 64px 0 40px; color: var(--muted); font-size: .93rem; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { margin: 12px 0 0; max-width: 280px; color: var(--dim); }
.site-footer nav { display: flex; flex-direction: column; gap: 9px; }
.site-footer nav h2 { font-size: .8rem; font-weight: 600; letter-spacing: 0; color: var(--text); margin: 6px 0 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--dim); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Hero kite (404 and spare art) */
.hero-art { position: relative; aspect-ratio: 1; max-width: 420px; justify-self: center; width: 100%; }
.hero-art .halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(180, 162, 255, .3), transparent 75%); filter: blur(10px); }
.kite-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.kite-fly, .kite-tail, .cloud, .sparkle { transform-box: fill-box; }
.kite-fly { transform-origin: 50% 30%; animation: fly 7s ease-in-out infinite; }
.kite-tail { transform-origin: 50% 0; animation: tail 2.4s ease-in-out infinite alternate; }
.cloud { opacity: .08; animation: cloud 14s ease-in-out infinite alternate; }
.sparkle { animation: twinkle 3s ease-in-out infinite; }
@keyframes fly { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(10px, -16px) rotate(5deg); } }
@keyframes tail { from { transform: skewX(-6deg); } to { transform: skewX(7deg); } }
@keyframes cloud { from { transform: translateX(-14px); } to { transform: translateX(18px); } }
@keyframes twinkle { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

@media (max-width: 1000px) {
  .grid.quad, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .app-card, .dl-grid, .two-col, .split-cta, .doors, .feature-row, .feature-row.flip { grid-template-columns: 1fr; }
  .feature-row.flip .feature-copy { order: 0; }
  .grid.tri { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 68px 0; }
  .hero { padding-top: 56px; }
  .grid.two, .grid.quad { grid-template-columns: 1fr; }
  .site-header .wrap { height: 64px; }
  .app-bar { top: 64px; }
  .brand { font-size: 1.15rem; }
  .brand img { width: 34px; height: 34px; }
  .nav a { padding: 8px 10px; }
  .nav a.btn.primary { display: none; }
  .app-card, .door { padding: 24px; }
  .idea { grid-template-columns: 1fr; }
  .vote { grid-auto-flow: column; justify-content: start; gap: 8px; min-width: 0; width: max-content; padding: 6px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .shot-hero .frame { transform: none; }
}
@media (max-width: 480px) {
  .site-header .wrap, .app-bar .wrap { padding: 0 16px; }
  .brand { gap: 8px; font-size: 1.05rem; }
  .brand img { width: 30px; height: 30px; }
  .nav { gap: 0; }
  .nav a { padding: 6px 9px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .shot-hero .frame { transform: none; }
}

a.eyebrow { text-decoration: none; transition: border-color .2s, color .2s; }
a.eyebrow:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }

