/* =========================================================
   Raycast homepage — study clone
   ========================================================= */
:root {
  --bg: #070809;
  --bg-2: #0b0c0e;
  --card: #0e0f12;
  --fg: #ffffff;
  --fg-2: rgba(255, 255, 255, .72);
  --muted: rgba(255, 255, 255, .56);
  --dim: rgba(255, 255, 255, .38);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .12);
  --red: #ff6363;
  --red-deep: #e3183b;
  --radius: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
kbd { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.center { text-align: center; }
.container { width: 100%; max-width: 1252px; margin: 0 auto; padding: 0 24px; }

.caret {
  display: inline-block; width: 1.5px; height: 1.1em; background: #fff;
  vertical-align: -0.18em; margin-left: 1px; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn-download, .btn-light {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, #f4f4f5, #d8d8da);
  color: #111; font-weight: 600; font-size: 14px;
  height: 32px; padding: 0 12px; border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 1px 2px rgba(0,0,0,.5), 0 6px 16px rgba(0,0,0,.25);
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.btn-download svg, .btn-light svg { width: 16px; height: 16px; margin-top: -2px; }
.btn-download:hover, .btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-light { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 15px; }
.btn-ghost {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 9px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2); font-size: 14px; font-weight: 500;
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.link-arrow { display: inline-flex; gap: 6px; color: var(--fg-2); font-weight: 500; font-size: 15px; transition: color .2s; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover { color: #fff; }
.link-arrow:hover span { transform: translateX(3px); }

/* =========================================================
   NAV
   ========================================================= */
.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 24px; pointer-events: none; }
.nav-inner {
  pointer-events: auto;
  max-width: 1204px; margin: 0 auto; height: 58px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px 0 20px;
  border-radius: 16px;
  background: rgba(12, 13, 15, .72);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 20px 40px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  opacity: 0; transform: translateY(-8px);
  animation: navIn 1s .15s var(--ease) forwards;
}
@keyframes navIn { to { opacity: 1; transform: none; } }
.nav-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; letter-spacing: 0; }
.logo-mark { width: 24px; height: 24px; filter: drop-shadow(0 0 8px rgba(255,99,99,.35)); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.62);
  padding: 6px 12px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.62); padding: 6px 8px; transition: color .2s; }
.nav-login:hover { color: #fff; }
.nav-burger { display: none; width: 32px; height: 32px; position: relative; }
.nav-burger span { position: absolute; left: 8px; right: 8px; height: 1.6px; background: #fff; border-radius: 2px; }
.nav-burger span:first-child { top: 12px; } .nav-burger span:last-child { top: 19px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 100vh; min-height: 680px; max-height: 1100px; overflow: hidden; display: grid; place-items: center; }
.hero-bg { position: absolute; inset: 0; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-fallback { display: none; position: absolute; inset: 0; }
.no-webgl #hero-canvas { display: none; }
.no-webgl .hero-fallback {
  display: block;
  background:
    repeating-linear-gradient(128deg, transparent 0 40px, rgba(227,24,59,.55) 60px 110px, transparent 130px 170px),
    #07080a;
  filter: blur(18px);
  mask: radial-gradient(60% 70% at 55% 50%, #000 30%, transparent 75%);
}
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,8,9,.0) 60%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; margin-top: 40px; }
.hero-title {
  font-size: clamp(44px, 6.1vw, 72px); line-height: 1.08; font-weight: 600; letter-spacing: -.01em;
  text-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: .25s; }
.hero-title .line:nth-child(2) > span { animation-delay: .38s; }
@keyframes lineUp { to { transform: none; } }
.hero-sub {
  max-width: 520px; margin: 26px auto 0; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.92);
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(10px); filter: blur(6px);
  transition: opacity 1.2s var(--ease) .35s, transform 1.2s var(--ease) .35s, filter 1.2s var(--ease) .35s;
}
.hero-cta {
  margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 1.2s var(--ease) .75s, transform 1.2s var(--ease) .75s;
}
.hero.lit .hero-sub { opacity: 1; transform: none; filter: none; }
.hero.lit .hero-cta { opacity: 1; transform: none; }
.no-webgl .hero-sub, .no-webgl .hero-cta { opacity: 1; transform: none; filter: none; }
.hero-meta { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.5); }
.copy-brew { cursor: pointer; border-bottom: 1px dashed rgba(255,255,255,.25); }

/* =========================================================
   SHOWCASE — Mac frame, Raycast window, dock
   ========================================================= */
.showcase { position: relative; padding: 140px 0 120px; overflow-x: clip; }
.showcase-head { text-align: center; margin-bottom: 44px; }
.showcase-head h2 { font-size: 24px; font-weight: 500; }
.showcase-head p { font-size: 24px; font-weight: 500; color: var(--dim); }

.mac-wrap { max-width: 1204px; margin: 0 auto; padding: 0 24px; }
.mac-stage { width: 1156px; height: 740px; transform-origin: top left; }
.mac-frame {
  width: 100%; height: 100%; padding: 8px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 120px -20px rgba(0,0,0,.9);
  position: relative;
}
.mac-frame::before {
  content: ""; position: absolute; inset: -140px -80px; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 45% at 50% 60%, rgba(227,24,59,.20), transparent 70%);
  filter: blur(20px);
}
.mac-screen {
  position: relative; width: 100%; height: 100%; border-radius: 21px; overflow: hidden;
  background: #050506;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.wallpaper { position: absolute; inset: 0; overflow: hidden; }
.wallpaper::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 100%, rgba(170,10,30,.55), transparent 70%),
              radial-gradient(40% 40% at 10% 90%, rgba(120,8,20,.5), transparent 70%);
}
.wallpaper i {
  position: absolute; width: 90px; height: 900px; border-radius: 60px;
  background: linear-gradient(180deg, rgba(255,40,70,0) 0%, rgba(230,20,50,.85) 45%, rgba(120,5,20,.7) 75%, rgba(0,0,0,0) 100%);
  transform: rotate(-38deg); filter: blur(14px); opacity: .8;
}
.wallpaper i:nth-child(1) { left: 60px;  top: 120px; }
.wallpaper i:nth-child(2) { left: 190px; top: 60px; width: 70px; opacity: .6; }
.wallpaper i:nth-child(3) { left: 330px; top: 160px; width: 110px; }
.wallpaper i:nth-child(4) { left: 520px; top: 240px; width: 80px; opacity: .55; }
.wallpaper i:nth-child(5) { left: 760px; top: 320px; width: 120px; opacity: .45; }

.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 34px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; padding: 0 18px;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.88);
  background: rgba(0,0,0,.25);
}
.mb-left, .mb-right { display: flex; align-items: center; gap: 20px; }
.mb-left span { color: rgba(255,255,255,.75); }
.mb-apple { width: 15px; height: 15px; }
.mb-item { display: inline-flex; align-items: center; gap: 5px; }
.mb-ico { width: 15px; height: 15px; }
.mb-batt { width: 24px; height: 13px; }

/* Raycast window */
.rc-window {
  position: absolute; left: 50%; top: 96px; width: 752px; height: 482px; transform: translateX(-50%);
  border-radius: 16px; overflow: hidden; z-index: 4;
  background: linear-gradient(180deg, rgba(22,10,12,.86), rgba(34,10,14,.9));
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 0 .5px rgba(0,0,0,.8), 0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  display: flex; flex-direction: column;
}
.rc-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 50% 110%, rgba(200,20,45,.45), transparent 70%),
              radial-gradient(60% 50% at 50% 40%, rgba(120,10,25,.25), transparent 70%);
}
.rc-search {
  position: relative; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.08); flex: none;
}
.rc-back {
  width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff;
}
.rc-back svg { width: 14px; height: 14px; }
.rc-query { position: relative; font-size: 19px; color: #fff; display: flex; align-items: center; min-width: 200px; }
.q-ph { position: absolute; left: 3px; color: rgba(255,255,255,.35); pointer-events: none; white-space: nowrap; }
.rc-query.has-text .q-ph { display: none; }
.rc-query .caret { height: 22px; }

.rc-body { position: relative; flex: 1; overflow: hidden; }
.rc-panel { position: absolute; inset: 0; padding: 8px 12px 0; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.rc-panel.active { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.rc-section-label { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.55); padding: 10px 8px 8px; }

.rc-footer {
  position: relative; z-index: 2; height: 48px; flex: none;
  display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(30,8,12,.75);
  font-size: 13.5px; font-weight: 500;
}
.rc-foot-left { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.72); }
.rc-cmd-ico { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: linear-gradient(180deg, #ff6b6b, #e5394b); }
.rc-cmd-ico svg { width: 13px; height: 13px; color: #fff; }
.rc-foot-right { display: flex; align-items: center; gap: 6px; }
.rc-foot-right kbd {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 5px; display: inline-grid; place-items: center;
  background: rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.8);
}
.rc-foot-right #rc-primary { margin-right: 4px; }
.rc-foot-right .dim { color: rgba(255,255,255,.55); margin-right: 4px; }
.rc-sep { width: 1px; height: 14px; background: rgba(255,255,255,.15); margin: 0 10px; }

.rc-toast {
  position: absolute; left: 50%; bottom: 62px; z-index: 5;
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px 0 14px; border-radius: 20px;
  background: rgba(60,28,32,.92); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 30px rgba(0,0,0,.5);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 12px) scale(.96); transition: opacity .3s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.rc-toast svg { width: 18px; height: 18px; }
.rc-toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* Emoji grid */
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 9px; padding: 0 2px; }
.emoji-tile {
  position: relative; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.055); font-size: 38px; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  transition: box-shadow .18s, background .18s, transform .18s var(--ease);
  animation: tileIn .35s var(--ease) both;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", Inter, sans-serif;
}
.emoji-tile.sym { font-family: Inter, "Apple Symbols", sans-serif; font-size: 34px; color: #fff; font-weight: 300; }
.emoji-tile.sel { box-shadow: inset 0 0 0 2px rgba(255,255,255,.9); background: rgba(255,255,255,.1); }
.emoji-tile.press { transform: scale(.92); }
@keyframes tileIn { from { opacity: 0; transform: scale(.85); } }

/* Clipboard */
.rc-panel[data-tool="clipboard"], .rc-panel[data-tool="window"] { display: grid; grid-template-columns: 38% 1fr; gap: 0; padding: 0; }
.clip-list, .wm-list { padding: 8px 8px 0 12px; border-right: 1px solid rgba(255,255,255,.07); }
.clip-list li, .wm-list li {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 9px;
  font-size: 14px; color: rgba(255,255,255,.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background .2s;
}
.clip-list li.sel, .wm-list li.sel { background: rgba(255,255,255,.1); }
.li-ico { width: 20px; height: 20px; border-radius: 5px; flex: none; display: grid; place-items: center; font-size: 11px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.li-ico svg { width: 14px; height: 14px; }
.li-sub { margin-left: auto; font-size: 12px; color: rgba(255,255,255,.4); }
.clip-preview { display: flex; flex-direction: column; padding: 14px 16px 0; }
.clip-view {
  flex: 1; border-radius: 10px; display: grid; place-items: center; overflow: hidden; position: relative; min-height: 0;
  font-size: 15px; color: rgba(255,255,255,.85);
}
.clip-view .cv { position: absolute; inset: 0; display: grid; place-items: center; animation: fadeIn .35s var(--ease); }
.cv-img { width: 78%; height: 84%; border-radius: 10px; background: radial-gradient(80% 60% at 30% 20%, #ff8a6b, transparent 60%), radial-gradient(70% 70% at 80% 80%, #6d4bff, transparent 60%), linear-gradient(135deg, #ff4f6d, #3a1c71); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.cv-color { width: 150px; height: 150px; border-radius: 24px; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 40px rgba(255,99,99,.35); }
.cv-text { padding: 20px; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.85); white-space: pre-wrap; text-align: left; place-items: start !important; }
.clip-meta dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0 0 12px; padding: 0 8px; font-size: 12.5px; }
.clip-meta dt { color: rgba(255,255,255,.5); }
.clip-meta dd { margin: 0; text-align: right; color: rgba(255,255,255,.85); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } }

/* AI panel */
.ai-answer { padding: 12px 10px; }
.ai-model { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.ai-model em, .chat-model em { font-style: normal; color: rgba(255,255,255,.4); }
.ai-dot { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(from 20deg, #d97757, #f0b08f, #d97757); box-shadow: 0 0 10px rgba(217,119,87,.5); }
.ai-text { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.92); white-space: pre-wrap; max-width: 640px; }
.ai-text .caret { height: 18px; }

/* Calculator */
.calc-row { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: stretch; margin: 0 6px 6px; }
.calc-box {
  height: 170px; border-radius: 12px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.calc-row .calc-box:last-child { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); }
.calc-val { font-size: 34px; font-weight: 600; letter-spacing: -.01em; transition: opacity .2s; }
.calc-sub { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); padding: 3px 10px; border-radius: 20px; }
.calc-arrow { display: grid; place-items: center; color: rgba(255,255,255,.5); }
.calc-arrow svg { width: 22px; }
.calc-history li { display: flex; justify-content: space-between; height: 38px; align-items: center; padding: 0 10px; border-radius: 8px; font-size: 14px; color: rgba(255,255,255,.8); animation: fadeIn .35s var(--ease); }
.calc-history li span:last-child { color: rgba(255,255,255,.45); }

/* Window management */
.wm-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.wm-desk {
  position: relative; width: 340px; height: 214px; border-radius: 12px;
  background: linear-gradient(135deg, #2b0b12, #120509 60%, #320a14);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), inset 0 0 40px rgba(0,0,0,.5);
}
.wm-win {
  position: absolute; left: 25%; top: 20%; width: 50%; height: 60%; border-radius: 7px;
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.1));
  box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 8px 20px rgba(0,0,0,.4);
  transition: all .55s var(--ease);
}
.wm-win i { position: absolute; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #ff5f57; }
.wm-win i:nth-child(1) { left: 8px; } .wm-win i:nth-child(2) { left: 18px; background: #febc2e; } .wm-win i:nth-child(3) { left: 28px; background: #28c840; }
.wm-shortcut { display: flex; gap: 6px; min-height: 28px; }
.wm-shortcut kbd { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 7px; display: grid; place-items: center; background: rgba(255,255,255,.1); box-shadow: inset 0 -2px 0 rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,255,255,.1); font-size: 14px; }

/* Dock */
.dock {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 6;
  display: flex; align-items: flex-end; gap: 10px; padding: 9px 10px; border-radius: 22px;
  background: rgba(30,30,34,.55); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 20px 50px rgba(0,0,0,.5);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.dock-btn {
  position: relative; width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(180deg, #2c2c30, #1b1b1e); color: rgba(255,255,255,.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px rgba(0,0,0,.6), 0 4px 10px rgba(0,0,0,.4);
  transition: width .4s var(--ease), height .4s var(--ease), transform .4s var(--ease), background .3s;
}
.dock-btn svg { width: 26px; height: 26px; transition: transform .4s var(--ease); }
.dock-btn:hover { transform: translateY(-3px); }
.dock-btn.active { width: 70px; height: 70px; border-radius: 18px; transform: translateY(-4px); background: linear-gradient(180deg, #4a4a50, #2a2a2e); color: #fff; }
.dock-btn.active svg { transform: scale(1.2); }
.dock-btn.active::after { content: ""; position: absolute; bottom: -9px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(255,255,255,.8); }
.dock-tip {
  position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translate(-50%, 4px);
  padding: 5px 11px; border-radius: 8px; background: rgba(20,20,22,.92); box-shadow: 0 0 0 1px rgba(255,255,255,.12);
  font-size: 14px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}
.dock-btn.active .dock-tip, .dock-btn:hover .dock-tip { opacity: 1; transform: translate(-50%, 0); }
.dock:hover .dock-btn.active:not(:hover) .dock-tip { opacity: 0; }

.showcase-caption { text-align: center; margin: 40px auto 0; max-width: 560px; padding: 0 24px; font-size: 18px; color: var(--muted); min-height: 56px; transition: opacity .35s; }
.showcase-caption b { color: #fff; font-weight: 600; }

/* =========================================================
   TIME / KEYBOARD
   ========================================================= */
.time { padding: 120px 0 80px; overflow: hidden; }
.time-inner { display: grid; grid-template-columns: 380px 1fr; align-items: center; gap: 20px; }
.time-text h2 { font-size: 40px; line-height: 1.15; font-weight: 600; margin-top: 22px; }
.time-text p { font-size: 40px; line-height: 1.15; font-weight: 600; color: var(--dim); }
.time-text .hint { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.35); margin-top: 24px; line-height: 1.5; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: var(--fg-2); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }

.kb-scene { perspective: 1400px; }
.keyboard {
  --u: 50px; --g: 7px;
  width: max-content; padding: 16px; border-radius: 22px;
  background: linear-gradient(180deg, #151619, #0b0c0e);
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.06), 0 60px 120px -20px rgba(0,0,0,.9), 0 0 120px -30px rgba(255,60,80,.25);
  transform: rotateX(28deg) rotateZ(-8deg) translateX(20px);
  transform-style: preserve-3d;
  transition: transform 1.2s var(--ease);
}
.kb-row { display: flex; gap: var(--g); margin-bottom: var(--g); }
.kb-row:last-child { margin-bottom: 0; }
.key {
  position: relative; height: var(--u); width: calc(var(--u) * var(--w, 1) + var(--g) * (var(--w, 1) - 1));
  border-radius: 9px; flex: none;
  background: linear-gradient(180deg, #25262a, #18191c);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -3px 0 rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.7), 0 4px 6px rgba(0,0,0,.4);
  color: rgba(255,255,255,.55); font-size: 13px; font-weight: 500;
  display: flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1.1;
  transition: transform .12s, background .3s, color .3s, box-shadow .3s;
  user-select: none;
}
.key.fn { height: calc(var(--u) * .62); font-size: 11px; }
.key.small { font-size: 11px; justify-content: flex-end; align-items: flex-start; padding: 0 0 7px 9px; }
.key.right { align-items: flex-end; padding: 0 9px 7px 0; }
.key .alt { font-size: 11px; color: rgba(255,255,255,.35); }
.key.lit, .key.down {
  background: linear-gradient(180deg, #ff5a6c, #c3102e); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -3px 0 rgba(0,0,0,.25), 0 0 0 1px rgba(80,0,10,.8), 0 0 28px rgba(255,50,80,.55);
}
.key.down { transform: translateY(2px) scale(.98); }
.key.feat {
  align-items: flex-start; justify-content: flex-end; padding: 10px 12px; text-align: left;
  font-size: 13px; color: rgba(255,255,255,.6);
  background: linear-gradient(180deg, #2a1418, #1b0d10);
}
.key.feat b { color: #fff; font-weight: 600; display: block; margin-bottom: 2px; }
.key.feat.on {
  background: linear-gradient(180deg, #ff5a6c, #b80f2c); color: rgba(255,255,255,.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 1px rgba(80,0,10,.8), 0 0 40px rgba(255,50,80,.55);
}
.key.feat .big { font-size: 22px; font-weight: 700; color: #fff; }

/* =========================================================
   EXTENSIONS
   ========================================================= */
.ext { padding: 120px 0 80px; }
.ext-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 64px; }
.ext-head h2, .ext-head p { font-size: 26px; line-height: 1.35; font-weight: 500; }
.ext-head p { color: var(--dim); max-width: 380px; }
.seg {
  position: relative; display: inline-flex; padding: 5px; border-radius: 14px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
}
.seg button { position: relative; z-index: 1; height: 36px; padding: 0 14px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.5); transition: color .25s; }
.seg button:hover { color: rgba(255,255,255,.8); }
.seg button.active { color: #fff; }
.seg-thumb {
  position: absolute; top: 5px; left: 0; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.04);
  transition: transform .45s var(--ease), width .45s var(--ease);
}

.reel { overflow-x: auto; overflow-y: visible; scrollbar-width: none; cursor: grab; scroll-snap-type: x mandatory; padding: 20px 0 40px; margin: -20px 0 -40px; }
.reel::-webkit-scrollbar { display: none; }
.reel.dragging { cursor: grabbing; scroll-snap-type: none; }
.reel.dragging .card { pointer-events: none; }
.reel-track { display: flex; gap: 36px; width: max-content; padding: 0 max(24px, calc((100vw - 1204px) / 2)); }

.card {
  position: relative; flex: none; width: 400px; height: 596px; border-radius: 24px; overflow: hidden;
  scroll-snap-align: start; scroll-margin-left: max(24px, calc((100vw - 1204px) / 2));
  padding: 26px 26px 0;
  background: #101114;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.1), 0 30px 60px -20px rgba(0,0,0,.7);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.card:hover { transform: translateY(-4px); }
.card::after { /* subtle top sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 30%);
}
.card-head { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; }
.card-head h3 { font-size: 19px; font-weight: 500; flex: 1; }
.app-ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: linear-gradient(180deg, #2a2b30, #151619);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.15), 0 6px 16px rgba(0,0,0,.4);
}
.app-ico svg { width: 36px; height: 36px; }
.card-go {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  color: rgba(255,255,255,.85); transition: background .2s, transform .25s var(--ease);
}
.card-go svg { width: 16px; height: 16px; }
.card-go:hover { background: rgba(255,255,255,.12); transform: translateX(2px); }
.card-desc {
  position: relative; z-index: 1; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.92);
  margin-top: 30px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.1);
  min-height: 108px;
}
.card-desc .dim { color: rgba(255,255,255,.55); }
.card-visual { position: relative; flex: 1; margin: 0 -26px; overflow: hidden; }

/* Linear */
.card-linear { background: radial-gradient(90% 60% at 50% 105%, #262a86 0%, rgba(38,42,134,0) 70%), radial-gradient(120% 90% at 30% 0%, #1b1d57 0%, #0e0f33 55%, #0a0b24 100%); }
.lin-planet { position: absolute; left: 0; right: 0; top: -6px; width: 100%; height: auto; }
.lin-arc { stroke-dasharray: 100; stroke-dashoffset: 100; }
.card-linear.in-view .lin-arc { animation: drawArc 2.4s var(--ease) forwards; }
@keyframes drawArc { to { stroke-dashoffset: 0; } }
.lin-bars rect { stroke-dasharray: 520; stroke-dashoffset: 520; }
.card-linear.in-view .lin-bars rect { animation: drawBar 1.8s var(--ease) forwards; }
.card-linear.in-view .lin-bars rect:nth-child(2) { animation-delay: .15s; }
.card-linear.in-view .lin-bars rect:nth-child(3) { animation-delay: .3s; }
@keyframes drawBar { to { stroke-dashoffset: 0; } }
.lin-stars circle { animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .15; } }
.lin-status { position: absolute; left: 26px; right: 26px; bottom: 34px; display: flex; justify-content: space-between; }
.st { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; opacity: .45; transform: scale(.9); transition: opacity .5s, transform .6s var(--ease), filter .5s; }
.st svg { width: 58px; height: 58px; }
.st-backlog { color: #fff; } .st-todo { color: #fff; } .st-progress { color: #f2c94c; } .st-done { color: #6b7cff; }
.st.on { opacity: 1; transform: scale(1.08); filter: drop-shadow(0 0 14px currentColor); }
.st.past { opacity: .8; transform: scale(1); }
.st-progress svg path { transform-origin: 20px 20px; }
.st-done.on svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: check .5s .1s var(--ease) forwards; }
@keyframes check { to { stroke-dashoffset: 0; } }

/* Google Translate */
.card-translate { background: radial-gradient(70% 50% at 45% 35%, #2458a8 0%, rgba(36,88,168,0) 70%), linear-gradient(180deg, #13305f, #0d1f40 60%, #0b1833); }
.tr-visual { padding-top: 26px; -webkit-mask: linear-gradient(90deg, #000 70%, transparent 98%); mask: linear-gradient(90deg, #000 70%, transparent 98%); }
.tr-row { display: flex; width: max-content; white-space: nowrap; font-size: 30px; font-weight: 500; line-height: 1; height: 58px; align-items: center; animation: marquee var(--d, 30s) linear infinite; }
.tr-row.rev { animation-direction: reverse; }
.tr-row span { padding: 0 0 0 26px; }
.tr-row span:nth-child(odd) { color: rgba(255,255,255,.92); }
.tr-row span:nth-child(even) { color: rgba(180,200,240,.38); }
.tr-row.alt span:nth-child(odd) { color: rgba(180,200,240,.38); }
.tr-row.alt span:nth-child(even) { color: rgba(255,255,255,.92); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Spotify */
.card-spotify { background: radial-gradient(60% 40% at 50% 38%, rgba(30,215,96,.75) 0%, rgba(30,215,96,.18) 45%, rgba(30,215,96,0) 75%), linear-gradient(180deg, #0f3a1f, #0a2716 55%, #0c2c18); }
.sp-visual { display: flex; flex-direction: column; align-items: center; padding-top: 36px; }
.sp-cover {
  position: relative; width: 232px; height: 232px; border-radius: 4px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 40px rgba(0,0,0,.5);
  transition: transform .8s var(--ease), box-shadow .8s;
}
.sp-cover svg { width: 100%; height: 100%; display: block; }
.card-spotify.playing .sp-cover { transform: scale(1.04); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px rgba(0,0,0,.55), 0 0 60px rgba(30,215,96,.35); }
.sp-eq { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 3px; align-items: flex-end; height: 18px; opacity: 0; transition: opacity .3s; }
.sp-eq i { width: 3px; height: 30%; background: #1ed760; border-radius: 2px; animation: eq 0.9s ease-in-out infinite; animation-play-state: paused; }
.sp-eq i:nth-child(2) { animation-delay: -.3s; } .sp-eq i:nth-child(3) { animation-delay: -.6s; } .sp-eq i:nth-child(4) { animation-delay: -.15s; }
.card-spotify.playing .sp-eq { opacity: 1; }
.card-spotify.playing .sp-eq i { animation-play-state: running; }
@keyframes eq { 50% { height: 100%; } }
.sp-progress { width: 232px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); margin-top: 22px; overflow: hidden; }
.sp-progress span { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }
.sp-controls { display: flex; align-items: center; gap: 22px; margin-top: 18px; }
.sp-btn { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; transition: transform .2s var(--ease), opacity .2s; opacity: .95; }
.sp-btn svg { width: 34px; height: 34px; }
.sp-btn:active { transform: scale(.9); }
.sp-play { width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; transition: transform .25s var(--ease); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.sp-play:hover { transform: scale(1.06); }
.sp-play:active { transform: scale(.94); }
.sp-play svg { width: 30px; height: 30px; grid-area: 1/1; transition: opacity .2s, transform .3s var(--ease); }
.sp-play .i-pause { opacity: 0; transform: scale(.6); }
.card-spotify.playing .sp-play .i-play { opacity: 0; transform: scale(.6); }
.card-spotify.playing .sp-play .i-pause { opacity: 1; transform: none; }

/* Arc */
.card-arc { background: radial-gradient(80% 60% at 70% 20%, rgba(255,90,122,.35), transparent 60%), radial-gradient(80% 60% at 20% 90%, rgba(91,123,255,.35), transparent 60%), #120f1c; }
.arc-visual { padding: 28px 26px; }
.tab-list li { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-radius: 10px; font-size: 15px; color: rgba(255,255,255,.72); margin-bottom: 4px; transition: background .35s, color .35s; }
.tab-list li i { width: 18px; height: 18px; border-radius: 5px; flex: none; }
.tab-list li.on { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }

/* Jira */
.card-jira { background: radial-gradient(70% 50% at 50% 60%, rgba(38,132,255,.35), transparent 70%), #0b1628; }
.jira-visual { padding: 30px 20px; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 100%; }
.kanban .col { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.kanban b { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.tk { font-family: var(--mono); font-size: 12px; padding: 12px 10px; border-radius: 8px; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.tk-move { background: #2684ff; box-shadow: 0 8px 20px rgba(38,132,255,.4); animation: tkMove 5s var(--ease) infinite; }
@keyframes tkMove { 0%, 25% { transform: none; } 45%, 75% { transform: translateX(calc(100% + 30px)); } 95%, 100% { transform: none; } }

/* 1Password */
.card-vault { background: radial-gradient(70% 55% at 50% 55%, rgba(26,140,255,.3), transparent 70%), #0a1220; }
.vault-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; }
.pw-field { display: flex; align-items: center; gap: 18px; height: 52px; padding: 0 8px 0 18px; border-radius: 12px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.pw-dots { display: flex; gap: 6px; }
.pw-dots i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: dot 2.4s infinite; }
.pw-dots i:nth-child(n) { animation-delay: calc(var(--i, 0) * 1s); }
@keyframes dot { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.pw-copy { font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 8px; background: #1a8cff; }
.pw-lock { width: 90px; height: 90px; color: #fff; filter: drop-shadow(0 0 20px rgba(26,140,255,.7)); }
.pw-lock .shackle { transform-origin: 32px 21px; animation: unlock 3.2s var(--ease) infinite; }
@keyframes unlock { 0%, 40% { transform: none; } 55%, 85% { transform: translateY(-5px) rotate(22deg); } 100% { transform: none; } }

/* TinyPNG */
.card-tiny { background: radial-gradient(70% 50% at 50% 50%, rgba(139,195,74,.25), transparent 70%), #0d160b; }
.tiny-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.tiny-img { width: 180px; height: 130px; border-radius: 10px; background: linear-gradient(135deg, #9be15d, #00a37a); position: relative; overflow: hidden; animation: squish 3.6s var(--ease) infinite; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.tiny-img span { position: absolute; left: 20%; bottom: 0; width: 60%; height: 50%; background: #0d3b27; clip-path: polygon(0 100%, 40% 20%, 60% 60%, 75% 35%, 100% 100%); }
@keyframes squish { 0%, 20% { transform: scale(1); } 50%, 80% { transform: scale(.72); } 100% { transform: scale(1); } }
.tiny-bar { width: 220px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.tiny-bar span { display: block; height: 100%; background: #8bc34a; animation: bar 3.6s var(--ease) infinite; }
@keyframes bar { 0% { width: 0; } 50%, 100% { width: 100%; } }
.tiny-sizes { display: flex; gap: 12px; font-size: 13px; align-items: baseline; }
.tiny-sizes s { color: rgba(255,255,255,.4); } .tiny-sizes em { font-style: normal; color: #8bc34a; }

/* CleanShot */
.card-shot { background: radial-gradient(70% 50% at 50% 50%, rgba(41,168,255,.3), transparent 70%), #08131d; }
.shot-visual { display: grid; place-items: center; }
.shot-area { position: relative; width: 220px; height: 150px; border: 1.5px dashed rgba(255,255,255,.7); background: rgba(41,168,255,.08); animation: shot 4s var(--ease) infinite; }
.shot-area .c { position: absolute; width: 10px; height: 10px; background: #fff; border-radius: 2px; }
.c.tl { left: -6px; top: -6px; } .c.tr { right: -6px; top: -6px; } .c.bl { left: -6px; bottom: -6px; } .c.br { right: -6px; bottom: -6px; }
.shot-area em { position: absolute; right: 0; bottom: -30px; font-style: normal; font-size: 11px; padding: 3px 7px; border-radius: 5px; background: rgba(0,0,0,.6); }
@keyframes shot { 0%, 100% { width: 120px; height: 80px; } 45%, 65% { width: 240px; height: 160px; } }

/* Pomodoro */
.card-pomo { background: radial-gradient(70% 50% at 50% 50%, rgba(255,91,79,.28), transparent 70%), #1a0b0a; }
.pomo-visual { display: grid; place-items: center; }
.pomo-visual svg { width: 210px; height: 210px; grid-area: 1/1; }
.pomo-ring { stroke-dasharray: 100; stroke-dashoffset: 0; animation: pomo 25s linear infinite; filter: drop-shadow(0 0 8px rgba(255,107,94,.7)); }
@keyframes pomo { to { stroke-dashoffset: 100; } }
.pomo-time { grid-area: 1/1; font-size: 36px; font-weight: 500; }

/* Notion */
.card-notion { background: radial-gradient(70% 50% at 50% 50%, rgba(255,255,255,.1), transparent 70%), #111; }
.notion-visual { display: grid; place-items: center; }
.doc { width: 250px; padding: 22px; border-radius: 12px; background: #1c1c1c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 20px 40px rgba(0,0,0,.4); display: flex; flex-direction: column; gap: 10px; }
.doc b { width: 60%; height: 16px; border-radius: 4px; background: rgba(255,255,255,.85); margin-bottom: 6px; }
.doc i, .doc u { height: 8px; border-radius: 4px; background: rgba(255,255,255,.2); transform-origin: left; animation: write 4s var(--ease) infinite; }
.doc u { width: 100%; height: 40px; background: rgba(255,255,255,.06); border-radius: 6px; animation: none; }
.doc i:nth-of-type(2) { animation-delay: .2s; } .doc i:nth-of-type(3) { animation-delay: .4s; } .doc i:nth-of-type(4) { animation-delay: .6s; } .doc i:nth-of-type(5) { animation-delay: .8s; }
@keyframes write { 0% { transform: scaleX(0); } 30%, 100% { transform: scaleX(1); } }

/* Obsidian */
.card-obsidian { background: radial-gradient(70% 50% at 50% 50%, rgba(139,92,246,.3), transparent 70%), #120b1f; }
.obs-visual { display: grid; place-items: center; }
.obs-visual svg { width: 100%; height: 100%; }
.obs-visual line { stroke: rgba(200,180,255,.3); stroke-width: 1; }
.obs-visual circle { fill: #c4b5fd; }
.obs-visual circle.big { fill: #8b5cf6; filter: drop-shadow(0 0 8px #8b5cf6); }

/* Todoist */
.card-todo { background: radial-gradient(70% 50% at 50% 50%, rgba(228,66,50,.25), transparent 70%), #170b09; }
.todo-visual { padding: 30px 26px; }
.todo-list li { display: flex; align-items: center; gap: 14px; height: 54px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.07); transition: color .4s; }
.chk { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); position: relative; flex: none; transition: background .3s, border-color .3s; }
.chk::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.todo-list li.done { color: rgba(255,255,255,.4); text-decoration: line-through; }
.todo-list li.done .chk { background: #e44232; border-color: #e44232; }
.todo-list li.done .chk::after { transform: rotate(45deg) scale(1); }

/* More */
.card-more { background: #0c0d10; justify-content: center; }
.more-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.more-grid { display: grid; grid-template-columns: repeat(4, 56px); gap: 14px; margin-bottom: 20px; }
.more-grid span { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 40) 70% 35%)); opacity: .75; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); animation: bob 4s ease-in-out infinite; animation-delay: calc(var(--h) * -0.02s); }
@keyframes bob { 50% { transform: translateY(-6px); } }
.more-inner h3 { font-size: 22px; font-weight: 500; }

.reel-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; }
.reel-arrows { display: flex; gap: 10px; }
.reel-arrows button { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s; }
.reel-arrows button:hover { background: rgba(255,255,255,.12); }
.reel-arrows svg { width: 16px; height: 16px; }

/* =========================================================
   SECTION HEAD (generic)
   ========================================================= */
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: 40px; line-height: 1.15; font-weight: 600; }
.section-head p { font-size: 18px; color: var(--muted); margin-top: 12px; }
.section-head .btn-ghost { margin-top: 24px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .12em; color: var(--red); margin-bottom: 14px; }

/* =========================================================
   AI
   ========================================================= */
.ai { padding: 140px 0 100px; position: relative; overflow-x: clip; }
.ai::before { content: ""; position: absolute; left: 50%; top: 120px; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,99,99,.12), transparent); pointer-events: none; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.bcard { border-radius: 24px; background: linear-gradient(180deg, #111215, #0b0c0e); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,.06); padding: 24px; overflow: hidden; }
.bcard-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: end; }
.bvisual { border-radius: 16px; background: #08090b; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; position: relative; }
.btext h3 { font-size: 18px; font-weight: 600; margin: 22px 0 6px; }
.bcard-wide .btext h3 { margin-top: 0; }
.btext p { color: var(--muted); font-size: 15px; }

.chat-visual { height: 420px; display: grid; grid-template-columns: 210px 1fr; }
.chat-side { border-right: 1px solid var(--line); padding: 14px 10px; font-size: 13px; }
.chat-search { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 8px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.45); margin-bottom: 12px; }
.chat-search svg { width: 13px; height: 13px; }
.chat-group { font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.35); padding: 10px 10px 6px; }
.chat-item { padding: 7px 10px; border-radius: 7px; color: rgba(255,255,255,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item.active { background: rgba(255,255,255,.08); color: #fff; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-top { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 500; }
.chat-model { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,.65); padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.05); }
.chat-model .ai-dot { width: 13px; height: 13px; }
.chat-thread { flex: 1; padding: 22px 26px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.msg-user { align-self: flex-end; max-width: 78%; padding: 12px 16px; border-radius: 14px 14px 4px 14px; background: rgba(255,255,255,.08); font-size: 14.5px; line-height: 1.6; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 6px; font-size: 13.5px; font-weight: 500; }
.chip::before { content: ""; width: 11px; height: 11px; border-radius: 3px; }
.chip-linear { background: rgba(94,106,210,.25); } .chip-linear::before { background: #5e6ad2; border-radius: 50%; }
.chip-things { background: rgba(70,140,255,.2); } .chip-things::before { background: #4a8cff; }
.tool-steps { display: flex; flex-direction: column; gap: 8px; }
.tool-steps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.6); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.tool-steps li.show { opacity: 1; transform: none; }
.tool-steps em { font-style: normal; font-size: 11.5px; padding: 1px 7px; border-radius: 10px; background: rgba(255,255,255,.08); }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: #fff; animation: spin .8s linear infinite; position: relative; }
.tool-steps li.ok .spin { animation: none; border-color: #3ecf8e; background: #3ecf8e; }
.tool-steps li.ok .spin::after { content: ""; position: absolute; left: 3px; top: 0; width: 3px; height: 6px; border: solid #0b0c0e; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.msg-ai { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.9); min-height: 48px; }
.chat-input { margin: 0 18px 16px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 14px; color: rgba(255,255,255,.35); }
.chat-input .mono { font-size: 12px; }

.qai-visual { height: 300px; padding: 26px; }
.qai-bar { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 12px 0 16px; border-radius: 12px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; }
.qai-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.qai-tag kbd { padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,.1); }
.qai-sugg { margin-top: 14px; }
.qai-sugg li { height: 36px; display: flex; align-items: center; padding: 0 16px; border-radius: 9px; font-size: 14px; color: rgba(255,255,255,.6); transition: background .3s, color .3s; }
.qai-sugg li.on { background: rgba(255,255,255,.07); color: #fff; }

.aix-visual { height: 300px; display: grid; place-items: center; }
.orbit { position: relative; width: 240px; height: 240px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); animation: rot 30s linear infinite; }
.orbit::before { content: ""; position: absolute; inset: 50px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.core { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(180deg, #2a2b30, #141518); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 0 40px rgba(255,99,99,.35); animation: rot 30s linear infinite reverse; }
.core svg { width: 34px; }
.sat { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 16px; background: var(--c); color: var(--t, #fff); box-shadow: 0 8px 20px rgba(0,0,0,.45); transform: rotate(var(--a)) translateY(-120px) rotate(calc(var(--a) * -1)); }
.sat { animation: none; }
@keyframes rot { to { transform: rotate(360deg); } }

/* =========================================================
   PEOPLE
   ========================================================= */
.people { padding: 120px 0; }
.avatars { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 0 auto 40px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.95); background: linear-gradient(135deg, hsl(var(--h) 60% 45%), hsl(calc(var(--h) + 50) 60% 28%)); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgba(255,255,255,.08); filter: grayscale(.9) brightness(.7); transition: filter .35s, transform .35s var(--ease), box-shadow .35s; }
.avatar:hover { filter: none; transform: translateY(-2px); }
.avatar.on { filter: none; transform: scale(1.12); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(255,255,255,.7); }
.quote { max-width: 720px; margin: 0 auto; padding: 34px 40px; border-radius: 24px; background: linear-gradient(180deg, #111215, #0b0c0e); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.quote-meta { display: flex; justify-content: center; gap: 28px; font-size: 13px; margin-bottom: 22px; }
.quote-meta b { font-weight: 500; }
.quote blockquote { margin: 0; font-size: 22px; line-height: 1.5; font-weight: 500; min-height: 100px; transition: opacity .35s, filter .35s; }
.quote.swap blockquote, .quote.swap .quote-who, .quote.swap .quote-meta { opacity: 0; filter: blur(4px); }
.quote-who, .quote-meta { transition: opacity .35s, filter .35s; }
.quote-who { margin-top: 18px; font-size: 14px; }

/* =========================================================
   AUTOMATION
   ========================================================= */
.auto { padding: 120px 0; }
.auto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.acard { border-radius: 24px; background: linear-gradient(180deg, #111215, #0b0c0e); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,.05); padding: 24px; overflow: hidden; }
.acard-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: center; }
.atext h3 { font-size: 18px; font-weight: 600; margin: 20px 0 6px; }
.acard-wide .atext h3 { margin-top: 0; }
.atext p { color: var(--muted); font-size: 15px; }
.avisual { border-radius: 16px; background: #08090b; box-shadow: inset 0 0 0 1px var(--line); height: 240px; position: relative; overflow: hidden; }
.snip-visual { display: grid; place-items: center; background: radial-gradient(60% 60% at 70% 30%, rgba(255,99,99,.12), transparent 70%), #08090b; }
.snip-window { width: min(520px, 90%); display: flex; flex-direction: column; gap: 10px; }
.snip-msg { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.snip-msg.in { background: rgba(255,255,255,.08); border-bottom-left-radius: 4px; }
.snip-msg.out { align-self: flex-end; background: #2f6fed; border-bottom-right-radius: 4px; min-height: 64px; }
.snip-compose { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 6px 0 14px; border-radius: 12px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; color: rgba(255,255,255,.6); }
.snip-compose button { height: 28px; padding: 0 12px; border-radius: 8px; background: rgba(255,255,255,.1); font-size: 12.5px; }
.ql-visual { padding: 26px; }
.ql-bar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; }
.ql-ico { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: var(--red); }
.ql-ico svg { width: 14px; height: 14px; }
.ql-arg { font-size: 13px; padding: 3px 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); color: rgba(255,255,255,.5); }
.ql-list { margin-top: 12px; }
.ql-list li { height: 38px; display: flex; align-items: center; padding: 0 14px; border-radius: 9px; font-size: 14px; color: rgba(255,255,255,.6); transition: background .3s, color .3s; }
.ql-list li.on { background: rgba(255,255,255,.07); color: #fff; }
.hk-visual { display: flex; align-items: center; justify-content: center; gap: 12px; background: radial-gradient(60% 60% at 50% 50%, rgba(255,99,99,.1), transparent 70%), #08090b; }
.hk { height: 64px; min-width: 64px; padding: 0 16px; display: inline-flex; align-items: flex-end; padding-bottom: 10px; border-radius: 12px; font-size: 14px; color: rgba(255,255,255,.7); background: linear-gradient(180deg, #25262a, #18191c); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 -4px 0 rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.7), 0 6px 12px rgba(0,0,0,.5); transition: transform .15s, background .2s, box-shadow .2s, color .2s; }
.hk-sq { justify-content: center; align-items: center; padding: 0; font-size: 20px; }
.hk.down { transform: translateY(3px); background: linear-gradient(180deg, #ff5a6c, #c3102e); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(80,0,10,.8), 0 0 30px rgba(255,50,80,.5); }
.plus { color: rgba(255,255,255,.35); font-size: 18px; }

/* =========================================================
   FEATURE WALL
   ========================================================= */
.wall { padding: 120px 0; }
.wall-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.wall h2 { font-size: 20px; font-weight: 500; color: var(--muted); margin-bottom: 18px; }
.wall-text { font-size: 34px; line-height: 1.35; font-weight: 600; color: rgba(255,255,255,.18); }
.wall-text span { transition: color .5s; cursor: default; }
.wall-text span.on, .wall-text span:hover { color: #fff; }
.wall-more { font-size: 34px; line-height: 1.35; font-weight: 600; margin-top: 12px; }
.wall-desk { height: 460px; border-radius: 24px; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 60%, rgba(227,24,59,.3), transparent 70%), linear-gradient(135deg, #1a0a0d, #0a0a0c); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.wall-card { width: 300px; padding: 26px; border-radius: 18px; background: rgba(20,10,12,.8); backdrop-filter: blur(20px); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 6px; transition: opacity .35s, transform .5s var(--ease); }
.wall-card.swap { opacity: 0; transform: translateY(10px) scale(.97); }
.wall-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(180deg, #ff6b6b, #d92c43); font-size: 24px; margin-bottom: 12px; box-shadow: 0 8px 24px rgba(255,80,90,.4); }
.wall-card b { font-size: 18px; }

/* =========================================================
   COMMUNITY
   ========================================================= */
.community { padding: 120px 0; position: relative; }
.community::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 50% 20%, rgba(255,99,99,.08), transparent 70%); pointer-events: none; }
.comm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 0 auto 60px; }
.ccard { padding: 26px; border-radius: 20px; background: linear-gradient(180deg, #111215, #0b0c0e); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ccard-top { display: flex; gap: 14px; align-items: center; }
.ccard-top div { display: flex; flex-direction: column; font-size: 15px; line-height: 1.3; }
.ccard-top .dim { font-size: 13px; }
.c-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #1a1b1e; box-shadow: inset 0 0 0 1px var(--line-2); }
.c-ico svg { width: 22px; height: 22px; }
.ccard p { color: var(--muted); font-size: 15px; }
.videos { overflow: hidden; margin-bottom: 30px; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.videos-track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; }
.videos:hover .videos-track { animation-play-state: paused; }
.vid { width: 300px; flex: none; }
.vid-thumb { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; }
.vid-thumb::after { content: ""; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='white'/%3E%3C/svg%3E") center/22px no-repeat; backdrop-filter: blur(6px); transition: transform .3s var(--ease); }
.vid:hover .vid-thumb::after { transform: scale(1.12); }
.vid p { font-size: 14px; margin-top: 10px; color: rgba(255,255,255,.8); }

/* =========================================================
   API
   ========================================================= */
.api { padding: 120px 0; position: relative; }
.api::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask: radial-gradient(60% 60% at 50% 50%, #000, transparent 80%); mask: radial-gradient(60% 60% at 50% 50%, #000, transparent 80%); pointer-events: none; }
.api-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; position: relative; }
.apicard { padding: 26px; border-radius: 22px; background: linear-gradient(180deg, rgba(20,21,24,.9), rgba(11,12,14,.95)); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--ease); }
.apicard:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transform: translateY(-3px); }
.apicard h3 { font-size: 18px; font-weight: 600; margin: 22px 0 6px; }
.apicard p { color: var(--muted); font-size: 15px; }
.api-fig { height: 200px; border-radius: 14px; background: #08090b; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; gap: 14px; position: relative; overflow: hidden; }
.fig-platform .os { padding: 12px 18px; border-radius: 12px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 500; }
.link-line { width: 120px; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); background-size: 200% 100%; animation: flow 2s linear infinite; }
@keyframes flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.fig-ui { flex-direction: column; gap: 8px; }
.ui-row { width: 70%; height: 30px; border-radius: 8px; background: rgba(255,255,255,.05); position: relative; }
.ui-row::before { content: ""; position: absolute; left: 10px; top: 8px; width: 14px; height: 14px; border-radius: 4px; background: rgba(255,255,255,.2); }
.ui-row::after { content: ""; position: absolute; left: 34px; top: 12px; width: 40%; height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); }
.ui-row.on { background: rgba(255,255,255,.12); animation: uiSel 4s steps(1) infinite; }
@keyframes uiSel { 0% { transform: translateY(0); } 25% { transform: translateY(38px); } 50% { transform: translateY(76px); } 75% { transform: translateY(114px); } }
.fig-ui .ui-row.on { position: absolute; top: 24px; left: 15%; }
.api-code { margin: 0; height: 200px; border-radius: 14px; background: #08090b; box-shadow: inset 0 0 0 1px var(--line); padding: 20px 22px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.75); overflow: hidden; }
.api-code .k { color: #ff7b8b; } .api-code .s { color: #9ee493; } .api-code .f { color: #82aaff; } .api-code .t { color: #ffcb6b; }
.fig-store .store-ico { width: 56px; height: 56px; border-radius: 15px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); }
.fig-store .store-ico.hl { background: linear-gradient(135deg, #ff6b6b, #d92c43); box-shadow: 0 0 30px rgba(255,80,90,.5); animation: bob 3s ease-in-out infinite; }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; padding: 160px 0 180px; text-align: center; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 40%; width: 1100px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(227,24,59,.28), transparent); pointer-events: none; }
.cta-keys { display: flex; justify-content: center; gap: 16px; margin-bottom: 64px; perspective: 800px; }
.big-key {
  height: 110px; border-radius: 22px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px; text-align: left;
  font-size: 17px; font-weight: 500; color: rgba(255,255,255,.7);
  background: linear-gradient(180deg, #25262a, #16171a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -6px 0 rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.8), 0 20px 40px rgba(0,0,0,.6);
  transform: rotateX(20deg);
  transition: transform .15s, background .2s, box-shadow .2s, color .2s;
}
.big-key small { font-size: 22px; }
.k-cmd { width: 150px; }
.k-space { width: 380px; justify-content: flex-end; }
.big-key.down { transform: rotateX(20deg) translateY(5px); color: #fff; background: linear-gradient(180deg, #ff5a6c, #c3102e); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -3px 0 rgba(0,0,0,.25), 0 0 0 1px rgba(80,0,10,.8), 0 0 60px rgba(255,50,80,.6); }
.cta-text h2 { font-size: 56px; font-weight: 600; line-height: 1.1; }
.cta-text p { font-size: 20px; color: var(--muted); margin: 12px 0 34px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #08090a, #050506); }
.foot-links { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.foot-links h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.foot-links a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; transition: color .2s; }
.foot-links a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.newsletter { display: flex; align-items: center; gap: 24px; }
.newsletter > div:first-child { display: flex; flex-direction: column; font-size: 14px; }
.newsletter .dim { font-size: 13px; }
.nl-field { display: flex; gap: 8px; }
.nl-field input { width: 240px; height: 38px; padding: 0 12px; border-radius: 10px; border: 0; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-2); color: #fff; font: inherit; font-size: 14px; outline: none; transition: box-shadow .2s; }
.nl-field input:focus { box-shadow: inset 0 0 0 1px rgba(255,99,99,.6), 0 0 0 3px rgba(255,99,99,.15); }
.nl-field button { height: 38px; padding: 0 14px; border-radius: 10px; background: #fff; color: #111; font-size: 14px; font-weight: 600; }
.newsletter.done .nl-field button { background: #3ecf8e; }
.foot-note { margin-top: 32px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .time-inner { grid-template-columns: 1fr; }
  .keyboard { --u: 42px; }
  .foot-links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .nav { top: 8px; padding: 0 12px; }
  .nav-login { display: none; }
  .hero-sub { font-size: 16px; }
  .showcase { padding-top: 80px; }
  .showcase-head h2, .showcase-head p { font-size: 20px; }
  .ext-head { flex-direction: column; align-items: flex-start; }
  .ext-head h2, .ext-head p { font-size: 22px; }
  .seg { max-width: 100%; overflow-x: auto; }
  .card { width: 320px; height: 540px; }
  .card-desc { font-size: 15px; }
  .bento, .auto-grid, .api-grid, .comm-cards { grid-template-columns: 1fr; }
  .bcard-wide, .acard-wide { grid-template-columns: 1fr; }
  .chat-visual { grid-template-columns: 1fr; }
  .chat-side { display: none; }
  .section-head h2, .time-text h2, .time-text p { font-size: 30px; }
  .wall-inner { grid-template-columns: 1fr; }
  .wall-text, .wall-more { font-size: 26px; }
  .keyboard { --u: 30px; --g: 5px; padding: 10px; font-size: 10px; }
  .key { font-size: 9px; border-radius: 6px; }
  .key.feat { font-size: 9px; padding: 5px 6px; }
  .key.feat .big { font-size: 14px; }
  .cta-text h2 { font-size: 40px; }
  .k-space { width: 200px; } .k-cmd { width: 110px; } .big-key { height: 84px; }
  .foot-links { grid-template-columns: repeat(2, 1fr); }
  .foot-bottom, .newsletter { flex-direction: column; align-items: flex-start; }
  .nl-field input { width: 100%; }
  .quote { padding: 26px 20px; } .quote blockquote { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* grid items must be allowed to shrink below their content width (long code lines, chat rows) */
.api-grid > *, .bento > *, .auto-grid > *, .comm-cards > *, .wall-inner > *, .time-inner > * { min-width: 0; }
