/* ==========================================================================
   Sections — keyboard, AI, testimonials, automation, "what else",
   community, developers, CTA
   ========================================================================== */

/* --------------------------------------------------------------------------
   Keyboard (shared)
   -------------------------------------------------------------------------- */
.kb { --u: 110px; --g: 12px; display: flex; flex-direction: column; gap: var(--g); width: max-content; }
.kb-row { display: flex; gap: var(--g); }
.kb-key {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(var(--u) * var(--w, 1) + var(--g) * (var(--w, 1) - 1));
  height: var(--u);
  padding: 15px;
  border-radius: 14px;
  background: linear-gradient(180deg, #121316 0%, #0c0d0f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.045), 0 2px 0 rgba(0, 0, 0, 0.5);
  color: var(--grey-400);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  transition: transform .12s ease, background .25s, color .25s, box-shadow .25s;
}
.kb-key .kb-alt, .kb-key .kb-main { display: flex; align-items: center; min-height: 26px; }
.kb-key .kb-alt { color: var(--grey-400); }
.kb-key.is-center .kb-alt, .kb-key.is-center .kb-main { justify-content: center; }
.kb-key.is-right .kb-alt { justify-content: flex-end; }
.kb-key.is-letter { justify-content: center; align-items: center; font-size: 26px; }
.kb-key.is-word .kb-main { font-size: 18px; }
.kb-key svg { width: 22px; height: 22px; }
.kb-key.is-pressed {
  transform: translateY(2px);
  background: linear-gradient(180deg, #1b1c20 0%, #121316 100%);
  color: var(--grey-100);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 0 24px rgba(255, 99, 99, 0.12);
}
.kb-key.is-pressed .kb-alt { color: var(--grey-200); }

/* Feature keys (time-back section) */
.kb-feature {
  justify-content: space-between;
  color: var(--grey-300);
  background: linear-gradient(180deg, #16171a 0%, #0f1012 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.kb-feature .kb-alt svg { width: 24px; height: 24px; color: var(--grey-300); transition: color .4s; }
.kb-feature .kb-main { font-size: 15px; font-weight: 500; line-height: 1.25; letter-spacing: 0.1px; }
.kb-feature b { color: var(--grey-200); font-weight: 600; transition: color .4s; }
.kb-feature.is-active { color: var(--grey-200); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.04); }
.kb-feature.is-active b, .kb-feature.is-active .kb-alt svg { color: #fff; }

/* --------------------------------------------------------------------------
   Time back
   -------------------------------------------------------------------------- */
.timeback { position: relative; overflow: hidden; }
.timeback-inner {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 205px;
  max-width: var(--container);
  height: 720px;
  margin: 0 auto;
}
.timeback-text { align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-6); padding: 0 var(--sp-3); z-index: 1; }
.timeback-keyboard {
  position: relative;
  height: 720px;
  overflow: visible;
  -webkit-mask-image: radial-gradient(62% 64% at 36% 48%, #000 28%, rgba(0, 0, 0, 0.35) 62%, transparent 90%);
  mask-image: radial-gradient(62% 64% at 36% 48%, #000 28%, rgba(0, 0, 0, 0.35) 62%, transparent 90%);
}
.timeback-keyboard .kb { position: absolute; top: 0; left: 0; }
@media (max-width: 1100px) {
  .timeback-inner { grid-template-columns: 1fr; gap: 0; height: auto; }
  .timeback-text { align-items: center; text-align: center; padding: var(--sp-9) var(--sp-3) var(--sp-4); }
  .timeback-keyboard { height: 480px; -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000 30%, transparent 85%); mask-image: radial-gradient(60% 60% at 50% 45%, #000 30%, transparent 85%); }
  .timeback-keyboard .kb { left: 50%; transform: translateX(-38%) scale(0.72); transform-origin: top center; }
}

/* --------------------------------------------------------------------------
   AI
   -------------------------------------------------------------------------- */
.ai-inner { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.ai-heading { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 72px; margin-bottom: 40px; }
.ai-heading h2 { font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -0.8px; }
.ai-heading p { max-width: 500px; margin-top: 16px; color: rgba(255, 255, 255, 0.5); font-size: 18px; line-height: 1.5; letter-spacing: 0.18px; }
.ai-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.bento-card h3 { max-width: 450px; margin-top: 22px; font-size: 16px; font-weight: 500; line-height: 24px; }
.bento-card p { max-width: 450px; color: rgba(255, 255, 255, 0.4); font-size: 15px; line-height: 1.5; }
.bento-visual { position: relative; height: 368px; border-radius: 16px; overflow: hidden; }
.ai-chat-card { grid-column: span 2; }
.ai-chat-card .bento-visual { height: 332px; }
.ai-more { display: flex; justify-content: center; margin-top: 48px; }

/* AI chat window */
.aiw {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 240px 1fr;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(22, 23, 26, 0.95), rgba(12, 13, 15, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 1px rgba(255, 255, 255, 0.08);
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
}
.aiw-side { padding: 14px 12px; border-right: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.015); }
.aiw-lights { display: flex; align-items: center; gap: 8px; height: 26px; margin-bottom: 14px; }
.aiw-lights i { width: 12px; height: 12px; border-radius: 50%; }
.aiw-lights i:nth-child(1) { background: #ff5f57; }
.aiw-lights i:nth-child(2) { background: #febc2e; }
.aiw-lights i:nth-child(3) { background: #28c840; }
.aiw-lights svg { width: 16px; height: 16px; margin-left: auto; color: rgba(255, 255, 255, 0.5); }
.aiw-search { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.4); font-size: 12.5px; margin-bottom: 10px; }
.aiw-search svg { width: 13px; height: 13px; }
.aiw-item { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 8px; color: rgba(255, 255, 255, 0.75); font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.aiw-item svg { width: 14px; height: 14px; color: rgba(255, 255, 255, 0.45); flex: none; }
.aiw-item.is-active { background: rgba(255, 255, 255, 0.09); color: #fff; }
.aiw-item.is-dim { color: rgba(255, 255, 255, 0.45); }
.aiw-sep { height: 1px; margin: 8px 4px; background: rgba(255, 255, 255, 0.06); }
.aiw-main { position: relative; display: flex; flex-direction: column; padding: 14px 28px; min-width: 0; }
.aiw-head { display: flex; flex-direction: column; gap: 2px; height: 40px; }
.aiw-head b { font-size: 13px; font-weight: 500; }
.aiw-head span { color: rgba(255, 255, 255, 0.4); font-size: 11px; }
.aiw-tools { position: absolute; top: 18px; right: 20px; display: flex; gap: 6px; }
.aiw-tools span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.aiw-tools svg { width: 14px; height: 14px; color: rgba(255, 255, 255, 0.6); }
.aiw-thread { display: flex; flex-direction: column; gap: 18px; margin-top: 16px; }
.aiw-user {
  align-self: flex-end;
  max-width: 64%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  font-size: 13px;
  line-height: 1.55;
}
.app-chip { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 6px 0 3px; margin: 0 2px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); font-size: 12px; vertical-align: 1px; }
.app-chip i { width: 14px; height: 14px; border-radius: 4px; }
.aiw-steps { display: flex; flex-direction: column; gap: 10px; }
.aiw-step { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.55); font-size: 12.5px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.aiw-step.is-shown { opacity: 1; transform: none; }
.aiw-step .count { padding: 0 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); font-size: 11px; }
.spin { position: relative; width: 14px; height: 14px; flex: none; }
.spin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.6px solid rgba(255, 255, 255, 0.18); border-top-color: rgba(255, 255, 255, 0.8); animation: spin .8s linear infinite; }
.aiw-step.is-done .spin::before { animation: none; border: 0; background: rgba(89, 212, 153, 0.18); }
.aiw-step.is-done .spin::after { content: ""; position: absolute; left: 5px; top: 3px; width: 3px; height: 6px; border: solid #59d499; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.aiw-answer { max-width: 80%; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); min-height: 42px; }

/* Quick AI */
.qai { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: stretch; padding: 16px 0 0; }
.qai-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  margin: 0 -10px;
  padding: 0 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(34, 35, 39, 0.95), rgba(22, 23, 26, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 20px 40px rgba(0, 0, 0, 0.4);
  font-size: 17px;
}
.qai-bar .qai-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(#ff6363, #d72a2a); flex: none; }
.qai-bar .qai-ico svg { width: 13px; height: 13px; color: #fff; }
.qai-text { flex: 1; white-space: nowrap; overflow: hidden; }
.qai-badge { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.45); font-size: 12px; white-space: nowrap; }
.qai-badge i { padding: 1px 5px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.2); font-style: normal; font-size: 11px; }
.qai-list { display: flex; flex-direction: column; margin-top: 12px; padding: 0 12px; }
.qai-list li { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 10px; border-radius: 10px; color: rgba(255, 255, 255, 0.85); font-size: 15px; transition: background .25s; }
.qai-list li svg { width: 16px; height: 16px; color: rgba(255, 255, 255, 0.45); }
.qai-list li.is-focus { background: rgba(255, 255, 255, 0.07); }
.qai-list li:nth-child(2) { opacity: .8; }
.qai-list li:nth-child(3) { opacity: .6; }
.qai-list li:nth-child(4) { opacity: .4; }
.qai-list li:nth-child(5) { opacity: .25; }
.qai-list li:nth-child(6) { opacity: .12; }

/* AI extensions */
.aix { position: absolute; inset: 14px -14px 0; padding: 20px 22px; border-radius: 16px; background: linear-gradient(180deg, rgba(20, 21, 24, 0.95), rgba(12, 13, 15, 0.6)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.aix .aiw-user { max-width: 86%; }
.aix .aiw-steps { margin-top: 18px; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials .section-title { max-width: 400px; margin: 0 auto; }
.t-people {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-10) 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 3%, #000 30%, #000 70%, transparent 97%);
  mask-image: linear-gradient(90deg, transparent 3%, #000 30%, #000 70%, transparent 97%);
}
.t-track { display: flex; gap: 32px; width: max-content; transition: transform .7s var(--ease-in-out); }
.t-card {
  display: grid;
  grid-template-areas: "avatar name" "avatar title";
  gap: 4px 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: left;
  white-space: nowrap;
  transition: background .4s, box-shadow .4s, border-color .4s;
}
.t-card .t-avatar {
  grid-area: avatar;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 600;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter .4s, opacity .4s;
}
.t-card .t-name { grid-area: name; color: rgba(255, 255, 255, 0.5); transition: color .4s; }
.t-card .t-name span { margin-left: 8px; color: var(--grey-300); font-weight: 500; }
.t-card .t-role { grid-area: title; color: var(--grey-300); font-weight: 500; font-size: 15px; }
.t-card.is-active {
  background: var(--card-bg);
  border-color: var(--card-border);
  border-bottom-color: transparent;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 40px 10px rgba(154, 170, 255, 0.05), 0 0 16px -7px rgba(154, 170, 255, 0.05);
}
.t-card.is-active .t-avatar { filter: none; opacity: 1; }
.t-card.is-active .t-name { color: #fff; }
.t-detail {
  display: grid;
  grid-template-columns: 1fr 98px 1fr;
  max-width: 1064px;
  margin: 0 auto;
  padding-top: 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: opacity .35s;
}
.t-detail.is-changing { opacity: 0; }
.t-highlight { display: flex; flex-direction: column; gap: 36px; }
.t-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.t-label { padding-top: 4px; color: var(--grey-300); font-family: var(--mono-alt); font-size: 12px; letter-spacing: 0.4px; }
.t-row p { margin-top: 14px; color: var(--grey-200); font-size: 14px; line-height: 1.6; max-width: 300px; }
.t-divider { justify-self: center; width: 1px; background: linear-gradient(transparent, rgba(255, 255, 255, 0.12), transparent); }
.t-quote { position: relative; align-self: center; padding-left: 12px; }
.t-mark { position: absolute; left: -20px; top: -18px; color: var(--grey-400); font-family: Georgia, serif; font-size: 48px; }
.t-quote p { color: var(--grey-300); font-size: 20px; font-weight: 500; line-height: 1.6; letter-spacing: 0.1px; }
.t-quote p em { font-style: normal; color: #fff; }
@media (max-width: 860px) {
  .t-detail { grid-template-columns: 1fr; gap: 48px; }
  .t-divider { display: none; }
  .t-row { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Automate
   -------------------------------------------------------------------------- */
.automate-inner { max-width: var(--container); margin: 0 auto; }
.automate .section-title { margin-bottom: 48px; }
.auto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.auto-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  background: var(--card-bg);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}
.auto-copy { padding: 24px 24px 28px; }
.auto-copy h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; letter-spacing: 0.2px; }
.auto-copy h3 svg { width: 20px; height: 20px; color: var(--grey-200); }
.auto-copy p { max-width: 380px; margin-top: 12px; color: var(--grey-300); font-size: 15px; line-height: 1.55; }
.auto-snippets { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 218px; }
.snip-visual { position: relative; align-self: stretch; overflow: hidden; }
.snip-wallpaper {
  position: absolute;
  inset: 0 0 0 20%;
  background: radial-gradient(40% 60% at 70% 40%, rgba(90, 170, 255, .5), transparent 70%), repeating-linear-gradient(135deg, #0a0c14 0 24px, #1b3f8a 24px 44px, #0a0c14 44px 70px);
  background-size: cover;
  background-position: center;
  filter: hue-rotate(200deg) saturate(1.2);
  opacity: .9;
}
.snip-composer {
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 170px;
  padding: 18px 18px 12px;
  border-radius: 0 0 14px 14px;
  background: rgba(24, 25, 28, 0.94);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 20px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}
.snip-line { min-height: 20px; line-height: 1.45; }
.snip-typed.is-expanded { color: #fff; }
.snip-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.snip-emoji { color: rgba(255, 255, 255, 0.5); font-size: 16px; }
.snip-send { padding: 6px 12px; border-radius: 6px; background: var(--grey-50); color: var(--grey-600); font-size: 12px; font-weight: 600; transition: transform .15s, background .2s; }
.snip-send.is-pressed { transform: scale(0.94); background: #fff; }
.ql-visual { position: relative; height: 200px; padding: 28px 0 0 28px; overflow: hidden; }
.ql-window { height: 100%; border-radius: 12px 0 0 0; background: rgba(20, 21, 24, 0.9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); overflow: hidden; }
.ql-search { display: flex; align-items: center; height: 46px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 15px; }
.ql-results { padding: 6px 8px; }
.ql-title { padding: 8px 8px 6px; color: rgba(255, 255, 255, 0.5); font-size: 12px; font-weight: 600; }
.ql-item { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 8px; border-radius: 6px; font-size: 13px; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s, background .2s; }
.ql-item em { color: rgba(255, 255, 255, 0.45); font-style: normal; }
.ql-item.is-shown { opacity: 1; transform: none; }
.ql-item.is-focus { background: rgba(255, 255, 255, 0.1); }
.ql-ico { width: 16px; height: 16px; border-radius: 4px; }
.ql-ico-a { background: conic-gradient(#f24e1e 0 25%, #a259ff 0 50%, #1abcfe 0 75%, #0acf83 0); }
.ql-ico-b { background: linear-gradient(135deg, #0055ff, #00aaff); }
.ql-ico-c { background: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.hk-visual { display: flex; align-items: center; justify-content: center; gap: 14px; height: 200px; padding-top: 20px; color: var(--grey-300); }
.hk-key {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 86px;
  height: 86px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1a1b1f, #111215);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 4px 0 #050506, 0 10px 20px rgba(0, 0, 0, 0.4);
  color: #fff;
  transition: transform .12s, box-shadow .12s, background .2s;
}
.hk-wide { width: 112px; }
.hk-sym { align-self: flex-end; color: rgba(255, 255, 255, 0.7); font-size: 16px; }
.hk-name { font-size: 16px; }
.hk-letter { align-items: center; justify-content: center; }
.hk-letter .hk-name { font-size: 22px; }
.hk-key.is-pressed { transform: translateY(3px); background: linear-gradient(180deg, #24262b, #17181c); box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 99, 99, 0.35), 0 1px 0 #050506, 0 0 30px rgba(255, 99, 99, 0.18); }
.hk-plus { color: var(--grey-400); font-size: 18px; }
@media (max-width: 860px) {
  .auto-grid { grid-template-columns: 1fr; }
  .auto-snippets { grid-column: auto; grid-template-columns: 1fr; }
  .snip-visual { height: 200px; }
}

/* --------------------------------------------------------------------------
   What else
   -------------------------------------------------------------------------- */
.we-inner { display: grid; grid-template-columns: 626px 1fr; max-width: var(--container); margin: 0 auto; }
.we-left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-right: 48px; }
.we-wall { max-width: 400px; color: var(--grey-400); font-size: 24px; font-weight: 500; line-height: 1.45; letter-spacing: -0.1px; }
.we-q { display: block; color: #fff; }
.we-s { transition: color .4s, background-color .4s; border-radius: 4px; cursor: pointer; }
.we-s:hover { color: var(--grey-200); }
.we-s.is-active { color: #fff; background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07); }
.we-feature { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 280px; min-height: 112px; transition: opacity .3s; }
.we-feature.is-changing { opacity: 0; }
.we-feature p { color: var(--grey-200); font-size: 14px; line-height: 1.6; }
.we-feature a { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.we-right { position: relative; }
.we-desktop { position: relative; width: 553px; max-width: 100%; height: 528px; }
.we-wallpaper {
  position: absolute;
  inset: 0 0 90px 0;
  border-radius: 18px;
  background: #0c0d10 center / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  -webkit-mask-image: linear-gradient(135deg, #000 30%, rgba(0, 0, 0, 0.15) 70%);
  mask-image: linear-gradient(135deg, #000 30%, rgba(0, 0, 0, 0.15) 70%);
}
.we-mock {
  position: absolute;
  left: 28px;
  top: 34px;
  width: 360px;
  border-radius: 14px;
  background: rgba(16, 17, 19, 0.92);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 30px 70px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(10px) scale(.98);
  transition: opacity .45s ease, transform .45s var(--ease-out);
  pointer-events: none;
}
.we-mock.is-active { opacity: 1; transform: none; }
.we-mock-bar { display: flex; align-items: center; justify-content: center; height: 30px; color: rgba(255, 255, 255, 0.4); font-size: 11px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.we-mock-body { padding: 16px 18px 20px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.8); }
.we-mock-body h4 { margin-bottom: 8px; color: #fff; font-size: 20px; font-weight: 600; }
.we-mock-body h5 { margin: 16px 0 8px; color: #fff; font-size: 15px; font-weight: 600; }
.we-mock-body mark { background: none; color: #ff8a8a; text-decoration: underline; text-underline-offset: 2px; }
.we-todo { display: flex; align-items: center; gap: 10px; height: 26px; color: rgba(255, 255, 255, 0.75); }
.we-todo i { width: 13px; height: 13px; border-radius: 3px; border: 1.5px solid rgba(255, 255, 255, 0.35); flex: none; }
.we-todo.is-done i { background: #ff6363; border-color: #ff6363; }
.we-todo.is-done { color: rgba(255, 255, 255, 0.45); text-decoration: line-through; }
.we-flight { display: flex; justify-content: space-between; align-items: flex-end; margin: 6px 0 14px; }
.we-flight b { display: block; font-size: 30px; font-weight: 600; color: #fff; }
.we-flight small { color: rgba(255, 255, 255, 0.5); font-size: 12px; }
.we-track { position: relative; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); margin: 12px 0 16px; }
.we-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; border-radius: inherit; background: linear-gradient(90deg, #ff6363, #ffb199); }
.we-track span { position: absolute; left: 62%; top: 50%; transform: translate(-50%, -50%); font-size: 14px; }
.we-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; color: rgba(255, 255, 255, 0.55); font-size: 12px; }
.we-grid b { display: block; color: #fff; font-size: 13px; font-weight: 500; }
.we-dots { display: flex; gap: 8px; width: 240px; height: 8px; margin: 24px 0 0 150px; }
.we-dots i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.we-dots i::after { content: ""; display: block; height: 100%; width: 0; background: rgba(255, 255, 255, 0.7); }
.we-dots i.is-done::after { width: 100%; }
.we-dots i.is-active::after { animation: we-progress var(--dur, 4s) linear forwards; }
@keyframes we-progress { to { width: 100%; } }
@media (max-width: 1100px) {
  .we-inner { grid-template-columns: 1fr; gap: 56px; }
  .we-left { padding-right: 0; }
  .we-desktop { margin: 0 auto; }
  .we-dots { margin: 24px auto 0; }
}

/* --------------------------------------------------------------------------
   Community
   -------------------------------------------------------------------------- */
.community { position: relative; isolation: isolate; padding: 0 0 var(--sp-13); overflow: hidden; }
.community-glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -40px;
  width: 818px;
  height: 818px;
  transform: translateX(-50%);
  background: center / cover no-repeat;
  opacity: 0.8;
  -webkit-mask-image: radial-gradient(45% 45% at 50% 50%, #000 25%, transparent 75%);
  mask-image: radial-gradient(45% 45% at 50% 50%, #000 25%, transparent 75%);
}
.community-socials { display: grid; grid-template-columns: 430px 430px; justify-content: center; gap: 40px; padding: 0 24px; }
.community-socials .section-title { grid-column: 1 / -1; max-width: 486px; margin: 0 auto 16px; }
.social-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  background: linear-gradient(137deg, rgba(17, 18, 20, 0.85) 4.87%, rgba(12, 13, 15, 0.95) 75.88%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  transition: box-shadow .3s, transform .3s;
}
.social-card:hover { transform: translateY(-2px); box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 0 40px rgba(255, 99, 99, 0.08); }
.social-head { display: flex; align-items: center; justify-content: space-between; }
.social-name { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; }
.social-name svg { width: 22px; height: 22px; }
.ico-slack { color: #e8b5ff; }
.ico-x { color: #fff; width: 18px !important; height: 18px !important; }
.social-count { color: var(--grey-300); font-family: var(--mono); font-size: 13px; }
.social-card p { color: var(--grey-200); font-size: 14px; line-height: 1.6; }
.social-cta { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; }
.social-cta svg { width: 14px; height: 14px; transition: transform .3s; }
.social-card:hover .social-cta svg { transform: translateX(2px); }

.videos {
  max-width: var(--container);
  margin: 120px auto 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.videos-track { display: flex; gap: 32px; width: max-content; animation: marquee 70s linear infinite; }
.videos:hover .videos-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.video { display: flex; flex-direction: column; gap: 12px; width: 204px; }
.video-thumb {
  position: relative;
  height: 115px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--img);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform .3s;
}
.video:hover .video-thumb { transform: scale(1.03); }
.video-thumb svg { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45)); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.35)); }
.video-title { color: var(--grey-200); font-size: 13px; font-weight: 500; line-height: 1.35; }
.community-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 360px; margin: 64px auto 0; padding: 0 24px; text-align: center; }
.community-foot p { color: var(--grey-300); font-size: 14px; line-height: 1.6; }
.yt-link { display: inline-flex; align-items: center; gap: 6px; color: var(--grey-200); }
.yt-logo { width: 108px; height: 25px; }
.yt-arrow { width: 16px; height: 16px; transition: transform .3s; }
.yt-link:hover .yt-arrow { transform: translateX(2px); }
@media (max-width: 960px) {
  .community-socials { grid-template-columns: minmax(0, 430px); }
}

/* --------------------------------------------------------------------------
   Developers (blueprint)
   -------------------------------------------------------------------------- */
.developers { padding-left: 0; padding-right: 0; }
.dev-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1068px;
  margin: 0 auto;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--mono);
}
.dev-grid::before, .dev-grid::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.dev-grid::before {
  inset: -146px -160px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 146px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 178px 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent);
  mask-image: radial-gradient(closest-side, #000 60%, transparent);
}
.dev-cell {
  position: relative;
  min-height: 356px;
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.dev-fig { overflow: hidden; }
.dev-fig::before {
  content: attr(data-fig);
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--grey-400);
  font-size: 10px;
  letter-spacing: 0.6px;
}
.dev-fig::after {
  content: "↗";
  position: absolute;
  top: 10px;
  right: 16px;
  color: var(--grey-300);
  font-family: var(--font);
  font-size: 14px;
}
.dev-fig-1, .dev-fig-2, .dev-fig-5, .dev-fig-6 { grid-column: span 2; }
.dev-intro { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.dev-intro h2 { font-family: var(--font); font-size: 48px; font-weight: 400; line-height: 1.12; letter-spacing: -1px; }
.dev-intro p, .dev-copy p { color: var(--grey-300); font-size: 13px; line-height: 1.65; }
.dev-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 500; }
.dev-link svg { width: 14px; height: 14px; transition: transform .3s; }
.dev-link:hover svg { transform: translate(2px, -2px); }
.dev-copy { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.dev-copy h3 { font-family: var(--font); font-size: 22px; font-weight: 500; letter-spacing: -0.2px; }
.dev-start { grid-column: 1 / -1; min-height: 100px; display: flex; align-items: center; justify-content: center; }
.dev-art { position: absolute; inset: 36px 20px 20px; display: flex; align-items: center; justify-content: center; }
.dev-art svg { width: 100%; height: 100%; overflow: visible; }
.iso-float { animation: iso-float 5s ease-in-out infinite; }
@keyframes iso-float { 50% { transform: translateY(-8px); } }
.iso-label { fill: var(--grey-300); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.8px; }
@media (max-width: 900px) {
  .dev-grid { grid-template-columns: 1fr; margin: 0 24px; }
  .dev-fig-1, .dev-fig-2, .dev-fig-5, .dev-fig-6 { grid-column: auto; }
  .dev-cell { min-height: 280px; }
  .dev-intro h2 { font-size: 38px; }
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta { position: relative; padding-bottom: 72px; overflow: hidden; }
.cta-keyboard {
  position: relative;
  height: 770px;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(62% 90% at 50% 100%, #000 45%, transparent 100%), linear-gradient(transparent, #000 45%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(62% 90% at 50% 100%, #000 45%, transparent 100%), linear-gradient(transparent, #000 45%);
  mask-composite: intersect;
}
.kb-cta { --u: 120px; --g: 14px; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.kb-cta .kb-key { border-radius: 16px; font-size: 24px; }
.kb-cta .kb-key.is-word .kb-main { font-size: 20px; }
.cta-action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 56px; margin-top: 24px; text-align: center; }
@media (max-width: 719px) {
  .cta-keyboard { height: 420px; }
  .kb-cta { --u: 64px; --g: 8px; }
  .kb-cta .kb-key { padding: 8px; font-size: 14px; border-radius: 10px; }
  .kb-cta .kb-key.is-word .kb-main { font-size: 11px; }
}
