/* ──────────────────────────────────────────────────────────────
   Kaspla — landing styles (Pop brand direction)
   Ported from the Claude Design handoff (Kaspla Landing).
   ────────────────────────────────────────────────────────────── */

.kaspla {
  /* Brand — Pop direction */
  --co: #1B43E8;          /* cobalt — primary */
  --co-2: #1536C4;        /* cobalt darker (hover) */
  --co-soft: #E7EBFD;     /* cobalt tint */
  --coral: #FF5A5F;       /* coral accent */
  --coral-2: #ED474C;
  --coral-soft: #FFE5E6;
  --sun: #FFE14D;         /* sun yellow accent */
  --sun-soft: #FFF6CC;

  --ink: #101114;
  --ink-2: #2C2E36;
  --ink-soft: #5A5D68;
  --ink-mute: #8A8D98;
  --line: #E3E4EA;
  --line-soft: #EFEFF3;
  --cloud: #F2F3F7;
  --paper: #FFFFFF;

  --green: #16A34A;

  --font: "Archivo", -apple-system, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.kaspla *,
.kaspla *::before,
.kaspla *::after { box-sizing: border-box; }
.kaspla a { color: inherit; text-decoration: none; }
.kaspla button {
  font: inherit; cursor: pointer; border: 0; background: transparent;
  color: inherit; padding: 0;
}
.kaspla img,
.kaspla svg { display: block; max-width: 100%; }

/* ── Type ── */
.kaspla .display {
  font-family: var(--font);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}
.kaspla .h1 { font-weight: 800; font-stretch: 125%; font-size: clamp(44px, 6vw, 88px); letter-spacing: -0.03em; line-height: 0.96; }
.kaspla .h2 { font-weight: 800; font-stretch: 110%; font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.025em; line-height: 1.0; }
.kaspla .h3 { font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.018em; line-height: 1.1; }
.kaspla .h4 { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; }
.kaspla .eyebrow {
  font-family: var(--font); font-weight: 700; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.kaspla .body { font-size: 17px; line-height: 1.6; color: var(--ink-2); font-weight: 400; }
.kaspla .body-lg { font-size: 20px; line-height: 1.55; color: var(--ink-2); font-weight: 400; }
.kaspla .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ── Buttons ── */
.kaspla .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  font-family: var(--font); font-weight: 700; font-size: 16px;
  letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
  transition: transform .12s cubic-bezier(.34,1.56,.64,1), background .15s, box-shadow .15s, color .15s;
}
.kaspla .btn:active { transform: translateY(1px); }
.kaspla .btn:focus-visible { outline: 3px solid var(--co); outline-offset: 3px; }
.kaspla .btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.kaspla .btn-lg { height: 60px; padding: 0 34px; font-size: 18px; }
.kaspla .btn--primary { background: var(--co); color: #fff; }
.kaspla .btn--primary:hover { background: var(--co-2); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(27,67,232,.5); }
.kaspla .btn--coral { background: var(--coral); color: #fff; }
.kaspla .btn--coral:hover { background: var(--coral-2); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(255,90,95,.5); }
.kaspla .btn--ink { background: var(--ink); color: #fff; }
.kaspla .btn--ink:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(16,17,20,.4); }
.kaspla .btn--white { background: #fff; color: var(--co); }
.kaspla .btn--white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0,0,0,.25); }

/* ── Pill / chip ── */
.kaspla .pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 13px; letter-spacing: -0.005em;
}

/* ── Layout helpers ── */
.kaspla .wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.kaspla .sec { padding: 100px 0; }

/* ── Logo lockup ── */
.kaspla .k-logo { display: inline-flex; align-items: center; gap: 11px; }
.kaspla .k-logo-mark { flex-shrink: 0; }
.kaspla .k-logo-word {
  font-family: var(--font); font-weight: 800; font-stretch: 125%;
  font-size: 26px; letter-spacing: -0.02em; line-height: 1;
  color: var(--ink); text-transform: lowercase;
}
.kaspla .k-logo--inverse .k-logo-word { color: #fff; }

/* ── Nav ── */
.kaspla .k-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.kaspla .k-nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.kaspla .k-nav-left { display: flex; align-items: center; gap: 44px; }
.kaspla .k-nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.kaspla .k-nav-links a:hover { color: var(--ink); }
.kaspla .k-nav-right { display: flex; align-items: center; gap: 12px; }
.kaspla .k-nav-signin { font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 0 8px; }
.kaspla .k-nav-signin:hover { color: var(--ink); }

/* ── Hero ── */
.kaspla .k-hero { position: relative; overflow: hidden; padding-top: 72px; }
.kaspla .k-hero-inner { position: relative; text-align: center; padding-top: 64px; }
.kaspla .k-hero-shape { position: absolute; pointer-events: none; }
.kaspla .k-hero-shape--circle { top: 120px; left: 6%; width: 64px; height: 64px; border-radius: 999px; background: var(--coral); opacity: .9; }
.kaspla .k-hero-shape--square { top: 300px; right: 8%; width: 52px; height: 52px; background: var(--sun); transform: rotate(18deg); border-radius: 8px; }
.kaspla .k-hero-shape--triangle {
  bottom: 160px; left: 12%; width: 0; height: 0;
  border-left: 26px solid transparent; border-right: 26px solid transparent;
  border-bottom: 44px solid var(--co); opacity: .15; transform: rotate(-12deg);
}
.kaspla .k-hero-badge { background: var(--sun); color: var(--ink); margin: 0 auto 28px; }
.kaspla .k-hero h1 { max-width: 980px; margin: 0 auto; }
.kaspla .k-hero-accent { color: var(--co); }
.kaspla .k-hero-underline { position: relative; display: inline-block; }
.kaspla .k-hero-underline svg { position: absolute; left: 0; bottom: -6px; width: 100%; height: 18px; }
.kaspla .k-hero-sub { max-width: 620px; margin: 28px auto 0; color: var(--ink-soft); }
.kaspla .k-hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.kaspla .k-hero-note { margin-top: 20px; font-size: 13px; color: var(--ink-mute); letter-spacing: 0.02em; }
.kaspla .k-hero-mock { margin-top: 64px; position: relative; }

/* ── Dashboard mock ── */
.kaspla .k-dash {
  background: #fff; border-radius: var(--r-lg); text-align: left;
  box-shadow: 0 2px 4px rgba(16,17,20,.06), 0 40px 80px -32px rgba(27,67,232,.4);
  border: 1px solid var(--line); overflow: hidden; max-width: 1000px; margin: 0 auto;
}
.kaspla .k-dash-bar {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft); background: var(--cloud);
}
.kaspla .k-dash-dots { display: flex; gap: 7px; }
.kaspla .k-dash-dots span { width: 11px; height: 11px; border-radius: 999px; }
.kaspla .k-dash-url {
  flex: 1; height: 26px; background: #fff; border-radius: 7px;
  font-size: 12px; color: var(--ink-mute); display: flex; align-items: center;
  padding: 0 12px; border: 1px solid var(--line);
}
.kaspla .k-dash-body { display: grid; grid-template-columns: 180px 1fr; }
.kaspla .k-dash-side {
  border-right: 1px solid var(--line-soft); padding: 18px 14px;
  display: flex; flex-direction: column; gap: 3px; min-height: 460px;
}
.kaspla .k-dash-nav {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 9px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.kaspla .k-dash-nav span { width: 7px; height: 7px; border-radius: 999px; background: var(--line); }
.kaspla .k-dash-nav.is-active { background: var(--co); color: #fff; font-weight: 700; }
.kaspla .k-dash-nav.is-active span { background: var(--sun); }
.kaspla .k-dash-main { padding: 22px; }
.kaspla .k-dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.kaspla .k-dash-title { font-weight: 800; font-size: 17px; font-stretch: 110%; }
.kaspla .k-dash-sub { font-size: 12px; color: var(--ink-mute); }

/* ── Stats band ── */
.kaspla .k-stats { margin-top: 72px; background: var(--ink); color: #fff; }
.kaspla .k-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 44px 32px; }
.kaspla .k-stat { text-align: center; padding: 0 16px; border-left: 1px solid rgba(255,255,255,.12); }
.kaspla .k-stat:first-child { border-left: 0; }
.kaspla .k-stat-val { font-size: 46px; }
.kaspla .k-stat-val--sun { color: var(--sun); }
.kaspla .k-stat-label { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.65); font-weight: 500; }

/* ── Logos ── */
.kaspla .k-logos { padding: 56px 0; }
.kaspla .k-logos-title {
  text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 28px;
}
/* ── Section heads ── */
.kaspla .k-head { max-width: 720px; margin-bottom: 56px; }
.kaspla .k-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.kaspla .k-head .eyebrow { display: block; margin-bottom: 14px; }
.kaspla .k-head h2 { margin-bottom: 16px; }

/* ── Features ── */
.kaspla .k-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.kaspla .k-feature {
  border-radius: var(--r-lg); padding: 36px; position: relative; overflow: hidden; min-height: 230px;
}
.kaspla .k-feature::after {
  content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px;
  border-radius: 999px; background: rgba(255,255,255,.1);
}
.kaspla .k-feature--co { background: var(--co); color: #fff; }
.kaspla .k-feature--coral { background: var(--coral); color: #fff; }
.kaspla .k-feature--sun { background: var(--sun); color: var(--ink); }
.kaspla .k-feature--ink { background: var(--ink); color: #fff; }
.kaspla .k-feature-icon {
  width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px; position: relative;
}
.kaspla .k-feature--sun .k-feature-icon { background: rgba(16,17,20,.1); }
.kaspla .k-feature h3 { margin-bottom: 10px; position: relative; color: inherit; }
.kaspla .k-feature p { font-size: 16px; line-height: 1.55; opacity: .82; position: relative; max-width: 420px; color: inherit; }

/* ── How ── */
.kaspla .k-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kaspla .k-step { background: #fff; border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line); }
.kaspla .k-step-num {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center;
  justify-content: center; font-size: 24px; margin-bottom: 22px;
}
.kaspla .k-step-num--co { background: var(--co); color: #fff; }
.kaspla .k-step-num--coral { background: var(--coral); color: #fff; }
.kaspla .k-step-num--sun { background: var(--sun); color: var(--ink); }
.kaspla .k-step h3 { margin-bottom: 10px; font-size: 22px; }
.kaspla .k-step p { color: var(--ink-soft); font-size: 16px; }

/* ── Product ── */
.kaspla .k-product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.kaspla .k-product-bullets { display: flex; flex-direction: column; gap: 14px; }
.kaspla .k-product-bullet { display: flex; align-items: center; gap: 12px; }
.kaspla .k-product-bullet-check {
  width: 28px; height: 28px; border-radius: 999px; background: var(--co); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kaspla .k-product-bullet span:last-child { font-size: 17px; font-weight: 600; }
.kaspla .k-product-visual { position: relative; }
.kaspla .k-product-panel { background: var(--co); border-radius: var(--r-lg); padding: 28px; position: relative; overflow: hidden; }
.kaspla .k-product-panel::after {
  content: ''; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px;
  border-radius: 999px; background: rgba(255,225,77,.25);
}
.kaspla .k-product-card { background: #fff; border-radius: var(--r-md); overflow: hidden; position: relative; }
.kaspla .k-product-card-head {
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
}
.kaspla .k-product-card-head strong { font-weight: 800; font-size: 14px; }
.kaspla .k-product-row {
  display: grid; grid-template-columns: 1fr 1.3fr 1fr 1fr; padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft); align-items: center; font-size: 13px;
}
.kaspla .k-product-row .c-unit { font-weight: 700; }
.kaspla .k-product-row .c-name { color: var(--ink-2); }
.kaspla .k-product-row .c-amt { font-weight: 700; }
.kaspla .k-product-row .c-status { font-weight: 700; font-size: 12px; text-align: right; }
.kaspla .k-product-badge {
  position: absolute; top: -20px; right: -16px; background: var(--sun); color: var(--ink);
  border-radius: 14px; padding: 12px 16px; font-weight: 800; font-size: 14px; transform: rotate(5deg);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.3); display: flex; align-items: center; gap: 7px;
}

/* ── Integrations ── */
.kaspla .k-integrations { background: var(--ink); color: #fff; }
.kaspla .k-integrations-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.kaspla .k-integrations h2 { color: #fff; }
.kaspla .k-integrations-sub { color: rgba(255,255,255,.7); }
.kaspla .k-integrations-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kaspla .k-integration {
  display: flex; align-items: center; gap: 11px; padding: 14px 16px;
  background: rgba(255,255,255,.06); border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
}
.kaspla .k-integration-mark {
  width: 30px; height: 30px; border-radius: 8px; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0;
}
.kaspla .k-integration span { font-weight: 600; font-size: 14px; }

/* ── Testimonials ── */
.kaspla .k-tests-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kaspla .k-test {
  background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line);
}
.kaspla .k-test--feat { background: var(--co); color: #fff; border: none; transform: translateY(-14px); }
.kaspla .k-test-stars { display: inline-flex; gap: 2px; color: var(--coral); }
.kaspla .k-test--feat .k-test-stars { color: var(--sun); }
.kaspla .k-test-quote { margin: 18px 0 26px; font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; color: inherit; }
.kaspla .k-test-foot { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.kaspla .k-test--feat .k-test-foot { border-top-color: rgba(255,255,255,.2); }
.kaspla .k-avatar {
  width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.kaspla .k-test-name { font-weight: 700; font-size: 14px; }
.kaspla .k-test-role { font-size: 12px; opacity: .6; margin-top: 2px; }
.kaspla .k-test--feat .k-test-role { opacity: .75; }

/* ── Pricing ── */
.kaspla .k-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.kaspla .k-plan {
  border-radius: var(--r-lg); padding: 32px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); position: relative;
}
.kaspla .k-plan--feat {
  background: var(--ink); color: #fff; border: none; transform: scale(1.04);
  box-shadow: 0 30px 60px -24px rgba(16,17,20,.5);
}
.kaspla .k-plan-badge {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--sun); color: var(--ink); height: 30px; font-size: 12px;
}
.kaspla .k-plan-name { font-weight: 800; font-stretch: 110%; font-size: 22px; margin-bottom: 6px; }
.kaspla .k-plan-desc { font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; min-height: 40px; line-height: 1.45; }
.kaspla .k-plan--feat .k-plan-desc { color: rgba(255,255,255,.65); }
.kaspla .k-plan-price { font-size: 44px; color: var(--co); margin-bottom: 4px; }
.kaspla .k-plan--feat .k-plan-price { color: var(--sun); }
.kaspla .k-plan-unit { font-size: 13px; color: var(--ink-mute); margin-bottom: 24px; }
.kaspla .k-plan--feat .k-plan-unit { color: rgba(255,255,255,.6); }
.kaspla .k-plan .btn { width: 100%; margin-bottom: 24px; }
.kaspla .k-plan-features { display: flex; flex-direction: column; gap: 12px; }
.kaspla .k-plan-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.kaspla .k-plan-feature-check { color: var(--co); flex-shrink: 0; }
.kaspla .k-plan--feat .k-plan-feature-check { color: var(--sun); }
.kaspla .k-plan-feature span:last-child { color: var(--ink-2); }
.kaspla .k-plan--feat .k-plan-feature span:last-child { color: rgba(255,255,255,.9); }

/* ── Big CTA ── */
.kaspla .k-cta-sec { padding: 40px 0 100px; }
.kaspla .k-cta {
  background: var(--coral); border-radius: var(--r-xl); padding: 80px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.kaspla .k-cta-shape--circle { position: absolute; top: -40px; left: 60px; width: 120px; height: 120px; border-radius: 999px; background: rgba(255,255,255,.12); }
.kaspla .k-cta-shape--square { position: absolute; bottom: -50px; right: 80px; width: 100px; height: 100px; background: var(--sun); border-radius: 20px; transform: rotate(15deg); opacity: .9; }
.kaspla .k-cta-inner { position: relative; }
.kaspla .k-cta h2 { color: #fff; max-width: 720px; margin: 0 auto 18px; }
.kaspla .k-cta-sub { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 36px; }
.kaspla .k-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.kaspla .k-foot { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.kaspla .k-foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 48px; margin-bottom: 56px; }
.kaspla .k-foot-tag { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.5); max-width: 260px; line-height: 1.55; }
.kaspla .k-foot-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
}
.kaspla .k-foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.kaspla .k-foot-col li { font-size: 14px; }
.kaspla .k-foot-col a:hover { color: #fff; }
.kaspla .k-foot-bot {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.45);
}
.kaspla .k-foot-status .ok { color: var(--green); }
.kaspla .k-foot-credit { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kaspla .k-foot-sep { opacity: .4; }
.kaspla .k-foot-angle { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.55); transition: color .15s; }
.kaspla .k-foot-angle:hover { color: rgba(255,255,255,.9); }
.kaspla .k-angle { display: inline-flex; align-items: baseline; gap: 3px; color: #fff; font-weight: 800; letter-spacing: -0.02em; }
.kaspla .k-angle-tri {
  width: 0; height: 0; align-self: flex-end;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 6px solid #2F5FB3; transform: translateY(-3px);
}

/* ── Dashboard mock · facility switcher + sidebar headings ── */
.kaspla .k-dash-facility {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 12px; border-radius: 10px; background: var(--co); color: #fff; margin-bottom: 10px;
}
.kaspla .k-dash-facility-name { font-weight: 800; font-size: 13px; line-height: 1.1; }
.kaspla .k-dash-facility-code { font-size: 10px; color: rgba(255,255,255,.7); margin-top: 2px; letter-spacing: 0.04em; }
.kaspla .k-dash-facility-badge {
  font-family: var(--mono); font-size: 10px; font-weight: 700; color: #166534;
  background: #DCFCE7; border-radius: 999px; padding: 3px 8px; flex-shrink: 0;
}
.kaspla .k-dash-side-heading {
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute); padding: 12px 11px 4px;
}

/* ── Dashboard mock · status legend ── */
.kaspla .k-dash-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.kaspla .k-dash-legend-item {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--ink-2);
}
.kaspla .k-dash-legend-item i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.kaspla .lg-libre { background: #16A34A; }
.kaspla .lg-ocup  { background: var(--co); }
.kaspla .lg-mant  { background: #EA7A1F; }

/* ── Dashboard mock · units table ── */
.kaspla .k-dash-table { border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.kaspla .k-dash-tr {
  display: grid; grid-template-columns: 0.7fr 0.9fr 0.5fr 1fr 0.7fr;
  align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); font-size: 12px;
}
.kaspla .k-dash-tr:last-child { border-bottom: 0; }
.kaspla .k-dash-tr--head {
  background: var(--cloud); font-size: 9px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-mute);
}
.kaspla .k-dash-tr .c-code { font-family: var(--mono); font-weight: 700; }
.kaspla .k-dash-tr .c-type,
.kaspla .k-dash-tr .c-floor { color: var(--ink-soft); }
.kaspla .k-dash-tr .c-price { font-family: var(--mono); font-weight: 700; text-align: right; }
.kaspla .k-badge {
  display: inline-flex; align-items: center; height: 20px; padding: 0 9px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap;
}
.kaspla .k-badge--libre  { background: #DCFCE7; color: #166534; }
.kaspla .k-badge--ocup   { background: var(--co-soft); color: var(--co); }
.kaspla .k-badge--reserv { background: var(--sun-soft); color: #8A6D00; }
.kaspla .k-badge--mant   { background: #FFEAD9; color: #C2410C; }

/* ── "Próximamente" treatments ── */
.kaspla .k-soon {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.kaspla .k-feature-soon {
  position: absolute; top: 20px; right: 20px; z-index: 1;
  background: rgba(255,255,255,.22); color: inherit;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.kaspla .k-feature--sun .k-feature-soon { background: rgba(16,17,20,.12); }
.kaspla .k-logos-soon {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.kaspla .k-logos-soon .k-soon { background: var(--co-soft); color: var(--co); height: 34px; padding: 0 18px; font-size: 13px; }
.kaspla .k-logos-soon p { font-size: 15px; color: var(--ink-mute); }
.kaspla .k-integration--soon {
  background: transparent; border-style: dashed; color: rgba(255,255,255,.6);
}
.kaspla .k-integration--soon .k-integration-mark { background: rgba(255,255,255,.12); }

/* ── Contact form ── */
.kaspla .k-contact { background: var(--cloud); }
.kaspla .k-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.kaspla .k-contact-copy .eyebrow { display: block; margin-bottom: 14px; color: var(--co); }
.kaspla .k-contact-copy h2 { margin-bottom: 16px; }
.kaspla .k-contact-points { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.kaspla .k-contact-point { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }
.kaspla .k-contact-point span:first-child {
  width: 28px; height: 28px; border-radius: 999px; background: var(--co); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kaspla .k-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px;
  box-shadow: 0 2px 4px rgba(16,17,20,.04), 0 30px 60px -32px rgba(27,67,232,.25);
}
.kaspla .k-field { margin-bottom: 18px; }
.kaspla .k-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--ink-2); }
.kaspla .k-field input,
.kaspla .k-field select,
.kaspla .k-field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.kaspla .k-field textarea { resize: vertical; min-height: 92px; }
.kaspla .k-field input:focus,
.kaspla .k-field select:focus,
.kaspla .k-field textarea:focus {
  outline: none; border-color: var(--co); box-shadow: 0 0 0 3px rgba(27,67,232,.15);
}
.kaspla .k-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kaspla .k-form .btn { width: 100%; margin-top: 6px; }
.kaspla .k-form-note { font-size: 12px; color: var(--ink-mute); margin-top: 14px; text-align: center; }
.kaspla .k-form-success {
  display: none; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 24px 8px;
}
.kaspla .k-form-success-icon {
  width: 56px; height: 56px; border-radius: 999px; background: #DCFCE7; color: #166534;
  display: flex; align-items: center; justify-content: center;
}
.kaspla .k-form.is-sent .k-form-fields { display: none; }
.kaspla .k-form.is-sent .k-form-success { display: flex; }

/* ────────────────────────────────────────────────────────────────
   Responsive
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .kaspla .k-product { grid-template-columns: 1fr; gap: 40px; }
  .kaspla .k-integrations-grid { grid-template-columns: 1fr; gap: 40px; }
  .kaspla .k-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .kaspla .k-foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 880px) {
  .kaspla .sec { padding: 64px 0; }
  .kaspla .wrap { padding: 0 22px; }
  .kaspla .k-nav-links { display: none; }
  .kaspla .k-features-grid { grid-template-columns: 1fr; }
  .kaspla .k-how-grid { grid-template-columns: 1fr; }
  .kaspla .k-tests-grid { grid-template-columns: 1fr; }
  .kaspla .k-pricing-grid { grid-template-columns: 1fr; }
  .kaspla .k-plan--feat { transform: none; }
  .kaspla .k-test--feat { transform: none; }
  .kaspla .k-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .kaspla .k-stat:nth-child(2) { border-left: 0; }
  .kaspla .k-integrations-list { grid-template-columns: repeat(2, 1fr); }
  .kaspla .k-foot-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .kaspla .k-dash-body { grid-template-columns: 1fr; }
  .kaspla .k-dash-side { display: none; }
  .kaspla .k-stats-inner { grid-template-columns: 1fr; }
  .kaspla .k-stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; }
  .kaspla .k-stat:first-child { border-top: 0; }
  .kaspla .k-integrations-list { grid-template-columns: 1fr; }
  .kaspla .k-foot-top { grid-template-columns: 1fr; }
  .kaspla .k-foot-bot { flex-direction: column; gap: 12px; text-align: center; }
  .kaspla .k-cta { padding: 56px 24px; }
  .kaspla .k-feature { padding: 28px; }
  .kaspla .k-field-row { grid-template-columns: 1fr; gap: 0; }
  .kaspla .k-form { padding: 24px; }
}
