.more-works {
  text-align: center;
  padding: 112px 20px 96px;
  margin-top: 48px;
  background: var(--bg-soft);
}

.more-works-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.more-works-sub {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 56px;
}

.more-works-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 36px;
  max-width: 920px;
  margin: 0 auto;
}

.more-works-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 104px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s;
}

.more-works-card:hover {
  transform: translateY(-3px);
}

.more-works-card img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.more-works-card[href*="uixskills"] img,
.more-works-card[href*="agentlimb"] img {
  padding: 4px;
}

.more-works-card span {
  font-size: 13px;
  font-weight: 500;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f1;
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --muted: #7a766e;
  --line: #e6e3dc;
  --accent: #0057ff;
  --accent-strong: #0042c7;
  --accent-tint: #e9efff;
  --warn: #ff7d2d;
  --ok: #0d8b5f;
  --shadow-lg: 0 30px 60px -20px rgba(20, 25, 40, 0.2);
  --shadow-md: 0 10px 30px -10px rgba(20, 25, 40, 0.18);
  --shadow-sm: 0 4px 14px rgba(20, 25, 40, 0.08);
  --radius: 16px;
  --radius-lg: 22px;
  font-family: "Inter", "Helvetica Neue", "PingFang SC", "Noto Sans", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  line-height: 1.55;
  font-size: 16px;
  background:
    radial-gradient(1200px 400px at 15% -5%, #e9efff 0%, transparent 60%),
    radial-gradient(900px 400px at 95% -5%, #fff3e3 0%, transparent 60%),
    var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

code {
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  font-size: 0.9em;
  background: var(--accent-tint);
  color: var(--accent-strong);
  padding: 1px 6px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── top bar ─────────────────────────────────────────────────────────────── */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.top__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.top__brand:hover {
  color: var(--ink);
}

.top__logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.top__name {
  font-size: 17px;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.top__tag {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}

.top__nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.top__nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.top__nav a:hover {
  color: var(--ink);
}

.top__github {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
}

.top__github:hover {
  background: var(--accent);
  color: #fff !important;
}

.lang-switcher {
  position: relative;
}

.lang-switcher__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease;
}

.lang-switcher__button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 180px;
  max-height: 380px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  z-index: 60;
}

.lang-switcher__menu[hidden] {
  display: none;
}

.lang-switcher__menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 100ms ease;
}

.lang-switcher__menu li:hover {
  background: var(--bg-soft);
}

.lang-switcher__menu li.is-active {
  background: var(--accent-tint);
  color: var(--accent);
}

.lang-switcher__code {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lang-switcher__menu li.is-active .lang-switcher__code {
  color: var(--accent);
}

@media (max-width: 680px) {
  .lang-switcher__button {
    padding: 6px 8px;
  }
  .lang-switcher__menu {
    right: auto;
    left: 0;
  }
}

@media (max-width: 680px) {
  .top__nav a:not(.top__github) {
    display: none;
  }
}

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero {
  padding: 80px 0 60px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero__accent {
  color: var(--accent);
}

.hero__lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 40ch;
}

.hero__ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.hero__footnote {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.hero__footnote code {
  font-size: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-strong);
  color: #fff;
}

.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* hero mock */

.hero__visual {
  position: relative;
}

.mock {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-0.5deg);
}

.mock__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f2f1ec;
  border-bottom: 1px solid var(--line);
}

.mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7d3c8;
}

.mock__dot:nth-child(1) {
  background: #ff7a6c;
}

.mock__dot:nth-child(2) {
  background: #ffc861;
}

.mock__dot:nth-child(3) {
  background: #70d48a;
}

.mock__url {
  margin-left: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

.mock__body {
  position: relative;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 110px);
  gap: 16px;
}

.mock__tile {
  border-radius: 12px;
  border: 3px solid var(--accent);
  box-shadow: inset 0 0 0 2px #fff;
  background-size: cover;
  background-position: center;
  position: relative;
}

.mock__tile::after {
  content: "Select";
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.mock__tile--a {
  background: linear-gradient(135deg, #ffb284 0%, #ff6d6d 100%);
}

.mock__tile--b {
  background: linear-gradient(135deg, #8ec3ff 0%, #5860ff 100%);
}

.mock__tile--c {
  background: linear-gradient(135deg, #c7f2d3 0%, #4ca97a 100%);
  border-color: #e63946;
}

.mock__tile--c::after {
  content: "✓ Selected";
  background: #e63946;
}

.mock__tile--d {
  background: linear-gradient(135deg, #f3dcff 0%, #a07bff 100%);
  border-color: #e63946;
}

.mock__tile--d::after {
  content: "✓ Selected";
  background: #e63946;
}

.mock__panel {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: #fbfaf6;
  border-top: 1px solid var(--line);
}

.mock__panel-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.mock__panel-body {
  flex: 1;
}

.mock__panel-title {
  font-weight: 800;
  font-size: 15px;
}

.mock__panel-meta {
  font-size: 12px;
  color: var(--muted);
}

.mock__panel-btn {
  margin-top: 6px;
  padding: 6px 10px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}

@media (max-width: 820px) {
  .hero {
    padding: 56px 0 40px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mock {
    transform: none;
  }
}

/* ── sections ────────────────────────────────────────────────────────── */

.section {
  padding: 80px 0;
}

.section--muted {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section__lede {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 36px;
  max-width: 60ch;
}

/* feature cards */

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 800;
}

.card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step__num {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* comparison table */

.table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table__row {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1.5fr;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.table__row:first-child {
  border-top: 0;
}

.table__row--head {
  background: var(--bg-soft);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.table__row > div:nth-child(2),
.table__row > div:nth-child(3) {
  text-align: center;
}

.ok {
  color: var(--ok);
  font-weight: 800;
}

.no {
  color: var(--muted);
}

@media (max-width: 720px) {
  .table__row {
    grid-template-columns: 1.8fr 1fr 1fr;
    padding: 14px;
    font-size: 13px;
  }
}

/* install */

.install {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.install__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.install__card--featured {
  border-color: var(--accent);
  box-shadow: 0 22px 40px -22px rgba(0, 87, 255, 0.35);
}

.install__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.install__card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.install__card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
}

.install__card ol {
  margin: 0 0 18px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.install__card li {
  margin-bottom: 4px;
}

.install__card .btn {
  align-self: flex-start;
}

.install__note {
  margin: 14px 0 0 !important;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 700px) {
  .install {
    grid-template-columns: 1fr;
  }
}

/* faq */

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  transition: border-color 120ms ease;
}

.faq details[open] {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--muted);
  transition: transform 120ms ease;
}

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

.faq p {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ── footer ────────────────────────────────────────────────────────── */

.foot {
  background: #0f0f0f;
  color: #e5e3dc;
  padding: 60px 0 24px;
}

.foot a {
  color: #cfcdc3;
}

.foot a:hover {
  color: #fff;
}

.foot__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot__brand img {
  border-radius: 10px;
}

.foot__name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.foot__tag {
  font-size: 12.5px;
  color: #9a968b;
}

.foot__cols {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

.foot__col h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a968b;
  margin: 0 0 14px;
  font-weight: 700;
}

.foot__col h4 a {
  color: inherit;
  border-bottom: 1px dashed currentColor;
}

.foot__col h4 a:hover {
  color: #fff;
  border-color: #fff;
}

.foot__col a {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.45;
}

.foot__friends {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.foot__friends h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a968b;
  margin: 0 0 12px;
  font-weight: 700;
}

.foot__friend {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(255, 210, 154, 0.08), rgba(0, 87, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #cfcdc3 !important;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, color 160ms ease;
}

.foot__friend:hover {
  border-color: rgba(255, 210, 154, 0.4);
  color: #fff !important;
  transform: translateY(-1px);
}

.foot__friend-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.foot__friend-sub {
  font-size: 12.5px;
  color: #9a968b;
}

.foot__legal {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 12px;
  color: #726e65;
  gap: 16px;
  flex-wrap: wrap;
}

.foot__legal a {
  color: #cfcdc3;
  border-bottom: 1px dashed currentColor;
}

.foot__legal a:hover {
  color: #fff;
}

.foot__legal--simple {
  padding: 28px 24px;
  border-top: 0;
  border-bottom: 0;
}

.foot__legal-links {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
}

.foot__legal-links a {
  border-bottom: 0;
}

/* ── legal pages (license / terms / privacy) ──────────────────────────── */

.legal {
  padding: 48px 0 80px;
}

.legal__container {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.legal__meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

.legal__disclaimer {
  margin: 0 0 32px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.legal h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.legal ul,
.legal ol {
  margin: 0 0 16px;
  padding-left: 1.3em;
}

.legal li {
  margin-bottom: 6px;
}

.legal__muted {
  color: var(--muted);
  font-size: 14px !important;
}

.legal__list-strong b {
  color: var(--ink);
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 14px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.legal__table th,
.legal__table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal__table thead th {
  background: var(--bg-soft);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal__table tbody th {
  width: 170px;
  background: var(--bg-soft);
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.legal__table tbody tr:last-child th,
.legal__table tbody tr:last-child td {
  border-bottom: 0;
}

.legal__license {
  margin: 16px 0 0;
  padding: 20px;
  background: #0f0f0f;
  color: #e5e3dc;
  border-radius: 12px;
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

@media (max-width: 820px) {
  .foot__inner,
  .foot__cols {
    grid-template-columns: 1fr;
  }
}
