:root {
  --bg: #101211;
  --line: #30342f;
  --muted: #a4aaa0;
  --green: #c2ef83;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
html[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
}
body {
  margin: 0;
  background: var(--bg);
  color: #f2f3eb;
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  font: inherit;
  cursor: pointer;
}
header {
  max-width: 1320px;
  margin: auto;
  height: 94px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.mark {
  color: var(--green);
  font-size: 36px;
}
nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: #b9bdb5;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lang-select {
  background: #1b1e19;
  color: #e2e6db;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  max-width: 11rem;
}
.small-btn {
  border: 1px solid #616957;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
}
main {
  overflow: hidden;
}
.hero {
  max-width: 1320px;
  margin: auto;
  padding: 77px 48px 0;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font: 11px monospace;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #c1c8b6;
}
.dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px #b5f374;
}
h1 {
  font-size: clamp(46px, 5.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -4px;
  font-weight: 500;
  margin: 27px auto 22px;
}
h1 span {
  color: var(--green);
}
.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 560px;
  margin: auto;
}
.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 30px 0 15px;
}
.primary,
.secondary {
  padding: 16px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.primary {
  background: var(--green);
  color: #17220c;
  border-color: var(--green);
  font-weight: 600;
}
.secondary {
  background: #1b1e19;
  color: #e2e6db;
}
.note {
  font-size: 11px;
  color: #777f70;
}
.stage {
  margin-top: 49px;
  padding: 32px 32px 0;
  background: radial-gradient(ellipse at 50% 100%, #708455 0%, #38422e 37%, #1b2118 80%);
  border: 1px solid #3a4432;
  border-radius: 13px 13px 0 0;
  position: relative;
}
.editor {
  background: #141614;
  border: 1px solid #4a5143;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  text-align: left;
  box-shadow: 0 0 70px #05070488;
  overflow: hidden;
}
.titlebar {
  height: 42px;
  background: #1c1f1b;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #89917f;
  font: 10px monospace;
}
.lights {
  letter-spacing: 4px;
  color: #6e7767;
}
.workspace {
  display: grid;
  grid-template-columns: 165px 1fr 290px;
  min-height: 343px;
}
.files {
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  color: #8b9585;
  font: 11px/2.6 monospace;
}
html[dir="rtl"] .files {
  border-right: 0;
  border-left: 1px solid var(--line);
}
.files b {
  font-size: 10px;
  color: #c4cdbd;
  letter-spacing: 1px;
}
.selected {
  color: var(--green);
  background: #c2ef8310;
  margin: 0 -16px;
  padding: 0 16px;
}
.code {
  min-width: 0;
  padding: 24px;
}
.chat {
  padding: 16px;
  border-left: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.7;
  color: #a7b19d;
}
html[dir="rtl"] .chat {
  border-left: 0;
  border-right: 1px solid var(--line);
}
.chat-title {
  display: flex;
  justify-content: space-between;
  color: #e0e6d9;
  margin-bottom: 20px;
}
.prompt {
  background: #282e23;
  border: 1px solid #3a4430;
  padding: 12px;
  border-radius: 6px;
  color: #dce3d3;
}
.chat-note {
  font-size: 10px;
  color: #7f8c73;
  margin-top: 12px;
}
.status {
  display: flex;
  justify-content: space-between;
  padding: 7px 15px;
  background: #232c1d;
  color: #9fb58b;
  font: 9px monospace;
  gap: 8px;
  flex-wrap: wrap;
}
.strip {
  max-width: 1224px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: #9ba68e;
  font: 11px monospace;
}
.section {
  max-width: 1224px;
  margin: auto;
  padding: 90px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 35px;
  gap: 24px;
}
.label {
  color: var(--green);
  font: 11px monospace;
  letter-spacing: 1.5px;
}
h2 {
  font-weight: 500;
  font-size: 39px;
  letter-spacing: -1.6px;
  margin: 16px 0 0;
}
.section-heading p {
  max-width: 310px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature {
  border-top: 1px solid #47523d;
  padding-top: 24px;
}
.icon {
  font: 24px monospace;
  color: var(--green);
}
h3 {
  font-weight: 500;
  font-size: 20px;
  margin: 22px 0 12px;
}
.feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.downloads {
  background: #c2ef83;
  color: #17220c;
  border-radius: 12px;
  padding: 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}
.downloads h2 {
  margin-top: 10px;
}
.downloads p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 400px;
  color: #495b36;
}
.os {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.os button {
  background: #17220c;
  color: #e5f1d5;
  border: 0;
  border-radius: 5px;
  padding: 17px 20px;
}
.os button:hover,
.primary:hover {
  filter: brightness(1.1);
}
footer {
  max-width: 1224px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7f8878;
  font-size: 11px;
  gap: 15px;
  flex-wrap: wrap;
}
.badge {
  border: 1px solid #3d4536;
  border-radius: 20px;
  padding: 5px 10px;
  font: 9px monospace;
  color: #acb69e;
}
.badge-row {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.demo-label {
  color: #89967d;
  font: 9px monospace;
}
dialog {
  background: #1d2419;
  color: #e6ecdf;
  border: 1px solid #65784e;
  border-radius: 12px;
  max-width: 460px;
  padding: 32px;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 27px;
  margin: 0;
}
dialog p {
  color: #b3bfa6;
  line-height: 1.6;
  font-size: 14px;
}
dialog button {
  margin-top: 10px;
}
a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}
@media (max-width: 1000px) {
  header {
    padding: 0 24px;
  }
  .hero {
    padding: 60px 24px 0;
  }
  .section,
  .strip,
  footer {
    margin-left: 24px;
    margin-right: 24px;
  }
  .workspace {
    grid-template-columns: 125px 1fr 230px;
  }
  .stage {
    padding: 20px 20px 0;
  }
  .files {
    padding: 18px 10px;
  }
  .downloads {
    flex-direction: column;
    align-items: start;
  }
}
@media (max-width: 700px) {
  header {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    padding: 16px 24px;
  }
  nav {
    display: none;
  }
  .small-btn {
    display: none;
  }
  h1 {
    letter-spacing: -2px;
  }
  .hero {
    padding-top: 48px;
  }
  .lead {
    font-size: 15px;
  }
  .stage {
    padding: 12px 12px 0;
    margin-top: 35px;
  }
  .workspace {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .files,
  .chat {
    display: none;
  }
  .code {
    min-height: 270px;
  }
  .strip {
    flex-wrap: wrap;
    font-size: 9px;
    justify-content: center;
    padding: 20px 0;
  }
  .section {
    padding: 60px 0;
  }
  .section-heading {
    display: block;
  }
  h2 {
    font-size: 32px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature h3 {
    margin-top: 16px;
  }
  .downloads {
    padding: 28px;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .status {
    font-size: 8px;
  }
  .titlebar {
    font-size: 8px;
  }
}
