:root {
  color-scheme: dark;
  --ink: #f5f7fb;
  --muted: #9a9faa;
  --line: #242730;
  --paper: #07080b;
  --white: #ffffff;
  --blue: #2d6bff;
  --blue-dark: #1957ed;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 480ms;
  animation-timing-function: ease-in-out;
}

::view-transition-old(root) {
  animation-name: theme-fade-out;
}

::view-transition-new(root) {
  animation-name: theme-fade-in;
}

html.theme-transition,
html.theme-transition body,
html.theme-transition body *,
html.theme-transition body *::before,
html.theme-transition body *::after {
  transition-property: color, background-color, border-color, box-shadow, fill, stroke, opacity, filter;
  transition-duration: 480ms;
  transition-timing-function: ease-in-out;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 8%, rgba(45, 107, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 10% 45%, rgba(45, 107, 255, 0.05), transparent 26rem),
    var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #30343e;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  border-color: #59606e;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 3px solid rgba(45, 107, 255, 0.4);
  outline-offset: 3px;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.moon-icon {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}

nav {
  display: flex;
  gap: 34px;
  color: #9a9faa;
  font-size: 14px;
  font-weight: 600;
}

nav a {
  transition: color 180ms ease;
}

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

.header-cta {
  padding: 10px 16px;
  border: 1px solid #30343e;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  border-color: #59606e;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.header-github {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.header-github svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.hero {
  min-height: 770px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 32px;
  padding: 56px 0 84px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.section-label {
  color: #9298a5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 590px;
  margin-bottom: 24px;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.98;
  font-weight: 700;
}

h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-copy > p {
  max-width: 470px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.button-primary {
  padding: 0 20px;
  color: white;
  background: var(--blue);
  box-shadow: 0 12px 34px rgba(45, 107, 255, 0.28);
  transition: background 180ms ease, transform 180ms ease;
}

.button-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.button-primary svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-quiet {
  padding: 0 4px;
  background: transparent;
}

.button-quiet:disabled {
  cursor: wait;
  opacity: 0.72;
}

.play {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #353943;
  border-radius: 50%;
  background: #15171c;
}

.play svg {
  width: 16px;
  fill: var(--ink);
}

.platform-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: #858b97;
  font-size: 12px;
  font-weight: 600;
}

.platform-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.platform-icon[src$="linux.svg"] {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.45));
  opacity: 1;
}

.product-stage {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}

.glow {
  position: absolute;
  inset: -50px -60px;
  z-index: -1;
  background: radial-gradient(circle, rgba(45, 107, 255, 0.3), transparent 62%);
  filter: blur(18px);
}

.browser-window {
  overflow: hidden;
  border: 1px solid #30343e;
  border-radius: 18px;
  background: #111318;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.6), 0 8px 30px rgba(0, 0, 0, 0.35);
  transform: rotateY(-3deg) rotateX(1deg);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-stage.is-playing .browser-window {
  transform: rotateY(0) rotateX(0) scale(1.015);
}

.browser-bar {
  height: 52px;
  display: grid;
  grid-template-columns: 70px 1fr 32px;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  border-bottom: 1px solid #2b2e36;
  background: #17191f;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4a4f5b;
}

.address-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #30343d;
  border-radius: 8px;
  color: #858b97;
  background: #0d0f13;
  font-size: 10px;
}

.address-bar svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.avatar {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-size: 9px;
  font-weight: 700;
}

.browser-body {
  height: 530px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
}

.page-preview {
  position: relative;
  overflow: hidden;
  border-right: 1px solid #292c34;
  background: #1b1917;
}

.preview-landing {
  height: 100%;
  transition: opacity 260ms ease, transform 260ms ease;
}

.preview-nav {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-logo {
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
}

.preview-links {
  display: flex;
  gap: 12px;
}

.preview-links i {
  width: 22px;
  height: 3px;
  display: block;
  border-radius: 3px;
  background: #4b4742;
}

.preview-content {
  padding: 35px 24px 0;
}

.tiny-label {
  color: #a27045;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.preview-title {
  margin: 8px 0 20px;
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.image-block {
  height: 185px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(#99c7de 0 50%, #d9c89e 50%);
}

.sun {
  width: 28px;
  height: 28px;
  position: absolute;
  top: 32px;
  right: 38px;
  border-radius: 50%;
  background: #ffe9af;
  box-shadow: 0 0 20px rgba(255, 233, 175, 0.8);
}

.mountain {
  width: 260px;
  height: 150px;
  position: absolute;
  right: -45px;
  bottom: -85px;
  background: #344a43;
  transform: rotate(37deg);
}

.mountain-back {
  right: 100px;
  bottom: -105px;
  background: #718178;
}

.text-lines {
  margin-top: 18px;
}

.text-lines i {
  width: 94%;
  height: 4px;
  display: block;
  margin-bottom: 7px;
  border-radius: 4px;
  background: #46423e;
}

.text-lines i:nth-child(2) {
  width: 82%;
}

.text-lines i:nth-child(3) {
  width: 56%;
}

.search-results {
  position: absolute;
  inset: 0;
  padding: 18px;
  overflow: hidden;
  color: #17191f;
  background: #f7f8fb;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.results-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.results-mark {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: white;
  background: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.results-query {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid #dfe2e8;
  border-radius: 8px;
  color: #3e434c;
  background: white;
  font-size: 8px;
}

.results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 10px;
}

.results-summary strong {
  font-size: 10px;
}

.results-summary span {
  color: #7c828d;
  font-size: 7px;
}

.result-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  margin-bottom: 8px;
  padding: 9px;
  border: 1px solid #e0e3e8;
  border-radius: 10px;
  background: white;
  opacity: 0;
  transform: translateY(8px);
  transition: border-color 260ms ease, box-shadow 260ms ease, opacity 260ms ease, transform 260ms ease;
}

.result-image {
  min-height: 55px;
  border-radius: 7px;
  background: linear-gradient(145deg, #8ebbd0 0 44%, #47665b 45% 64%, #263f4b 65%);
}

.lake-two {
  background: linear-gradient(155deg, #cad8df 0 42%, #667969 43% 67%, #466d78 68%);
}

.lake-three {
  background: linear-gradient(135deg, #d7b887 0 40%, #495b43 41% 68%, #365768 69%);
}

.result-source {
  display: block;
  margin-bottom: 3px;
  color: #7b818c;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

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

.result-card strong {
  font-size: 9px;
}

.result-card small {
  margin-top: 3px;
  color: #686e78;
  font-size: 6px;
}

.result-card p {
  margin: 6px 0 0;
  color: #5f6570;
  font-size: 7px;
}

.result-card p b {
  color: #15171b;
  font-size: 9px;
}

.best-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  display: none;
  padding: 3px 5px;
  border-radius: 99px;
  color: white;
  background: var(--blue);
  font-size: 5px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-stage.show-results .preview-landing {
  opacity: 0;
  transform: translateY(-8px);
}

.product-stage.show-results .search-results {
  opacity: 1;
  transform: translateY(0);
}

.product-stage.show-results .result-card {
  opacity: 1;
  transform: translateY(0);
}

.product-stage.show-results .result-card + .result-card {
  transition-delay: 100ms;
}

.product-stage.show-results .result-card + .result-card + .result-card {
  transition-delay: 200ms;
}

.product-stage.show-selected-result .result-card:not(.is-best) {
  opacity: 0.35;
}

.product-stage.show-selected-result .result-card.is-best {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(45, 107, 255, 0.18);
}

.product-stage.show-selected-result .best-badge {
  display: block;
}

.agent-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #111318;
}

.agent-heading {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid #292c34;
}

.agent-mark {
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 9px;
  background: #0b0c0f;
}

.agent-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-heading > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.agent-heading strong,
.agent-heading span {
  display: block;
  font-size: 10px;
}

.agent-heading span {
  margin-top: 3px;
  color: #8a8f98;
  font-size: 8px;
}

.agent-heading span i {
  width: 5px;
  height: 5px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 50%;
  background: #35bb70;
}

.agent-heading button {
  border: 0;
  color: #9a9ea6;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.conversation {
  flex: 1;
  padding: 18px 14px;
}

.user-message {
  min-height: 39px;
  width: 88%;
  margin-left: auto;
  padding: 10px 12px;
  border-radius: 11px 11px 3px 11px;
  color: #fff;
  background: var(--blue);
  font-size: 9px;
  line-height: 1.45;
}

.agent-input.is-typing [data-demo-input-text]::after {
  content: "";
  width: 1px;
  height: 1em;
  display: inline-block;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.12em;
  animation: cursor-blink 650ms steps(1) infinite;
}

.product-stage.is-demoing .user-message {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

.product-stage.is-demoing.show-user-message .user-message {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.agent-message {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  margin-top: 20px;
}

.mini-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: white;
  background: #101114;
  font-size: 9px;
  font-weight: 800;
}

.agent-message p {
  margin-bottom: 14px;
  color: #bcc1ca;
  font-size: 9px;
  line-height: 1.5;
}

.task-list {
  display: grid;
  gap: 11px;
}

.task-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 6px;
  transition: opacity 220ms ease, transform 220ms ease;
}

.task-status {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #37b96e;
  font-size: 8px;
  font-weight: 800;
}

.task-item.is-loading .task-status {
  border: 2px solid #dce5ff;
  border-top-color: var(--blue);
  background: transparent;
  animation: spin 1s linear infinite;
}

.task-item.is-pending {
  opacity: 0.35;
}

.task-item.is-pending .task-status {
  border: 1px solid #606672;
  background: transparent;
}

.task-item.is-done .task-status {
  color: white;
  background: #37b96e;
}

.task-list strong,
.task-list small {
  display: block;
  font-size: 8px;
}

.task-list small {
  margin-top: 2px;
  color: #9a9ea6;
  font-size: 7px;
}

.approval-card {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #3e4654;
  border-radius: 11px;
  background: #191c23;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.product-stage.show-approval .approval-card {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.approval-heading {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 8px;
  align-items: center;
}

.approval-heading strong,
.approval-heading small {
  display: block;
}

.approval-heading strong {
  font-size: 9px;
}

.approval-heading small {
  margin-top: 2px;
  color: #9298a4;
  font-size: 7px;
}

.approval-lock {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #85a8ff;
  background: #1a2a52;
}

.approval-lock svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.payment-summary {
  margin: 10px 0;
  padding: 9px;
  border-radius: 8px;
  background: #101217;
}

.payment-summary span,
.payment-summary strong,
.payment-summary small {
  display: block;
}

.payment-summary span {
  color: #c7cbd3;
  font-size: 7px;
}

.payment-summary strong {
  margin: 4px 0;
  color: white;
  font-size: 15px;
}

.payment-summary small {
  color: #828895;
  font-size: 6px;
}

.approval-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}

.approval-actions button {
  min-height: 28px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 7px;
  font-weight: 700;
}

.approval-confirm {
  color: white;
  background: var(--blue);
}

.approval-cancel {
  padding: 0 10px;
  color: #a7acb5;
  background: #292d36;
}

.approval-actions button:focus-visible {
  outline: 2px solid rgba(82, 126, 255, 0.65);
  outline-offset: 2px;
}

.approval-card.is-approved {
  border-color: #2f8f58;
  background: #14241c;
}

.approval-card.is-approved .approval-lock {
  color: white;
  background: #2f9f60;
}

.approval-card.is-cancelled {
  opacity: 0.6;
}

.agent-input {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px 12px;
  padding: 0 8px 0 12px;
  border: 1px solid #30343d;
  border-radius: 10px;
  color: #7f8591;
  background: #0c0e12;
  font-size: 8px;
}

.agent-input button {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  color: white;
  background: var(--blue);
  transition: transform 180ms ease, background 180ms ease;
}

.agent-input.is-sending button {
  background: #37b96e;
  transform: scale(0.9);
}

.agent-input svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #30343e;
  border-radius: 12px;
  background: rgba(20, 22, 28, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  animation: float 5s ease-in-out infinite;
}

.floating-card strong,
.floating-card small {
  display: block;
  white-space: nowrap;
}

.floating-card strong {
  font-size: 9px;
}

.floating-card small {
  margin-top: 3px;
  color: #92969e;
  font-size: 7px;
}

.floating-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: #172650;
}

.floating-icon svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.check {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  margin-left: 5px;
  border-radius: 50%;
  color: white;
  background: #34b96c;
  font-size: 8px;
}

.search-card {
  top: 104px;
  left: -40px;
}

.action-card {
  right: -30px;
  bottom: 42px;
  animation-delay: -2.5s;
}

.product-stage.is-demoing .agent-message,
.product-stage.is-demoing .floating-card {
  opacity: 0;
  transform: translateY(8px);
  animation: none;
  transition: opacity 280ms ease, transform 280ms ease;
}

.product-stage.is-demoing.show-agent .agent-message,
.product-stage.is-demoing.show-search-card .search-card,
.product-stage.is-demoing.show-action-card .action-card {
  opacity: 1;
  transform: translateY(0);
}

.cursor-icon {
  color: #a885ff;
  background: #2b2143;
}

.dots {
  display: flex;
  gap: 2px;
  margin-left: 6px;
}

.dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #989ca5;
  animation: blink 1.2s infinite;
}

.dots i:nth-child(2) {
  animation-delay: 0.2s;
}

.dots i:nth-child(3) {
  animation-delay: 0.4s;
}

.features {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 56px;
}

.section-intro h2,
.download h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
}

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

.faq-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 48px));
  padding: 32px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.faq-dialog::backdrop {
  background: rgba(3, 5, 9, 0.72);
  backdrop-filter: blur(8px);
}

.faq-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.faq-dialog h2 {
  margin: 8px 0 0;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1;
}

.dialog-close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.dialog-close:hover {
  border-color: var(--muted);
}

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

.faq-list summary {
  position: relative;
  padding: 26px 52px 26px 0;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 4px;
  color: var(--blue);
  font-size: 26px;
  font-weight: 500;
}

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

.faq-list p {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.feature-grid article {
  padding: 28px 38px 10px 0;
}

.feature-grid article + article {
  padding-left: 38px;
  border-left: 1px solid var(--line);
}

.feature-number {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.feature-grid h3 {
  margin: 50px 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.feature-grid p {
  max-width: 290px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.download {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-bottom: 70px;
  padding: 70px;
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(circle at 85% 0, rgba(58, 105, 255, 0.35), transparent 18rem),
    #0d0f14;
}

.download .section-label {
  color: #8fa7ff;
}

.download h2 {
  margin: 14px 0 18px;
  font-size: clamp(36px, 4vw, 54px);
}

.download p {
  max-width: 510px;
  margin-bottom: 0;
  color: #9b9fa9;
  line-height: 1.65;
}

.download-list {
  display: grid;
  gap: 10px;
}

.download-list button {
  min-height: 68px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 0 18px;
  border: 1px solid #30343d;
  border-radius: 13px;
  color: white;
  background: #17191f;
  text-align: left;
}

.download-list button > img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.download-list button > img[src$="linux.svg"] {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.45));
  opacity: 1;
}

.download-list button small {
  color: #747985;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 70px;
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: #8b8f98;
  font-size: 12px;
}

.footer-brand > p {
  max-width: 250px;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.footer-links > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color 180ms ease;
}

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

.footer-copyright {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease;
}

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

.github-link:focus-visible {
  outline: 3px solid rgba(45, 107, 255, 0.4);
  outline-offset: 4px;
  border-radius: 3px;
}

.github-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.legal-page main {
  width: min(820px, calc(100% - 48px));
}

.legal-content {
  padding: 90px 0 120px;
}

.legal-content header {
  margin-bottom: 56px;
}

.legal-content h1 {
  margin: 12px 0 18px;
  font-size: clamp(44px, 7vw, 72px);
}

.legal-content .legal-intro {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.legal-content article {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal-content article h2 {
  margin-bottom: 14px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.legal-content article p,
.legal-content article li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.legal-content article p:last-child {
  margin-bottom: 0;
}

.legal-content article ul {
  padding-left: 20px;
}

.legal-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-theme="light"] {
  color-scheme: light;
  --ink: #101114;
  --muted: #656a73;
  --line: #e5e7ec;
  --paper: #f7f8fb;
  --blue: #1557ff;
  --blue-dark: #0a43db;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 72% 8%, rgba(37, 99, 255, 0.09), transparent 28rem),
    var(--paper);
}

html[data-theme="light"] nav {
  color: #4f535b;
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .header-cta {
  border-color: #d8dae0;
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .header-cta:hover {
  border-color: #aeb3be;
  background: #fff;
}

html[data-theme="light"] .sun-icon {
  display: none;
}

html[data-theme="light"] .moon-icon {
  display: block;
}

html[data-theme="light"] .section-label {
  color: #535863;
}

html[data-theme="light"] .play {
  border-color: #d7d9df;
  background: #fff;
}

html[data-theme="light"] .platform-note {
  color: #9296a0;
}

html[data-theme="light"] .platform-icon {
  filter: none;
  opacity: 1;
}

html[data-theme="light"] .platform-icon[src$="linux.svg"] {
  filter: none;
}

html[data-theme="light"] .glow {
  background: radial-gradient(circle, rgba(21, 87, 255, 0.15), transparent 62%);
}

html[data-theme="light"] .browser-window {
  border-color: rgba(20, 24, 33, 0.12);
  background: #fff;
  box-shadow: 0 32px 80px rgba(26, 34, 52, 0.18), 0 8px 24px rgba(26, 34, 52, 0.08);
}

html[data-theme="light"] .browser-bar {
  border-color: #e7e9ed;
  background: #fafbfc;
}

html[data-theme="light"] .window-controls span {
  background: #d8dbe1;
}

html[data-theme="light"] .address-bar {
  border-color: #e2e4e8;
  color: #8c919b;
  background: #fff;
}

html[data-theme="light"] .page-preview {
  border-color: #e7e9ed;
  color: #101114;
  background: #f7f3ed;
}

html[data-theme="light"] .preview-nav {
  border-color: rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .preview-links i {
  background: #d6d1ca;
}

html[data-theme="light"] .text-lines i {
  background: #dbd5cd;
}

html[data-theme="light"] .agent-panel {
  color: #101114;
  background: #fff;
}

html[data-theme="light"] .agent-heading {
  border-color: #eceef1;
}

html[data-theme="light"] .agent-message p {
  color: #454a53;
}

html[data-theme="light"] .approval-card {
  border-color: #dfe2e8;
  color: #17191f;
  background: #fff;
}

html[data-theme="light"] .payment-summary {
  background: #f3f5f8;
}

html[data-theme="light"] .payment-summary span {
  color: #4f5560;
}

html[data-theme="light"] .payment-summary strong {
  color: #17191f;
}

html[data-theme="light"] .agent-input {
  border-color: #dfe2e7;
  color: #a0a4ac;
  background: #fff;
}

html[data-theme="light"] .floating-card {
  border-color: rgba(20, 24, 33, 0.1);
  color: #101114;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 35px rgba(23, 32, 52, 0.14);
}

html[data-theme="light"] .floating-icon {
  background: #eaf0ff;
}

html[data-theme="light"] .cursor-icon {
  color: #7a4ee4;
  background: #eee8ff;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

@keyframes cursor-blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes theme-fade-out {
  to { opacity: 0; }
}

@keyframes theme-fade-in {
  from { opacity: 0; }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .product-stage {
    width: min(760px, 100%);
    margin: 30px auto 0;
  }

  .download {
    grid-template-columns: 1fr;
    gap: 42px;
  }

}

@media (max-width: 680px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    height: 76px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 72px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .browser-window {
    transform: none;
  }

  .browser-body {
    height: 470px;
    grid-template-columns: 0.8fr 1fr;
  }

  .page-preview {
    opacity: 0.75;
  }

  .preview-content {
    padding: 25px 12px;
  }

  .preview-title {
    font-size: 20px;
  }

  .image-block {
    height: 140px;
  }

  .search-card {
    top: auto;
    left: -4px;
    bottom: -28px;
  }

  .action-card {
    display: none;
  }

  .section-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .feature-grid article + article {
    padding: 26px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid h3 {
    margin-top: 24px;
  }

  .download {
    gap: 36px;
    padding: 40px 24px;
    border-radius: 20px;
  }

  .download-list button {
    grid-template-columns: 30px 1fr;
  }

  .download-list button small {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .legal-page main {
    width: min(100% - 28px, 820px);
  }

  .legal-content {
    padding: 64px 0 90px;
  }

  .faq-dialog {
    padding: 24px 20px;
    border-radius: 18px;
  }
}

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

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

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.01ms !important;
  }
}
