:root {
  --bg: #f7f5ef;
  --ink: #171717;
  --muted: #6a665d;
  --line: #ded9cf;
  --panel: #fffdf8;
  --cyan: #24c6f2;
  --cyan-dark: #087896;
  --green: #1d9a72;
  --gold: #d98d16;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 70px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(247, 245, 239, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 50%, #78e4ff 0 16%, #2563eb 18% 100%);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 -11px 0 #fff,
    0 11px 0 #fff,
    -11px 0 0 #fff,
    11px 0 0 #fff;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta,
.primary-action,
.plan-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  font-weight: 750;
}

.nav-cta {
  min-height: 38px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 70px);
  margin: 0 auto;
  padding: 72px 28px 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

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

.secondary-action,
.plan-action.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 750;
}

.hero-demo {
  min-width: 0;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(36, 198, 242, 0.28);
  border-radius: 26px;
  background: #071222;
  box-shadow:
    0 28px 80px rgba(6, 22, 42, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64748b;
}

.demo-canvas {
  position: relative;
  min-height: 390px;
  padding: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 72% 20%, rgba(36, 198, 242, 0.2), transparent 34%),
    #0b1728;
  background-size: 38px 38px, 38px 38px, auto, auto;
}

.mouse-pot {
  position: absolute;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid #7dd3fc;
  border-radius: 50%;
  background: rgba(8, 145, 178, 0.22);
  color: #e0f2fe;
  font-weight: 900;
  box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.12);
}

.pot-one {
  left: 66px;
  top: 94px;
}

.pot-two {
  right: 96px;
  top: 148px;
}

.pot-three {
  left: 44%;
  bottom: 82px;
}

.trail-line {
  position: absolute;
  left: 93px;
  top: 119px;
  width: 275px;
  height: 165px;
  border-top: 3px solid rgba(125, 211, 252, 0.65);
  border-right: 3px solid rgba(125, 211, 252, 0.65);
  border-radius: 0 120px 0 0;
  transform: rotate(8deg);
}

.cursor-shape {
  position: absolute;
  right: 58px;
  bottom: 54px;
  width: 30px;
  height: 38px;
  clip-path: polygon(0 0, 0 82%, 30% 68%, 48% 100%, 70% 92%, 52% 56%, 100% 56%);
  background: #fff;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.4));
}

.run-panel {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: grid;
  gap: 4px;
  width: min(270px, calc(100% - 56px));
  padding: 16px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 16px;
  background: rgba(7, 18, 34, 0.82);
  color: #f8fafc;
  backdrop-filter: blur(14px);
}

.run-panel span {
  color: #9fb3ca;
  font-size: 13px;
}

.feature-strip,
.pricing-section,
.compare-section,
.faq-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 28px;
}

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

.feature-strip article,
.plan-card,
.compare-table,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.feature-strip article {
  padding: 26px;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--cyan-dark);
  font-weight: 850;
}

.feature-strip h2,
.plan-card h3 {
  margin-bottom: 10px;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.feature-strip p,
.section-heading p,
.plan-card p,
.faq-list p {
  color: var(--muted);
  line-height: 1.6;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading.narrow {
  max-width: 620px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.plan-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: 30px;
}

.plan-card.featured {
  border-color: rgba(36, 198, 242, 0.55);
  box-shadow: 0 24px 70px rgba(8, 145, 178, 0.16);
}

.plan-ribbon {
  position: absolute;
  top: 22px;
  right: -40px;
  width: 170px;
  padding: 8px 0;
  transform: rotate(35deg);
  background: #0b1728;
  color: #67e8f9;
  text-align: center;
  font-size: 12px;
  font-weight: 850;
}

.plan-top {
  min-height: 92px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 24px;
}

.price strong {
  font-size: 52px;
  letter-spacing: -0.05em;
}

.price span {
  color: var(--muted);
}

.plan-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 26px;
  color: #3d3a34;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.compare-table {
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  min-height: 62px;
  border-top: 1px solid var(--line);
}

.compare-row:first-child {
  border-top: 0;
}

.compare-row > div {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.compare-row > div:not(:first-child) {
  border-left: 1px solid var(--line);
}

.compare-row.head {
  background: #eee9dd;
  font-weight: 850;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.faq-list p {
  margin: 14px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 20px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .hero,
  .plans,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .compare-row {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.72fr) minmax(0, 0.9fr);
  }

  .compare-row > div {
    padding: 14px 12px;
    font-size: 14px;
    line-height: 1.35;
  }

  .footer {
    flex-direction: column;
  }
}
