:root {
  color-scheme: dark;
  --bg: #090b10;
  --panel: #121722;
  --panel-2: #171f2e;
  --line: #263247;
  --text: #f3f7fb;
  --muted: #9ba9ba;
  --green: #58d68d;
  --cyan: #62d6ff;
  --gold: #ffd166;
  --danger: #ff7a90;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(160deg, rgba(88, 214, 141, 0.12), transparent 28%),
    linear-gradient(18deg, rgba(98, 214, 255, 0.11), transparent 34%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #06100b;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: center;
  padding: 28px 0 42px;
}

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

.kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.subtitle {
  margin: 22px 0 0;
  color: #c7d2df;
  font-size: 1.18rem;
  line-height: 1.6;
}

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

.button {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  background: var(--panel);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border: 0;
  color: #04100b;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.button.ghost {
  background: transparent;
}

.proof {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.proof div,
.feature-card,
.price-card,
.result-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 23, 34, 0.88);
  box-shadow: var(--shadow);
}

.proof div {
  min-height: 82px;
  padding: 16px;
}

.proof strong {
  display: block;
  font-size: 1.35rem;
  color: var(--gold);
}

.proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

.tool {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 16, 24, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.status {
  color: var(--green);
  font-weight: 800;
  font-size: 0.85rem;
}

.workspace {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 560px;
}

.input-pane,
.output-pane {
  padding: 16px;
}

.input-pane {
  border-right: 1px solid var(--line);
}

textarea {
  width: 100%;
  min-height: 284px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070a0f;
  color: var(--text);
  padding: 14px;
  line-height: 1.5;
  font: inherit;
}

.packet {
  margin-top: 14px;
  min-height: 170px;
  color: #dbe7f3;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-card {
  padding: 14px;
  min-height: 116px;
}

.result-card.wide {
  grid-column: 1 / -1;
}

.result-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.result-card ul,
.result-card ol {
  margin: 0;
  padding-left: 18px;
  color: #d8e1eb;
  line-height: 1.45;
}

.result-card li + li {
  margin-top: 8px;
}

.result-card span {
  color: var(--cyan);
  font-size: 0.82rem;
  margin-left: 6px;
}

.warning {
  border-color: rgba(255, 122, 144, 0.5);
  color: var(--danger);
}

.band {
  padding: 72px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0;
}

.section-head p {
  color: var(--muted);
  line-height: 1.6;
}

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

.feature-card,
.price-card {
  padding: 20px;
}

.feature-card h3,
.price-card h3 {
  margin: 0 0 10px;
}

.feature-card p,
.price-card p,
.price-card li {
  color: var(--muted);
  line-height: 1.55;
}

.price-card.highlight {
  border-color: rgba(88, 214, 141, 0.65);
}

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

.price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

  .hero {
    min-height: auto;
  }

  .input-pane {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

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

  h1 {
    font-size: 3.15rem;
  }

  .band {
    padding: 52px 0;
  }
}
