:root {
  --bg: #ffffff;
  --surface: #f7f7f7;
  --chrome: #e7edf6;
  --card: #ffffff;
  --line: #c8c8c8;
  --line-soft: #e2e2e2;
  --text: #222222;
  --muted: #666666;
  --selected: #dbe8fb;
  --selected-border: #8ab4f8;
  --hover: #f4f7fb;
  --danger: #b00020;
  --focus: #4d90fe;
  --blue: #2f6fd6;
  --blue-dark: #1f54ad;
  --green: #1d7a57;
  --shadow: 0 18px 44px rgba(31, 42, 58, 0.12);
  --radius: 8px;
  --max: 1160px;
  --font: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
}

img {
  max-width: 100%;
}

a {
  color: var(--blue);
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--text);
  color: #fff;
  padding: 8px 10px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(18px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line-soft);
  background: rgba(250, 250, 250, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.site-nav a {
  color: #333;
  text-decoration: none;
}

.site-nav-back {
  color: var(--muted) !important;
  font-size: 12px;
  padding-left: 6px;
  border-left: 1px solid var(--line-soft);
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.section-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 62px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
  padding: 58px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-subtitle {
  max-width: 590px;
  color: #444;
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 15px;
  color: #333;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button img {
  width: 20px;
  height: 20px;
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus {
  background: var(--blue-dark);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus {
  border-color: var(--focus);
}

.support-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.hero-demo-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mini-window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #fafafa;
  border-bottom: 1px solid var(--line-soft);
}

.mini-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7d7d7;
}

.mini-window-bar strong {
  margin-left: 8px;
  font-size: 13px;
  color: var(--muted);
}

.mini-ui {
  min-height: 360px;
  display: grid;
  grid-template-columns: 220px 1fr;
}

.mini-ui aside {
  padding: 18px 0;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.mini-ui aside p,
.mini-ui section p {
  margin: 0;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 6px 16px;
}

.mini-ui aside p::before {
  content: "";
  width: 14px;
  height: 11px;
  margin-right: 8px;
  border-radius: 2px;
  background: #ffd66e;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.mini-ui .mini-active {
  background: var(--selected);
  box-shadow: inset 3px 0 0 var(--selected-border);
}

.mini-ui section {
  padding: 18px 0;
}

.mini-ui section p {
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) 1fr;
  gap: 18px;
}

.mini-ui small {
  color: var(--muted);
}

.mini-selected {
  background: var(--selected);
  outline: 1px solid rgba(77, 144, 254, 0.28);
  outline-offset: -1px;
}

.mini-folder {
  font-weight: 700;
}

.demo-section {
  padding: 60px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.demo-frame {
  position: relative;
  height: 700px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.demo-toolbar {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.demo-toolbar strong {
  font-size: 18px;
  font-weight: 400;
}

.demo-search {
  margin-left: auto;
  width: 260px;
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.demo-help,
.demo-panel-head button,
.demo-modal button {
  min-height: 28px;
  border: 1px solid var(--line);
  background: #fff;
  color: #333;
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
}

.demo-help:hover,
.demo-panel-head button:hover,
.demo-modal button:hover {
  border-color: var(--focus);
  outline: none;
}

.demo-help.is-pressed,
.demo-panel-head button.is-pressed,
.demo-context-menu button.is-pressed,
.demo-modal button.is-pressed {
  background: #e8f0fe;
  border-color: var(--focus);
}

.demo-app {
  height: calc(100% - 54px);
  display: grid;
  grid-template-columns: 250px 1fr 300px;
}

.demo-folders,
.demo-preview,
.demo-bookmarks {
  min-width: 0;
  overflow: hidden;
}

.demo-folders {
  border-right: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.demo-tree-scroll {
  overflow-y: auto;
  flex: 1;
  padding: 4px 0 12px;
}

.demo-tree-node {
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  user-select: none;
}

.demo-tree-child {
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 40px;
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
  user-select: none;
}

.demo-twisty {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #888;
  transition: transform 120ms ease;
}

.demo-twisty.open {
  transform: rotate(90deg);
}

.demo-twisty-spacer {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}


.demo-preview {
  border-left: 1px solid var(--line);
}

.demo-pane-label,
.demo-panel-head {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px;
  background: var(--chrome);
  border-bottom: 1px solid var(--line-soft);
}

.demo-pane-label::after {
  content: "▾";
  margin-left: 4px;
  font-size: 10px;
}

.demo-panel-head span {
  flex: 1;
}

.demo-rows {
  height: calc(100% - 33px);
  overflow: auto;
}

.demo-folder,
.demo-row {
  width: 100%;
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 5px 14px;
  color: var(--text);
  text-align: left;
  white-space: nowrap;
}

.demo-folder {
  cursor: default;
  padding-left: 20px;
}

.demo-folder::after {
  content: "";
  margin-left: auto;
}

.demo-folder:not(.active):hover {
  background: var(--hover);
}

.demo-row:not(.selected):not(.being-dragged):hover {
  background: var(--hover);
}

.demo-folder.is-pressed,
.demo-row.is-pressed {
  background: var(--selected) !important;
  box-shadow: inset 3px 0 0 var(--selected-border);
}

.demo-folder.active,
.demo-row.selected {
  background: var(--selected);
  box-shadow: inset 3px 0 0 var(--selected-border);
}

.demo-row.drop-target {
  background: #ecf4ff;
  outline: 2px solid var(--selected-border);
  outline-offset: -2px;
}

.demo-row.accepting {
  background: #e8f2ff;
  box-shadow: inset 3px 0 0 var(--selected-border), inset 0 0 0 1px rgba(77, 144, 254, 0.45);
}

.demo-row.accepted {
  animation: folder-accepted 520ms ease-out;
}

.demo-row.being-dragged {
  background: #f4f8ff;
  outline: 1px dashed rgba(138, 180, 248, 0.55);
  outline-offset: -1px;
  border-radius: 3px;
}

.demo-row.created {
  animation: row-created 520ms ease-out;
}

.demo-row.row-folding {
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.demo-row .favicon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9c7dd;
  color: #274f8f;
  font-size: 10px;
  font-weight: 700;
}

.icon {
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.demo-row small {
  margin-left: auto;
  color: var(--muted);
}

.demo-row:not(.folder) {
  display: grid;
  grid-template-columns: 20px minmax(100px, 42%) 1fr;
}

.demo-row:not(.folder) > span:not(.favicon) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-row:not(.folder) small {
  margin-left: 0;
  font-size: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-card {
  margin: 14px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fff;
}

.preview-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 7px;
  background: var(--selected);
  color: var(--blue-dark);
  font-weight: 700;
}

.preview-card strong,
.preview-card small {
  display: block;
}

.preview-card small,
.preview-card p {
  color: var(--muted);
}

.demo-context-menu {
  position: absolute;
  z-index: 12;
  width: 240px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  padding: 6px 0;
  transform-origin: 12px 12px;
  animation: menu-pop 140ms ease-out;
}

.demo-context-menu button {
  width: 100%;
  min-height: 30px;
  display: block;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  padding: 5px 14px;
  color: var(--text);
  text-align: left;
}

.demo-context-menu button:nth-child(4),
.demo-context-menu button:last-child {
  border-top: 1px solid var(--line-soft);
}

.demo-context-menu .danger {
  color: var(--danger);
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 18;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(30, 40, 55, 0.26);
}

.demo-modal {
  width: min(1010px, 100%);
  max-height: 100%;
  overflow: hidden;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.25);
  animation: modal-enter 180ms ease-out;
}

.demo-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line-soft);
}

.demo-modal-header h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.demo-modal-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 14px 16px;
}

.demo-modal textarea {
  width: 100%;
  min-height: 52px;
  margin: 6px 0 8px;
  border: 1px solid var(--line);
  padding: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  resize: none;
  background: #fbfcfe;
}

.demo-modal button {
  margin: 4px 4px 4px 0;
}

.demo-ai-preview {
  border: 1px solid var(--line-soft);
  padding: 14px;
  background: #fbfcfe;
  overflow: hidden;
  min-height: 0;
}

.demo-ai-steps {
  display: grid;
  gap: 10px;
}

.demo-ai-steps section {
  border: 1px solid var(--line-soft);
  padding: 10px;
  background: #fff;
}

.demo-ai-steps h4,
.demo-ai-preview h4 {
  margin-bottom: 6px;
  font-size: 14px;
}

.demo-ai-counts {
  min-height: 28px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  border: 1px solid var(--line-soft);
  background: #fff;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 12px;
}

.ai-tree-empty {
  color: var(--muted);
}

#demoAiPreviewTree {
  max-height: 250px;
  overflow: auto;
  padding-right: 4px;
}

.ai-tree-row {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.ai-tree-row.indent {
  padding-left: 24px;
}

.ai-tree-row input {
  accent-color: var(--blue);
}

.ai-tree-row em {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.ai-tree-row.muted {
  color: var(--muted);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
  background: #fbfcfe;
}

.demo-toast {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  padding: 12px 14px;
  font-weight: 700;
}

.demo-cursor {
  position: absolute;
  z-index: 40;
  left: 0;
  top: 0;
  width: 28px;
  height: 34px;
  pointer-events: none;
  transform: translate(39px, 89px);
  will-change: transform;
  background: url("data:image/svg+xml,%3Csvg width='28' height='34' viewBox='0 0 28 34' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 2.5v24.2l6.7-6.1 4.2 9.8 4.4-1.9-4.1-9.5h9.1L3 2.5Z' fill='white' stroke='%23111' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") left top / 28px 34px no-repeat;
}

.demo-cursor.is-clicking {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='34' viewBox='0 0 28 34' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 2.5v24.2l6.7-6.1 4.2 9.8 4.4-1.9-4.1-9.5h9.1L3 2.5Z' fill='%23e8f0ff' stroke='%232f6fd6' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.demo-cursor.is-holding {
  filter: drop-shadow(0 3px 4px rgba(15, 23, 42, 0.22));
}

.demo-click-ripple {
  position: absolute;
  z-index: 39;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(47, 111, 214, 0.45);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.demo-click-ripple.is-visible {
  animation: click-ripple 300ms ease-out;
}

.demo-drag-ghost {
  position: absolute;
  z-index: 35;
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--selected-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.10);
  padding: 5px 14px;
  pointer-events: none;
  will-change: transform, box-shadow, opacity;
  transform-origin: 20px 50%;
  isolation: isolate;
}

.demo-drag-ghost::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -14px;
  height: 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.28);
  filter: blur(9px);
  opacity: 0;
  transform: scaleX(0.60);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: -1;
}

.demo-drag-ghost small {
  margin-left: 28px;
  color: var(--muted);
}

.demo-drag-ghost.is-dragging {
  border-color: var(--selected-border);
  background: linear-gradient(160deg, #fff 60%, #f6f9ff);
}

.demo-drag-ghost.is-lifted::after {
  opacity: 1;
  transform: scaleX(1);
}

.demo-pause {
  margin-top: 14px;
}

.why-section {
  padding: 62px 0;
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.why-text h2 {
  margin-bottom: 20px;
}

.why-lead {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.why-close {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.why-complaints {
  display: grid;
  gap: 12px;
}

.why-complaint {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card);
}

.why-emoji {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-complaint strong {
  display: block;
  margin-bottom: 4px;
}

.why-complaint p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.feature-grid-section,
.ai-section,
.privacy-strip {
  padding: 62px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.help-card,
.policy,
.safety-list div,
.privacy-strip {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card);
}

.feature-card {
  min-height: 210px;
  padding: 20px;
}

.feature-card p,
.help-card p,
.policy p,
.ai-copy p,
.safety-list span {
  color: var(--muted);
}

.feature-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--selected-border);
  border-radius: 6px;
  background: var(--selected);
  color: var(--blue-dark);
  font-weight: 700;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid #c8d8f3;
  border-radius: 999px;
  background: #f3f7ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.pill-ai {
  border-color: #d8c9ef;
  background: #f8f3ff;
  color: #6241a3;
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: start;
}

.safety-list {
  display: grid;
  gap: 12px;
}

.safety-list div {
  padding: 16px;
}

.safety-list strong,
.safety-list span {
  display: block;
}

.privacy-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  margin-bottom: 62px;
  background: #fbfcfe;
}

.privacy-strip div {
  max-width: 720px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px max(18px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--text);
  text-decoration: underline;
}

.subpage,
.privacy-page {
  background: linear-gradient(#fff, #fbfcfe);
}

.page-hero {
  padding: 72px 0 34px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-bottom: 70px;
}

.help-card {
  padding: 22px;
}

.help-card h2 {
  font-size: 24px;
}

.help-wide {
  grid-column: 1 / -1;
}

.callout {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 14px;
  border-left: 3px solid var(--blue);
  background: #f6f9ff;
}

.callout.warning {
  border-left-color: #b46a00;
  background: #fff8ed;
}

.callout span {
  color: var(--muted);
}

.shortcut-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.shortcut-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 700;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #fafafa;
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.shortcut-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.shortcut-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.4fr) 1fr 1fr;
  align-items: center;
  gap: 0;
  min-height: 38px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.shortcut-row:last-child {
  border-bottom: 0;
}

.shortcut-row > span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 16px;
}

.shortcut-row > span:not(:last-child) {
  border-right: 1px solid var(--line-soft);
}

.shortcut-header {
  background: var(--chrome);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.shortcut-row:not(.shortcut-header):nth-child(even) {
  background: #fafbfd;
}

.policy {
  max-width: 860px;
  padding: 44px;
  margin-top: 54px;
  margin-bottom: 70px;
}

.policy h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.policy section {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.policy h2 {
  font-size: 24px;
}

.policy-url {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #fbfcfe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: #333;
}

@media (max-width: 980px) {
  .hero,
  .ai-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .demo-app {
    grid-template-columns: 210px 1fr;
  }

  .demo-preview {
    display: none;
  }

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

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .privacy-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .mini-ui,
  .demo-app,
  .modal-grid,
  .feature-grid,
  .help-grid {
    grid-template-columns: 1fr;
  }

  .mini-ui aside,
  .demo-folders,
  .demo-preview {
    display: none;
  }

  .demo-frame {
    height: 640px;
  }

  .demo-search {
    display: none;
  }

  .why-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .help-wide {
    grid-column: auto;
  }

  .policy {
    padding: 24px;
  }
}

@keyframes menu-pop {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(-3px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes click-ripple {
  from {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.42);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
  }
}

@keyframes row-created {
  from {
    background: #edf5ff;
  }
  to {
    background: var(--selected);
  }
}

@keyframes folder-accepted {
  0% {
    background: #d4e8ff;
    transform: scale(1);
  }
  25% {
    background: #c8dfff;
    transform: scale(1.018);
  }
  55% {
    background: #dbe8fb;
    transform: scale(0.996);
  }
  100% {
    background: var(--selected);
    transform: scale(1);
  }
}

@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;
  }
}
