/* Docket — marketing page */
:root {
  --paper: #f5f5f2;
  --ink: #1a191d;
  --ink-soft: rgba(26, 25, 29, 0.55);
  --stage: #e8e8e3;
  --card: #fafaf9;
  --card-line: rgba(38, 38, 35, 0.1);
  --rule: rgba(26, 25, 29, 0.08);
  --p0: #000; --p1: #bb1414; --p2: #e88f00;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 12.5px/21.5px "Inter", "Segoe UI", system-ui, sans-serif; letter-spacing: -0.0625px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #1a7da6; outline-offset: 2px; }

.signin { position: absolute; top: 26px; right: 30px; font-size: 11px; line-height: 18.92px; color: var(--ink-soft); }
.signin:hover { color: var(--ink); }

.column { width: 720px; max-width: 100%; margin: 0 auto; padding: 104px 32px 120px; }
.logo { display: block; width: 37px; height: 29px; margin-bottom: 206px; }
.logo svg { display: block; width: 37px; height: 29px; }
.hero h1 { width: 368px; max-width: 100%; margin: 0; font-size: 27px; font-weight: 450; line-height: 29.16px; letter-spacing: -1.08px; }
.subtitle { width: 368px; max-width: 100%; margin-top: 14px; font-size: 12px; line-height: 17.04px; }
.hero-cta { padding-bottom: 240px; }
.cta { margin-top: 36px; display: flex; align-items: center; gap: 22px; }
.create {
  height: 46px; padding: 12px 22px; border-radius: 9px; background: var(--ink); color: var(--paper);
  font-weight: 500; display: inline-flex; align-items: center; transition: transform 0.12s, background-color 0.15s;
}
.create:hover { background: #000; }
.create:active { transform: scale(0.98); }
.demo { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.demo svg { width: 28px; height: 13px; transition: transform 0.2s ease; }
.demo:hover svg { transform: translateX(4px); }

.section { display: grid; grid-template-columns: 368px 248px; column-gap: 40px; height: 230px; margin-bottom: 300px; }
.section:last-of-type { margin-bottom: 0; }
.media { position: relative; height: 230px; border-radius: 5px; background: var(--stage); overflow: hidden; }
.copy h2 { margin: -3px 0 10px; font-size: 16px; font-weight: 500; line-height: 20px; letter-spacing: -0.4px; }
.copy p { font-size: 10px; line-height: 15px; margin-bottom: 9px; }
.copy .play-sounds { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 10px; line-height: 15px; font-weight: 500; }
.copy .play-sounds svg { width: 9px; height: 9px; }

.closing { width: 368px; max-width: 100%; margin-top: 252px; }
.closing p { font-size: 12.5px; line-height: 18.75px; margin-bottom: 13.75px; }
.footer { margin-top: 208px; padding-top: 26px; border-top: 1px solid var(--rule); }
.footer-row { display: flex; justify-content: space-between; align-items: center; font-size: 9px; line-height: 13.5px; }
.footer-row strong { font-weight: 500; }
.footer-meta { display: flex; gap: 7px; flex-wrap: wrap; }
.footer-meta a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- scene parts ---------- */
.board { position: absolute; left: 14px; right: 14px; top: 22px; }
.b-title { margin: 0 2px 2px; font-size: 16px; font-weight: 500; line-height: 27.52px; letter-spacing: -0.32px; color: #1a1a1a; display: flex; align-items: center; justify-content: space-between; }
.rows { display: flex; flex-direction: column; gap: 8px; margin-top: 9px; }
.r {
  height: 44px; padding: 0 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--card-line);
  display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 450; line-height: 18.92px; color: #1a1a1a;
  position: relative; overflow: hidden;
}
.r .name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r .muted { color: #9a978f; }
.pri { width: 16px; height: 16px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 9.5px; font-weight: 650; color: #fff; letter-spacing: 0; }
.pri.p0 { background: var(--p0); } .pri.p1 { background: var(--p1); } .pri.p2 { background: var(--p2); }
.pill { height: 20px; padding: 0 10px; border-radius: 999px; border: 1px solid; font-size: 11px; font-weight: 450; display: inline-flex; align-items: center; white-space: nowrap; flex: none; }
.pill.sky { color: #1a7da6; border-color: #a6def2; }
.pill.gray { color: #5a5d66; border-color: #d4d5da; }
.pill.yellow { color: #9a6a12; border-color: #efd594; }
.chev { width: 12px; height: 12px; color: #9a978f; flex: none; }
.face { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 8px; font-weight: 600; color: #fff; box-shadow: 0 0 0 2px var(--card); }
.ghost-face { width: 20px; height: 20px; border-radius: 50%; background: #e2e1dc; flex: none; }
.new { height: 15px; padding: 1px 5px 0; border-radius: 5px; background: #d8e4f8; color: #2563eb; font-size: 8.5px; font-weight: 600; line-height: 13px; flex: none; }
.sbtn { height: 30px; padding: 0 7px; border-radius: 10px; font-size: 11px; font-weight: 450; line-height: 30px; color: #fff; background: #1f1e1b; flex: none; }
.sbtn.green { background: #2faa5f; } .sbtn.red { background: #e2554d; }
.sbtn u { text-underline-offset: 2px; }

/* uses: two boards */
.s-uses .board { width: 340px; transition: transform 0.9s cubic-bezier(0.25, 0.9, 0.3, 1); }
.s-uses .board.b2 { transform: translateX(238px); }
.s-uses .b2 .r:nth-child(2) { margin-left: 26px; }
.s-uses .b2 .r:nth-child(3) { margin-left: 52px; }
.s-uses .b2 .r:nth-child(1) { margin-left: 0; }
.s-uses.play .board.b1 { animation: slide-a 7s ease-in-out infinite; }
.s-uses.play .board.b2 { animation: slide-b 7s ease-in-out infinite; }
@keyframes slide-a { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(-250px); } 100% { transform: none; } }
@keyframes slide-b { 0%, 40% { transform: translateX(238px); } 50%, 90% { transform: translateX(-12px); } 100% { transform: translateX(238px); } }

/* add */
.s-add .typing::after { content: ""; display: inline-block; width: 1px; height: 12px; margin-left: 1px; background: #1a1a1a; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.s-add .first { transition: opacity 0.4s, transform 0.4s; }

/* cursors */
.mcursor { position: absolute; left: 0; top: 0; z-index: 3; transition: transform 1.3s cubic-bezier(0.45, 0.05, 0.25, 1); }
.mcursor svg { width: 16px; height: 16px; display: block; }
.mcursor .face { position: absolute; left: 14px; top: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.pile { position: absolute; right: 16px; top: 14px; display: flex; }
.pile .face { margin-left: -6px; box-shadow: 0 0 0 2px var(--stage); }

/* new chips */
.s-new .new { opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.3s; }
.s-new.play .new { opacity: 1; transform: none; }
.s-new.play .r:nth-child(2) .new { transition-delay: 0.2s; }
.s-new.play .r:nth-child(3) .new { transition-delay: 0.4s; }
.s-new .seen .new { opacity: 0 !important; transform: scale(0.8) !important; transition-delay: 0s !important; }

/* complete / kill sweep */
.sweep { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; border-radius: 12px; }
.sweep.green { background: #2faa5f; } .sweep.red { background: #3a1616; }
.r .over { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; width: 100%; }
.tabs { position: absolute; right: 22px; top: 18px; display: flex; gap: 18px; font-size: 11px; font-weight: 450; line-height: 20px; }
.tabs span { position: relative; color: #9a978f; padding-bottom: 6px; }
.tabs .on { color: #1a1a1a; }
.tabs .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #1a1a1a; }
.tabs b { font-weight: 450; font-size: 10px; margin-left: 4px; color: #9a978f; display: inline-block; }
.bump { animation: bump 0.4s ease; }
@keyframes bump { 40% { transform: translateY(-3px); } }

/* drag */
.s-drag .r { transition: transform 0.45s cubic-bezier(0.2, 1.25, 0.4, 1), box-shadow 0.25s; }
.s-drag .r.lift { box-shadow: 0 12px 28px rgba(30, 28, 20, 0.16); z-index: 2; }

/* sound */
.eq { position: absolute; right: 26px; top: 50%; transform: translateY(26px); display: flex; gap: 3px; align-items: flex-end; height: 22px; }
.eq i { width: 3px; height: 4px; border-radius: 2px; background: #9a978f; }
.s-sound.play .eq i { animation: eq 0.9s ease-in-out infinite; }
.s-sound.play .eq i:nth-child(2) { animation-delay: 0.15s; } .s-sound.play .eq i:nth-child(3) { animation-delay: 0.3s; }
.s-sound.play .eq i:nth-child(4) { animation-delay: 0.45s; } .s-sound.play .eq i:nth-child(5) { animation-delay: 0.6s; }
@keyframes eq { 50% { height: 20px; } }

/* keys */
.keycap {
  position: absolute; left: 50%; top: 128px; width: 44px; height: 44px; margin-left: -22px; border-radius: 9px;
  background: #fbfbfa; box-shadow: 0 1px 0 #d6d5cf, 0 3px 0 #cfcec8, 0 6px 12px rgba(30, 28, 20, 0.1);
  display: grid; place-items: center; font-size: 13px; font-weight: 500; color: #3a3935; transition: transform 0.1s, box-shadow 0.1s;
}
.keycap.down { transform: translateY(2px); box-shadow: 0 1px 0 #d6d5cf, 0 1px 0 #cfcec8, 0 2px 5px rgba(30, 28, 20, 0.1); }
.keylabel { position: absolute; left: 0; right: 0; top: 182px; text-align: center; font-size: 10px; color: #9a978f; }

/* agent */
.agent-tag { position: absolute; z-index: 3; left: 0; top: 0; padding: 1px 7px; border-radius: 6px; background: #1f1e1b; color: #fff; font-size: 9px; font-weight: 500; line-height: 16px; transition: transform 1.2s cubic-bezier(0.45, 0.05, 0.25, 1); }
.r .date { color: #9a978f; flex: none; }

.appear { animation: appear 0.45s cubic-bezier(0.2, 1.2, 0.4, 1); }
@keyframes appear { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }

@media (max-width: 760px) {
  .column { padding: 64px 20px 80px; }
  .logo { margin-bottom: 96px; }
  .hero-cta { padding-bottom: 120px; }
  .section { grid-template-columns: 1fr; height: auto; row-gap: 22px; margin-bottom: 110px; }
  .media { order: 0; }
  .s-uses .board { width: calc(100% - 28px); }
  .closing { margin-top: 120px; }
  .footer { margin-top: 120px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .signin { right: 20px; top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
