:root {
  --bg: #fbfbfd;
  --bg-2: #f2f2f6;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-2: #5f5f66;
  --text-3: #8e8e95;
  --line: rgba(0, 0, 0, 0.09);
  --accent: #0a6cff;
  --accent-2: #0a84ff;
  --red: #e5322d;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 12px 40px rgba(0, 0, 0, 0.08);
  --font: 'Segoe UI Variable Display', 'Segoe UI Variable', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d10;
    --bg-2: #151519;
    --card: #1a1a1f;
    --text: #f5f5f7;
    --text-2: #a8a8b0;
    --text-3: #75757d;
    --line: rgba(255, 255, 255, 0.1);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 50px rgba(0, 0, 0, 0.5);
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 1100px) / 2));
  height: 56px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 0.5px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand img {
  border-radius: 7px;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.nav nav a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s;
}
.nav nav a:hover {
  color: var(--text);
}
.lang {
  font: 600 12px var(--font);
  color: var(--text-2);
  background: var(--bg-2);
  border: 0;
  border-radius: 8px;
  padding: 5px 9px;
  cursor: pointer;
}
@media (max-width: 640px) {
  .nav nav a:not(:last-of-type) {
    display: none;
  }
}

/* hero */
.hero {
  text-align: center;
  padding: 72px 20px 0;
  max-width: 1180px;
  margin: 0 auto;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
}
h1 {
  margin: 0;
  font-size: clamp(40px, 7.4vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.lede {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--text-2);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.45;
}
.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.5, 1), box-shadow 0.2s, background 0.15s;
}
.btn:hover {
  transform: translateY(-1px) scale(1.02);
}
.btn:active {
  transform: scale(0.98);
}
.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 38%, transparent);
}
.btn.ghost {
  background: var(--bg-2);
}
.fine {
  margin: 14px 0 0;
  color: var(--text-3);
  font-size: 13.5px;
}
.shot {
  margin: 56px 0 0;
  padding: 0 0 4px;
}
.shot img {
  display: block;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 0 0.5px var(--line), 0 30px 90px rgba(0, 0, 0, 0.22), 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* chips */
.band {
  padding: 64px 20px 8px;
}
.chips {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chips li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
}

/* features */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px 40px;
}
h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-align: center;
}
h2 span {
  color: var(--text-3);
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 28px;
  padding: 28px 28px 32px;
  box-shadow: 0 0 0 0.5px var(--line), var(--shadow);
  overflow: hidden;
}
.card.wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 28px 40px 28px 28px;
}
.card.wide.reverse {
  flex-direction: row-reverse;
  padding: 28px 28px 28px 40px;
}
.card h3 {
  margin: 22px 0 8px;
  font-size: 23px;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  color: var(--text-2);
  font-size: 16.5px;
}
.card .text h3 {
  margin-top: 0;
}
.art {
  border-radius: 18px;
  background: var(--bg-2);
  min-height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.art svg {
  width: 100%;
  max-width: 340px;
  height: auto;
}
.art.shot-small {
  flex: 0 0 330px;
  padding: 0;
  background: none;
  min-height: 0;
}
.art.shot-small img {
  display: block;
  border-radius: 16px;
  box-shadow: 0 0 0 0.5px var(--line), 0 20px 50px rgba(0, 0, 0, 0.16);
}
.card.wide .text {
  flex: 1;
}
.ink .taper {
  fill: var(--text);
}
.snap .wobble {
  fill: none;
  stroke: var(--red);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 6s ease-in-out infinite;
}
.snap .perfect {
  fill: none;
  stroke: var(--red);
  stroke-width: 3.2;
  opacity: 0;
  animation: snap 6s ease-in-out infinite;
}
.snap .hint,
.pen .label text {
  fill: var(--text-3);
  font: 600 11.5px var(--font);
}
.snap .hint {
  opacity: 0;
  animation: hint 6s ease-in-out infinite;
}
@keyframes draw {
  0% { stroke-dashoffset: 1; opacity: 1; }
  38% { stroke-dashoffset: 0; opacity: 1; }
  58% { stroke-dashoffset: 0; opacity: 1; }
  66% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes snap {
  0%, 56% { opacity: 0; transform: scale(0.96); }
  68%, 92% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; }
}
.snap .perfect {
  transform-origin: 150px 80px;
}
@keyframes hint {
  0%, 40% { opacity: 0; }
  46%, 60% { opacity: 1; }
  66%, 100% { opacity: 0; }
}
.pen .barrel { fill: var(--text); }
.pen .sheen { fill: rgba(255, 255, 255, 0.22); }
.pen .tip { fill: var(--text-3); }
.pen .btn1 { fill: var(--accent-2); }
.pen .btn2 { fill: #ff9f0a; }
.pen .label circle { fill: var(--accent-2); }
.pen .label:nth-of-type(2) circle { fill: #ff9f0a; }
.lasso .scribble { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: round; }
.lasso .loop { fill: color-mix(in srgb, var(--accent-2) 10%, transparent); stroke: var(--accent-2); stroke-width: 2; stroke-dasharray: 7 6; animation: march 1.2s linear infinite; }
.lasso .knob { fill: var(--card); stroke: var(--accent-2); stroke-width: 2; }
@keyframes march { to { stroke-dashoffset: -26; } }
.keys {
  flex: 0 0 330px;
  display: flex !important;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
}
.keys .doc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 0 0 0.5px var(--line), 0 8px 24px rgba(0, 0, 0, 0.08);
  font-size: 15px;
}
.keys .pdf {
  font: 800 10px var(--font);
  background: var(--red);
  color: #fff;
  border-radius: 5px;
  padding: 4px 5px;
}
.keys .saved {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: 6px;
  border-radius: 50%;
  background: #30d158;
  color: #fff;
  animation: pop 3s ease-in-out infinite;
}
@keyframes pop {
  0%, 40% { transform: scale(0); }
  50% { transform: scale(1.25); }
  58%, 100% { transform: scale(1); }
}
.caps {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
}
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 52px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 0 0 0.5px var(--line), 0 3px 0 var(--line), 0 8px 18px rgba(0, 0, 0, 0.1);
  color: var(--text);
  font: 600 17px var(--font);
  animation: press 3s ease-in-out infinite;
}
.caps kbd:last-child {
  animation-delay: 0.1s;
}
@keyframes press {
  0%, 30%, 52%, 100% { transform: none; }
  38%, 46% { transform: translateY(3px); box-shadow: 0 0 0 0.5px var(--line), 0 0 0 var(--line), 0 2px 6px rgba(0, 0, 0, 0.1); }
}
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .card.wide, .card.wide.reverse { flex-direction: column; align-items: stretch; padding: 24px; gap: 22px; }
  .art.shot-small, .keys { flex-basis: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .snap .wobble { animation: none; stroke-dashoffset: 0; }
  .snap .perfect, .lasso .loop, .keys *, kbd { animation: none; opacity: 1; }
  .snap .perfect { opacity: 0.35; }
}

/* split */
.split {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 20px 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split h2 {
  text-align: left;
  font-size: clamp(28px, 4vw, 44px);
}
.split p {
  color: var(--text-2);
  margin: 20px 0;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.split-img {
  justify-self: center;
  max-width: 360px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 0 0 0.5px var(--line), 0 24px 60px rgba(0, 0, 0, 0.18);
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}

/* download */
.download {
  max-width: 880px;
  margin: 80px auto 0;
  padding: 80px 20px 90px;
  text-align: center;
}
.dl-icon {
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(10, 99, 230, 0.35);
}
.download h2 {
  margin-top: 26px;
}
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 36px 0 0;
}
.dl {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--bg-2);
  text-decoration: none;
  text-align: left;
  transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.5, 1), background 0.15s;
}
.dl:hover {
  transform: translateY(-2px);
}
.dl b {
  font-size: 18px;
}
.dl span {
  color: var(--text-3);
  font-size: 14px;
}
.dl.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 36%, transparent);
}
.dl.primary span {
  color: rgba(255, 255, 255, 0.78);
}
.note {
  max-width: 680px;
  margin: 26px auto 0;
  color: var(--text-2);
  font-size: 14.5px;
  text-align: left;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--bg-2);
}
.links {
  margin-top: 26px;
  color: var(--text-3);
  font-size: 15px;
}
.links a {
  color: var(--accent-2);
  text-decoration: none;
}
.links a:hover {
  text-decoration: underline;
}
.foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 26px max(20px, calc((100vw - 1100px) / 2));
  border-top: 0.5px solid var(--line);
  color: var(--text-3);
  font-size: 13.5px;
}
