:root {
  --bg: #171717;
  --bg-deep: #0f0f0f;
  --panel: rgba(28, 28, 28, 0.88);
  --panel-soft: rgba(23, 23, 23, 0.78);
  --border: #2e2e2e;
  --border-strong: #393939;
  --border-soft: #242424;
  --green: #3ecf8e;
  --green-link: #00c573;
  --green-border: rgba(62, 207, 142, 0.3);
  --text: #fafafa;
  --soft: #b4b4b4;
  --muted: #898989;
  --dim: #666666;
  --line: rgba(255, 255, 255, 0.055);
  --max: 1180px;
  --mono: "SFMono-Regular", "Source Code Pro", "Office Code Pro", Menlo, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  font-family: var(--sans);
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body.is-menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(23, 23, 23, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1320px, calc(100% - 48px));
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  gap: 16px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.brand-logo {
  width: auto;
  height: 30px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  color: var(--text);
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green);
  outline: none;
}

.nav-action,
.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-action {
  justify-self: end;
  border: 1px solid var(--green-border);
  color: #061610;
  background: var(--green);
}

.button-primary {
  border: 1px solid rgba(62, 207, 142, 0.42);
  color: var(--text);
  background: #0b6b42;
}

.button-secondary {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.menu-button {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  width: 18px;
  height: 1px;
  display: block;
  background: currentColor;
  content: "";
}

.menu-button span::before {
  transform: translateY(-6px);
}

.menu-button span::after {
  transform: translateY(5px);
}

.hero {
  border-bottom: 1px solid var(--border-soft);
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 118px 0 98px;
  background:
    linear-gradient(180deg, rgba(15, 15, 15, 0.32), rgba(23, 23, 23, 0.96)),
    var(--bg);
}

.hero-grid {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
  width: 100%;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  border: 1px solid var(--green-border);
  border-radius: 9999px;
  padding: 7px 12px;
  color: var(--green);
  background: rgba(62, 207, 142, 0.08);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

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

h1 {
  max-width: 1180px;
  margin-bottom: 36px;
  color: var(--text);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-accent {
  color: var(--green);
}

.hero-lead {
  max-width: 980px;
  margin-bottom: 52px;
  color: var(--soft);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero .button {
  min-height: 56px;
  border-radius: 10px;
  padding: 0 30px;
  font-size: 18px;
}

.section {
  padding: 104px 0;
  border-bottom: 1px solid var(--border-soft);
}

.section-head {
  max-width: 690px;
  margin-bottom: 42px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.6;
}

.section-head.center p {
  margin-right: auto;
  margin-left: auto;
}

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

.value-card,
.feature-card,
.price-card,
.faq details,
.about-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-soft);
}

.value-card {
  min-height: 255px;
  padding: 24px;
}

.icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid var(--green-border);
  border-radius: 9999px;
  color: var(--green);
  background: rgba(62, 207, 142, 0.08);
  font-family: var(--mono);
  font-size: 15px;
}

h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0;
}

.value-card p,
.feature-card p,
.price-card p,
.about-panel p,
.faq p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.workspace {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 15, 15, 0.72);
}

.workspace-nav {
  border-right: 1px solid var(--border);
  padding: 18px;
  background: rgba(15, 15, 15, 0.96);
}

.workspace-label {
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.workspace-nav button {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--soft);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.workspace-nav button + button {
  margin-top: 6px;
}

.workspace-nav button.is-active {
  border-color: var(--green-border);
  color: var(--text);
  background: rgba(62, 207, 142, 0.08);
}

.workspace-body {
  padding: 22px;
}

.workflow-panel {
  display: none;
  min-height: 380px;
}

.workflow-panel.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  align-items: stretch;
}

.analysis-box,
.profile-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.analysis-box h3,
.profile-box h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.code-lines {
  display: grid;
  gap: 11px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
}

.code-lines span {
  display: block;
  color: var(--muted);
}

.code-lines b {
  color: var(--green);
  font-weight: 400;
}

.insight-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.insight-list div {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  color: var(--soft);
  background: #101010;
  font-size: 13px;
  line-height: 1.45;
}

.profile-box {
  display: grid;
  align-content: start;
  gap: 14px;
}

.profile-stat {
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 14px;
}

.profile-stat strong {
  display: block;
  color: var(--text);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.profile-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

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

.feature-card {
  min-height: 210px;
  padding: 22px;
}

.feature-card .mini {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.price-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  position: relative;
}

.price-card.featured {
  border-color: var(--green-border);
  background: rgba(62, 207, 142, 0.055);
}

.badge {
  width: fit-content;
  margin-bottom: 22px;
  border: 1px solid var(--green-border);
  border-radius: 9999px;
  padding: 6px 10px;
  color: var(--green);
  font-size: 12px;
}

.price-card h3 {
  margin-bottom: 10px;
}

.price {
  display: block;
  margin: 22px 0 20px;
  color: var(--text);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.45;
}

.price-card li::before {
  color: var(--green);
  content: "✓";
}

.price-card .button {
  margin-top: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: stretch;
}

.about-panel {
  padding: 26px;
}

.about-panel h2 {
  max-width: 720px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-list a,
.contact-list span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 12px;
  color: var(--soft);
  font-size: 14px;
}

.contact-list a {
  color: var(--green);
}

.contact-list b {
  color: var(--text);
  font-weight: 400;
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 850px;
  margin: 0 auto;
}

.faq details {
  padding: 0 18px;
}

.faq summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
}

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

.faq summary::after {
  color: var(--green);
  content: "+";
}

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

.faq p {
  border-top: 1px solid var(--border-soft);
  padding: 14px 0 18px;
}

.cta {
  padding: 96px 0;
  text-align: center;
  background: var(--bg-deep);
}

.cta h2 {
  max-width: 780px;
  margin: 0 auto 18px;
}

.cta p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.6;
}

.footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px 0;
  color: var(--muted);
  background: var(--bg-deep);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

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

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

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

  .nav {
    grid-template-columns: 160px 1fr auto;
  }
}

@media (max-width: 820px) {
  .container,
  .nav {
    width: min(100% - 32px, var(--max));
  }

  .nav {
    grid-template-columns: 1fr auto;
    min-height: 62px;
  }

  .menu-button {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: 62px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    background: #101010;
  }

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

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: 0 12px;
  }

  .nav-action {
    display: none;
  }

  .hero {
    min-height: 650px;
    padding-top: 82px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 22px;
  }

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

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

  .workspace-nav {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .workspace-nav button {
    min-height: 42px;
  }

  .workflow-panel.is-active {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: 610px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero .button {
    min-height: 50px;
    font-size: 16px;
  }

  .button,
  .nav-action {
    width: 100%;
  }

  .workspace-body {
    padding: 14px;
  }

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