/* leafdeckos.com: the Leafdeck OS homepage. Dark and glassy to match the desktop. */

:root {
  --bg: #0a0f0c;
  --bg-2: #0f1512;
  --panel: #141a17;
  --panel-2: #1a211d;
  --accent: #34c77b;
  --accent-2: #5fe09a;
  --accent-ink: #07130c;
  --text: #f2f2f5;
  --text-2: rgba(235, 235, 245, 0.68);
  --text-3: rgba(235, 235, 245, 0.42);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --win: #1c1e21;
  --radius: 18px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, h4, h5 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap-wide { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* icons (filled in by site.js) */
i[data-i] { display: inline-grid; place-items: center; width: 1em; height: 1em; font-style: normal; flex-shrink: 0; }
i[data-i] svg { width: 100%; height: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 15px;
  box-shadow: 0 6px 24px rgba(52, 199, 123, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}
.btn:hover { transform: translateY(-1px); background: var(--accent-2); box-shadow: 0 10px 30px rgba(52, 199, 123, 0.38); }
.btn i { font-size: 18px; }
.btn-sm { padding: 7px 15px; font-size: 14px; box-shadow: none; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); box-shadow: inset 0 0 0 0.5px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.24); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 12, 0.6);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 0.5px solid var(--line);
}
.nav-in { width: min(1240px, 100% - 32px); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 24px; }
.brand img { height: 46px; width: auto; } /* the wordmark fills its box; the nav stays 64px */
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14.5px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(600px 340px at 50% 18%, rgba(52, 199, 123, 0.22), transparent 70%),
    radial-gradient(500px 300px at 20% 40%, rgba(29, 76, 61, 0.45), transparent 70%),
    radial-gradient(500px 300px at 82% 36%, rgba(29, 76, 61, 0.35), transparent 70%);
}
.hero-copy { position: relative; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 0.5px var(--line-2);
  font-size: 13px; color: var(--text-2);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 {
  margin: 22px auto 0; max-width: 1040px;
  font-size: clamp(42px, 7vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -0.045em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #8ff0bb, var(--accent) 50%, #1f9e5c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin: 22px auto 0; max-width: 640px; font-size: clamp(17px, 2vw, 20px); color: var(--text-2); }
.cta-row { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- the live mini desktop ---------- */
.stage-wrap { position: relative; margin-top: 64px; }
.stage {
  --k: 1;
  position: relative;
  aspect-ratio: 1200 / 720;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 120px rgba(52, 199, 123, 0.12);
}
.desk {
  position: absolute; left: 0; top: 0; width: 1200px; height: 720px;
  transform: scale(var(--k)); transform-origin: 0 0;
  font-size: 13px; line-height: 1.4; user-select: none;
}
.desk-wall { position: absolute; inset: 0; background: #0b1a12 url(assets/wallpapers/leaf.jpg) center / cover; transition: background-image 0.4s; }
.desk-wall::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 20%, rgba(0, 0, 0, 0.28), transparent 55%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), transparent 18%, transparent 78%, rgba(0, 0, 0, 0.32));
}

/* glass app icon */

/* menu bar: two glass pieces with the search hanging between them */

/* widgets */

/* desktop icons */

/* windows */

/* notes window */

/* mini window */

@keyframes prog { from { width: 8%; } to { width: 96%; } }

/* dock */

/* ---------- sections ---------- */
.sec { padding: 120px 0 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sec h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; font-weight: 800; letter-spacing: -0.035em; }
.sec-head p { margin-top: 18px; color: var(--text-2); font-size: 18px; }

/* tabs vs windows */
.vs { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.vs-card { position: relative; padding: 26px; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 0.5px var(--line); }
.vs-new { background: linear-gradient(160deg, rgba(52, 199, 123, 0.14), var(--panel) 50%); box-shadow: inset 0 0 0 0.5px rgba(52, 199, 123, 0.35); }
.vs-label { font-size: 13px; font-weight: 600; color: var(--text-3); }
.vs-new .vs-label { color: var(--accent-2); }
.vs-desk { margin-top: 16px; height: 228px; border-radius: 10px; background: center / cover; position: relative; overflow: hidden; box-shadow: inset 0 0 0 0.5px var(--line-2); }
.vw { position: absolute; border-radius: 6px; background: rgba(28, 30, 33, 0.92); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 0 0 0.5px rgba(255, 255, 255, 0.14); }
.vw::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; border-bottom: 0.5px solid var(--line); background: #222428; border-radius: 6px 6px 0 0; }

.vs-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--text-2); }
.vs-list li { padding-left: 26px; position: relative; }
.vs-old .vs-list li::before { content: '×'; position: absolute; left: 4px; color: #ff6961; font-weight: 700; }
.vs-new .vs-list li::before, .ticks li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); rotate: -45deg; scale: 0.8; }

/* feature cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { padding: 22px; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 0.5px var(--line); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 0.5px var(--line-2), 0 20px 40px rgba(0, 0, 0, 0.3); }
.card h3 { font-size: 18px; margin-top: 18px; }
.card.sm h3 { margin-top: 0; }
.card p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.viz { height: 150px; border-radius: 12px; position: relative; overflow: hidden; background: linear-gradient(160deg, #18302a, #0f1813); box-shadow: inset 0 0 0 0.5px var(--line); }

.viz-snap .a, .viz-snap .b { position: absolute; top: 16px; bottom: 16px; border-radius: 8px; background: rgba(28, 30, 33, 0.95); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 0 0 0.5px var(--line-2); }
.viz-snap .a { left: 16px; width: calc(50% - 20px); animation: snapA 4s ease-in-out infinite; }
.viz-snap .b { right: 16px; width: calc(50% - 20px); box-shadow: inset 0 0 0 1.5px rgba(52, 199, 123, 0.7); background: rgba(52, 199, 123, 0.12); animation: snapB 4s ease-in-out infinite; }
@keyframes snapA { 0%, 15% { left: 30%; top: 30px; width: 40%; bottom: 40px; } 45%, 100% { left: 16px; top: 16px; width: calc(50% - 20px); bottom: 16px; } }
@keyframes snapB { 0%, 30% { opacity: 0.3; } 55%, 100% { opacity: 1; background: rgba(28, 30, 33, 0.95); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 0 0 0.5px var(--line-2); } }

.viz-dock { display: flex; align-items: center; justify-content: center; gap: 12px; }
.viz-dock .gi { width: 52px; height: 52px; font-size: 25px; }
.viz-dock em { position: absolute; top: -6px; right: -7px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #ff453a; color: #fff; font: 700 11px/20px Inter, sans-serif; font-style: normal; text-align: center; animation: pop 3s ease-in-out infinite; }
@keyframes pop { 0%, 70%, 100% { scale: 1; } 78% { scale: 1.25; } }

.viz-widgets { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 14px; }
.viz-widgets span { border-radius: 10px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 0.5px var(--line-2); }
.viz-widgets .w1 { display: grid; place-items: center; font-size: 26px; letter-spacing: -0.04em; }
.viz-widgets .w2 { grid-row: span 2; padding: 10px; display: grid; gap: 6px; align-content: start; }
.viz-widgets .w2 i { height: 20px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); border-left: 4px solid var(--c); }

.viz-ov { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px 22px; }
.viz-ov span { border-radius: 6px; background: rgba(28, 30, 33, 0.95); box-shadow: inset 0 0 0 0.5px var(--line-2); }
.viz-ov span:nth-child(2) { box-shadow: 0 0 0 2px var(--accent); }
.viz-ov kbd { position: absolute; right: 10px; bottom: 10px; }

.viz-mini .big { position: absolute; inset: 16px 40px 30px 16px; border-radius: 8px; background: rgba(28, 30, 33, 0.9); box-shadow: inset 0 0 0 0.5px var(--line-2); }
.viz-mini .pin { position: absolute; right: 14px; bottom: 14px; width: 92px; height: 56px; border-radius: 8px; background: url(assets/wallpapers/kayak-thumb.jpg) center / cover; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), inset 0 0 0 0.5px rgba(255, 255, 255, 0.3); display: grid; place-items: start end; padding: 5px; font-size: 13px; color: var(--accent-2); }

.viz-layouts { display: grid; gap: 8px; padding: 14px; }
.viz-layouts > span { display: flex; gap: 6px; padding: 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 0.5px var(--line); }
.viz-layouts > span:first-child { box-shadow: inset 0 0 0 1px rgba(52, 199, 123, 0.6); background: rgba(52, 199, 123, 0.08); }
.viz-layouts b { flex: 1; height: 22px; border-radius: 4px; background: rgba(28, 30, 33, 0.95); }

/* big rows */
.rows .row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 50px 0; }
.rows .row.flip .row-copy { order: 2; }
.row-copy p { margin-top: 18px; color: var(--text-2); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; color: var(--text-2); }
.ticks li { position: relative; padding-left: 28px; }
.ticks.big { font-size: 18px; gap: 16px; }
.row-viz { position: relative; min-height: 340px; border-radius: 22px; background: radial-gradient(circle at 30% 20%, rgba(52, 199, 123, 0.18), transparent 60%), var(--panel); box-shadow: inset 0 0 0 0.5px var(--line); padding: 34px; display: grid; align-content: center; gap: 18px; overflow: hidden; }

.focus-card { display: flex; align-items: center; gap: 22px; padding: 20px; border-radius: 18px; background: rgba(28, 30, 33, 0.9); box-shadow: inset 0 0 0 0.5px var(--line-2), 0 20px 50px rgba(0, 0, 0, 0.4); }
.ring { position: relative; width: 110px; height: 110px; flex-shrink: 0; }
.ring svg { width: 100%; height: 100%; rotate: -90deg; }
.ring circle { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 8; }
.ring circle.p { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 120; filter: drop-shadow(0 0 6px rgba(52, 199, 123, 0.6)); }
.ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring b { font-size: 24px; letter-spacing: -0.03em; }
.ring small, .focus-meta small { color: var(--text-3); font-size: 12px; }
.focus-meta { display: grid; gap: 4px; }
.focus-meta b { font-size: 17px; }
.pills { display: flex; gap: 6px; margin-top: 10px; }
.pills span { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); }
.pills .end { background: rgba(255, 105, 97, 0.16); color: #ff8a84; }
.blocked { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 22px; border-radius: 16px; background: rgba(15, 20, 17, 0.8); box-shadow: inset 0 0 0 0.5px var(--line); margin-left: 40px; }
.blocked i { font-size: 26px; color: var(--accent-2); }
.blocked small { color: var(--text-3); max-width: 280px; }

.toast-demo { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgba(40, 46, 43, 0.95); box-shadow: inset 0 0 0 0.5px var(--line-2), 0 16px 40px rgba(0, 0, 0, 0.4); width: max-content; max-width: 100%; justify-self: end; animation: drop 5s ease-in-out infinite; }
.toast-demo i { font-size: 22px; color: var(--accent-2); }
.toast-demo div { display: grid; }
.toast-demo small { color: var(--text-3); }
@keyframes drop { 0% { opacity: 0; translate: 0 -12px; } 10%, 85% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 -6px; } }

.caret { height: 18px; width: 2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.mail-demo { padding: 14px; border-radius: 16px; background: rgba(20, 24, 22, 0.8); box-shadow: inset 0 0 0 0.5px var(--line-2), 0 20px 50px rgba(0, 0, 0, 0.4); font-size: 14px; }
.mail-demo .msg { font-size: 13.5px; padding: 10px 12px; }
.mail-demo .msg b { font-size: 14px; }
.mail-demo .msg-acts i { width: 30px; height: 30px; padding: 6px; }
.mail-demo .msg-acts i:first-child { background: var(--accent); color: var(--accent-ink); }
.arrow-down { width: 2px; height: 26px; margin: 8px auto; background: linear-gradient(var(--accent), transparent); }
.task-demo { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(52, 199, 123, 0.1); box-shadow: inset 0 0 0 0.5px rgba(52, 199, 123, 0.4); }
.task-demo .box { width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--accent); flex-shrink: 0; }
.task-demo div { display: grid; }
.task-demo small { color: var(--text-3); }

  
.agent-badge { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(217, 119, 87, 0.16); color: #f0a487; font-size: 13px; font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #f0a487; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(240, 164, 135, 0.6); } 50% { box-shadow: 0 0 0 6px rgba(240, 164, 135, 0); } }

.note-more { margin-top: 26px; text-align: center; color: var(--text-3); display: flex; gap: 8px; justify-content: center; align-items: center; }
.note-more i { color: var(--accent); }

/* wallpapers */
.walls { display: flex; gap: 14px; overflow-x: auto; padding: 4px max(16px, calc(50vw - 560px)) 20px; scrollbar-width: none; }
.walls::-webkit-scrollbar { display: none; }
.walls img { width: 240px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; flex-shrink: 0; cursor: pointer; box-shadow: inset 0 0 0 0.5px var(--line-2); opacity: 0.8; transition: opacity 0.2s, transform 0.2s, outline-color 0.2s; outline: 2px solid transparent; outline-offset: 3px; }
.walls img:hover { opacity: 1; transform: translateY(-3px); }
.walls img.on { opacity: 1; outline-color: var(--accent); }

/* privacy */
.privacy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding: 56px; border-radius: 28px; background: linear-gradient(140deg, #13261e, var(--panel) 60%); box-shadow: inset 0 0 0 0.5px var(--line); }
.privacy p { margin-top: 18px; color: var(--text-2); font-size: 18px; }

/* final CTA */
.final { position: relative; margin-top: 140px; padding: 130px 0; overflow: hidden; text-align: center; }
.final-bg { position: absolute; inset: 0; background: center / cover; opacity: 0.55; }
.final-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--bg), rgba(10, 15, 12, 0.3) 40%, rgba(10, 15, 12, 0.3) 60%, var(--bg)); }
.final-in { position: relative; }
.final-icon { width: 96px; height: 96px; margin: 0 auto 26px; filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.5)); }
.final h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.04em; }
.final p { margin-top: 16px; font-size: 19px; color: var(--text-2); }
.center { justify-content: center; }
.fine { display: block; margin-top: 18px; color: var(--text-3); font-size: 13px; }

.foot { border-top: 0.5px solid var(--line); padding: 34px 0; }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-in img { height: 24px; width: auto; }
.foot nav { display: flex; gap: 22px; color: var(--text-2); font-size: 14px; margin-left: auto; }
.foot small { color: var(--text-3); }

/* reveal on scroll */
.reveal { opacity: 0; translate: 0 24px; transition: opacity 0.7s ease, translate 0.7s ease; }
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid, .grid.four { grid-template-columns: 1fr 1fr; }
  .vs, .rows .row, .privacy { grid-template-columns: 1fr; }
  .rows .row { gap: 32px; }
  .rows .row.flip .row-copy { order: 0; }
  .privacy { padding: 36px 28px; gap: 30px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 600px) {
  .grid, .grid.four { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .sec { padding-top: 88px; }
  .stage { border-radius: 12px; }
  .row-viz { padding: 20px; min-height: 0; }
  .blocked { margin-left: 0; }
  .focus-card { flex-direction: column; text-align: center; }
  .pills { justify-content: center; }
  .foot nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: 0 0; }
}

h1, h2, h3 { text-wrap: balance; }
.rows h2 { font-size: clamp(30px, 3.4vw, 44px); }

/* ---------- feature vizzes added with 1.15 ---------- */
.viz-theme { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.viz-theme .dark, .viz-theme .light { height: 64px; border-radius: 10px; box-shadow: inset 0 0 0 0.5px var(--line-2); position: relative; }
.viz-theme .dark { background: var(--win); }
.viz-theme .light { background: #f6f7f6; }
.viz-theme .dark::after, .viz-theme .light::after { content: ''; position: absolute; left: 10px; right: 10px; top: 10px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.viz-theme .light::after { background: rgba(0, 0, 0, 0.1); }
.viz-theme .acc { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: center; }
.viz-theme .acc i { width: 16px; height: 16px; border-radius: 50%; }
.viz-theme .acc i:nth-child(1) { background: var(--accent); box-shadow: 0 0 10px var(--accent); outline: 1.5px solid var(--accent); outline-offset: 2px; }
.viz-theme .acc i:nth-child(2) { background: #0a84ff; } .viz-theme .acc i:nth-child(3) { background: #bf5af2; } .viz-theme .acc i:nth-child(4) { background: #ff9f0a; }
.viz-brief { display: grid; align-content: center; justify-items: center; gap: 6px; padding: 14px; text-align: center; }
.viz-brief b { font-size: 20px; letter-spacing: -0.03em; }
.viz-brief span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.viz-brief i { width: 70%; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.viz-brief i:first-of-type { background: rgba(52, 199, 123, 0.45); }

/* ---------- App Builder chat ---------- */
.chat-demo { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: rgba(28, 30, 33, 0.95); box-shadow: inset 0 0 0 0.5px var(--line-2), 0 20px 50px rgba(0, 0, 0, 0.4); font-size: 13.5px; }
.chat-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 0.5px solid var(--line); }
.chat-head small { color: var(--text-3); }
.pulse.green { background: var(--accent); animation: pulse-g 1.4s ease-in-out infinite; }
@keyframes pulse-g { 0%, 100% { box-shadow: 0 0 0 0 rgba(52, 199, 123, 0.6); } 50% { box-shadow: 0 0 0 6px rgba(52, 199, 123, 0); } }
.chat-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; line-height: 1.45; }
.chat-msg.user { justify-self: end; border-radius: 14px 14px 4px 14px; background: linear-gradient(90deg, rgba(52, 199, 123, 0.28), rgba(52, 199, 123, 0.1)); box-shadow: inset 0 0 0 0.5px rgba(52, 199, 123, 0.35); }
.chat-msg.bot { padding-left: 2px; color: var(--text); }
.chat-tool { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-3); padding: 0 2px; }
.chat-tool i { color: var(--accent-2); }

@media (max-width: 600px) {
  .chat-demo { padding: 12px; font-size: 13px; }
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: #fff; color: #0a0f0c; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
html { scroll-padding-top: 80px; }

/* ============ Legal pages (/privacy, /terms) ============ */
.legal { max-width: 760px; padding: 120px 0 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.legal-meta { color: var(--text-3); font-size: 14px; margin: 10px 0 36px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 44px 0 12px; }
.legal h3 { font-size: 16.5px; font-weight: 650; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal a:hover { color: var(--accent); }

/* ---------- leafdeckos.com: the waitlist form, the Claude window, the usage meter ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.join { margin-top: 34px; display: grid; gap: 12px; justify-items: center; }
.join-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: min(560px, 100%); }
.join-row input { flex: 1 1 240px; min-width: 0; height: 50px; padding: 0 18px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 0.5px var(--line-2); color: var(--text); font: inherit; font-size: 16px; }
.join-row input::placeholder { color: var(--text-3); }
.join-row input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.join-row .btn { height: 50px; }
.join-row .btn[disabled] { opacity: 0.6; transform: none; cursor: default; }
.join-use { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--text-2); }
.join-use label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.join-use input { accent-color: var(--accent); margin: 0; }
.join .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-msg { min-height: 1.5em; font-size: 15px; }
.join-msg.ok { color: var(--accent-2); }
.join-msg.err { color: #ff8a80; }
.join .fine { margin-top: 0; }
.hero-copy .join { text-align: left; }

.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grid.two { grid-template-columns: 1fr; } }

/* ---------- Files window in the hero desktop ---------- */

/* ---------- the problem: a mass-market desktop with Claude in a corner ---------- */
.vs-old .vs-desk { filter: saturate(0.35) brightness(0.75); }
.vw.chat { display: grid; place-items: center; padding: 16px 8px 6px; text-align: center; }
.vw.chat em { font-size: 11px; color: var(--text-3); }
.sec-head.idea { margin: 96px auto 0; }

/* ---------- hero: see how it works ---------- */
.see-how { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--accent-2); }
.see-how:hover { color: var(--text); }
.see-how i { font-size: 16px; }

/* ---------- control levels and how-it-works steps ---------- */
.levels, .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: lv; }
.steps { grid-template-columns: repeat(3, 1fr); }
.levels li, .steps li { position: relative; padding: 22px; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 0.5px var(--line); }
.levels li:nth-child(1) { background: linear-gradient(160deg, rgba(52, 199, 123, 0.04), var(--panel) 60%); }
.levels li:nth-child(2) { background: linear-gradient(160deg, rgba(52, 199, 123, 0.08), var(--panel) 60%); }
.levels li:nth-child(3) { background: linear-gradient(160deg, rgba(52, 199, 123, 0.12), var(--panel) 60%); }
.levels li:nth-child(4) { background: linear-gradient(160deg, rgba(52, 199, 123, 0.18), var(--panel) 60%); box-shadow: inset 0 0 0 0.5px rgba(52, 199, 123, 0.35); }
.lv { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(52, 199, 123, 0.16); color: var(--accent-2); font-weight: 700; font-size: 14px; }
.levels h3, .steps h3 { font-size: 18px; margin-top: 16px; }
.levels p, .steps p { margin-top: 8px; color: var(--text-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 0.5px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--accent); transition: rotate 0.2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.faq details p { padding: 0 2px 22px; color: var(--text-2); font-size: 16.5px; }

/* ---------- footer disclaimer ---------- */
.foot-legal { flex-basis: 100%; line-height: 1.5; }

@media (max-width: 960px) {
  .levels { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .levels { grid-template-columns: 1fr; }
  .sec-head.idea { margin-top: 64px; }
}

/* ================= The live mini desktop: LeafdeckOS's own chrome, at 1200×720 =================
   Sizes and colors follow public/css/app.css in the app (menu bar 30px, widgets on a 168px grid, 46px title bars
   with the controls on the right, glass app tiles, the Dock flush with the bottom, the Claude button beside it). */
.desk { --glass: rgba(24, 27, 29, 0.42); font-size: 13px; line-height: 1.4; }

/* menu bar: one glass piece with a notch each side of the search (the search is see-through until you use it) */
.mb { position: absolute; inset: 0 0 auto; height: 30px; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; font-weight: 500; }
.mb-bg {
  --notch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='30'%3E%3Cpath d='M0 30A10 10 0 0 0 10 20V10A6 6 0 0 1 16 4H24A6 6 0 0 1 30 10V20A10 10 0 0 0 40 30Z'/%3E%3C/svg%3E");
  position: absolute; inset: 0; z-index: -1;
  background: rgba(14, 18, 16, 0.5);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  mask: var(--notch) 370px 0 / auto no-repeat, var(--notch) right 370px top 0 / auto no-repeat, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.mb-l, .mb-r { display: flex; align-items: center; gap: 2px; height: 30px; }
.mb-l > span, .mb-r > span { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 6px; white-space: nowrap; }
.mb-logo { gap: 5px; font-weight: 700; padding-left: 6px !important; }
.mb-logo i { font-size: 16px; color: var(--accent); }
.mb-r { gap: 10px; padding-right: 6px; }
.mb-r > i { font-size: 15px; color: var(--text-2); }
.mb-r > span { padding: 0; }
.mb-r > .mb-sync { width: 7px; height: 7px; border-radius: 50%; background: #30d158; box-shadow: 0 0 6px rgba(48, 209, 88, 0.6); }
.mb-clock { font-variant-numeric: tabular-nums; }
.mb-claude, .mb-batt { gap: 5px; font-size: 12.5px; }
.mb-claude i { width: 14px; height: 14px; background: currentColor; mask: url(assets/claude-symbol.png) center / contain no-repeat; -webkit-mask: url(assets/claude-symbol.png) center / contain no-repeat; }
.mb-batt i { font-size: 16px; color: #30d158; }
.mb-search { position: absolute; left: 400px; right: 400px; top: 0; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--text-2); font-weight: 400; }
.mb-search i { position: absolute; left: 12px; font-size: 15px; }

/* widgets: a 168px grid, glass with a 22px radius */
.widgets { position: absolute; top: 48px; left: 18px; display: grid; grid-template-columns: repeat(2, 168px); grid-auto-rows: 168px; gap: 14px; z-index: 1; }
.wg {
  display: flex; flex-direction: column; min-width: 0; padding: 13px 15px; border-radius: 22px;
  background: rgba(18, 24, 21, 0.48);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.wg.w-m { grid-column: span 2; }
.wg header { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.wg header i { font-size: 13px; color: var(--accent); }
.wg header em { margin-left: auto; font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); }
.w-clock { display: flex; align-items: center; gap: 20px; height: 100%; padding-left: 4px; }
.w-clock-time { display: flex; align-items: baseline; gap: 4px; }
.w-clock-time span { font-size: 58px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.w-clock-time small { font-size: 14px; font-weight: 600; color: var(--text-2); }
.w-clock-side { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.w-clock-side b { font-size: 15px; font-weight: 600; }
.w-clock-side span { color: var(--text-2); }
.w-agenda { display: flex; flex-direction: column; gap: 4px; }
.w-ev { display: flex; gap: 4px; align-items: stretch; line-height: 1.3; }
.w-ev-bar { width: 4px; flex-shrink: 0; border-radius: 4px; background: var(--bar); }
.w-ev-card { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: center; padding: 3px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.w-ev-when { display: flex; flex-direction: column; width: 72px; flex-shrink: 0; }
.w-ev-when b { font-size: 11.5px; }
.w-ev-when small, .w-ev-what small { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-ev-what { display: flex; flex-direction: column; min-width: 0; }
.w-ev-what b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-task { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 0.5px solid var(--line); white-space: nowrap; }
.w-task span { overflow: hidden; text-overflow: ellipsis; }
.w-task i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--text-3); flex-shrink: 0; }
.w-big { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.w-sub { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.w-timer-btn { margin-top: auto; align-self: flex-start; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 12px; }
.w-timer-btn i { font-size: 12px; }

/* glass app tiles: built-in apps on the desktop, in the Dock and in title bars */
.ai {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 26%;
  background: rgba(16, 22, 19, 0.62);
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 4px 14px rgba(0, 0, 0, 0.28);
  color: #f2f2f5; font-size: 27px;
}
.ai.tiny { width: 20px; height: 20px; font-size: 12.5px; border-radius: 28%; border: 0; box-shadow: none; background: rgba(255, 255, 255, 0.1); }
.ai.fold { grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px; place-items: stretch; font-size: 10px; box-shadow: 0 0 0 1.5px var(--accent), 0 0 14px rgba(52, 199, 123, 0.35), 0 4px 14px rgba(0, 0, 0, 0.28); }
.ai.fold i { width: 100%; height: 100%; border-radius: 28%; background: rgba(255, 255, 255, 0.12); }
.ai.fold i svg { width: 62%; height: 62%; }

/* desktop icons: 92px columns of 112px rows, from the right */
.d-icons { position: absolute; top: 42px; right: 12px; width: 92px; display: grid; grid-auto-rows: 112px; justify-items: center; z-index: 1; }
.d-icon { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px 2px; color: #fff; }
.d-label { font-size: 12px; font-weight: 500; text-align: center; padding: 1px 6px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.5); }

/* windows: solid, 12px radius, a 46px title bar with the controls on the right */
.win {
  position: absolute; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 12px; background: #1c1e21; border: 0.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.7), 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: opacity 0.2s, transform 0.2s;
}
.win.active { box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.8), 0 28px 70px rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.25); }
.win.snapping { transition: left 0.26s cubic-bezier(.2,.8,.2,1), top 0.26s cubic-bezier(.2,.8,.2,1), width 0.26s cubic-bezier(.2,.8,.2,1), height 0.26s cubic-bezier(.2,.8,.2,1); }
.win.hidden { opacity: 0; transform: scale(0.94) translateY(30px); pointer-events: none; }
.win-bar, .term-bar {
  flex-shrink: 0; height: 46px; display: flex; align-items: center; gap: 14px; padding: 0 8px 0 16px;
  border-bottom: 0.5px solid var(--line); background: rgba(255, 255, 255, 0.025);
}
.win-bar { cursor: grab; }
.win-bar:active { cursor: grabbing; }
.win:not(.active) .win-title { color: var(--text-3); }
.win-title { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; }
.win-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 2px 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08); color: var(--text-2); font-size: 15px; }
.win-tools > i { position: relative; width: 28px; height: 28px; border-radius: 8px; }
.win-tools > i + i::before { content: ''; position: absolute; left: -4.5px; top: 7px; width: 1px; height: 14px; background: rgba(255, 255, 255, 0.1); }
.tb-claude { background: #d97757; mask: url(assets/claude-symbol.png) center / 15px 15px no-repeat; -webkit-mask: url(assets/claude-symbol.png) center / 15px 15px no-repeat; }
.lights { margin-left: auto; display: flex; align-items: center; gap: 9px; height: 28px; padding: 0 6px 0 12px; border-left: 0.5px solid var(--line); }
.win-tools + .lights { margin-left: 0; }
.lights b { width: 16px; height: 16px; border-radius: 50%; border: 0.5px solid rgba(0, 0, 0, 0.25); background: rgba(235, 235, 245, 0.2) center / 9px 9px no-repeat; cursor: pointer; }
.lights b:hover { background-color: rgba(235, 235, 245, 0.34); }
.l-mini { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='rgba(0,0,0,0.6)' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='2' y='2' width='8' height='8' rx='1.5'/%3E%3Crect x='6' y='6' width='4.5' height='4.5' rx='1' fill='rgba(0,0,0,0.6)' stroke='none'/%3E%3C/svg%3E"); }
.l-min { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='rgba(0,0,0,0.6)' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 6h8'/%3E%3C/svg%3E"); }
.l-max { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='rgba(0,0,0,0.6)' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='2' y='2' width='8' height='8' rx='1.5'/%3E%3C/svg%3E"); }
.l-close { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='rgba(0,0,0,0.6)' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2.5 2.5l7 7M9.5 2.5l-7 7'/%3E%3C/svg%3E"); }
.win-bar:hover .l-close, .term-bar:hover .l-close { background-color: #ff5f57; border-color: rgba(160, 30, 20, 0.5); }

/* the Files app */
.fm { flex: 1; display: grid; grid-template-columns: 150px 1fr; min-height: 0; padding: 0 8px 8px 0; }
.fm-side { display: flex; flex-direction: column; gap: 1px; padding: 10px 8px; }
.fm-side-head { margin: 10px 8px 4px; font-size: 11px; font-weight: 600; color: var(--text-3); }
.fm-place { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 10px; color: var(--text-2); white-space: nowrap; }
.fm-place i { font-size: 15px; color: var(--accent); }
.fm-place.on { background: linear-gradient(90deg, rgba(52, 199, 123, 0.26), rgba(52, 199, 123, 0.1) 65%, rgba(52, 199, 123, 0.04)); box-shadow: inset 0 0 0 1px rgba(52, 199, 123, 0.85); color: var(--accent); }
.fm-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 0.5px solid var(--line); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.fm-bar { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-bottom: 0.5px solid var(--line); }
.fm-crumbs { flex: 1; display: flex; align-items: center; gap: 1px; height: 30px; padding: 0 6px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); font-size: 12.5px; color: var(--text-2); }
.fm-crumb { padding: 3px 7px; border-radius: 6px; }
.fm-crumb.on { color: var(--text); font-weight: 500; }
.fm-sep { color: var(--text-3); }
.fm-grid { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); grid-auto-rows: max-content; gap: 6px; align-content: start; padding: 12px; }
.fm-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 8px; border-radius: 12px; }
.fm-item.sel { background: linear-gradient(90deg, rgba(52, 199, 123, 0.26), rgba(52, 199, 123, 0.1) 65%, rgba(52, 199, 123, 0.04)); box-shadow: inset 0 0 0 1px rgba(52, 199, 123, 0.85); }
.fm-fold { --bk: #238754; --fr: var(--accent); width: 60px; height: 49px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)); }
.fm-name { font-size: 12.5px; text-align: center; }
.fm-status { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-top: 0.5px solid var(--line); font-size: 11.5px; color: var(--text-3); }

/* the Terminal, with Claude Code in it */
.term { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: #1c1e21; border: 0.5px solid rgba(255, 255, 255, 0.14); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.8), 0 28px 70px rgba(0, 0, 0, 0.5); }
.term pre { font-size: 13px; }
.term pre, .win pre { flex: 1; margin: 0; padding: 14px 16px; overflow: hidden; font: 12px/1.5 ui-monospace, 'Cascadia Code', Consolas, monospace; color: var(--text); white-space: pre-wrap; }
.t-user { display: block; margin: 0 -8px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); }
.t-p { color: var(--text-2); }
.t-dot { color: var(--accent); }
.t-k { color: #64a8ff; }
.t-dim { color: var(--text-3); }
.t-mode { color: #f0a487; }
.t-cursor { display: inline-block; width: 7px; height: 14px; vertical-align: -2px; background: var(--text); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* snapping */
.snap-preview { position: absolute; z-index: 40; pointer-events: none; opacity: 0; border-radius: 14px; background: rgba(52, 199, 123, 0.14); box-shadow: inset 0 0 0 1.5px rgba(52, 199, 123, 0.7); transition: opacity 0.15s, left 0.15s, width 0.15s; }
.snap-preview.on { opacity: 1; }
.hint {
  position: absolute; left: 50%; top: 618px; translate: -50% 0; z-index: 30;
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(20, 24, 22, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 0.5px var(--line-2); font-size: 12.5px; color: var(--text-2);
  transition: opacity 0.4s; pointer-events: none;
}
.hint i { color: var(--accent-2); }
.hint.gone { opacity: 0; }

/* the Dock, flush with the bottom, and the Claude button beside it */
.dock { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; z-index: 60; padding: 0 12px; pointer-events: none; }
.dock-in {
  display: flex; align-items: flex-end; gap: 6px; padding: 6px 8px; border-radius: 22px 22px 0 0; pointer-events: auto;
  background: rgba(30, 33, 32, 0.36);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(255, 255, 255, 0.18); border-bottom: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.dk { position: relative; width: 50px; height: 50px; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; }
.dk .ai { width: 50px; height: 50px; font-size: 25px; transform-origin: 50% 100%; transition: transform 0.12s ease-out; }
.dk:hover .ai { transform: scale(1.12); }
.dk .dot { position: absolute; left: 50%; bottom: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(255, 255, 255, 0.85); opacity: 0; transition: width 0.15s, opacity 0.15s, margin 0.15s; }
.dk .dot.on { opacity: 0.55; }
.dk.active .dot.on { opacity: 1; width: 10px; margin-left: -5px; border-radius: 2px; }
.dk-sep { width: 1px; align-self: stretch; margin: 4px 4px; background: rgba(255, 255, 255, 0.22); }
.cl-btn {
  position: absolute; left: 0; bottom: 0; z-index: 60; width: 68px; height: 62px; display: grid; place-items: center;
  border-radius: 0 22px 0 0;
  background: rgba(30, 33, 32, 0.36);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(255, 255, 255, 0.18); border-left: 0; border-bottom: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.cl-btn img { width: 30px; height: 30px; object-fit: contain; }

/* the small desktops in "The problem" */
.vdock { position: absolute; left: 50%; bottom: 0; translate: -50% 0; display: flex; gap: 4px; padding: 4px 6px 5px; border-radius: 9px 9px 0 0; background: rgba(30, 33, 32, 0.5); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2); }
.vdock i { width: 16px; height: 16px; border-radius: 5px; background: rgba(16, 22, 19, 0.75); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2); }
