:root {
  --ink: #08110f;
  --muted: #5f6d68;
  --line: #dfe7e3;
  --paper: #f7fbf8;
  --card: rgba(255, 255, 255, 0.82);
  --brand: #6157d8;
  --brand-dark: #3730a3;
  --mint: #37c590;
  --amber: #f6b84b;
  --danger: #eb4c4c;
  --shadow: 0 22px 70px rgba(24, 36, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(97, 87, 216, 0.18), transparent 34rem),
    radial-gradient(circle at 90% 16%, rgba(55, 197, 144, 0.18), transparent 32rem),
    linear-gradient(180deg, #f4faf7 0%, #eef6f1 54%, #f9fbf8 100%);
  font-family: "Space Grotesk", "IBM Plex Sans", system-ui, sans-serif;
  line-height: 1.5;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(8, 17, 15, 0.08);
  background: rgba(247, 251, 248, 0.76);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  height: 34px;
  width: auto;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

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

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(24, 36, 33, 0.06);
}

.button.primary {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.hero {
  padding: 86px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.88fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(97, 87, 216, 0.24);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 18px;
  max-width: 760px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.35;
}

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

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.proof div {
  padding: 16px;
  border: 1px solid rgba(8, 17, 15, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.proof strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.05em;
}

.proof span {
  color: var(--muted);
  font-size: 14px;
}

.console-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 17, 15, 0.1);
  border-radius: 30px;
  background: #0a0d0d;
  box-shadow: var(--shadow);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #c9d3cf;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--mint);
}

.dot.amber {
  background: var(--amber);
}

.dot.red {
  background: var(--danger);
}

.terminal {
  min-height: 420px;
  padding: 24px;
  color: #c3f8d7;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
}

.terminal p {
  margin: 0 0 16px;
}

.terminal .muted {
  color: #71807a;
}

.terminal .purple {
  color: #b8b0ff;
}

.terminal .white {
  color: #f8fffb;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: 30px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.card {
  border: 1px solid rgba(8, 17, 15, 0.09);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(24, 36, 33, 0.06);
}

.feature {
  min-height: 250px;
  padding: 24px;
}

.feature .icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: 16px;
  background: rgba(97, 87, 216, 0.12);
  color: var(--brand-dark);
  font-weight: 900;
}

.feature h3,
.price h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.feature p,
.price p,
.legal-card p {
  margin: 0;
  color: var(--muted);
}

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

.step {
  padding: 22px;
  min-height: 190px;
}

.step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
  align-items: stretch;
}

.quote {
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(97, 87, 216, 0.2), transparent 20rem),
    rgba(255, 255, 255, 0.78);
}

.quote p {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: -0.05em;
}

.price {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
}

.price p {
  min-height: 88px;
}

.price strong {
  min-height: 48px;
}

.price .button {
  align-self: flex-start;
  margin-top: 0;
}

.price ul {
  margin-top: 28px;
}

.featured-price {
  border-color: rgba(97, 87, 216, 0.28);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(242,245,255,0.88));
}

.price-note {
  display: block;
  margin: -10px 0 8px;
  color: var(--brand-dark);
  font-weight: 850;
}

.price small {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.price strong {
  display: block;
  margin: 18px 0;
  font-size: 34px;
  letter-spacing: -0.07em;
}

.price ul,
.legal-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.price li,
.legal-list li {
  color: var(--muted);
}

.price li::before,
.legal-list li::before {
  content: "✓";
  color: var(--mint);
  font-weight: 900;
  margin-right: 8px;
}

.contact-band {
  padding: 38px;
  border-radius: 30px;
  color: white;
  background:
    linear-gradient(135deg, rgba(97, 87, 216, 0.96), rgba(8, 17, 15, 0.96)),
    url("assets/raccoonhq-icon.png") right 28px center / 160px auto no-repeat;
  box-shadow: var(--shadow);
}

.contact-band h2 {
  max-width: 760px;
  color: white;
}

.contact-band p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.76);
}

.footer {
  padding: 34px 0 46px;
  border-top: 1px solid rgba(8, 17, 15, 0.08);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.legal-page {
  padding: 70px 0;
}

.legal-card {
  max-width: 900px;
  padding: 42px;
}

.legal-card h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.legal-card h2 {
  margin-top: 34px;
  letter-spacing: -0.04em;
}

.legal-card a {
  color: var(--brand-dark);
  font-weight: 800;
}

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

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

  .pricing-grid {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .navlinks {
    display: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 46px;
  }

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

  .actions {
    display: none;
  }

  .terminal {
    min-height: 300px;
    font-size: 12px;
  }
}
