/* ==========================================================================
   传世 UI 设计器 · 落地页
   深色中性灰 + 薄荷绿（#3FD197），与桌面软件同一套气质。
   无外部依赖、无 CDN、无自定义字体文件。
   ========================================================================== */

:root {
  --bg: #151515;
  --bg-deep: #121212;
  --panel: #1b1b1b;
  --panel-2: #202020;
  --card: #1e1e1e;
  --card-hover: #232323;
  --line: #2b2b2b;
  --line-strong: #3a3a3a;
  --text: #e8e8e8;
  --text-dim: #a2a2a2;
  --text-faint: #757575;
  --mint: #3fd197;
  --mint-bright: #59e0aa;
  --mint-soft: rgba(63, 209, 151, 0.11);
  --mint-line: rgba(63, 209, 151, 0.32);
  --on-mint: #06231a;
  --warn: #e0b341;
  --danger: #f05252;
  --radius-lg: 10px;
  --radius-md: 6px;
  --radius-sm: 5px;
  --wrap: 1180px;
  --header-h: 66px;
  --font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC",
    "Hiragino Sans GB", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 300px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(63, 209, 151, 0.09), transparent 70%),
    radial-gradient(700px 420px at 4% 18%, rgba(63, 209, 151, 0.035), transparent 72%),
    linear-gradient(180deg, #171717 0%, var(--bg) 42%, #141414 100%);
}

::selection {
  background: rgba(63, 209, 151, 0.28);
  color: #fff;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  background: var(--mint);
  color: var(--on-mint);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(21, 21, 21, 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(18, 18, 18, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-width: 0;
}

.brand img {
  width: 27px;
  height: 27px;
  image-rendering: auto;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-name small {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.19em;
  color: var(--text-faint);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 13px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.nav-links a.is-current {
  color: var(--mint);
  background: var(--mint-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.ver-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ver-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(63, 209, 151, 0.8);
}

.menu-btn {
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-btn svg {
  width: 17px;
  height: 17px;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: calc(var(--header-h) - 1px);
  left: 16px;
  right: 16px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #1a1a1a;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--text-dim);
  font-size: 13.5px;
}

.mobile-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s var(--ease),
    box-shadow 0.18s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.btn-mint {
  background: var(--mint);
  color: var(--on-mint);
  border-color: var(--mint);
  box-shadow: 0 0 0 rgba(63, 209, 151, 0);
}

.btn-mint:hover {
  background: var(--mint-bright);
  border-color: var(--mint-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(63, 209, 151, 0.18);
}

.btn-mint:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: #555;
  background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 12.5px;
}

.btn-lg {
  height: 46px;
  padding: 0 20px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Shared section bits
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.eyebrow .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 9px rgba(63, 209, 151, 0.75);
}

.section {
  position: relative;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px 64px;
  align-items: end;
  margin-bottom: 40px;
}

.section-head .eyebrow {
  grid-column: 1;
}

.section-head h2 {
  grid-column: 1;
  margin-top: 14px;
  font-size: clamp(28px, 3.3vw, 42px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.section-head h2 em {
  color: var(--mint);
  font-style: normal;
}

.section-lede {
  grid-column: 2;
  padding-bottom: 4px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.85;
}

.section-lede strong {
  color: var(--text);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 86px 0 74px;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 62% 24%, #000 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 62% 24%, #000 0%, transparent 74%);
}

.hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  z-index: -1;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(63, 209, 151, 0.075), transparent 66%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.01fr) minmax(0, 0.99fr);
  gap: 52px;
  align-items: center;
}

.hero-copy .eyebrow {
  margin-bottom: 20px;
}

.hero h1 {
  max-width: 12em;
  font-size: clamp(38px, 4.7vw, 66px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero h1 em {
  color: var(--mint);
  font-style: normal;
  position: relative;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 0.02em;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), transparent);
  opacity: 0.45;
}

.hero .lede {
  max-width: 31em;
  margin-top: 22px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.9;
}

.hero .lede strong {
  color: var(--text);
  font-weight: 600;
}

.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  gap: 0;
  width: fit-content;
  max-width: 100%;
  margin-top: 36px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-meta li {
  padding: 0 20px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.hero-meta li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-meta li:last-child {
  padding-right: 0;
}

.hero-meta > li > span {
  display: block;
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.hero-meta strong {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}

/* ---- Hero mock window (illustration, not a real screenshot) ---- */

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -6% -8% 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(63, 209, 151, 0.12), transparent 68%);
  filter: blur(18px);
}

.mock-window {
  position: relative;
  border: 1px solid #333;
  border-radius: var(--radius-lg);
  background: #1a1a1a;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.018) inset;
  overflow: hidden;
  transform: translateZ(0);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 10px;
  border-bottom: 1px solid #2c2c2c;
  background: #202020;
}

.mock-titlebar img {
  width: 15px;
  height: 15px;
}

.mock-titlebar .mock-title {
  font-size: 9px;
  color: #8f8f8f;
  letter-spacing: 0.02em;
}

.mock-titlebar .mock-winbtns {
  display: flex;
  gap: 5px;
  margin-left: auto;
}

.mock-titlebar .mock-winbtns i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a3a3a;
}

.mock-body {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 154px;
  grid-template-rows: minmax(0, 1fr) 78px;
  height: 356px;
}

.mock-rail {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 7px;
  border-right: 1px solid #2a2a2a;
  background: #1d1d1d;
}

.mock-rail-title {
  margin: 1px 2px 4px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  color: #666;
}

.mock-tool {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 21px;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #8d8d8d;
  font-size: 7px;
}

.mock-tool svg {
  width: 10px;
  height: 10px;
  flex: none;
}

.mock-tool.is-active {
  border-color: rgba(63, 209, 151, 0.34);
  background: rgba(63, 209, 151, 0.1);
  color: var(--mint);
}

.mock-canvas {
  position: relative;
  min-width: 0;
  padding: 13px 12px;
  background: #171717;
  overflow: hidden;
}

.mock-canvas-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: 6.5px;
  color: #5f5f5f;
}

.mock-canvas-bar span:first-child {
  color: #8a8a8a;
}

.mock-artboard {
  position: relative;
  width: 100%;
  height: 236px;
  border: 1px solid #393939;
  border-radius: 3px;
  background:
    linear-gradient(180deg, #262626 0%, #212121 38%, #1d1d1d 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.mock-artboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.7;
}

.mock-artboard::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(63, 209, 151, 0.08), transparent 55%);
  pointer-events: none;
}

.mock-bg-frame {
  position: absolute;
  inset: 18px 20px 20px;
  border: 1px solid #464646;
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    linear-gradient(135deg, #2c2c2c 0%, #242424 58%, #2a2a2a 100%);
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.12);
}

.mock-bg-frame::before,
.mock-bg-frame::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: #6a6a6a;
  border-style: solid;
}

.mock-bg-frame::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.mock-bg-frame::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.mock-bg-title {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 46%;
  height: 9px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #5b5b5b, transparent);
  opacity: 0.55;
}

.mock-bg-figure {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 74px;
  height: 52px;
  transform: translateX(-50%);
  border: 1px solid #4d4d4d;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 4px, transparent 4px 9px),
    #2f2f2f;
  border-radius: 2px;
}

.mock-bg-figure::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid #6a6a6a;
}

.mock-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 19px;
  padding: 0 7px;
  border: 1px solid #4c4c4c;
  border-radius: 3px;
  background: linear-gradient(180deg, #343434, #2a2a2a);
  color: #a9a9a9;
  font-size: 6.5px;
}

.mock-btn.primary {
  border-color: rgba(63, 209, 151, 0.5);
  background: linear-gradient(180deg, rgba(63, 209, 151, 0.2), rgba(63, 209, 151, 0.08));
  color: #8fe9c1;
}

.mock-component {
  position: absolute;
  border: 1px solid #5a5a5a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 60%),
    #2d2d2d;
  border-radius: 2px;
}

.mock-component.is-selected {
  border-color: var(--mint);
  box-shadow:
    0 0 0 1px rgba(63, 209, 151, 0.2),
    0 0 18px rgba(63, 209, 151, 0.12);
}

.mock-component.is-selected::before,
.mock-component.is-selected::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--mint);
}

.mock-component.is-selected::before {
  top: -3px;
  left: -3px;
}

.mock-component.is-selected::after {
  right: -3px;
  bottom: -3px;
}

.mock-component span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 6px;
  color: #9b9b9b;
  white-space: nowrap;
}

.mock-inspector {
  padding: 10px 9px;
  border-left: 1px solid #2a2a2a;
  background: #1d1d1d;
}

.mock-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid #2a2a2a;
  font-size: 7px;
  color: #8c8c8c;
}

.mock-panel-title b {
  color: var(--mint);
  font-weight: 500;
}

.mock-field {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
  font-size: 6.5px;
  color: #767676;
}

.mock-field i {
  height: 15px;
  border: 1px solid #333;
  border-radius: 3px;
  background: #232323;
  font-style: normal;
  line-height: 13px;
  padding: 0 4px;
  color: #a5a5a5;
  font-family: var(--mono);
  font-size: 6px;
}

.mock-field.mock-field-active i {
  border-color: rgba(63, 209, 151, 0.45);
  color: #93e9c4;
}

.mock-swatch {
  display: flex;
  gap: 3px;
  margin: 7px 0 9px;
}

.mock-swatch i {
  flex: 1;
  height: 22px;
  border: 1px solid #3b3b3b;
  border-radius: 2px;
  background: linear-gradient(135deg, #3a3a3a, #262626);
}

.mock-swatch i:nth-child(2) {
  background: linear-gradient(135deg, rgba(63, 209, 151, 0.3), rgba(63, 209, 151, 0.06));
  border-color: rgba(63, 209, 151, 0.4);
}

.mock-script {
  grid-column: 2 / 4;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-top: 1px solid #2a2a2a;
  background: #1a1a1a;
  overflow: hidden;
}

.mock-script-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 21px;
  padding: 0 10px;
  border-bottom: 1px solid #262626;
  font-family: var(--mono);
  font-size: 6.5px;
  color: #6d6d6d;
}

.mock-script-bar b {
  color: #9b9b9b;
  font-weight: 500;
}

.mock-script-bar .mock-script-actions {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.mock-script-bar .mock-script-actions i {
  width: 22px;
  height: 11px;
  border: 1px solid #363636;
  border-radius: 2px;
}

.mock-script-lines {
  flex: 1;
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 16px;
  color: #777;
  overflow: hidden;
}

.mock-script-line {
  display: flex;
  gap: 8px;
  padding: 0 10px;
  white-space: nowrap;
  overflow: hidden;
}

.mock-script-line .ln {
  width: 12px;
  flex: none;
  text-align: right;
  color: #4d4d4d;
}

.mock-script-line .tx {
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-script-line .kw {
  color: #8fe9c1;
}

.mock-script-line.is-active {
  background: rgba(63, 209, 151, 0.09);
  box-shadow: inset 2px 0 0 var(--mint);
}

.mock-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 3px 7px;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  background: rgba(18, 18, 18, 0.84);
  color: #858585;
  font-size: 7px;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}

.mock-float {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(26, 26, 26, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-dim);
  backdrop-filter: blur(8px);
}

.mock-float i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(63, 209, 151, 0.8);
}

.mock-float.is-top {
  top: -14px;
  left: 18px;
}

.mock-float.is-bottom {
  right: -10px;
  bottom: 28px;
}

/* --------------------------------------------------------------------------
   Feature bento
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 46%),
    var(--card);
  overflow: hidden;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 34px;
  height: 1px;
  background: var(--mint);
  opacity: 0.45;
  transition: width 0.25s var(--ease), opacity 0.25s ease;
}

.card:hover {
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 46%),
    var(--card-hover);
}

.card:hover::before {
  width: 56px;
  opacity: 1;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #262626;
  color: var(--mint);
}

.card-icon svg {
  width: 17px;
  height: 17px;
}

.card-index {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.card p {
  margin-top: 7px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.8;
}

.card p code {
  padding: 1px 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #262626;
  color: #b9e8d6;
  font-family: var(--mono);
  font-size: 11px;
}

.card-wide {
  grid-column: span 7;
}

.card-narrow {
  grid-column: span 5;
}

.card-half {
  grid-column: span 6;
}

.card-visual {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #252525;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  white-space: nowrap;
}

.chip-mint {
  border-color: var(--mint-line);
  background: var(--mint-soft);
  color: #8fe9c1;
}

.source-tree {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-faint);
}

.source-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #232323;
}

.source-row b {
  color: var(--text-dim);
  font-weight: 500;
}

.source-row span {
  margin-left: auto;
  color: #6f6f6f;
}

.source-row i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #555;
  flex: none;
}

.source-row.is-first i {
  background: var(--mint);
  box-shadow: 0 0 7px rgba(63, 209, 151, 0.7);
}

.zoom-track {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--text-faint);
}

.zoom-track span {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #252525;
}

.zoom-track span.is-on {
  border-color: var(--mint);
  background: var(--mint-soft);
  color: var(--mint);
}

.mock-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 16px;
}

.mock-list-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #232323;
  font-size: 11px;
  color: var(--text-dim);
}

.mock-list-row b {
  font-weight: 600;
  color: var(--text);
}

.mock-list-row small {
  margin-left: auto;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 9px;
}

.mock-list-row.is-on {
  border-color: var(--mint-line);
  background: var(--mint-soft);
}

.mock-list-row.is-on b {
  color: #9beccb;
}

.code-block {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #171717;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.85;
  color: #8b8b8b;
  overflow-x: auto;
  white-space: pre;
}

.code-block .tag {
  color: #8fe9c1;
}

.code-block .num {
  color: #d8b06a;
}

.code-block .cursor {
  display: inline-block;
  width: 1px;
  height: 11px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--mint);
  animation: blink 1.2s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 16px;
}

.component-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #242424;
  color: var(--text-dim);
  font-size: 10.5px;
  white-space: nowrap;
}

.component-grid span:nth-child(2) {
  border-color: var(--mint-line);
  background: var(--mint-soft);
  color: #9beccb;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 16px;
}

.feature-list li {
  display: flex;
  gap: 8px;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.65;
}

.feature-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-top: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.8;
}

.feature-list b {
  color: var(--text);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Workflow
   -------------------------------------------------------------------------- */

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  overflow: hidden;
}

.step {
  position: relative;
  padding: 26px 24px 28px;
  border-left: 1px solid var(--line);
}

.step:first-child {
  border-left: 0;
}

.step-index {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 42px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mint);
}

.step-index::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--mint-line), transparent);
}

.step h3 {
  font-size: 14.5px;
  font-weight: 600;
}

.step p {
  margin-top: 7px;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Screenshot placeholders
   -------------------------------------------------------------------------- */

.shots {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.shot {
  min-width: 0;
}

.shot-main {
  grid-row: 1 / 3;
}

.shot-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px dashed #3d3d3d;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #1b1b1b;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.022) 0,
    rgba(255, 255, 255, 0.022) 1px,
    transparent 1px,
    transparent 9px
  );
}

.shot-main .shot-frame {
  aspect-ratio: 16 / 10.6;
}

.shot-skeleton {
  position: absolute;
  inset: 20px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 118px;
  grid-template-rows: minmax(0, 1fr) 48px;
  gap: 8px;
  opacity: 0.35;
  filter: saturate(0.6);
}

.shot-skeleton i {
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.022);
}

.shot-skeleton i:nth-child(1) {
  grid-row: 1 / 3;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0 7px,
    transparent 7px 12px
  );
}

.shot-skeleton i:nth-child(2) {
  border-color: #4a4a4a;
  background:
    radial-gradient(circle at 50% 40%, rgba(63, 209, 151, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.02);
}

.shot-skeleton i:nth-child(3) {
  grid-row: 1 / 3;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035) 0 5px,
    transparent 5px 14px
  );
}

.shot-skeleton i:nth-child(4) {
  grid-column: 2;
  background: repeating-linear-gradient(
    180deg,
    rgba(63, 209, 151, 0.05) 0 5px,
    transparent 5px 11px
  );
}

.shot-placeholder {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 15px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(22, 22, 22, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  text-align: center;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.shot-placeholder .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 7px;
  border: 1px solid var(--mint-line);
  border-radius: 3px;
  background: var(--mint-soft);
  color: var(--mint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.shot-placeholder .tag::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.shot-placeholder strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.shot-placeholder small {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-faint);
}

.shot figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 12px;
}

.shot figcaption b {
  color: var(--text);
  font-weight: 600;
}

.shot figcaption span {
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 9.5px;
}

.shot-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #1b1b1b;
  color: var(--text-faint);
  font-size: 11.5px;
  line-height: 1.7;
}

.shot-note svg {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  flex: none;
  color: var(--warn);
}

.shot-note b {
  color: var(--text-dim);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Requirements
   -------------------------------------------------------------------------- */

.req-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.req {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: border-color 0.2s ease;
}

.req:hover {
  border-color: var(--line-strong);
}

.req-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.req-label svg {
  width: 13px;
  height: 13px;
  color: var(--mint);
}

.req strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.req p {
  margin-top: 5px;
  color: var(--text-dim);
  font-size: 11.5px;
  line-height: 1.7;
}

.req-tip {
  display: flex;
  gap: 9px;
  margin-top: 14px;
  padding: 12px 15px;
  border-left: 2px solid var(--mint);
  background: rgba(63, 209, 151, 0.045);
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.75;
}

.req-tip b {
  color: var(--text);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Download
   -------------------------------------------------------------------------- */

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--panel);
  overflow: hidden;
}

.download-main {
  position: relative;
  padding: 36px;
  overflow: hidden;
}

.download-main::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 209, 151, 0.12), transparent 68%);
  pointer-events: none;
}

.download-main .eyebrow {
  margin-bottom: 16px;
}

.download-main h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.download-main h2 em {
  color: var(--mint);
  font-style: normal;
}

.download-main .download-desc {
  max-width: 34em;
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.8;
}

.download-desc code,
.req-tip code,
.footer-meta code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #262626;
  color: #b9e8d6;
  font-family: var(--mono);
  font-size: 0.88em;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
  overflow: hidden;
}

.download-meta div {
  padding: 11px 13px;
  background: #202020;
}

.download-meta div > span {
  display: block;
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.download-meta strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-file {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-faint);
  overflow-wrap: anywhere;
}

.download-file svg {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--text-dim);
}

.download-file b {
  color: var(--text-dim);
  font-weight: 500;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.download-actions .btn {
  min-width: 218px;
}

.download-hint {
  color: var(--text-faint);
  font-size: 10.5px;
  line-height: 1.6;
}

.download-side {
  padding: 36px 32px;
  border-left: 1px solid var(--line);
  background: #191919;
}

.download-side h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.download-side h3 + p {
  margin-top: 3px;
  color: var(--text-faint);
  font-size: 10.5px;
  font-family: var(--mono);
}

.prep-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}

.prep-list li {
  display: flex;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.prep-list li:last-child {
  border-bottom: 0;
}

.prep-list .num {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 8.5px;
}

.prep-list strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.prep-list p {
  margin-top: 2px;
  color: var(--text-faint);
  font-size: 10.5px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.18s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--mint);
}

.faq summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s var(--ease), color 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
  color: var(--mint);
}

.faq .faq-a {
  max-width: 74em;
  padding: 0 40px 20px 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.85;
}

.faq .faq-a code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #262626;
  color: #b9e8d6;
  font-family: var(--mono);
  font-size: 10.5px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 38px 0 46px;
  border-top: 1px solid var(--line);
  background: #121212;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 24px;
  height: 24px;
}

.footer-brand strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.footer-brand small {
  display: block;
  margin-top: 2px;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 9px;
}

.footer-meta {
  max-width: 34em;
  color: var(--text-faint);
  font-size: 10.5px;
  line-height: 1.8;
  text-align: right;
}

.footer-meta a {
  color: var(--text-dim);
  border-bottom: 1px solid var(--line-strong);
}

.footer-meta a:hover {
  color: var(--mint);
  border-color: var(--mint-line);
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-inner {
    gap: 34px;
  }

  .mock-body {
    grid-template-columns: 66px minmax(0, 1fr) 130px;
    height: 330px;
  }

  .mock-script {
    grid-column: 2 / 4;
  }

  .section-head {
    gap: 20px 40px;
  }

  .source-tree {
    font-size: 9.5px;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero h1 {
    max-width: 14em;
  }

  .hero-visual {
    max-width: 720px;
    width: 100%;
    margin-inline: auto;
  }

  .mock-body {
    height: 360px;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .section-lede {
    grid-column: 1;
    max-width: 44em;
  }

  .card-wide,
  .card-narrow,
  .card-half {
    grid-column: span 6;
  }

  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step {
    border-top: 1px solid var(--line);
  }

  .step:nth-child(1),
  .step:nth-child(2) {
    border-top: 0;
  }

  .step:nth-child(3) {
    border-left: 0;
  }

  .shots {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .shot-main {
    grid-row: auto;
  }

  .shot-main .shot-frame {
    aspect-ratio: 16 / 10;
  }

  .req-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-side {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 36px);
  }

  :root {
    --header-h: 60px;
  }

  .ver-chip {
    display: none;
  }

  .hero {
    padding: 46px 0 56px;
  }

  .hero h1 {
    font-size: clamp(34px, 9.4vw, 48px);
  }

  .hero .lede {
    font-size: 14px;
  }

  .hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 0;
  }

  .hero-meta li {
    padding: 10px 14px;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .hero-meta li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-meta li:nth-child(-n + 2) {
    border-top: 0;
  }

  .mock-body {
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 72px;
    height: 330px;
  }

  .mock-inspector {
    display: none;
  }

  .mock-script {
    grid-column: 2;
  }

  .mock-float {
    display: none;
  }

  .mock-artboard {
    height: 220px;
  }

  .section {
    padding: 68px 0;
  }

  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-wide,
  .card-narrow,
  .card-half {
    grid-column: span 1;
  }

  .card {
    padding: 20px;
  }

  .workflow {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    border-left: 0;
  }

  .step:nth-child(2) {
    border-top: 1px solid var(--line);
  }

  .step-index {
    margin-bottom: 26px;
  }

  .download-main,
  .download-side {
    padding: 26px 22px;
  }

  .download-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-meta div:last-child {
    grid-column: span 2;
  }

  .download-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .download-hint {
    font-size: 10px;
  }

  .req-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq .faq-a {
    padding-right: 10px;
  }

  .shot-skeleton {
    grid-template-columns: 46px minmax(0, 1fr) 72px;
    inset: 12px;
  }

  .shot-placeholder {
    padding: 11px 13px;
    white-space: normal;
    width: calc(100% - 36px);
  }

  .shot-placeholder small {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .brand-name small {
    display: none;
  }

  .mock-body {
    grid-template-columns: minmax(0, 1fr);
    height: 300px;
  }

  .mock-rail {
    display: none;
  }

  .mock-script {
    grid-column: 1;
  }

  .mock-canvas {
    padding: 10px;
  }

  .mock-artboard {
    height: 206px;
  }

  .hero .cta-row .btn {
    width: 100%;
  }

  .shots {
    gap: 20px;
  }

  .download-file {
    font-size: 9.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
