:root {
  --bg: #faf8f7;
  --surface: #fff;
  --text: #25252b;
  --muted: #746d73;
  --line: #e9e2e0;
  --accent: #c8321b;
  --accent-hover: #c32d17;
  --tint: #fcece7;
  --soft: #f3f0ef;
  --section: #f6f1ee;
  --on-accent: #fff;
  --shadow: 0 24px 70px #55221a0d;
  color-scheme: light;
  font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
:root[data-theme="dark"] {
  --bg: #211a1b;
  --surface: #2d2325;
  --text: #fff2ed;
  --muted: #c6ada8;
  --line: #49373b;
  --accent: #ff8b76;
  --accent-hover: #ffa18f;
  --tint: #4b292a;
  --soft: #382b2e;
  --section: #261e20;
  --on-accent: #351713;
  --shadow: 0 24px 70px #120a0c35;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
}
a,
button,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
.wrap {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand > span {
  direction: ltr;
  unicode-bidi: isolate;
}
.brand-dot {
  display: none;
}
.brand img {
  border-radius: 10px;
}
nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 650;
}
nav a,
footer a {
  transition: color 0.15s;
}
nav a:hover,
footer a:hover {
  color: var(--accent);
}
.header-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.language-button,
.theme-button {
  min-height: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.language-button {
  padding: 6px 12px;
  font-size: 12px;
}
.theme-button {
  width: 40px;
  display: grid;
  place-items: center;
}
.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  padding: 10px;
  background: var(--surface);
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
.hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  padding-block: 64px 88px;
}
.release-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
}
.status-dot {
  display: inline-block;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
h1 {
  font-size: clamp(55px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: -3.5px;
  margin-block: 25px 22px;
  font-weight: 800;
}
h1 .accent {
  display: inline-block;
  font-size: clamp(26px, 2.6vw, 35px);
  letter-spacing: -1.3px;
  line-height: 1.25;
  margin-top: 12px;
  color: var(--text);
}
.hero-description {
  max-width: 430px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-block: 26px 15px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary {
  background: var(--accent);
  color: var(--on-accent);
}
.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.button small {
  font-size: 10px;
  border: 1px solid currentColor;
  opacity: 0.8;
  padding: 1px 5px;
  border-radius: 5px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 650;
}
.text-link:hover,
.small-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero-note {
  font-size: 11px;
  color: var(--muted);
}
.hero-art {
  min-width: 0;
  background: var(--tint);
  padding: 26px 20px 18px;
  border-radius: 28px;
}
.preview-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 16px;
  gap: 12px;
}
.mini-label {
  font-size: 11px;
  font-weight: 650;
  color: var(--muted);
}
.window-dots {
  display: flex;
  gap: 4px;
}
.window-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.45;
}
.app-preview {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.app-preview img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 2360 / 1524;
}
.screenshot-note {
  font-size: 10px;
  color: var(--muted);
  margin-block-start: 14px;
  text-align: center;
}
h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -1.2px;
  font-weight: 750;
}
h2 + p {
  margin-block-start: 18px;
  color: var(--muted);
  font-size: 14px;
  max-width: 440px;
}
h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}
.download-section {
  background: var(--section);
  border-block: 1px solid var(--line);
  padding-block: 58px;
}
.download-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  align-items: center;
}
.version-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-block: 24px 14px;
}
.download-picker {
  min-width: 0;
  background: var(--surface);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.platform-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  background: var(--soft);
  border-radius: 13px;
}
.platform-tabs button {
  flex: 1;
  padding: 9px 5px;
  border-radius: 9px;
  font-size: 12px;
  background: transparent;
  color: var(--muted);
}
.platform-tabs button[aria-selected="true"] {
  background: var(--tint);
  color: var(--accent);
  font-weight: 700;
}
.platform-description {
  font-size: 12px;
  color: var(--muted);
  margin-block: 20px 12px;
}
#download-links {
  display: grid;
  gap: 8px;
}
.download-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
}
.download-link:hover {
  border-color: var(--accent);
  background: var(--bg);
}
.download-link strong {
  font-weight: 650;
}
.download-link small {
  margin-inline-start: auto;
  font-size: 10px;
  white-space: nowrap;
  color: var(--muted);
}
.download-link > span:last-child {
  color: var(--accent);
  font-size: 18px;
}
.dependency-note,
.download-footnote {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.dependency-note {
  margin-block-start: 16px;
}
.download-footnote {
  display: flex;
  gap: 8px;
  padding-block-start: 16px;
  margin-block-start: 16px;
  border-block-start: 1px solid var(--line);
}
.small-link {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  margin-block-start: 12px;
}
.mobile-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-block: 88px;
  align-items: center;
}
.phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px 24px 22px;
  background: var(--tint);
  border-radius: 30px;
  position: relative;
}
.phone-frame {
  width: min(100%, 252px);
  border: 6px solid #3c2b2f;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 35px #4c181f20;
  background: var(--surface);
}
.phone-frame img {
  width: 100%;
}
.phone-label {
  margin-block-start: 20px;
  font-size: 10px;
  color: var(--muted);
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  margin-block-end: 18px;
}
.app-highlights {
  padding: 0;
  list-style: none;
  margin-block: 26px;
}
.app-highlights li {
  display: flex;
  gap: 12px;
  margin-block: 12px;
  font-size: 13px;
  color: var(--muted);
}
.app-highlights li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
}
.install-note {
  font-size: 11px;
  color: var(--muted);
  margin-block-start: 14px;
}
.features {
  border-block: 1px solid var(--line);
  padding-block: 38px;
}
.features h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-block-start: 24px;
}
.feature-list p {
  color: var(--muted);
  font-size: 12px;
  margin-block-start: 9px;
  line-height: 1.9;
}
.cli-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  padding-block: 72px;
  align-items: center;
}
.requirements {
  font-size: 11px;
  color: var(--muted);
  margin-block: 20px;
  max-width: 360px;
}
.terminal {
  min-width: 0;
  background: #211a1b;
  color: #fff2ed;
  border: 1px solid #49373b;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.terminal-title {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-block-end: 1px solid #49373b;
  color: #c6ada8;
  font:
    10px ui-monospace,
    monospace;
}
.terminal-title > div {
  display: flex;
  gap: 5px;
}
.terminal-title i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b16c60;
}
.terminal-title i:nth-child(2) {
  background: #bb9a69;
}
.terminal-title i:nth-child(3) {
  background: #78a78d;
}
.terminal-body {
  padding: 18px 18px 0;
}
.command-line {
  display: flex;
  gap: 10px;
  align-items: center;
  font:
    11px ui-monospace,
    monospace;
}
.command-line > span {
  color: #c6ada8;
}
.command-line code {
  font: inherit;
  overflow-wrap: anywhere;
}
#copy-command {
  margin-inline-start: auto;
  padding: 6px 8px;
  border-radius: 7px;
  background: #382b2e;
  border: 1px solid #64454a;
  color: #fff2ed;
  font-size: 10px;
}
#copy-command:hover {
  background: #4b292a;
}
.cli-screenshot {
  width: 100%;
  margin-top: 12px;
}
.terminal-footnote {
  padding: 12px 18px;
  border-block-start: 1px solid #49373b;
  color: #c6ada8;
  font-size: 10px;
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  padding-block: 20px 64px;
}
.faq h2 {
  font-size: 26px;
}
.faq details {
  border-block-end: 1px solid var(--line);
  padding-block: 17px;
}
.faq details:first-child {
  padding-block-start: 0;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin-block-start: 12px;
}
footer {
  display: flex;
  align-items: center;
  gap: 28px;
  border-block-start: 1px solid var(--line);
  padding-block: 28px;
}
footer .brand {
  font-size: 22px;
}
footer > p {
  font-size: 11px;
  color: var(--muted);
}
footer > div {
  display: flex;
  gap: 22px;
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 11px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[dir="rtl"] h1,
[dir="rtl"] h2 {
  letter-spacing: 0;
}
[dir="rtl"] h1 .accent {
  letter-spacing: 0;
  line-height: 1.65;
  font-size: 30px;
}
[dir="rtl"] .terminal {
  text-align: left;
}
[dir="rtl"] .terminal-footnote {
  direction: rtl;
  text-align: right;
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 32px;
  }
  .download-layout,
  .mobile-section {
    gap: 50px;
  }
  .cli-section,
  .faq {
    gap: 40px;
  }
  nav {
    gap: 20px;
  }
}
@media (max-width: 800px) {
  .site-header {
    min-height: 86px;
    gap: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 30px 48px;
    gap: 32px;
  }
  .hero-copy {
    max-width: 580px;
  }
  .hero-description {
    max-width: 560px;
  }
  .hero-art {
    width: 100%;
  }
  .download-layout,
  .mobile-section,
  .cli-section,
  .faq {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .download-section {
    padding-block: 40px;
  }
  .mobile-section {
    padding-block: 48px;
  }
  .mobile-copy {
    grid-row: 1;
  }
  .phone-stage {
    padding-block: 26px 18px;
  }
  .phone-frame {
    width: 245px;
  }
  .cli-section {
    padding-block: 48px;
  }
  .feature-list {
    gap: 24px;
  }
  footer {
    flex-wrap: wrap;
    gap: 18px;
  }
  footer > div {
    margin-inline-start: 0;
  }
}
@media (max-width: 580px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-block: 17px;
  }
  .brand {
    font-size: 23px;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 28px;
    font-size: 12px;
    padding-top: 8px;
  }
  .source-link {
    display: none;
  }
  .hero {
    padding-block-start: 22px;
  }
  h1 {
    font-size: 60px;
  }
  h1 .accent,
  [dir="rtl"] h1 .accent {
    font-size: 27px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-art {
    padding: 20px 12px 14px;
    border-radius: 20px;
  }
  .preview-caption {
    padding-inline: 5px;
  }
  .download-picker {
    padding: 16px;
    border-radius: 18px;
  }
  .download-link {
    padding: 11px;
    gap: 8px;
    font-size: 11px;
  }
  .download-link small {
    font-size: 9px;
  }
  .feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-list article + article {
    border-block-start: 1px solid var(--line);
    padding-top: 20px;
  }
  .command-line {
    font-size: 9px;
    gap: 6px;
  }
  .terminal-body {
    padding-inline: 12px;
  }
  #copy-command {
    padding: 5px;
    font-size: 9px;
  }
  .faq {
    padding-block-end: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
.screenshot-button {
  display: block;
  cursor: zoom-in;
  text-align: inherit;
  color: inherit;
}
.app-preview.screenshot-button {
  width: 100%;
}
.phone-frame.screenshot-button {
  padding: 0;
}
.cli-image-button {
  width: 100%;
  padding: 0;
  background: transparent;
}
#screenshot-dialog {
  max-width: min(1320px, 94vw);
  max-height: 94dvh;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px 12px 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
#screenshot-dialog::backdrop {
  background: #160c10bc;
  backdrop-filter: blur(6px);
}
#screenshot-dialog form {
  position: absolute;
  inset-inline-end: 8px;
  top: 5px;
}
#screenshot-dialog form button {
  display: grid;
  place-items: center;
  background: var(--soft);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 24px;
}
#enlarged-image {
  max-height: calc(94dvh - 68px);
  max-width: 100%;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 10px;
}
