/* Brand tokens mirror apps/web/tailwind.config.js so the marketing site and the
   product cabinet read as one system, not two different products. */
:root {
  --page-bg: #f6f7fb;
  --card-bg: #ffffff;
  --primary: #1fc98b;
  --primary-tint: #e7f9f1;
  --secondary: #f5a524;
  --secondary-tint: #fef3e0;
  --dark-banner: #151b2e;
  --text-primary: #1b1f3b;
  --text-secondary: #7c8493;
  --text-tertiary: #a6acb8;
  --border: #eef0f4;
  --card-radius: 20px;
  --hero-radius: 24px;
  --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-primary);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 247, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand img {
  width: 28px;
  height: 27px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #17b47c;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

/* Hero */
.hero {
  padding-block: 64px 40px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-tint);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* Hand-slapped-on sticker look for the one meme callback in the hero — dashed
   border + slight rotation, distinct from the plain pill eyebrows used to label
   every other section so the joke doesn't get diluted by overuse. */
.eyebrow.sticker {
  background: #fff;
  border: 1.5px dashed var(--primary);
  transform: rotate(-2.5deg);
  box-shadow: var(--shadow-card);
}

.hero h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.hero p.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 46ch;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  border-radius: var(--hero-radius);
  background: linear-gradient(150deg, var(--dark-banner) 0%, #23294a 100%);
  padding: 28px;
  min-height: 340px;
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow-card);
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(31, 201, 139, 0.35), transparent 70%);
}

.hero-visual::after {
  content: '';
  position: absolute;
  left: -20%;
  bottom: -30%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(76, 111, 255, 0.3), transparent 70%);
}

.mock-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mock-card .label {
  color: rgba(255, 255, 255, 0.65);
}

.mock-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.mock-pill.ready {
  background: rgba(31, 201, 139, 0.2);
  color: #6fe8bf;
}

.mock-pill.transit {
  background: rgba(245, 165, 36, 0.2);
  color: #ffcb73;
}

.mock-pill.new {
  background: rgba(76, 111, 255, 0.25);
  color: #a9b8ff;
}

/* Sections */
section {
  padding-block: 56px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head .eyebrow {
  margin-inline: auto;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

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

.feature-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  padding: 26px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Deployment */
.deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.deploy-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deploy-card .badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.badge.cloud {
  background: var(--info-tint, #eaeeff);
  color: #4c6fff;
}

.badge.onprem {
  background: var(--secondary-tint);
  color: var(--secondary);
}

.deploy-card h3 {
  font-size: 19px;
  margin: 0;
}

.deploy-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deploy-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.deploy-card li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  padding: 26px;
}

.step .step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--dark-banner);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Tariffs */
.tariff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tariff-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tariff-card.featured {
  border: 2px solid var(--primary);
}

.tariff-card .tariff-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tariff-card h3 {
  font-size: 20px;
  margin: 0 0 4px;
}

.tariff-card .tariff-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.tariff-price {
  font-size: 22px;
  font-weight: 800;
}

.tariff-price small {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.tariff-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.tariff-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tariff-card li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.tariff-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.lead-form button {
  align-self: flex-start;
  margin-top: 4px;
}

.lead-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-status {
  min-height: 18px;
  font-size: 13px;
  margin: 0;
}

.form-status.success {
  color: #6fe8bf;
}

.form-status.error {
  color: #ffb4b4;
}

/* Contact / CTA band */
.cta-band {
  background: var(--dark-banner);
  border-radius: var(--hero-radius);
  color: #fff;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin: 0 0 10px;
  font-weight: 800;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 42ch;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
}

.contact-item:hover {
  border-color: var(--primary);
}

.contact-item .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(31, 201, 139, 0.18);
  color: #6fe8bf;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .icon svg {
  width: 18px;
  height: 18px;
}

.contact-item .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.contact-item .value {
  font-size: 14.5px;
  font-weight: 700;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 28px;
  margin-top: 24px;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
}

.footer-brand img {
  width: 20px;
  height: 19px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links a {
  text-decoration: none;
  color: inherit;
}

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

.footer-copy {
  font-size: 12.5px;
  color: var(--text-tertiary);
}

/* Mobile */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

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

  .deploy-grid,
  .tariff-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-band {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .header-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  body.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 20px 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
  }

  body.nav-open .nav-links a {
    padding: 10px 0;
    width: 100%;
  }

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

@media (max-width: 480px) {
  .hero {
    padding-block: 40px 28px;
  }

  section {
    padding-block: 40px;
  }
}
