:root {
  --bg: #ffffff;
  --ink: #0e0f0c;
  --ink-2: #3a3d36;
  --muted: #8a8f84;
  --line: #ececea;
  --soft: #f6f7f4;
  --lemon: #e3fa8c;
  --lemon-2: #d4f45c;
  --lemon-ink: #5f7a00;
  --shadow: 0 1px 2px rgba(20, 24, 10, .04), 0 12px 32px -8px rgba(20, 24, 10, .12), 0 40px 80px -24px rgba(20, 24, 10, .14);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
.nowrap { white-space: nowrap; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); }
.dim { color: var(--muted); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 32px 0; }
.logo { font-weight: 800; font-size: 30px; letter-spacing: .02em; display: inline-flex; align-items: flex-end; }
.cursor {
  display: inline-block; width: 20px; height: 5px; margin: 0 0 7px 5px;
  background: var(--lemon-2); border-radius: 2px;
  animation: blink 1.1s steps(1) infinite;
}
.cursor.small { width: 10px; height: 3px; margin: 0 0 4px 3px; }
@keyframes blink { 50% { opacity: 0; } }
.nav nav { display: flex; gap: 40px; font-weight: 500; font-size: 17px; }
.nav nav a { position: relative; }
.nav nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: var(--lemon-2); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav nav a:hover::after { transform: scaleX(1); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 1.15fr; gap: 48px; align-items: center; padding: 40px 0 72px; }
h1 {
  font-size: clamp(54px, 7.4vw, 108px); line-height: .92; letter-spacing: -.055em;
  font-weight: 900; margin: 0;
}
.chip {
  display: inline-flex; align-items: baseline; background: var(--lemon);
  border-radius: 18px; padding: 0 .12em 0 .08em; position: relative;
  transform: rotate(-1.5deg); transition: transform .3s cubic-bezier(.2, .9, .3, 1.4);
}
.chip:hover { transform: rotate(1.5deg) scale(1.03); }
.chip i {
  display: inline-block; width: .16em; height: .16em; border-radius: 50%;
  background: #3d5a00; margin: 0 .03em 0 .02em;
}
.sub { font-size: clamp(20px, 2vw, 28px); color: var(--ink-2); margin: 22px 0 40px; letter-spacing: -.02em; }
.ctas { display: flex; gap: 20px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 14px; height: 68px; padding: 0 34px;
  border-radius: 12px; font-size: 21px; font-weight: 600; transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn-lemon { background: var(--lemon); box-shadow: 0 10px 24px -10px rgba(140, 180, 0, .55); }
.btn-lemon:hover { background: var(--lemon-2); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(140, 180, 0, .6); }
.btn-lemon span { transition: transform .2s ease; }
.btn-lemon:hover span { transform: translateX(4px); }
.btn-line { border: 1.5px solid var(--ink); }
.btn-line:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--lemon); }
.btn:active { transform: translateY(0); }

.cmd {
  margin-top: 30px; max-width: 498px; height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px 0 22px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px;
  font-size: 19px;
}
.typed::after { content: "▍"; color: var(--lemon-2); margin-left: 2px; animation: blink 1s steps(1) infinite; }
.copy {
  border: 0; background: none; color: var(--muted); cursor: pointer; padding: 8px; border-radius: 8px;
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.copy:hover { background: #fff; color: var(--ink); }
.copy.done { color: var(--lemon-ink); }

/* stage */
.stage { position: relative; min-height: 620px; }
.brace {
  position: absolute; font-family: var(--mono); font-weight: 300; color: var(--lemon);
  font-size: 220px; line-height: 1; user-select: none;
}
.brace-l { left: -70px; top: -10px; animation: bob 7s ease-in-out infinite; }
.brace-r { right: -84px; bottom: -36px; animation: bob 7s ease-in-out -3.5s infinite; }
.dots {
  position: absolute; width: 300px; height: 230px;
  background-image: radial-gradient(var(--lemon-2) 2px, transparent 2.5px);
  background-size: 36px 34px; opacity: .8;
}
.dots-tr { right: -60px; top: -10px; }
.slab {
  position: absolute; left: 18%; right: 0; top: 40px; bottom: 60px;
  background: var(--lemon); opacity: .55; border-radius: 22px;
  transform: rotate(-3deg) skewX(-2deg);
}
.window { z-index: 2;
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
}
.bar { height: 38px; display: flex; gap: 8px; align-items: center; padding: 0 16px; background: #f4f4f2; border-bottom: 1px solid var(--line); }
.bar b { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.bar b:nth-child(2) { background: #febc2e; }
.bar b:nth-child(3) { background: #28c840; }

.app { left: 10%; right: 0; top: 90px; height: 480px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.stage:hover .app { transform: translateY(-6px) rotate(-.4deg); }
.app-body { display: grid; grid-template-columns: 190px 1fr; height: calc(100% - 38px); }
aside { border-right: 1px solid var(--line); padding: 18px 10px; position: relative; }
.side-h { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 13px; padding: 4px 12px 14px; }
.plus { font-size: 18px; line-height: 1; }
.side-i { display: flex; gap: 10px; align-items: center; font-size: 15px; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); }
.side-i.on { background: #f2fbcd; color: var(--ink); font-weight: 500; }
.cube {
  width: 16px; height: 16px; border: 1.6px solid currentColor; border-radius: 3px;
  transform: rotate(45deg) scale(.8);
}
.team { position: absolute; left: 22px; bottom: 22px; display: flex; }
.av {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; margin-left: -8px;
}
.av:first-child { margin-left: 0; }
.av1 { background: var(--lemon); }
.av2 { background: var(--ink); color: #fff; }
.av3 { background: var(--soft); color: var(--ink-2); }

.content { padding: 26px 28px; }
.content-h { display: flex; justify-content: space-between; align-items: center; }
.content-h strong { font-size: 30px; letter-spacing: -.04em; }
.add { border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; font-size: 13px; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.tabs { display: flex; gap: 28px; margin: 18px 0 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.tabs span { padding: 0 2px 10px; white-space: nowrap; }
.tabs .on { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2.5px 0 var(--lemon-2); }
.tabs .lock::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--lemon-2); vertical-align: middle; }
.table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.row { display: grid; grid-template-columns: 1.25fr 1fr 32px; align-items: center; height: 52px; padding: 0 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13.5px; }
.row:first-child { border-top: 0; }
.row.head { height: 40px; background: #fafaf8; font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.row:not(.head):hover { background: #fbfdf2; }
.ic { width: 14px; height: 14px; border: 1.5px solid var(--muted); border-radius: 3px; justify-self: end; box-shadow: 3px -3px 0 -1.5px #fff, 3px -3px 0 0 var(--muted); }
.row.head .ic { border: 0; box-shadow: none; }
.mask { letter-spacing: .08em; }

.term { right: 8%; bottom: 10px; width: 360px; animation: float 6s ease-in-out infinite; }
.term-body { padding: 18px 22px 22px; font-family: var(--mono); font-size: 16px; line-height: 2; }
.ok { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--lemon-2); margin-right: 12px; box-shadow: 0 0 0 4px rgba(212, 244, 92, .3); }

@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes bob { 50% { transform: translateY(14px) rotate(3deg); } }

/* steps */
.steps { display: flex; align-items: center; gap: 32px; padding: 12px 0 96px; }
.step strong { font-size: 26px; letter-spacing: -.03em; }
.line { flex: 1; height: 1.5px; background: repeating-linear-gradient(90deg, #d8dad4 0 8px, transparent 8px 14px); position: relative; }
.line::after {
  content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--lemon-2); animation: travel 4s ease-in-out infinite;
}
.line:nth-of-type(2)::after { animation-delay: 2s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }

/* facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 110px; }
.fact {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fact h2 { font-size: 21px; letter-spacing: -.03em; margin: 22px 0 8px; }
.fact p { margin: 0; color: var(--ink-2); line-height: 1.5; font-size: 16px; }
.fact code { background: var(--soft); padding: 2px 6px; border-radius: 5px; font-size: 13.5px; }
.glyph { display: block; width: 46px; height: 46px; border-radius: 12px; background: var(--lemon); position: relative; }
.glyph::before, .glyph::after { content: ""; position: absolute; }
.g-lock::before { left: 15px; top: 20px; width: 16px; height: 13px; background: var(--ink); border-radius: 3px; }
.g-lock::after { left: 18px; top: 11px; width: 10px; height: 12px; border: 2.5px solid var(--ink); border-bottom: 0; border-radius: 6px 6px 0 0; }
.g-key::before { left: 11px; top: 14px; width: 14px; height: 14px; border: 2.5px solid var(--ink); border-radius: 50%; }
.g-key::after { left: 25px; top: 21px; width: 12px; height: 2.5px; background: var(--ink); box-shadow: 8px 3px 0 -0px transparent; border-right: 2.5px solid var(--ink); }
.g-term::before { left: 12px; top: 15px; width: 9px; height: 9px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.g-term::after { left: 24px; top: 28px; width: 11px; height: 2.5px; background: var(--ink); }

.foot { display: flex; justify-content: space-between; align-items: center; padding: 28px 0 40px; border-top: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.foot .dim { font-weight: 400; }

/* responsive */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .stage { min-height: 560px; }
  .app { left: 0; }
}
@media (max-width: 640px) {
  .nav { padding: 22px 0; }
  .nav nav { gap: 22px; font-size: 15px; }
  .logo { font-size: 24px; }
  .btn { height: 56px; padding: 0 22px; font-size: 17px; }
  .ctas { gap: 12px; }
  .cmd { font-size: 15px; height: 52px; }
  .stage { min-height: 470px; }
  .app { top: 50px; height: 360px; }
  .app-body { grid-template-columns: 1fr; }
  aside { display: none; }
  .content { padding: 18px; }
  .content-h strong { font-size: 22px; }
  .add { display: none; }
  .row { grid-template-columns: 1fr 1fr 24px; padding: 0 12px; font-size: 12px; }
  .term { width: 260px; right: 0; }
  .term-body { font-size: 13px; padding: 12px 16px 16px; }
  .brace { font-size: 120px; }
  .brace-l { left: -16px; top: 0; }
  .brace-r { right: -6px; bottom: -40px; }
  .dots-tr { right: -20px; width: 160px; }
  .steps { gap: 14px; padding-bottom: 64px; }
  .step strong { font-size: 18px; }
  .facts { grid-template-columns: 1fr; padding-bottom: 64px; }
  .foot { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
