@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/dm-sans.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/space-grotesk.woff2") format("woff2");
}

:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --panel: #ffffff;
  --panel-2: #f3f5fa;
  --line: #e2e6ef;
  --line-soft: rgba(15, 23, 42, 0.07);

  --text: #101828;
  --text-dim: #46536b;
  --muted: #5a6780;
  --muted-2: #7c8798;

  --accent: #5b4bff;
  --accent-2: #2f6bff;
  --accent-soft: rgba(91, 75, 255, 0.10);
  --accent-line: rgba(91, 75, 255, 0.30);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;

  --wrap: 1180px;
  --gutter: clamp(18px, 5vw, 40px);
  --header-h: 72px;

  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", "DM Sans", "Segoe UI", system-ui, sans-serif;

  --shadow-card: 0 18px 40px rgba(16, 24, 40, 0.08);
  --shadow-button: 0 10px 24px rgba(78, 92, 255, 0.28);

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(36px, 5vw, 58px);
}

h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid #9b8cff;
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(91, 75, 255, 0.25);
}

.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section-heading {
  max-width: 640px;
  margin: 0 auto clamp(26px, 4vw, 40px);
  text-align: center;
}

.section-heading p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(100deg, #6157ff, #4f8cff);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: transform 0.18s var(--ease), filter 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  padding: 10px 16px;
  font-size: 13.5px;
  border-radius: 10px;
}

.button-large {
  padding: 16px 24px;
  font-size: 15.5px;
}

.button-block {
  width: 100%;
}

.button-ghost {
  background: rgba(16, 24, 40, 0.03);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(16, 24, 40, 0.06);
  filter: none;
}

.button small {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pill {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #4b3fd6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.topbar.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-icon {
  display: grid;
  place-items: center;
  color: #6157ff;
}

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

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(16, 24, 40, 0.05);
}

.nav a.is-current {
  color: var(--text);
  background: rgba(124, 107, 255, 0.16);
}

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

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 24, 40, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 0.22s var(--ease);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6vw, 76px) clamp(52px, 7vw, 90px);
}

.hero::before {
  position: absolute;
  inset: -220px -10% auto;
  height: 760px;
  background:
    radial-gradient(46% 52% at 26% 32%, rgba(91, 75, 255, 0.12), transparent 70%),
    radial-gradient(40% 46% at 84% 18%, rgba(47, 107, 255, 0.10), transparent 70%);
  pointer-events: none;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.hero-copy h1 {
  margin: 18px 0 16px;
}

.hero-copy .gradient {
  background: linear-gradient(92deg, #7a5cff, #2f6bff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 52ch;
  color: var(--text-dim);
  font-size: 16.5px;
  line-height: 1.72;
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 22px 0 26px;
  color: var(--text-dim);
  font-size: 13.5px;
}

.proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.proof li::before {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(124, 107, 255, 0.18);
  color: #6157ff;
  font-size: 10px;
  content: "✓";
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.terms-note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 12.5px;
}

.terms-note a {
  color: #5b4bff;
  text-decoration: underline;
  text-decoration-color: rgba(91, 75, 255, 0.35);
  text-underline-offset: 2px;
}

.terms-note a:hover {
  color: #3326c4;
}

.hero-visual {
  position: relative;
}

.hero-visual::after {
  position: absolute;
  inset: auto 12% -26px;
  height: 60px;
  background: radial-gradient(50% 60% at 50% 50%, rgba(91, 75, 255, 0.18), transparent 70%);
  filter: blur(12px);
  content: "";
  pointer-events: none;
}

.app-window {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  min-height: clamp(330px, 36vw, 402px);
  border: 1px solid #26374f;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 34px 80px rgba(16, 24, 40, 0.14), 0 0 80px rgba(91, 75, 255, 0.10);
  font-size: 11px;
  line-height: 1.45;
  overflow: hidden;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  border-right: 1px solid #e6eaf3;
  background: #f8f9fd;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px 14px;
  font-weight: 700;
  font-size: 12px;
}

.mini-brand span {
  color: #6157ff;
  font-size: 15px;
}

.app-sidebar > a {
  padding: 7px 9px;
  border-radius: 7px;
  color: #5a6780;
  font-size: 11px;
}

.app-sidebar .side-active {
  background: #eceaff;
  color: #3b2fc4;
}

.side-label {
  margin: 14px 9px 4px;
  color: #8892a3;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pro-card {
  margin-top: auto;
  padding: 10px;
  border: 1px solid #e4e8f1;
  border-radius: 9px;
  color: #33405a;
  font-size: 10.5px;
}

.pro-card small {
  color: #7c8798;
  font-size: 9.5px;
}

.app-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  overflow: hidden;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #667386;
  font-size: 10.5px;
}

.app-top span:first-child {
  width: 74%;
  padding: 8px 10px;
  border: 1px solid #e6eaf3;
  border-radius: 7px;
  background: #ffffff;
}

.app-welcome {
  padding: 14px 8px 6px;
  text-align: center;
}

.app-welcome h3 {
  font-size: 14.5px;
  letter-spacing: -0.01em;
}

.app-welcome p {
  margin-top: 5px;
  color: #667386;
  font-size: 10.5px;
}

.prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px auto 9px;
  padding: 10px 11px;
  border: 1px solid #cfd8e8;
  border-radius: 10px;
  background: #f6f7fb;
  color: #667386;
  font-size: 10.5px;
  text-align: left;
}

.prompt b {
  padding: 4px 7px;
  border-radius: 6px;
  background: #506bff;
  color: #fff;
  font-size: 10px;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.quick-actions span {
  padding: 6px 9px;
  border-radius: 6px;
  background: #f1f3f8;
  color: #4a566d;
  font-size: 10px;
}

.app-popular {
  margin-top: auto;
}

.app-popular-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 3px 8px;
  font-size: 11px;
  font-weight: 700;
}

.app-popular-head span {
  color: #4a5cff;
  font-size: 10px;
  font-weight: 500;
}

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

.mini-grid > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px;
  border: 1px solid #e6eaf3;
  border-radius: 8px;
  background: #ffffff;
}

.mini-logo {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #e8eafa;
  color: #555e8a;
  font-size: 13px;
  font-weight: 700;
}

.mini-logo svg {
  width: 12px;
  height: 12px;
}


.mini-logo.mint {
  background: #16b899;
  color: #fff;
}

.mini-logo.coral {
  background: #ff825a;
  color: #fff;
}

.mini-logo.blue {
  background: #397cf2;
  color: #fff;
}

.mini-logo.light {
  background: #eef1ff;
  color: #4f63d8;
}

.mini-logo.dark {
  background: #2a3242;
  color: #dfe4ee;
}

.mini-grid strong {
  font-size: 10.5px;
}

.mini-grid small {
  color: #7c8798;
  font-size: 9.5px;
}

.strip {
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #f7f8fc, #ffffff);
  padding-block: clamp(28px, 4vw, 42px);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 28px;
}

.strip-grid article {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.strip-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(124, 107, 255, 0.28);
  border-radius: 11px;
  background: rgba(124, 107, 255, 0.12);
  color: #6157ff;
  font-size: 17px;
}

.strip-grid strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.strip-grid small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.agent-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.search {
  display: flex;
  align-items: center;
  flex: 1 1 260px;
  max-width: 380px;
  height: 46px;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted-2);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.search:focus-within {
  border-color: var(--accent-line);
  background: var(--panel-2);
}

.search span {
  font-size: 17px;
  line-height: 1;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.search input::placeholder {
  color: var(--muted-2);
}

.search input::-webkit-search-cancel-button {
  filter: invert(0.7);
  cursor: pointer;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.chip:hover {
  color: var(--text);
  border-color: #c9d1e0;
}

.chip.is-active {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: #4637c9;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.agent-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7f8fc);
  transition: transform 0.18s var(--ease), border-color 0.18s ease, box-shadow 0.18s ease;
}

.agent-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.agent-card[hidden] {
  display: none;
}

.agent-logo {
  display: grid;
  place-items: center;
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef0f7;
  color: #5b6cff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.06);
}

.agent-logo svg {
  width: 21px;
  height: 21px;
}


.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.agent-card h3 {
  align-self: end;
}

.agent-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.agent-card .agent-tag {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-logo.openai {
  background: #10a37f;
  color: #fff;
}

.agent-logo.claude {
  background: #d97757;
  color: #fff;
}

.agent-logo.gemini {
  background: #f1f4ff;
  color: #6174ed;
  text-shadow: 0 0 8px rgba(141, 110, 255, 0.7);
}





.agent-logo.github {
  background: #f0f3f8;
  color: #171c25;
}

.agent-logo.cursor {
  background: #17191f;
  color: #f5f5f5;
}

.agent-logo.windsurf {
  background: #0f766e;
  color: #fff;
}

.agent-logo.deepseek {
  background: #4d6bfe;
  color: #fff;
}

.agent-logo.replit {
  background: #f26207;
  color: #fff;
}

.agent-logo.suno {
  background: #2b2b2b;
  color: #fff;
}

.agent-logo.figma {
  background: #f24e1e;
  color: #fff;
}

.agent-logo.intercom {
  background: #286efa;
  color: #fff;
}
.agent-logo.perplexity {
  background: #174b50;
  color: #91eee4;
}

.agent-logo.notion {
  background: #f7f7f5;
  color: #151515;
}

.agent-logo.zapier {
  background: #ff4f00;
  color: #fff;
}

.agent-logo.grammarly {
  background: #15a889;
  color: #fff;
}


.agent-logo.elevenlabs {
  background: #f3f3f3;
  color: #222;
}

.no-results {
  padding: 40px 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.grid-footnote {
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 13px;
  text-align: center;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7f8fc);
}

.stars {
  color: #e39b12;
  font-size: 14px;
  letter-spacing: 0.16em;
}

.review > p {
  flex: 1;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.avatar.violet {
  background: #624bb4;
}

.avatar.teal {
  background: #23786d;
}

.avatar.orange {
  background: #a56443;
}

.reviewer strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.reviewer small {
  color: var(--muted-2);
  font-size: 12.5px;
}

.section-heading h2 span {
  color: #5b4bff;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.faq-heading h2 {
  margin: 12px 0 12px;
}

.faq-heading p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

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

.faq-list details:first-child {
  border-top: 1px solid var(--line-soft);
}

.faq-list summary {
  position: relative;
  padding: 17px 34px 17px 0;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 6px;
  color: #8892a3;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  content: "+";
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  max-width: 72ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.72;
}

.faq-list code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f2f4f9;
  color: #33405a;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12.5px;
}

.cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid #e4e8f1;
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #ffffff, #f7f6ff 65%, #ffffff);
  box-shadow: var(--shadow-card);
}

.cta-card h2 {
  margin: 10px 0 8px;
  font-size: clamp(23px, 2.6vw, 31px);
}

.cta-card h2 span {
  color: #5b4bff;
}

.cta-card p {
  color: var(--muted);
  font-size: 14.5px;
}

.footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 26px;
  color: var(--muted-2);
  font-size: 13px;
}

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

.footer .brand {
  font-size: 16px;
}

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

.footer-links a:hover {
  color: var(--text);
}

.copyright {
  color: var(--muted-2);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 80;
  padding: 10px 16px;
  border-radius: 10px;
  background: #6157ff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.18s ease;
}

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

.js-reveal {
  opacity: 0;
  transform: translateY(14px);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

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

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

@media (max-width: 1040px) {
  .faq-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .faq-heading {
    max-width: 60ch;
  }
}

@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: 2;
    max-width: 620px;
  }

  .app-window {
    min-height: clamp(320px, 52vw, 380px);
    grid-template-columns: 156px minmax(0, 1fr);
  }

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

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 14px var(--gutter) 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 15.5px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .top-actions .button {
    padding: 9px 12px;
    font-size: 12.5px;
  }

  .top-actions .button svg {
    width: 13px;
    height: 13px;
  }

  .agent-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .search {
    flex: 0 0 auto;
    max-width: none;
  }

  .chips {
    flex-wrap: nowrap;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: none;
  }

  .strip-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-card .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-window {
    grid-template-columns: 124px minmax(0, 1fr);
    font-size: 10.5px;
  }

  .app-sidebar {
    padding: 10px 6px;
  }

  .app-sidebar > a {
    font-size: 10px;
    padding: 6px 7px;
  }

  .quick-actions span {
    padding: 5px 7px;
    font-size: 9.5px;
  }

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

  .mini-grid > div:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 400px) {
  .app-window {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-sidebar {
    display: none;
  }
}

.legal {
  padding-block: clamp(40px, 6vw, 72px);
}

.legal-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.legal h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 10px;
}

.legal .eyebrow + h1 {
  margin-top: 12px;
}

.legal-meta {
  margin-bottom: 26px;
  color: var(--muted-2);
  font-size: 13.5px;
}

.legal h2 {
  margin: 34px 0 10px;
  font-size: 19px;
}

.legal p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.75;
}

.legal p + p,
.legal p + ul,
.legal ul + p,
.legal ul + h2 {
  margin-top: 12px;
}

.legal ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 22px;
  list-style: disc;
}

.legal li {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.legal b {
  color: var(--text);
}

.legal p a,
.legal li a {
  color: #5b4bff;
  text-decoration: underline;
  text-decoration-color: rgba(91, 75, 255, 0.35);
  text-underline-offset: 3px;
}

.legal p a:hover,
.legal li a:hover {
  color: #3326c4;
}

.legal .back {
  margin-top: 36px;
}

.steps {
  margin-top: 26px;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7f8fc);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--accent-soft);
  color: #4637c9;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.steps .step-title {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 600;
}

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

.steps span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.steps kbd {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f2f4f9;
  color: #33405a;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}

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

.thanks-note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 13px;
}
