:root {
  --ink: #0a0e1a;
  --muted: #5d6470;
  --line: #dfe3e8;
  --accent: #20f29b;
  --teal: #0d5c4d;
  --white: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: repeating-linear-gradient(135deg, transparent 0 12px, #eef0f3 12px 14px), #fff;
}
a { color: inherit; text-decoration: none; }

.site-shell {
  width: min(1600px, calc(100% - 192px));
  min-height: 100vh;
  margin: 0 auto;
  background: var(--white);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 88px;
  padding: 0 34px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  font-size: 25px;
}

.logo-mark {
  position: relative;
  width: 28px;
  height: 24px;
}
.logo-mark::before, .logo-mark::after, .logo-mark span {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--ink);
}
.logo-mark::before { width: 17px; height: 17px; left: 0; bottom: 1px; opacity: .72; }
.logo-mark span { width: 16px; height: 16px; left: 9px; top: 0; opacity: .44; }
.logo-mark::after { width: 18px; height: 18px; right: 0; bottom: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #242b35;
  font-size: 17px;
}
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid #171717;
  border-radius: 8px;
  background: #fff;
  color: #0b0b0b;
  font-weight: 650;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .1);
}
.btn.primary { background: var(--accent); border-color: #14c983; }
.btn.dark { background: linear-gradient(#2b2c2d, #080808); color: #fff; }
.btn.wide { width: 100%; }

.section {
  border-bottom: 1px solid var(--line);
  padding: 112px 34px;
}
.section.compact { padding-top: 76px; padding-bottom: 76px; }
.page-hero { padding: 112px 34px 92px; }
.hero {
  padding-top: 94px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fff 62%, #e8fff6 100%);
}

.eyebrow {
  margin: 0 0 28px;
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
}
.eyebrow span {
  color: var(--teal);
  background: linear-gradient(90deg, transparent, rgba(32, 242, 155, .18));
  padding-right: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
}

h1, h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
}
h1 {
  max-width: 880px;
  margin: 26px auto 22px;
  font-size: clamp(48px, 6vw, 82px);
}
h2 {
  max-width: 860px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: clamp(38px, 4.6vw, 64px);
}
.lead {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}
.hero-actions, .center-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.mockup-wrap {
  margin: 74px auto 0;
  max-width: 1220px;
  padding: 18px;
  background: rgba(32, 242, 155, .12);
  border-radius: 22px;
}
.mockup {
  min-height: 530px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  box-shadow: 0 28px 80px rgba(13, 92, 77, .12);
}
.mockup-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 8px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #cfd5dc; }
.mockup-body { display: grid; grid-template-columns: 230px 1fr 300px; min-height: 470px; }
.sidebar, .inspector { padding: 20px; background: #fbfcfd; }
.sidebar { border-right: 1px solid var(--line); }
.inspector { border-left: 1px solid var(--line); }
.side-item { padding: 12px; border-radius: 8px; color: var(--muted); }
.side-item.active { background: #eefaf5; color: var(--ink); }
.editor { padding: 24px; }
.score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid #beeacf;
  border-radius: 999px;
  color: var(--teal);
  background: #f1fff8;
  font-weight: 700;
}
.score-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 14px rgba(32, 242, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(32, 242, 155, 0); }
}
.draft-card { border: 1px solid var(--line); padding: 24px; border-radius: 8px; margin-bottom: 16px; }
.draft-line { height: 12px; margin: 13px 0; border-radius: 999px; background: #e9edf2; }
.draft-line.short { width: 58%; }
.channel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.channel { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-row div {
  min-height: 126px;
  display: grid;
  place-items: center;
  color: #9ba1a8;
  font-weight: 760;
  border-right: 1px solid var(--line);
}
.logo-row div:last-child { border-right: 0; }

.feature-grid, .step-grid, .price-grid, .article-grid, .use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.tile, .price-card, .article-card, .use-card, .step {
  min-height: 290px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.tile h3, .step h3, .price-card h3, .article-card h3, .use-card h3 {
  margin: 18px 0 14px;
  font-size: 28px;
  font-weight: 500;
}
.tile p, .step p, .price-card p, .article-card p, .use-card p, .faq-content, .footer {
  color: var(--muted);
  line-height: 1.5;
  font-size: 18px;
}
.icon { font-size: 30px; }

.dark-showcase {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 58px;
  background: linear-gradient(115deg, transparent 0 34%, rgba(32, 242, 155, .12) 34% 40%, transparent 40% 100%), repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 120px, transparent 120px 240px), #080909;
}
.dark-showcase .mockup { width: min(960px, 100%); min-height: 390px; transform: translateY(16px); }
.step { min-height: 370px; }
.step-number { font-size: 14px; text-transform: uppercase; }
.diagram { min-height: 210px; margin-top: 28px; position: relative; }
.iso-card {
  position: absolute;
  width: 210px;
  height: 88px;
  border: 1px solid #aeb5bc;
  transform: skewY(-28deg) rotate(8deg);
  background: #fff;
}
.iso-card.one { left: 20px; top: 20px; }
.iso-card.two { left: 72px; top: 86px; }
.iso-card.three { left: 120px; top: 145px; }
.iso-card::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  right: 18px;
  top: 18px;
}

.testimonial {
  max-width: 960px;
  margin: 64px auto 0;
  padding: 46px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 28px;
  line-height: 1.5;
}
.person { display: flex; align-items: center; gap: 16px; margin-top: 90px; font-size: 18px; }
.avatar { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #111, #777); }

.pricing-head { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 28px 0 64px; }
.toggle { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: #fff; }
.toggle button { border: 0; border-radius: 999px; padding: 10px 18px; background: transparent; cursor: pointer; font-weight: 650; }
.toggle button.active { background: var(--ink); color: #fff; }
.price-card.highlight {
  background: linear-gradient(115deg, transparent 0 36%, rgba(32, 242, 155, .12) 36% 44%, transparent 44%), #070807;
  color: #fff;
}
.price-card.highlight p, .price-card.highlight li { color: #eef2f0; }
.price { margin: 28px 0; font-size: 52px; font-weight: 500; }
.price small { color: var(--muted); font-size: 18px; }
.price-card.highlight .price small { color: #d7dedb; }
.badge { float: right; padding: 6px 12px; background: #caffdf; color: var(--ink); border-radius: 3px; font-size: 14px; }
.check-list { list-style: none; padding: 0; margin: 34px 0 0; }
.check-list li { margin: 18px 0; color: #20242a; }
.check-list li::before { content: "\2713"; margin-right: 14px; }

.faq { max-width: 940px; margin: 64px auto 0; border: 1px solid var(--line); border-bottom: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button {
  width: 100%;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 30px;
  border: 0;
  background: #fff;
  font-size: 21px;
  text-align: left;
  cursor: pointer;
}
.faq-button span:last-child { font-size: 32px; line-height: 1; }
.faq-content { display: none; padding: 0 30px 28px; }
.faq-item.open .faq-content { display: block; }

.cta-band {
  text-align: center;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.25) 38% 44%, transparent 44%), repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 122px, transparent 122px 244px), var(--accent);
}
.cta-band h2 { color: #020403; }

.footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 54px 34px 72px;
  background: #fff;
}
.footer h4 { color: var(--ink); margin: 0 0 20px; font-weight: 500; text-transform: uppercase; }
.footer a { display: block; margin: 14px 0; }

.compare { width: 100%; border-collapse: collapse; margin-top: 64px; font-size: 17px; }
.compare th, .compare td { padding: 22px; border: 1px solid var(--line); text-align: left; }
.compare th { background: #fbfcfd; }

body.modal-open { overflow: hidden; }
.signup-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.signup-modal[hidden] { display: none; }
.signup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 7, .62);
}
.signup-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 42px;
  border: 1px solid #111;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}
.signup-panel h2 { margin-bottom: 16px; text-align: left; font-size: 42px; }
.signup-panel .lead, .signup-panel .eyebrow { margin-left: 0; text-align: left; }
.signup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.signup-form { display: grid; gap: 18px; margin-top: 30px; }
.signup-form label { display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.signup-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
}
.signup-form input:focus { outline: 2px solid rgba(32, 242, 155, .45); border-color: #14c983; }
.signup-success {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid #beeacf;
  border-radius: 8px;
  background: #f1fff8;
  color: var(--teal);
  font-size: 18px;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .site-shell { width: min(100%, calc(100% - 40px)); }
  .mockup-body, .feature-grid, .step-grid, .price-grid, .article-grid, .use-grid, .footer { grid-template-columns: 1fr; }
  .inspector, .sidebar { display: none; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-shell { width: 100%; border: 0; }
  .nav { grid-template-columns: 1fr auto; padding: 0 18px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 18px 22px; border-top: 1px solid var(--line); }
  .nav-actions .btn { display: none; }
  .section, .page-hero { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 70px; }
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
  .mockup { min-height: 380px; }
  .channel-grid, .logo-row { grid-template-columns: 1fr; }
  .testimonial { padding: 28px; font-size: 21px; }
  .signup-panel { padding: 30px 22px; }
  .signup-panel h2 { font-size: 34px; }
}
.logo {
    height: 50px;
    width: auto;
}
