/* ---------------------------------------------------------------
   WAIT marketing site: shared styles
--------------------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;500;600;700;800&display=swap");

:root {
  --ink: #0f172a;
  --gray: #64748b;
  --gray-soft: #94a3b8;
  --border: #e2e8f0;
  --panel: #f1f5f9;
  --surface: #ffffff;
  --blue: #1d4ed8;
  --blue-soft: #3b82f6;
  --teal: #0d9488;
  --teal-soft: #2dd4bf;
  --violet: #6d28d9;
  --navy: #0b1220;
  --navy-2: #0f1a30;

  --grad-brand: linear-gradient(120deg, var(--blue) 0%, var(--teal) 100%);
  --grad-brand-soft: linear-gradient(120deg, var(--blue-soft) 0%, var(--teal-soft) 100%);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 60px rgba(13, 148, 136, 0.25);

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--teal-soft);
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal-soft);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.25);
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 30px rgba(29, 78, 216, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(29, 78, 216, 0.36);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-dark {
  color: #fff;
}

.nav.is-light {
  color: var(--ink);
}

.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav.is-light.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand .mark {
  width: 34px;
  height: 27px;
  color: var(--teal-soft);
  flex-shrink: 0;
}

.brand .ai-accent {
  color: var(--teal-soft);
}

.nav.is-light .brand .ai-accent {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  opacity: 0.82;
  transition: opacity 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav.is-light .nav-toggle {
  border-color: var(--border);
  background: var(--panel);
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
}

.nav.is-light .mobile-menu {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a,
.mobile-menu .btn {
  padding: 12px 10px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #142238 0%, var(--navy) 55%), var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 168px 0 120px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 10%, transparent 75%);
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}

.blob-a {
  width: 480px;
  height: 480px;
  left: -120px;
  top: -60px;
  background: radial-gradient(circle, var(--blue-soft), transparent 70%);
  animation: float-a 18s ease-in-out infinite;
}

.blob-b {
  width: 520px;
  height: 520px;
  right: -160px;
  top: 40px;
  background: radial-gradient(circle, var(--teal), transparent 70%);
  animation: float-b 22s ease-in-out infinite;
}

.blob-c {
  width: 380px;
  height: 380px;
  left: 40%;
  bottom: -220px;
  background: radial-gradient(circle, var(--violet), transparent 70%);
  opacity: 0.4;
  animation: float-c 26s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
}

@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 30px) scale(1.05); }
}

@keyframes float-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.1); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 22px 0 20px;
}

.hero-punch {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  color: #fff;
  margin: 0 auto 18px;
}

.hero-punch .teal {
  color: var(--teal-soft);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.82);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-microcopy {
  font-size: 13px;
  color: rgba(148, 163, 184, 0.85);
}

/* ---------- product mockup card ---------- */

.mockup-wrap {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 72px auto 0;
}

.mockup {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  animation: mockup-float 7s ease-in-out infinite;
}

@keyframes mockup-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mockup-bar .title {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(226, 232, 240, 0.55);
  font-weight: 500;
}

.mockup-body {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  min-height: 260px;
}

.mockup-side {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-ticket {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.mockup-ticket .subj {
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.mockup-ticket .meta {
  color: rgba(148, 163, 184, 0.8);
  font-size: 12px;
}

.mockup-ticket.active {
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.3);
}

.mockup-chat {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-end;
}

.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  animation: bubble-in 0.5s ease forwards;
}

.bubble.ai {
  align-self: flex-start;
  background: linear-gradient(120deg, rgba(29, 78, 216, 0.35), rgba(13, 148, 136, 0.35));
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: #fff;
  animation-delay: 0.3s;
}

.bubble.user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(226, 232, 240, 0.9);
  animation-delay: 0.9s;
}

.bubble.resolved {
  align-self: flex-start;
  background: rgba(45, 212, 191, 0.16);
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: #99f6e4;
  font-weight: 600;
  animation-delay: 1.5s;
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.typing-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.typing-dots span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  animation: typing 1.2s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* ---------- stats ---------- */

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 880px;
  margin: 56px auto 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.stat {
  background: rgba(15, 23, 42, 0.4);
  padding: 22px 14px;
  text-align: center;
}

.stat .num {
  font-size: 30px;
  font-weight: 800;
  background: var(--grad-brand-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .label {
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(148, 163, 184, 0.85);
}

/* ---------- sections (light) ---------- */

section {
  padding: 108px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 18px;
  line-height: 1.15;
}

.section-head p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--gray);
  line-height: 1.6;
}

.section-head.on-dark p {
  color: rgba(226, 232, 240, 0.75);
}

/* reveal-on-scroll */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  background: var(--surface);
}

.step-num {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.25);
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.step p {
  text-align: center;
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.6;
}

/* ---------- feature grid ---------- */

.features-band {
  background: var(--panel);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 18px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.6;
}

/* ---------- deploy band ---------- */

.deploy-band {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.deploy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.deploy-inner h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.deploy-inner p {
  margin-top: 16px;
  color: rgba(226, 232, 240, 0.75);
  font-size: 16px;
  line-height: 1.65;
}

.deploy-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deploy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(226, 232, 240, 0.9);
}

.deploy-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--teal-soft);
  margin-top: 2px;
}

.code-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 22px 26px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.85;
  color: #cbd5e1;
  box-shadow: var(--shadow-glow);
}

.code-panel .l1 { color: #94a3b8; }
.code-panel .cmd { color: #5eead4; }
.code-panel .flag { color: #93c5fd; }
.code-panel .comment { color: #64748b; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, #142238, var(--navy));
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta-band h2 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 620px;
  margin: 0 auto;
}

.cta-band p {
  margin: 16px auto 34px;
  color: rgba(226, 232, 240, 0.75);
  max-width: 480px;
  font-size: 16px;
}

.cta-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */

footer {
  background: var(--navy);
  color: rgba(226, 232, 240, 0.7);
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  max-width: 280px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.6);
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(226, 232, 240, 0.5);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}

.footer-col a {
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--teal-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(226, 232, 240, 0.45);
}

/* ---------- pricing page ---------- */

.pricing-hero {
  padding: 168px 0 90px;
  text-align: center;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #142238 0%, var(--navy) 55%), var(--navy);
  color: #fff;
}

.pricing-hero h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.15;
}

.pricing-hero p {
  margin: 18px auto 0;
  max-width: 560px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 17px;
  line-height: 1.6;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.billing-toggle button {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(226, 232, 240, 0.7);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.billing-toggle button.active {
  background: #fff;
  color: var(--ink);
}

.save-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #99f6e4;
  background: rgba(45, 212, 191, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: -64px;
  position: relative;
  z-index: 3;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.price-card.highlight {
  border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad-brand) border-box;
  position: relative;
}

.price-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.price-badge.cloud {
  color: #fff;
  background: var(--grad-brand);
}

.price-badge.self {
  color: var(--gray);
  background: var(--panel);
}

.price-card h3 {
  font-size: 22px;
  font-weight: 800;
}

.price-card .desc {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.55;
  min-height: 44px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 24px 0 4px;
}

.price-amount .num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-amount .per {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}

.price-note {
  font-size: 13px;
  color: var(--gray-soft);
  margin-bottom: 26px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 6px 0 30px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}

.price-features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 1px;
}

/* comparison table */

.compare-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14.5px;
}

.compare th,
.compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare thead th {
  background: var(--panel);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gray);
}

.compare th:nth-child(2),
.compare th:nth-child(3),
.compare td:nth-child(2),
.compare td:nth-child(3) {
  text-align: center;
  width: 160px;
}

.compare tbody tr {
  transition: background 0.2s ease;
}

.compare tbody tr:hover {
  background: var(--panel);
}

.compare tbody tr:last-child td {
  border-bottom: none;
}

.compare svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  margin: 0 auto;
}

.compare .dash {
  color: var(--gray-soft);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 4px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.faq-q .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.faq-q .plus svg {
  width: 11px;
  height: 11px;
}

.faq-item.is-open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding: 0 4px 22px;
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.65;
  max-width: 620px;
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 140px 0 90px;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mockup-side {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: row;
    overflow-x: auto;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .deploy-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 76px 0;
  }

  .hero-ctas .btn,
  .cta-ctas .btn {
    width: 100%;
  }
}

/* ---------- documentation hub (docs.html) ---------- */

.docs-hero {
  padding: 168px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #142238 0%, var(--navy) 55%), var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.docs-hero h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 20px auto 0;
  max-width: 760px;
  line-height: 1.15;
}

.docs-hero p {
  margin: 18px auto 0;
  max-width: 600px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 17px;
  line-height: 1.6;
}

.step-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.step-link:hover {
  text-decoration: underline;
}

.step .step-link {
  display: block;
  text-align: center;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.doc-card {
  display: flex;
  flex-direction: column;
}

.doc-card .doc-audience {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--teal);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.doc-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.doc-card .doc-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--gray-soft);
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.doc-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, rgba(29, 78, 216, 0.05), rgba(13, 148, 136, 0.06)), var(--surface);
}

/* ---------- online user guide (anleitung.html) ---------- */

.guide-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: 96px;
  font-size: 14px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.guide-toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-soft);
  margin: 0 0 10px;
}

.guide-toc ol {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.guide-toc a {
  display: block;
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--gray);
  text-decoration: none;
  line-height: 1.4;
}

.guide-toc a:hover,
.guide-toc a.active {
  color: var(--ink);
  background: var(--panel);
}

.guide-content {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.7;
  color: #1e293b;
}

.guide-content section {
  padding: 0 0 48px;
  scroll-margin-top: 96px;
}

.guide-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
}

.guide-content h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 28px 0 8px;
  color: var(--ink);
}

.guide-content p,
.guide-content ul,
.guide-content ol {
  margin: 0 0 14px;
}

.guide-content ul,
.guide-content ol {
  padding-left: 22px;
}

.guide-content ul {
  list-style: disc;
}

.guide-content ol {
  list-style: decimal;
}

.guide-content li {
  margin-bottom: 6px;
}

.guide-content code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9em;
  background: var(--panel);
  border-radius: 6px;
  padding: 1px 6px;
}

.guide-content figure {
  margin: 22px 0 28px;
}

.guide-content figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.guide-content figure.narrow img {
  max-width: 300px;
  margin: 0 auto;
}

.guide-content figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--gray);
}

.guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 22px;
  font-size: 14.5px;
}

.guide-content th,
.guide-content td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.guide-content th {
  background: var(--panel);
  font-weight: 700;
}

.callout {
  border-left: 4px solid var(--blue);
  background: rgba(29, 78, 216, 0.06);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin: 16px 0 22px;
  font-size: 15px;
}

.callout.warn {
  border-left-color: #d97706;
  background: rgba(217, 119, 6, 0.08);
}

.guide-part {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin: 0 0 8px;
}

@media (max-width: 860px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .guide-toc {
    position: static;
    max-height: none;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
  }

  .guide-content table {
    display: block;
    overflow-x: auto;
  }
}

.steps.steps-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steps.steps-4::before {
  left: 10%;
  right: 10%;
}

@media (max-width: 1060px) {
  .steps.steps-4 {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .steps.steps-4::before {
    display: none;
  }
}

@media (max-width: 860px) {
  .steps.steps-4 {
    grid-template-columns: 1fr;
  }
}
